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 | devguli | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Oracle Community | 7 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.
  2. 0

    Oracle SOA / Java blog: februari 2013

    blogspot.com | 9 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

    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 | 6 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.
  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.

    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:286)
      2. com.sun.grizzly.comet.CometContext.addCometHandler(CometContext.java:305)
      2 frames
    3. com.reuters.sds
      CometTest.doGet
      1. com.reuters.sds.comet.CometTest.processRequest(CometTest.java:82)
      2. com.reuters.sds.comet.CometTest.doGet(CometTest.java:106)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
      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:1522)
      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
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      1 frame