[
https://issues.jboss.org/browse/JBWEB-205?page=com.atlassian.jira.plugin....
]
Remy Maucherat commented on JBWEB-205:
--------------------------------------
Letting the test run for a while, I also got this error:
12:09:55,884 SEVERE [org.atmosphere.cpr.DefaultBroadcaster]
(Atmosphere-BroadcasterConfig-0) failed to submit broadcast handler runnable to broadcast
executor service: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) [:1.6.0_22]
at java.lang.Thread.start(Thread.java:657) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:943)
[:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1336)
[:1.6.0_22]
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:431)
[atmosphere-runtime-0.7.1.jar:]
at org.atmosphere.cpr.DefaultBroadcaster.push(DefaultBroadcaster.java:383)
[atmosphere-runtime-0.7.1.jar:]
at org.atmosphere.cpr.DefaultBroadcaster$2.run(DefaultBroadcaster.java:321)
[atmosphere-runtime-0.7.1.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [:1.6.0_22]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.6.0_22]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_22]
at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
Invalid async context for servlet: Atmosphere Async Servlet on JBoss
Web
-------------------------------------------------------------------------
Key: JBWEB-205
URL:
https://issues.jboss.org/browse/JBWEB-205
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core
Affects Versions: JBossWeb-7.0.0.CR1
Environment: Firefox 4.0.1 / Chromium 12
AS 6.0.0.Final / 6.1.0-SNAPSHOT / AS 7.0.0.CR1
Atmosphere 0.7.1/0.7.2
Reporter: Lukáš Fryč
Assignee: Remy Maucherat
Priority: Critical
Attachments: push-jms.war
Source of sample for reproduction:
https://github.com/lfryc/push-jms/commit/9cee160570e049ca4783e1fcbdac25ff...
{code}
16:08:28,467 ERROR [org.apache.catalina.connector.CoyoteAdapter]
(http-localhost-127.0.0.1-8080-7) An exception or error occurred in the container during
the request processing: java.lang.IllegalStateException: Invalid async context for servlet
AutoRegisteredPushServlet
at org.apache.catalina.core.StandardWrapperValve.async(StandardWrapperValve.java:643)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardWrapperValve.event(StandardWrapperValve.java:402)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardContextValve.event(StandardContextValve.java:183)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardHostValve.event(StandardHostValve.java:246)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardEngineValve.event(StandardEngineValve.java:128)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:265)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.coyote.http11.Http11Processor.event(Http11Processor.java:757)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.event(Http11Protocol.java:615)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:938)
[jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira