dev@glassfish.java.net

Re: [v3] config HttpListener.getEnabled returns false

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Tue, 26 Feb 2008 10:35:23 -0800

I see Vivek's log also contains "HTTP listener is disabled false" -

[#|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|#]


Jerome Dochez wrote:
> I don't see a warning.
>
> laturbie:glassfish dochez$ java -jar modules/glassfish-10.0-SNAPSHOT.jar
> Feb 21, 2008 3:39:23 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: HK2 initialized in 475 ms
> Feb 21, 2008 3:39:24 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8080
> Feb 21, 2008 3:39:24 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8181
> Feb 21, 2008 3:39:24 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 4848
> Feb 21, 2008 3:39:24 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: Glassfish v3 started in 1634 ms
>
> jerome
>
> On Feb 21, 2008, at 2:44 PM, Amy Roh wrote:
>
>> I just checked in a warning message for disabled http-listeners.
>>
>> Do you see "WARNING: http-listener-1 HTTP listener is disabled false"?
>>
>> btw, should change the message to read "http-listener-1 enabled is
>> false" - more intuitive.
>>
>> Jerome Dochez wrote:
>>> no it works for me. I just added a test in the admin/config-api
>>>
>>> Added:
>>> trunk/v3/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/EnabledTest.java
>>>
>>>
>>>
>>> On Feb 21, 2008, at 12:59 PM, Amy Roh wrote:
>>>
>>>> Hi,
>>>>
>>>> Although domain.xml http-listener has enabled=true <http-listener
>>>> id="http-listener-1" enabled="true">,
>>>> com.sun.enterprise.config.serverbeans.HttpListener.getEnable() is
>>>> returning false. Is this not supported yet?
>>>>
>>>> Thanks,
>>>> Amy
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>


attached mail follows:



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|#]




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net