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 17:32:53 -0800

Jerome Dochez wrote:
> I have a theory, could you make your war file available somewhere so I
> can download and try...
>
Get it from here: http://javaweb.sfbay.sun.com/~vivekp/myapp.war

I also reported a bug on this:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=4255

thanks,

-vivek.

> thx, jerome
>
> On Feb 25, 2008, at 4:34 PM, Vivek Pandey wrote:
>
>> [sending to users_at_glassfish as this is the right forum]
>> http://javaweb.sfbay.sun.com/~vivekp/myapp.war
>>
>> 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:
>>> http://javaweb.sfbay.sun.com/~vivekp/myapp.war
>>> - 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
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>