users@glassfish.java.net

Re: glassfish v3 startup problem

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 27 Dec 2010 16:38:20 +0100

Also it could be interesting to see the GFv3 version number.
Are you able to reproduce the issue constantly?

Looks like you see the NPE, because Habitat is null, but I've never
seen this before.

WBR,
Alexey.

On Dec 27, 2010, at 15:54 , Alexis Moussine-Pouchkine wrote:

> Can you provide the OS and JVM versions that you use?
> thanks,
> -Alexis
>
> Begin forwarded message:
>
>> From: <designofgod_at_hotmail.com>
>> Date: 27 décembre 2010 15:38:25 HNEC
>> To: users_at_glassfish-core.java.net
>> Subject: glassfish v3 startup problem
>>
>> I installed 2 times v3 and deploy my war file. at my last try I seen
>> these exceptions any ides ?
>>
>>
>> [#|2010-12-27T10:59:53.131-0500|WARNING|glassfish3.0.1|
>> com.sun.grizzly.
>> config.GrizzlyServiceListener|_ThreadID=13;_ThreadName=Thread-10;|
>> Error
>> copying objects!
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> sun
>> .reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
>> AccessorImpl.java:39)
>> at
>> sun
>> .reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
>> structorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> at com.sun.grizzly.util.Cloner.clone(Cloner.java:79)
>> at
>> com
>> .sun.grizzly.Controller.addSelectorHandlerOnReadControllers(Controll
>> er.java:990)
>> at com.sun.grizzly.Controller.initReadThreads(Controller.java:967)
>> at com.sun.grizzly.Controller.start(Controller.java:807)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1
>> 241)
>> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1087)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1
>> 168)
>> at
>> com
>> .sun.enterprise.v3.services.impl.GrizzlyListener.startEndpoint(Grizz
>> lyListener.java:129)
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyProxy
>> $2.run(GrizzlyProxy.jav
>> a:317)
>> Caused by: java.lang.NullPointerException
>> at
>> com
>> .sun.enterprise.v3.services.impl.ServiceInitializerHandler.<init>(Se
>> rviceInitializerHandler.java:69)
>> ... 13 more
>> |#]
>>
>> [#|2010-12-27T10:59:53.132-0500|SEVERE|glassfish3.0.1|
>> com.sun.grizzly.c
>> onfig.GrizzlyServiceListener|_ThreadID=13;_ThreadName=Thread-10;|
>> Error
>> stopping http-listener
>> java.lang.RuntimeException: Error copying objects!
>> java.lang.reflect.InvocationTargetException: null
>> at com.sun.grizzly.util.Cloner.clone(Cloner.java:97)
>> at
>> com
>> .sun.grizzly.Controller.addSelectorHandlerOnReadControllers(Controll
>> er.java:990)
>> at com.sun.grizzly.Controller.initReadThreads(Controller.java:967)
>> at com.sun.grizzly.Controller.start(Controller.java:807)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1
>> 241)
>> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1087)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1
>> 168)
>> at
>> com
>> .sun.enterprise.v3.services.impl.GrizzlyListener.startEndpoint(Grizz
>> lyListener.java:129)
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyProxy
>> $2.run(GrizzlyProxy.jav
>> a:317)
>> |#]
>>
>> [#|2010-12-27T10:59:53.134-0500|SEVERE|glassfish3.0.1|
>> com.sun.grizzly.c
>> onfig.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-8;|Error
>> stopping http-listener
>> java.lang.RuntimeException: Error copying objects!
>> java.lang.reflect.InvocationTargetException: null
>> at com.sun.grizzly.util.Cloner.clone(Cloner.java:97)
>> at
>> com
>> .sun.grizzly.Controller.addSelectorHandlerOnReadControllers(Controll
>> er.java:990)
>> at com.sun.grizzly.Controller.initReadThreads(Controller.java:967)
>> at com.sun.grizzly.Controller.start(Controller.java:807)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1
>> 241)
>> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1087)
>> at
>> com
>> .sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1
>> 168)
>> at
>> com
>> .sun.enterprise.v3.services.impl.GrizzlyListener.startEndpoint(Grizz
>> lyListener.java:129)
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyProxy
>> $2.run(GrizzlyProxy.jav
>> a:317)
>