Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by devguli, 1 year ago
Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.
via blogspot.com by Unknown author, 1 year ago
Make sure you have enabled Comet or make sure the Thread invoking that method is the same as the Servlet.service() Thread.
via Stack Overflow by javaLearner
, 2 years ago
Make sure you have enabled Comet or make sure the Thread invoking that method is the same a the request Thread.
via Oracle Community by Srinivasan Ramachandran Guest, 1 year 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.	at com.sun.grizzly.comet.CometContext.addCometHandler(CometContext.java:286)	at com.sun.grizzly.comet.CometContext.addCometHandler(CometContext.java:305)	at com.reuters.sds.comet.CometTest.processRequest(CometTest.java:82)	at com.reuters.sds.comet.CometTest.doGet(CometTest.java:106)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1522)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)