[richfaces-issues] [JBoss JIRA] (RF-13789) Push component with Wildfly 8.1

Matej Novotny (JIRA) issues at jboss.org
Tue Aug 19 08:17:32 EDT 2014


     [ https://issues.jboss.org/browse/RF-13789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Novotny updated RF-13789:
-------------------------------

    Steps to Reproduce: 
With Metamer:
* Start Wildfly 8.1
* Deploy Metamer
* Go to [this page|http://localhost:8080/metamer/faces/components/a4jPush/simple.xhtml]
* Click the 'Message Producer' link on that page
** If you are using FF as browser attempt to send a message to get the error
* See server console for error

Or you can reproduce it with the Showcase sample:
* Start Wildfly
* Deploy Showcase
* *Using Chrome* go to [this page|http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=push&sample=pushCdi&skin=blueSky]
** I managed to reproduce it with FF too but I am unable to do it again this way
* See server console for errors

  was:
With Metamer:
* Start Wildfly 8.1
* Deploy Metamer
* Go to [this page|http://localhost:8080/metamer/faces/components/a4jPush/simple.xhtml]
* Click the 'Message Producer' link on that page
* See server console for error

Or you can reproduce it with the Showcase sample:
* Start Wildfly
* Deploy Showcase
* Go to [this page|http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=push&sample=pushCdi&skin=blueSky]
* See server console for errors



> 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. 
> Please see steps to reproduce.
> Note: Use Chrome rather than FF. The issue is reproducible in both, but with FF it is slightly different.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list