glassfish
  1. glassfish
  2. GLASSFISH-19023

can not access glassfish osgi admin console after starting domain

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: grizzly-kernel, OSGi
    • Labels:
      None
    • Environment:

      1 Windows XP Platform
      2 Glassfish Trunk 8/20 Updated

      Description

      1 updating glassfish trunk 8/20 and building gf

      2 after starting domain and putting felix-webconsole-extension.jar and org.apache.felix.webconsole.jar into modules\autostart directory, while accessing glassfish osgi admin console [1], glassfish-related bundles have not displayed on the console. And on the server.log, the following fatal errors happened.

      [1]http://localhost:8080/osgi/system/console/bundles

      [#|2012-08-20T20:57:28.062+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=14;_ThreadName=http-listener-1(1);|StandardWrapperValve[/system/console]: PWC1406: Servlet.service() for servlet /system/console threw exception
      org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 32792>32768
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
      at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.flushBinaryBuffers(OutputBuffer.java:893)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.flushBinaryBuffersIfNeeded(OutputBuffer.java:1060)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.flushCharsToBuf(OutputBuffer.java:1053)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.flushCharsToBuf(OutputBuffer.java:1000)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.writeChar(OutputBuffer.java:395)
      at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:379)
      at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:204)
      at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:131)
      at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:203)
      at java.io.Writer.write(Writer.java:140)
      at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:152)
      at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:203)
      at java.io.PrintWriter.write(PrintWriter.java:412)
      at java.io.PrintWriter.write(PrintWriter.java:429)
      at java.io.PrintWriter.print(PrintWriter.java:559)
      at org.apache.felix.webconsole.internal.core.BundlesServlet.renderContent(BundlesServlet.java:512)
      at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:148)
      at org.apache.felix.webconsole.internal.core.BundlesServlet.doGet(BundlesServlet.java:275)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:428)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:375)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
      at java.lang.Thread.run(Thread.java:662)

      #]

      [#|2012-08-20T20:57:28.140+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=15;_ThreadName=http-listener-1(3);|StandardWrapperValve[/system/console/res]: PWC1406: Servlet.service() for servlet /system/console/res threw exception
      org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 47554>32768
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
      at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.write(OutputBuffer.java:635)
      at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:352)
      at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:339)
      at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:161)
      at org.glassfish.osgihttp.OSGiResourceServlet.writeToStream(OSGiResourceServlet.java:119)
      at org.glassfish.osgihttp.OSGiResourceServlet.service(OSGiResourceServlet.java:89)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
      at java.lang.Thread.run(Thread.java:662)

      #]

      [#|2012-08-20T20:57:47.906+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=15;_ThreadName=http-listener-1(3);|StandardWrapperValve[/system/console/res]: PWC1406: Servlet.service() for servlet /system/console/res threw exception
      org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 38945>32768
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
      at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.write(OutputBuffer.java:635)
      at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:352)
      at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:339)
      at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:161)
      at org.glassfish.osgihttp.OSGiResourceServlet.writeToStream(OSGiResourceServlet.java:119)
      at org.glassfish.osgihttp.OSGiResourceServlet.service(OSGiResourceServlet.java:89)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
      at java.lang.Thread.run(Thread.java:662)

      #]

      [#|2012-08-20T20:57:47.906+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=16;_ThreadName=http-listener-1(2);|StandardWrapperValve[/system/console/res]: PWC1406: Servlet.service() for servlet /system/console/res threw exception
      org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 47554>32768
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
      at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
      at org.glassfish.grizzly.http.server.io.OutputBuffer.write(OutputBuffer.java:635)
      at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:352)
      at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:339)
      at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:161)
      at org.glassfish.osgihttp.OSGiResourceServlet.writeToStream(OSGiResourceServlet.java:119)
      at org.glassfish.osgihttp.OSGiResourceServlet.service(OSGiResourceServlet.java:89)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
      at java.lang.Thread.run(Thread.java:662)

      #]

        Activity

        Hide
        TangYong added a comment -

        I have googled the jiras of gf and grizzly and found the following issues are similar to the problem.

        [1] http://java.net/jira/browse/GLASSFISH-18661
        [2] http://java.net/jira/browse/GRIZZLY-1260
        [3] http://java.net/jira/browse/JERSEY-1252

        From the above three issues, the problem likely needed to be resolved on Grizzly Framework.

        In addition, I have confirmed that regardless of using whatever version of org.apache.felix.webconsole.jar (from 3.1.2 to 4.0.0), the problem still happened.

        The problem is very fatal and has blocked GLASSFISH-12975.

        Show
        TangYong added a comment - I have googled the jiras of gf and grizzly and found the following issues are similar to the problem. [1] http://java.net/jira/browse/GLASSFISH-18661 [2] http://java.net/jira/browse/GRIZZLY-1260 [3] http://java.net/jira/browse/JERSEY-1252 From the above three issues, the problem likely needed to be resolved on Grizzly Framework. In addition, I have confirmed that regardless of using whatever version of org.apache.felix.webconsole.jar (from 3.1.2 to 4.0.0), the problem still happened. The problem is very fatal and has blocked GLASSFISH-12975 .
        Hide
        TangYong added a comment -

        may be should see http://java.net/jira/browse/GRIZZLY-1214

        Firstly, need to locate whether the problem happened on Grizzly framework or Felix WebConsole or GF Felix WebConsole Extension or not?

        Show
        TangYong added a comment - may be should see http://java.net/jira/browse/GRIZZLY-1214 Firstly, need to locate whether the problem happened on Grizzly framework or Felix WebConsole or GF Felix WebConsole Extension or not?
        Hide
        TangYong added a comment -

        Alexey Said:

        The problem had to be fixed by this commit:

        Project: glassfish
        Repository: svn
        Revision: 55496
        Author: swchan2
        Date: 2012-08-15 19:48:01 UTC
        Link:

        Log Message:
        ------------
        temporary disable Grizzly asynic io, wait for Grizzly 2.3.x

        Do you have the latest GF built from sources?

        Show
        TangYong added a comment - Alexey Said: The problem had to be fixed by this commit: Project: glassfish Repository: svn Revision: 55496 Author: swchan2 Date: 2012-08-15 19:48:01 UTC Link: Log Message: ------------ temporary disable Grizzly asynic io, wait for Grizzly 2.3.x Do you have the latest GF built from sources?
        Hide
        TangYong added a comment -

        > Do you have the latest GF built from sources?
        Yeah, I used 2012/8/20 Updated GF Trunk, so souces should be
        the latest.

        In addition, on Revision: 55496, swchan2 commented out the following
        sentence.

        //grizzlyOutputBuffer.setAsyncEnabled(true);

        Then, I confirmed that on 2012/8/20 Updated GF Trunk (main\appserver\web\web-core\src\main\java\org\apache\catalina\connector\OutputBuffer.java),
        the above sentence has been also commented out.

        So, I think that the problem maybe still exist, any idea?

        Show
        TangYong added a comment - > Do you have the latest GF built from sources? Yeah, I used 2012/8/20 Updated GF Trunk, so souces should be the latest. In addition, on Revision: 55496, swchan2 commented out the following sentence. //grizzlyOutputBuffer.setAsyncEnabled(true); Then, I confirmed that on 2012/8/20 Updated GF Trunk (main\appserver\web\web-core\src\main\java\org\apache\catalina\connector\OutputBuffer.java), the above sentence has been also commented out. So, I think that the problem maybe still exist, any idea?
        Hide
        TangYong added a comment -

        From stacktrace of the problem, setCoyoteResponse(Response coyoteResponse) method is indeed called, however, Grizzly asynic io is not still disabled (org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter is still used).

        Show
        TangYong added a comment - From stacktrace of the problem, setCoyoteResponse(Response coyoteResponse) method is indeed called, however, Grizzly asynic io is not still disabled (org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter is still used).
        Hide
        TangYong added a comment -

        Alexey Said:

        I've just fixed that

        Project: glassfish
        Repository: svn
        Revision: 55568
        Author: oleksiys
        Date: 2012-08-21 08:35:33 UTC
        Link:

        Log Message:
        ------------
        + disable Grizzly async output stream for now

        Pls. let me know if you still see the issue.

        Show
        TangYong added a comment - Alexey Said: I've just fixed that Project: glassfish Repository: svn Revision: 55568 Author: oleksiys Date: 2012-08-21 08:35:33 UTC Link: Log Message: ------------ + disable Grizzly async output stream for now Pls. let me know if you still see the issue.
        Hide
        TangYong added a comment -

        I have confirmed your fix and OK!(GF OSGi Admin Console has been accessed normally and on server.log error messages have disappeared)

        I have also seen your fix and known the reason.Thanks!

        Show
        TangYong added a comment - I have confirmed your fix and OK!(GF OSGi Admin Console has been accessed normally and on server.log error messages have disappeared) I have also seen your fix and known the reason.Thanks!
        Hide
        TangYong added a comment -

        Please Sahoo closes the issue.

        Show
        TangYong added a comment - Please Sahoo closes the issue.
        Hide
        Sanjeeb Sahoo added a comment -

        Yes, I confirm that with latest build off trunk, I can't reproduce the problem. From Tang's comments, it seems like this issue has been fixed by Alexey's checkin, so marking it as fixed and making him the owner of the bug as well. Thanks Tang & Alexey for all the help.

        Show
        Sanjeeb Sahoo added a comment - Yes, I confirm that with latest build off trunk, I can't reproduce the problem. From Tang's comments, it seems like this issue has been fixed by Alexey's checkin, so marking it as fixed and making him the owner of the bug as well. Thanks Tang & Alexey for all the help.

          People

          • Assignee:
            oleksiys
            Reporter:
            TangYong
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: