java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.

Oracle Community | Srinivasan Ramachandran Guest | 5 years ago
  1. 0

    Unable to get Comet support enabled on Glassfish running on Amazon EC2 - getting "Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread."

    Oracle Community | 5 years ago | Srinivasan Ramachandran Guest
    java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.
  2. 0

    Oracle SOA / Java blog: februari 2013

    blogspot.com | 4 months ago
    java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.
  3. 0

    Embeded GlassFish - How to enable comet-support-enabled configuration?

    Oracle Community | 6 years ago | devguli
    java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    enabeling comet in glassfish server

    Stack Overflow | 6 years ago | javaLearner
    java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the Thread invoking that method is the same a the request Thread.
  6. 0

    Counter example and grizzly source code

    Oracle Community | 5 years ago | kronos72it-493396
    java.lang.IllegalStateException: Make sure you have enabled Comet or make sure the thread invoking that method is the same as the Servlet.service() thread.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.

      at com.sun.grizzly.comet.CometContext.addCometHandler()
    2. grizzly-comet
      CometContext.addCometHandler
      1. com.sun.grizzly.comet.CometContext.addCometHandler(CometContext.java:288)
      2. com.sun.grizzly.comet.CometContext.addCometHandler(CometContext.java:307)
      2 frames
    3. Unknown
      Comet4JavaClientBroadcast.doPost
      1. Comet4JavaClientBroadcast.doPost(Comet4JavaClientBroadcast.java:169)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      2 frames
    5. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      5 frames
    6. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      3 frames
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      1 frame
    9. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame