Hi, Brody.
Here's a case in which Google is your friend. Searching for
"glassfish slow deployment 3.1.1" the first hit I got leads to
http://java.net/jira/browse/GLASSFISH-17094
which I think is exactly the situation you describe - an EAR
containing large modules suffering very slow deployment.
As a workaround, you could use a recent promoted build of 3.1.2 (3.1.2
is not released, but promoted builds have passed a battery of tests).
Alternatively, if you do not need to upload the EAR to deploy it (that
is, you can create files on the same system where your GlassFish
server is running) you could use directory deployment. This way you
pre-expand the EAR yourself and you expand the submodules into
directories (myWebApp.war gets expanded into myWebApp_war for
example). It might be a pain in the neck, but it should help with the
deployment speed.
- Tim
On Nov 4, 2011, at 4:44 PM, forums_at_java.net wrote:
> Hello,
>
> I have a EAR that contains a sizeable EJB-Module, Web Module, and an
> Application Client. In size it sits at about 35MB. For some reason
> deploying
> this ear takes approx. 800 seconds to deploy, and for the first 10
> or so
> minutes nothing is printed to the log, it is like it is just sitting
> their
> waiting. Do you guys have any idea's what it is doing? This is on
> Glassfish
> 3.1.1 B12
>
> Any thoughts wouuld be much appreciated. Also there are no
> Exceptions printed
> to the log during the deploy, and it does deploy successfully.
>
> Thanks,
>
> Brody Smith
>
>
> --
>
> [Message sent by forum member 'smithbr4']
>
> View Post: http://forums.java.net/node/860871
>
>