dev@glassfish.java.net

Re: [GFv3] localhost:8080/<ContextRoot> does not work

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 24 Jul 2008 12:45:05 -0400

Salut,

this log is for grizzly core (strange the log is enabled by the
web-container...some leftover from v2). We need the log for Grizzly
Kernel (the v3 code on top on Grizzly).

Can you remove the properly, turn the log to server="FINE" and send me
the server.log? Meanwhile, file a p2 so if I disappear, we have a trace :-)

Thanks

-- Jeanfrancois

Marina Vatkina wrote:
> Hi Jeanfrancois,
>
> This is the part of the log that corresponds to (without -D option)
> % glassfish/bin/asadmin list-components
> Status: 404
> Command list-components failed.
>
> thanks,
> -marina
>
> [#|2008-07-24T09:35:44.679-0700|FINE||javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;ClassName=null;MethodName=null;|OP_ACCEPT
> on sun.nio.ch.SelectionKeyImpl_at_fe315d|#]
>
> [#|2008-07-24T09:35:44.681-0700|FINE||javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;ClassName=null;MethodName=null;|OP_READ
> on sun.nio.ch.SelectionKeyImpl_at_10cc730|#]
>
> [#|2008-07-24T09:35:44.681-0700|FINE||javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;ClassName=null;MethodName=null;|pollContext(..)
> Context : com.sun.grizzly.Context_at_19a6087|#]
>
> [#|2008-07-24T09:35:44.682-0700|FINE||javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-4;ClassName=null;MethodName=null;|GET
> /__asadmin/list-components HTTP/1.1
> Content-type: application/octet-stream
> Connection: Keep-Alive
> Authorization: Basic Og==
> User-Agent: hk2-cli
> Cache-Control: no-cache
> Pragma: no-cache
> Host: uphill:8080
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
>
> |#]
>
> [#|2008-07-24T09:35:44.682-0700|FINE||javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-4;ClassName=null;MethodName=null;|File
> not found
> /export/v3/gfs/glassfish/domains/domain1/docroot/__asadmin/list-components|#]
>
>
> [#|2008-07-24T09:35:44.683-0700|FINE||javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-4;ClassName=null;MethodName=null;|returnContext()
> Context : com.sun.grizzly.Context_at_19a6087|#]
>
> [#|2008-07-24T09:35:44.750-0700|FINE||javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;ClassName=null;MethodName=null;|OP_READ
> on sun.nio.ch.SelectionKeyImpl_at_10cc730|#]
>
> [#|2008-07-24T09:35:44.750-0700|FINE||javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;ClassName=null;MethodName=null;|pollContext(..)
> Context : com.sun.grizzly.Context_at_3b5699|#]
>
> [#|2008-07-24T09:35:44.751-0700|FINE||javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Thread-4;ClassName=null;MethodName=null;|returnContext()
> Context : com.sun.grizzly.Context_at_3b5699|#]
>
>
> Jeanfrancois Arcand wrote:
>> Hi Marina,
>>
>> can you turn the log to FINE to see what's happen? Meanwhile, can you
>> start GF using (I've learned the ASQuickStartup trick ;-)):
>>
>> -Dv3.grizzly.useMapper=false
>>
>> and see how it goes?
>>
>> Thanks
>>
>> -- Jeanfrancois
>>
>>
>> Marina Vatkina wrote:
>>
>>> I'm on x86.
>>>
>>> -marina
>>>
>>> Jerome Dochez wrote:
>>>
>>>> I don't see this on my machine with my build or the latest hudson
>>>> build !
>>>> which OS are u using ?
>>>>
>>>> I happen to have these lines in my /etc/hosts
>>>> 127.0.0.1 localhost
>>>>
>>>> not sure that would help...
>>>>
>>>> jerome
>>>>
>>>> On Jul 24, 2008, at 12:15 AM, Sahoo wrote:
>>>>
>>>>> Something seems to be broken in last day or so. I have deployed a
>>>>> very simple war with context root FirstV3Test. When I access
>>>>> http://localhost:8080/FirstV3Test , I get 404, where as if I access
>>>>> http://127.0.0.1:8080/FirstV3Test or
>>>>> http://glassfish:8080/FirstV3Test, it works. Please note, my host
>>>>> name is glassfish. Is this similar to what Peter is reporting in
>>>>> another thread?
>>>>>
>>>>> Here is the content of my /etc/hosts file:
>>>>>
>>>>> 127.0.0.1 localhost glassfish glassfish.
>>>>> 192.168.1.12 glassfish-iwi0 # Added by inetmenu
>>>>>
>>>>> Thanks,
>>>>> Sahoo
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>