users@glassfish.java.net

Re: Server stops responding due to Glassfish

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 20 May 2008 11:43:42 -0400

Hi,

glassfish_at_javadesktop.org wrote:
> Just want to reiterate that the version I am using is:
>
> Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) which I believe maps to Glassfish v1 update 1.

Right, this version isn't using NIO for SSL:

> Thread "SelectorThread-43921" thread-id 70 thread-stateRUNNABLERunning in native
> at: java.net.SocketInputStream.socketRead0(Native Method)
> at: java.net.SocketInputStream.read(SocketInputStream.java:129)
> at: com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
> at: com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
> at: com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
> at: com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
> at: com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
> at: com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
> at: org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake(JSSESocketFactory.java:124)
> at: com.sun.enterprise.web.connector.grizzly.SelectorThread.startBlockingMode(SelectorThread.java:1143)
> at: com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1095)
> at: com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1068)

Can you add in domain.xml:

<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>

That will fix the issue :-)

>
> It's an older version I know, but upgrading to the newer 9.1 is not an option at the moment. If it turns out this has been fixed in a subsequent patch release of 9.0 can someone let me know how to get a hold of the patch?
> [Message sent by forum member 'bkatnich' (bkatnich)]
If you still see the issue, then the problem has been reported already
but since we never released _02, you need to build the patch by yourself:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=1679


Thanks

--Jeanfrancois



>
> http://forums.java.net/jive/thread.jspa?messageID=275296
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>