[
https://issues.jboss.org/browse/JBWEB-256?page=com.atlassian.jira.plugin....
]
Richard Opalka commented on JBWEB-256:
--------------------------------------
This is the exception I'm getting:
{code}
Service#{http://org.jboss.ws/cxf/samples/asynch}echo has thrown exception, unwinding now:
java.lang.IllegalStateException: JBWEB000050: Cannot start async
at org.apache.catalina.connector.Request.startAsync(Request.java:3186)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.connector.Request.startAsync(Request.java:3170)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:925)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at
org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation.startAsyncAgain(Servlet3ContinuationProvider.java:82)
at
org.apache.cxf.transport.http.Servlet3ContinuationProvider.getContinuation(Servlet3ContinuationProvider.java:61)
at
org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.adjustMethodAndParams(AbstractJAXWSMethodInvoker.java:109)
at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:129)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
[cxf-api.jar:2.7.1.SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[rt.jar:1.6.0_37]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_37]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_37]
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
[cxf-api.jar:2.7.1.SNAPSHOT]
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
[cxf-api.jar:2.7.1.SNAPSHOT]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
[cxf-api.jar:2.7.1.SNAPSHOT]
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
[cxf-api.jar:2.7.1.SNAPSHOT]
at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:238)
at
org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:88)
at
org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:239)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]
at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
[jbossws-spi.jar:2.1.1-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:652)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:919)
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]
{code}
startAsync() cannot be called multiple times
--------------------------------------------
Key: JBWEB-256
URL:
https://issues.jboss.org/browse/JBWEB-256
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tomcat
Reporter: Richard Opalka
Assignee: Remy Maucherat
Fix For: JBossWeb-7.2.0.Beta1
According to startAsync() javadoc:
http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#sta...
the startAsync method can be called multiple times. This is not
possible with JBossWeb 7.2.0.Alpha5, because in:
org.apache.catalina.connector.Request.startAsync(ServletRequest,ServletResponse)
is line:
{code}
canStartAsync = false;
{code}
preventing multiple calls of this method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira