[
https://issues.jboss.org/browse/WFLY-2703?page=com.atlassian.jira.plugin....
]
Andre Pankraz updated WFLY-2703:
--------------------------------
Attachment: test.war
deploy this war.
call
http://localhost:8080/test/test.xhtml
enter some text and press return -> javascript alert appears shortly, broken pipe
exception
enter some text and press tab for focus lost - works without problems.
here you can also see the difference with using umlauts...ajax OK, return not. (i know,
applay the filter trick with CDI Filter as last)
Undertow Broken pipe with JSFs f:ajax and h:inputText
-----------------------------------------------------
Key: WFLY-2703
URL:
https://issues.jboss.org/browse/WFLY-2703
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Undertow)
Affects Versions: 8.0.0.CR1
Environment: Linux, JDK 7
Reporter: Andre Pankraz
Assignee: Stuart Douglas
Attachments: test.war
Combine input text with default ajax event (leave):
<h:form id="inhaltSearch">
<h:inputText id="contentname" size="30"
value="#{contentList.content.searchTerms}">
<f:ajax render=":inhaltSearch" />
</h:inputText>
</h:form>
Enter value and press "Enter" (Tab works).
A short Javascript alert appears and vanishes again.
Stacktrace in Server:
14:57:59,441 ERROR [io.undertow.request] (default task-49) Blocking request failed
HttpServerExchange{ POST /.../Suche.xhtml}: java.lang.RuntimeException:
java.io.IOException: Broken pipe
at
io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:513)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:258)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:205)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:134)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:138)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:622)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) [rt.jar:1.7.0_45]
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) [rt.jar:1.7.0_45]
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) [rt.jar:1.7.0_45]
at sun.nio.ch.IOUtil.write(IOUtil.java:65) [rt.jar:1.7.0_45]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487) [rt.jar:1.7.0_45]
at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150)
[xnio-nio-3.1.0.CR7.jar:3.1.0.CR7]
at
io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:484)
at
io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:189)
at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:147)
[xnio-api-3.1.0.CR7.jar:3.1.0.CR7]
at
io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:117)
at org.xnio.channels.Channels.flushBlocking(Channels.java:63)
[xnio-api-3.1.0.CR7.jar:3.1.0.CR7]
at
io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:600)
at
io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:510)
... 9 more
--
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