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.
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)
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. ----
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
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 126.96.36.199 the deploy runs consistently in literally 2 seconds. In 188.8.131.52 the deploy takes over 2 minutes consistently.
No helpful messages in the log.
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.