This discussion is archived
8 Replies Latest reply: Apr 26, 2013 8:09 AM by EdInWisconsin RSS

Deploy taking 4 hours

259368 Newbie
Currently Being Moderated
Hello,

I've a small java application that implements a java client for dynamics CRM webservice, all works well except than when i deploy the same to a jar file it takes about 4 hours.
Anyone can give me a pointer to reason of this slowness.

thx
  • 1. Re: Deploy taking 4 hours
    Timo Hahn Oracle ACE
    Currently Being Moderated
    User, I never heard of this. Which JDev verison do you use?
    How do you deploy? to an EAR? Directly to the server?

    Timo
  • 2. Re: Deploy taking 4 hours
    259368 Newbie
    Currently Being Moderated
    hi,

    i use 11.1.2.3 and i'm deploying to a jar file.

    this project was originally created with netbeans because the microsoft crm training kit ha the example with that IDE. i've than imported from netbeans to jdeveloper.
    the webservice client was created using wsdl2java and there is a very big java source file that i can not open with netbeans or jdeveloper, because it hangs consuming lots of memory.

    i'm trying to create a new application and using classpath to reference some of the classes generated, but i'm deploying at his moment and i can see in the windows explorer that the jar is growing very slowly(in about 15 minutes it only have about 180kb)

    thx

    the log from jedeveloper

    [11:04:07 AM] ---- Deployment started. ----
    [11:04:07 AM] Target platform is Standard Java EE.
    [11:04:07 AM] Running dependency analysis...
    [11:04:07 AM] Building...
    [11:04:30 AM] Deploying profile...
    [03:23:56 PM] Wrote Archive Module to X:\Gin\PRODUCAO\BANEMA\WORK\V009\crmgin\crmgin\deploy\wscrm.jar
    [03:23:56 PM] Elapsed time for deployment: 4 hours, 19 minutes, 49 seconds
    [03:23:56 PM] ---- Deployment finished. ----

    Edited by: miguellima on Dec 14, 2012 8:25 AM
  • 3. Re: Deploy taking 4 hours
    Timo Hahn Oracle ACE
    Currently Being Moderated
    This is not normal. How big the the resulting jar?

    When you deploy (or after it), you can switch to the messages tab in the output window and see the command which is executed. The command line might give you a clue what's going on.
    You should see output like
    Compiling...
    Context: selection=BAETSOCViewController.jpr application=BlogAllEditTableSOC.jws project=BAETSOCViewController.jpr node=BAETSOCViewController.jpr
    Writing task flow registry 'file:/Q:/QT/BlogAllEditTableSOC/BAETSOCViewController/classes/META-INF/task-flow-registry.xml'
    [7:36:25 PM] Appc compilation begin
    Compiling out of process...
    r:\java\11.1.1.6.0\Oracle\Middleware\jdk160_24\jre\bin\javaw.exe -Xms128m -Xmx512m -Xverify:none -client -classpath r:\java\11.1.1.6.0\Oracle\Middleware\jdk160_24\lib\tools.jar;P:\wlserver_10.3\server\lib\weblogic.jar -Dweblogic.jsp.diagnosticWithAbsolutePath=true -Dweblogic.classloader.noJarSigners=true weblogic.appc "@C:\Users\hahn\AppData\Local\Temp\appcCommandList8044910449195099890.txt"
    [7:36:27 PM] Appc compilation end
    [7:36:27 PM] Successful compilation: 0 errors, 0 warnings.
    >

    Timo
  • 4. Re: Deploy taking 4 hours
    259368 Newbie
    Currently Being Moderated
    hi,

    i've abandoned the deploy to jar file from jdeveloper and i'm doing the jar using the command line.
    I think that i don't have any message when i was doing the deploy.

    thx
  • 5. Re: Deploy taking 4 hours
    Kamaal,SaifKamaal Explorer
    Currently Being Moderated
    When you are building from Jdev what is the size of the jar ?
  • 6. Re: Deploy taking 4 hours
    259368 Newbie
    Currently Being Moderated
    about 7Mb
  • 7. Re: Deploy taking 4 hours
    EdInWisconsin Newbie
    Currently Being Moderated
    FYI - I am running into this problem as well. I have a small project that we deploy as jar. Final jar is about 117 KB.
    In 11.1.2.0 the deploy runs consistently in literally 2 seconds. In 11.1.2.3 the deploy takes over 2 minutes consistently.
    No helpful messages in the log.
  • 8. Re: Deploy taking 4 hours
    EdInWisconsin Newbie
    Currently Being Moderated
    I did some additional testing and in our case, the slowdown is only when writing to a network drive. If I deploy to my C drive, deployment time goes back down to 2 seconds. Maybe that will help in your situation too.
    -Ed

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points