[jboss-jira] [JBoss JIRA] (WFLY-1541) UT005013 with RichFaces 5 and the tag <r:push> which uses WebSockets
Juergen Zimmermann (JIRA)
jira-events at lists.jboss.org
Mon Jun 17 03:35:21 EDT 2013
Juergen Zimmermann created WFLY-1541:
----------------------------------------
Summary: UT005013 with RichFaces 5 and the tag <r:push> which uses WebSockets
Key: WFLY-1541
URL: https://issues.jboss.org/browse/WFLY-1541
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.0.0.Alpha2
Reporter: Juergen Zimmermann
Assignee: Stuart Douglas
I'm using a WildFly 8.0.0.Alpha2 snapshot with Undertow 1.0.0.Alpha19. The snapshot is configured for Mojarra 2.1.23 instead of 2.2.0 because of the new RichFaces 5.0.0.Alpha1 which still cannot use Mojarra 2.2. During a websocket push via <r:push> I'm getting the stacktrace below. RichFaces itself is using Atmosphere 1.0.13 for WebSockets.
Log messages when Atmosphere is started:
{code}
09:38:56,670 INFO [org.atmosphere.cpr.AtmosphereFramework] Auto detecting atmosphere handlers /WEB-INF/classes/
09:38:56,702 INFO [org.atmosphere.cpr.AtmosphereFramework] Auto detecting WebSocketHandler in /WEB-INF/classes/
09:38:56,702 INFO [org.atmosphere.cpr.AtmosphereFramework] Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Atmosphere is using async support: org.atmosphere.container.BlockingIOCometSupport running under container: Undertow - 1.0.0.Alpha19
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Installed AtmosphereInterceptor Track Message Size Interceptor using |.
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Installed Default AtmosphereInterceptor [Android Interceptor Support, SSE Interceptor Support, JSONP Interceptor Support, Atmosphere JavaScript Protocol, Browser disconnection detection, Track Message Size Interceptor using |]. Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults in your xml to disable them.
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Using BroadcasterCache: org.atmosphere.cache.HeaderBroadcasterCache
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Shared ExecutorService supported: true
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] HttpSession supported: false
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Using Broadcaster: org.atmosphere.cpr.DefaultBroadcaster
09:38:56,718 INFO [org.atmosphere.cpr.AtmosphereFramework] Atmosphere Framework 1.0.13 started.
{code}
Stacktrace:
{code}
09:40:44,640 ERROR [io.undertow.request.io] UT005013: An IOException occurred: java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen
at sun.nio.ch.SocketDispatcher.write0(Native Method) [rt.jar:1.7.0_21]
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) [rt.jar:1.7.0_21]
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:94) [rt.jar:1.7.0_21]
at sun.nio.ch.IOUtil.write(IOUtil.java:65) [rt.jar:1.7.0_21]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450) [rt.jar:1.7.0_21]
at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:148) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
at io.undertow.server.HttpResponseConduit.write(HttpResponseConduit.java:476)
at io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:184)
at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:147) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
at io.undertow.server.HttpServerExchange$WriteDispatchChannel.flush(HttpServerExchange.java:1500)
at io.undertow.server.HttpServerExchange.closeAndFlushResponse(HttpServerExchange.java:1298)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1287)
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:47)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:607)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
{code}
--
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
More information about the jboss-jira
mailing list