Matej Novotny created RF-13789:
----------------------------------
Summary: Push component with Wildfly 8.1
Key: RF-13789
URL:
https://issues.jboss.org/browse/RF-13789
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.5.0.Alpha3
Environment: RichFaces 4.5.0-SNAPSHOT
Metamer 4.5.0-SNAPSHOT
Mojarra 2.2.6-jbossorg-4
JBoss AS 8.1.0.Final
Java(TM) SE Runtime Environment 1.7.0_25-b15 @ Linux
Chrome 36.0.1985.143 @ Linux x86_64
Reporter: Matej Novotny
When you deploy Metamer (or Showcase) 4.5.x to Wildfly 8.1, access the push sample page
and attempt to switch to Message Producer you get the following error:
{code}
13:59:19,459 ERROR [stderr] (default task-55) Exception in thread "default
task-55" java.lang.RuntimeException: java.io.IOException: Broken pipe
13:59:19,459 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:527)
13:59:19,460 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.AsyncContextImpl$3.run(AsyncContextImpl.java:294)
13:59:19,460 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.AsyncContextImpl$6.run(AsyncContextImpl.java:432)
13:59:19,460 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.AsyncContextImpl$TaskDispatchRunnable.run(AsyncContextImpl.java:517)
13:59:19,461 ERROR [stderr] (default task-55) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
13:59:19,461 ERROR [stderr] (default task-55) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
13:59:19,461 ERROR [stderr] (default task-55) at java.lang.Thread.run(Thread.java:724)
13:59:19,462 ERROR [stderr] (default task-55) Caused by: java.io.IOException: Broken pipe
13:59:19,462 ERROR [stderr] (default task-55) at
sun.nio.ch.FileDispatcherImpl.write0(Native Method)
13:59:19,463 ERROR [stderr] (default task-55) at
sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
13:59:19,463 ERROR [stderr] (default task-55) at
sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:94)
13:59:19,463 ERROR [stderr] (default task-55) at sun.nio.ch.IOUtil.write(IOUtil.java:65)
13:59:19,464 ERROR [stderr] (default task-55) at
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
13:59:19,464 ERROR [stderr] (default task-55) at
org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150)
13:59:19,465 ERROR [stderr] (default task-55) at
io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:531)
13:59:19,465 ERROR [stderr] (default task-55) at
io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:256)
13:59:19,466 ERROR [stderr] (default task-55) at
org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)
13:59:19,466 ERROR [stderr] (default task-55) at
io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:100)
13:59:19,467 ERROR [stderr] (default task-55) at
org.xnio.channels.Channels.flushBlocking(Channels.java:63)
13:59:19,467 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:625)
13:59:19,467 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.HttpServletResponseImpl.closeStreamAndWriter(HttpServletResponseImpl.java:451)
13:59:19,468 ERROR [stderr] (default task-55) at
io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:525)
13:59:19,468 ERROR [stderr] (default task-55) ... 6 more
{code}
This exception is only thrown with Wildfly, I tried this on EAP 6.2 and EAP 6.3 and there
is no such exception.
Despite the error, the component keeps working. However it does not use WebSockets, same
as described in RF-13787.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)