users@glassfish.java.net

Re: GFv3TP2: Deployment of simple grails war hangs, 100%cpu utilization

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Mon, 25 Feb 2008 16:34:26 -0800

[sending to users_at_glassfish as this is the right forum]

Well, it does not hang infinitely :-) I should have waited, it takes
around 9 mins for this to get deployed although unsuccessfully:

'glassfish/bin/asadmin deploy myapp'

SUCCESS : myapp deployed successfully
properties=(name=myapp)


the server.log displays this message:


[#|2008-02-26T00:21:34.646+0000|SEVERE|GlassFish10.0|org.apache.catalina.core.StandardContext|_ThreadID=11;_ThreadName=Thread-4;|PWC1306:
Startup of context /myapp failed due to previous errors|#]

[#|2008-02-26T00:21:34.647+0000|INFO|GlassFish10.0|org.apache.catalina.core.StandardContext|_ThreadID=11;_ThreadName=Thread-4;|PWC1240:
Container WebModule[/myapp] has not been started|#]

[#|2008-02-26T00:21:34.651+0000|SEVERE|GlassFish10.0|com.sun.org.apache.commons.modeler.Registry|_ThreadID=11;_ThreadName=Thread-4;|Null
component
com.sun.appserv:type=JspMonitor,name=jsp,WebModule=//server/myapp,J2EEApplication=null,J2EEServer=server|#]

[#|2008-02-26T00:21:34.653+0000|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-4;|Loading
application myapp at /myapp|#]

[#|2008-02-26T00:21:34.655+0000|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-4;|Deployment
of myapp done is 526808 ms|#]

when I try to access the application at: localhost:8080/myapp, it gives
503, "The requested service () is not currently available.".

-vivek.





Vivek Pandey wrote:
> I have a simple grails application:
>
> - install grails [1]
> - grails create-app
> - grails war
>
> With the above 4 steps I have a grails application in war file ready,
> it is just a plain servlet. I try to copy the war to
> glassfish/domains/domain1/autodeploy, there are bunch of error
> messages, see the attachment and accessing the web page causes GF v3
> to consume 100% CPU forever.
>
> I try directory based deployment and run 'asadmin deploy app1' where
> app1 is the exploded grails war directory, the deployment never
> finishes and again CPU utilization is 100%.
>
> This war deploys fine on GF v2 UR1.
>
> Anyone needs if there is any workaround or if not I should be report
> this as bug?
>
> thanks,
>
> -vivek.
>
> [1]http://grails.codehaus.org/Installation