[
https://issues.jboss.org/browse/WFLY-3895?page=com.atlassian.jira.plugin....
]
Karthick Jaganathan commented on WFLY-3895:
-------------------------------------------
No, I'm not trying to write data after the exchange has ended.
To provide more context: My application is a simple REST application that responds to
requests. I use curl to POST data and get responses. For the first time, after the
applicaiton is started, the request and response works fine. Subsequent Requests gets
into this state (Error on server). Any other clues?
Thank You -Karthick
Blocking request failed HttpServerExchange{ POST /fabric/jolokia}
-----------------------------------------------------------------
Key: WFLY-3895
URL:
https://issues.jboss.org/browse/WFLY-3895
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.1.0.Final
Reporter: Thomas Diesler
Assignee: Stuart Douglas
Fix For: 9.0.0.Beta1
This happens with an Http POST request for a Jolokia MBean operation.
Attribute reads seem to work.
{code}
10:28:10,823 ERROR [io.undertow.request] (default task-3) Blocking request failed
HttpServerExchange{ POST /fabric/jolokia}: java.lang.IllegalStateException: UT000004:
getResponseChannel() has already been called
at
io.undertow.server.protocol.http.HttpContinue.createResponseSender(HttpContinue.java:78)
at
io.undertow.server.handlers.HttpContinueReadHandler$ContinueConduit.read(HttpContinueReadHandler.java:104)
at
org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
[xnio-api-3.2.2.Final.jar:3.2.2.Final]
at
io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:181)
at
io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:1952)
at org.xnio.channels.Channels.readBlocking(Channels.java:294)
[xnio-api-3.2.2.Final.jar:3.2.2.Final]
at
io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:146)
at
io.undertow.servlet.spec.ServletInputStreamImpl.close(ServletInputStreamImpl.java:218)
at
io.undertow.servlet.spec.HttpServletRequestImpl.closeAndDrainRequest(HttpServletRequestImpl.java:588)
at
io.undertow.servlet.core.ServletBlockingHttpExchange.close(ServletBlockingHttpExchange.java:69)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1404)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:193)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_67]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_67]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)