users@glassfish.java.net

Re: glassfish hangs and stops accepting connections

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 22 Mar 2010 15:00:26 +0100

Ok,

I see a lot of threads waiting here [1]. It's strange, because
theoretically this operation has a timeout value...
Which GlassfishV2 version are you using?

WBR,
Alexey.

[1]
         at: sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
         at: sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:215)
         at: sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
         at: sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
         at: sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
         at:
com
.sun
.enterprise.web.connector.grizzly.ssl.SSLUtils.doRead(SSLUtils.java:137)
         at: com.sun.enterprise.web.connector.grizzly.ssl.SSLByteBufferInputStream.doRead
(SSLByteBufferInputStream.java:70)
         at: com.sun.enterprise.web.connector.grizzly.ByteBufferInputStream.read
(ByteBufferInputStream.java:167)
         at:
org
.apache
.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:760)
         at: org.apache.coyote.http11.InternalInputBuffer
$InputStreamInputBuffer.doRead(InternalInputBuffer.java:789)
         at:
org
.apache
.coyote
.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:155)
         at:
org
.apache
.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:719)
         at: org.apache.coyote.Request.doRead(Request.java:482)
         at:
org.apache.coyote.tomcat5.InputBuffer.realReadBytes(InputBuffer.java:
342)
         at: org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:411)
         at: org.apache.coyote.tomcat5.InputBuffer.read(InputBuffer.java:357)
         at:
org
.apache.coyote.tomcat5.CoyoteInputStream.read(CoyoteInputStream.java:
263)
         at: sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
         at: sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
         at: sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
         at: java.io.InputStreamReader.read(InputStreamReader.java:167)
         at: java.io.BufferedReader.read1(BufferedReader.java:185)
         at: java.io.BufferedReader.read(BufferedReader.java:261)
         at:
com.sun.xml.stream.XMLEntityReaderImpl.load(XMLEntityReaderImpl.java:
1738)
         at:
com
.sun.xml.stream.XMLEntityReaderImpl.peekChar(XMLEntityReaderImpl.java:
456)
         at: com.sun.xml.stream.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2582)
         at:
com
.sun
.xml.stream.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:362)
         at: com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:568)
         at:
com
.sun
.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:
92)
         at:
com
.sun
.xml
.stream
.buffer
.stax
.StreamReaderBufferCreator
.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245)
         at:
com
.sun
.xml
.stream
.buffer
.stax
.StreamReaderBufferCreator
.storeElementAndChildren(StreamReaderBufferCreator.java:177)
         at:
com
.sun
.xml
.stream
.buffer
.stax.StreamReaderBufferCreator.store(StreamReaderBufferCreator.java:
142)
         at:
com
.sun
.xml
.stream
.buffer
.stax.StreamReaderBufferCreator.create(StreamReaderBufferCreator.java:
82)
         at:
com.sun.xml.ws.message.stream.StreamMessage.copy(StreamMessage.java:408)
         at:
com
.sun
.enterprise.security.jmac.config.PipeHelper.authorize(PipeHelper.java:
209)
         at:
com
.sun
.enterprise
.webservice
.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:
206)
         at:
com
.sun
.enterprise
.webservice
.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:133)
         at:
com
.sun
.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
         at: com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at: com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at: com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at: com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at: com.sun.xml.ws.server.WSEndpointImpl
$2.process(WSEndpointImpl.java:243)
         at: com.sun.xml.ws.transport.http.HttpAdapter
$HttpToolkit.handle(HttpAdapter.java:444)
         at:
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at:
com
.sun
.xml
.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:
135)
         at:
com
.sun
.enterprise
.webservice
.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
         at:
com
.sun
.enterprise
.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
         at:
com
.sun
.enterprise
.webservice
.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:
228)
         at:
com
.sun
.enterprise
.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:157)
         at: javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at:
com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:
114)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
         at:
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
587)
         at: com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
         at:
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
222)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
         at:
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
587)
         at: org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1096)
         at:
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
         at:
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
         at:
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
587)
         at: org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
1096)
         at:
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at: com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter
(DefaultProcessorTask.java:647)
         at: com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess
(DefaultProcessorTask.java:579)
         at: com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
(DefaultProcessorTask.java:831)
         at: com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
(DefaultReadTask.java:341)
         at:
com
.sun
.enterprise
.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
         at:
com
.sun
.enterprise
.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
         at:
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at:
com
.sun
.enterprise
.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)


On Mar 22, 2010, at 14:19 , glassfish_at_javadesktop.org wrote:

> Sorry the delay, but the server worked fine until today.
> The port 8080 is still available, also the port 4848. This is the
> threads dump.
> [Message sent by forum member 'aachkar']
>
> http://forums.java.net/jive/thread.jspa?messageID=393112
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>