users@glassfish.java.net

Re: doSelect exception

From: lejboua <dre_albuquerque_at_hotmail.com>
Date: Mon, 15 Nov 2010 03:13:30 -0800 (PST)

Hello Vetle,

Did you find a solution for your problem?

I'm having exactly the same problem, with JDK 6 u22.

Didn't find yet a pattern that triggers that
java.lang.IllegalThreadStateException.

My exception:

[#|2010-11-15T11:07:28.585+0000|SEVERE|glassfish3.0.1|grizzly|_ThreadID=15;_ThreadName=Thread-1;|doSelect
exception
java.lang.IllegalThreadStateException
        at java.lang.Thread.setDaemon(Thread.java:1275)
        at
com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:413)
        at
com.sun.corba.ee.impl.transport.SelectorImpl.registerForEvent(SelectorImpl.java:180)
        at
com.sun.corba.ee.impl.transport.CorbaAcceptorBase.processSocket(CorbaAcceptorBase.java:156)
        at
org.glassfish.enterprise.iiop.impl.PEORBConfigurator$AcceptorDelegateImpl.handleRequest(PEORBConfigurator.java:313)
        at
org.glassfish.enterprise.iiop.api.ORBLazyServiceInitializer.handleRequest(ORBLazyServiceInitializer.java:99)
        at
com.sun.enterprise.v3.services.impl.ServiceInitializerHandler.onAcceptInterest(ServiceInitializerHandler.java:110)
        at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:295)
        at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:258)
        at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:195)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Regards,

Andre


Vetle Roeim wrote:
>
> Hi,
>
> I'm working on a project that uses the Java EE 6 stack, from top to
> bottom, on Glassfish 3.0.1. Recently, I've seen the following
> exception in the logs:
>
> [#|2010-10-26T16:51:14.709+0200|SEVERE|glassfish3.0.1|grizzly|_ThreadID=16;_ThreadName=Thread-1;|doSelect
> exception
> java.lang.IllegalThreadStateException
> at java.lang.Thread.setDaemon(Thread.java:1275)
> at
> com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:413)
> at
> com.sun.corba.ee.impl.transport.SelectorImpl.registerForEvent(SelectorImpl.java:180)
> at
> com.sun.corba.ee.impl.transport.CorbaAcceptorBase.processSocket(CorbaAcceptorBase.java:156)
> at
> org.glassfish.enterprise.iiop.impl.PEORBConfigurator$AcceptorDelegateImpl.handleRequest(PEORBConfigurator.java:313)
> at
> org.glassfish.enterprise.iiop.api.ORBLazyServiceInitializer.handleRequest(ORBLazyServiceInitializer.java:99)
> at
> com.sun.enterprise.v3.services.impl.ServiceInitializerHandler.onAcceptInterest(ServiceInitializerHandler.java:110)
> [...]
> |#]
>
> After this, the web application is non-responsive. Undeploying,
> restarting and deploying usually fixes the problem, but not always, so
> it is very annoying.
>
> I found something related to doSelect in the list of known issues:
> http://docs.sun.com/app/docs/doc/820-7688/gjkkg?l=en&a=view
> But this seems to be different from the one I'm experiencing? Or is it
> the same thing?
> I've tried JDK 1.6.0 u20, 21 and 22 without much luck.
>
> TIA,
> --
> Vetle Roeim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/doSelect-exception-tp30058446p30215660.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.