java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Counter example and grizzly source code
    via by 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. at org.glassfish.grizzly.comet.CometContext.addCometHandler(CometContext.java:219) at org.savino.comet.LongPollingServlet.doGet(LongPollingServlet.java:129)
    No Bugmate found.