dev@glassfish.java.net

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

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

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


[#|2008-02-25T18:20:34.719+0000|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Thread-4;|selecting /ws/sb/glassfish/config/../domains/domain1/autodeploy/app-0.1.war for autodeployment|#]

[#|2008-02-25T18:20:35.241+0000|INFO|GlassFish10.0|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=Thread-4;|SEC1002: Security Manager is OFF.|#]

[#|2008-02-25T18:20:36.081+0000|INFO|GlassFish10.0|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=Thread-4;|Security startup service called|#]

[#|2008-02-25T18:20:37.185+0000|INFO|GlassFish10.0|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=Thread-4;|Security service(s) started successfully....|#]

[#|2008-02-25T18:20:40.432+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Using default-web.xml /ws/sb/glassfish/config/../domains/domain1/config/default-web.xml|#]

[#|2008-02-25T18:20:41.154+0000|WARNING|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|http-listener-1 HTTP listener is disabled false|#]

[#|2008-02-25T18:20:41.271+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Created HTTP listener http-listener-1|#]

[#|2008-02-25T18:20:41.331+0000|WARNING|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|http-listener-2 HTTP listener is disabled false|#]

[#|2008-02-25T18:20:41.332+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Created HTTP listener http-listener-2|#]

[#|2008-02-25T18:20:41.836+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2008-02-25T18:20:42.011+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Virtual Server server set port 8080|#]

[#|2008-02-25T18:20:42.011+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Virtual Server server set port 8181|#]

[#|2008-02-25T18:20:42.078+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Created virtual server server|#]

[#|2008-02-25T18:20:42.082+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2008-02-25T18:20:42.085+0000|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|Created virtual server __asadmin|#]

[#|2008-02-25T18:20:42.534+0000|WARNING|GlassFish10.0|org.apache.coyote.tomcat5.MapperListener|_ThreadID=13;_ThreadName=Thread-4;|HTTP listener with port 8080 ignoring registration of host with object name com.sun.appserv:type=Host,host=__asadmin, because none of the host's associated HTTP listeners matches this port|#]

[#|2008-02-25T18:20:42.535+0000|WARNING|GlassFish10.0|org.apache.coyote.tomcat5.MapperListener|_ThreadID=13;_ThreadName=Thread-4;|HTTP listener with port 8181 ignoring registration of host with object name com.sun.appserv:type=Host,host=__asadmin, because none of the host's associated HTTP listeners matches this port|#]

[#|2008-02-25T18:20:43.563+0000|INFO|GlassFish10.0|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=Thread-4;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2008-02-25T18:21:29.385+0000|INFO|GlassFish10.0|Grizzly|_ThreadID=14;_ThreadName=Thread-4;|File not found /ws/sb/glassfish/config/../domains/domain1/docroot/app|#]

[#|2008-02-25T18:21:32.086+0000|INFO|GlassFish10.0|Grizzly|_ThreadID=15;_ThreadName=Thread-4;|File not found /ws/sb/glassfish/config/../domains/domain1/docroot/app|#]

[#|2008-02-25T18:21:33.117+0000|INFO|GlassFish10.0|Grizzly|_ThreadID=11;_ThreadName=Thread-4;|File not found /ws/sb/glassfish/config/../domains/domain1/docroot/app|#]