dev@grizzly.java.net

websockets and Deployer and Exception

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Tue, 6 Apr 2010 22:14:28 -0400

I just had the Websocket support in deployer using this :

private void configureServer(DeployerConfiguration conf) {
        // comet
        if (conf.cometEnabled) {
            SelectorThread st = ws.getSelectorThread();

            AsyncHandler asyncHandler = new DefaultAsyncHandler();
            asyncHandler.addAsyncFilter(new CometAsyncFilter());
            st.setAsyncHandler(asyncHandler);

            st.setEnableAsyncExecution(true);

            st.getAsyncHandler().addAsyncFilter(new
WebSocketAsyncFilter()); // ***** new line here.. the rest is the same
        }

        if (conf.ajpEnabled) {
            ws.enableProtocol(PROTOCOL.AJP);
        }
    }

but when I deploy the websocket-chat.. and when I use gogle chrome.. I
obtain this stack trace :


2010-04-06 22:01:11
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer init
INFO:
DeployerConfiguration{locations='C:/workspaces/workspace_grizzly/samples/websockets/chat/target/grizzly-websockets-chat.war',
port=8080, forcedContext='null', waitToStart=false, libraryPath='null',
webdefault='null', cometEnabled=true, forceWarDeployment=false,
ajpEnabled=false}
2010-04-06 22:01:11 com.sun.grizzly.util.DataStructures <clinit>
FIN: JVM version 16 detected, grizzly loaded datastructure classes: class
maskedclasses.LinkedTransferQueue class maskedclasses.ConcurrentLinkedQueue
2010-04-06 22:01:11
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
configureApplications
LE PLUS FIN: Application(s) Found =
C:/workspaces/workspace_grizzly/samples/websockets/chat/target/grizzly-websockets-chat.war
2010-04-06 22:01:11
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
createServerLibClassLoader
LE PLUS FIN: Server library path contains=[]
2010-04-06 22:01:11
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deployWar
PLUS FIN: Configuration for deployment:
WarDeploymentConfiguration{ctx='/grizzly-websockets-chat',
serverLibLoader=java.net.URLClassLoader_at_1aaf0b3, webDefault=<WebApp>
<post-construct>
</post-construct>
<pre-destroy>
</pre-destroy>
</WebApp>}.
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
cleanup
INFO: cleaning folder :
C:\workspaces\workspace_grizzly\modules\bundles\http-servlet-deployer\work
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN: War class path contains:
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-framework-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-http-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-lzma-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-portunif-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-rcm-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-utils-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/lib/grizzly-websockets-1.9.19-SNAPSHOT.jar!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
file://C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
file://C:/workspaces/workspace_grizzly/modules/bundles/http-servlet-deployer/work/grizzly-websockets-chat/WEB-INF/classes/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/samples/websockets/chat/target/grizzly-websockets-chat.war!/
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
createWarCL
LE PLUS FIN:
jar:file:/C:/workspaces/workspace_grizzly/samples/websockets/chat/target/grizzly-websockets-chat.war!/WEB-INF/classes/
2010-04-06 22:01:11 com.sun.grizzly.http.webxml.WebappLoader load
LE PLUS FIN: Version found=2.4
2010-04-06 22:01:11 com.sun.grizzly.http.servlet.deployer.WarDeployer
fromURI
INFO: Skipping Annotation for this URI :
file:/C:/workspaces/workspace_grizzly/samples/websockets/chat/target/grizzly-websockets-chat.war
2010-04-06 22:01:19 com.sun.grizzly.http.servlet.deployer.WarDeployer
createDeployments
LE PLUS FIN: Adding a ServletAdapter to handle / path
2010-04-06 22:01:19 com.sun.grizzly.http.servlet.deployer.WarDeployer
createDeployments
LE PLUS FIN: Adding a ServletAdapter to handle root path
2010-04-06 22:01:19 com.sun.grizzly.http.deployer.Deployer deploy
LE PLUS FIN: Deploying 'com.sun.grizzly.http.servlet.ServletAdapter_at_145f5e3'
to [/grizzly-websockets-chat/chat]
2010-04-06 22:01:19 com.sun.grizzly.http.deployer.Deployer deploy
LE PLUS FIN: Deploying 'com.sun.grizzly.http.servlet.ServletAdapter_at_11ed166'
to [/grizzly-websockets-chat/]
2010-04-06 22:01:19 com.sun.grizzly.http.deployer.Deployer deploy
LE PLUS FIN: Deploying 'com.sun.grizzly.http.servlet.ServletAdapter_at_45aa2c'
to [/grizzly-websockets-chat/]
2010-04-06 22:01:19 com.sun.grizzly.http.SelectorThread initAlgorithm
FIN: Using Algorithm: com.sun.grizzly.http.algorithms.NoParsingAlgorithm
2010-04-06 22:01:19 com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Tue Apr 06 22:01:19 EDT
2010
2010-04-06 22:01:34 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:55 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:55 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_53a9d5 attachment: 1270605715462
2010-04-06 22:01:55 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=103 cap=131072]
2010-04-06 22:01:55 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:55 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_749436 attachment: 1270605715714
2010-04-06 22:01:55 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=102 cap=131072]
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_a2d304 attachment: 1270605716593
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_956254 attachment: 1270605716594
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_40d611 attachment: 1270605716594
2010-04-06 22:01:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:01:56 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:01:56 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:01:56 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:02:01 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1d4f355
2010-04-06 22:02:01 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_53a9d5 attachment:
-9223372036854775808
2010-04-06 22:02:01 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:02:02 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1c2ec05
2010-04-06 22:02:02 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_749436 attachment:
-9223372036854775808
2010-04-06 22:02:02 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=110 cap=131072]
2010-04-06 22:02:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_14d659d attachment:
1270605716596
2010-04-06 22:02:19 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1f6ef01
2010-04-06 22:02:19 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_2c7ac5
2010-04-06 22:02:38 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_104eabb
2010-04-06 22:02:45 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_165ab39
2010-04-06 22:02:46 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_956254 attachment:
-9223372036854775808
2010-04-06 22:02:46 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_a2d304 attachment:
-9223372036854775808
2010-04-06 22:02:46 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_1484a8a
2010-04-06 22:02:46 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:02:46 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_1500efd
2010-04-06 22:02:46 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:02:51 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_2e242b
2010-04-06 22:02:56 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_40d611 attachment:
-9223372036854775808
2010-04-06 22:02:56 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_1c8f91e
2010-04-06 22:02:56 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:03:26 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_190c99
2010-04-06 22:03:49 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_749436 attachment:
-9223372036854775808
2010-04-06 22:03:49 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_53a9d5 attachment:
-9223372036854775808
2010-04-06 22:03:49 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_8a1f38
2010-04-06 22:03:49 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_4c94e5
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_1c354e6 attachment:
1270605846117
2010-04-06 22:04:06 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=103 cap=131072]
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_6ee404 attachment: 1270605846137
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_2f996f attachment: 1270605846138
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_3bfc47 attachment: 1270605846137
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_1f93ace attachment:
1270605846139
2010-04-06 22:04:06 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_e771f3 attachment: null
2010-04-06 22:04:06 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=102 cap=131072]
2010-04-06 22:04:06 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:04:06 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_ee3dee attachment: 1270605846153
2010-04-06 22:04:06 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:04:17 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_39bf12
2010-04-06 22:04:17 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_1c354e6 attachment:
-9223372036854775808
2010-04-06 22:04:17 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=109 cap=131072]
2010-04-06 22:04:23 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_e6361e
2010-04-06 22:04:23 com.sun.grizzly.http.SocketChannelOutputBuffer
flushChannel
LE PLUS FIN: flushChannel isAsyncHttpWriteEnabled=false
bb=java.nio.HeapByteBuffer[pos=0 lim=110 cap=131072]
2010-04-06 22:04:23 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_e8787a
2010-04-06 22:04:26 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_f90137
2010-04-06 22:04:28 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_6ee404 attachment:
-9223372036854775808
2010-04-06 22:04:28 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_3bfc47 attachment:
-9223372036854775808
2010-04-06 22:04:28 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_12a78ee
2010-04-06 22:04:28 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:04:28 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_16602cb
2010-04-06 22:04:28 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:04:28 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1eeba19
2010-04-06 22:04:30 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1bde3d2
2010-04-06 22:04:30 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$RegisterKeyOperation_at_1eb717e
2010-04-06 22:04:38 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_1f93ace attachment:
-9223372036854775808
2010-04-06 22:04:38 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_ee3dee attachment:
-9223372036854775808
2010-04-06 22:04:38 com.sun.grizzly.SelectorHandlerRunner dolog
FIN: OP_READ on sun.nio.ch.SelectionKeyImpl_at_2f996f attachment:
-9223372036854775808
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_11576d7
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_2d5534
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler processPendingQueue
LE PLUS FIN: Processing pending task:
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation_at_34d75f
2010-04-06 22:04:38 com.sun.grizzly.TCPSelectorHandler closeChannel
LE PLUS FIN: Unexpected exception during channel outputShutdown
java.net.SocketException: Connection reset by peer: shutdown
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at sun.nio.ch.SocketChannelImpl.shutdownOutput(Unknown Source)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(Unknown Source)
    at
com.sun.grizzly.TCPSelectorHandler.closeChannel(TCPSelectorHandler.java:1289)
    at
com.sun.grizzly.BaseSelectionKeyHandler.doAfterKeyCancel(BaseSelectionKeyHandler.java:233)
    at
com.sun.grizzly.BaseSelectionKeyHandler.close(BaseSelectionKeyHandler.java:276)
    at
com.sun.grizzly.TCPSelectorHandler$SelectionKeyCancelOperation.run(TCPSelectorHandler.java:1632)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingQueue(TCPSelectorHandler.java:450)
    at
com.sun.grizzly.TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:439)
    at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:377)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)



and if I try to login in the chat.. anyway.. I'll always get this :test: has
left the chat (where test was the login in the textbox)


what I missed ?


I debug the WebEngine

public boolean handle(AsyncExecutor asyncExecutor) {
        WebSocket socket = null;
        try {
            Request request = asyncExecutor.getProcessorTask().getRequest();
            if ("WebSocket".equals(request.getHeader("Upgrade"))) {
                socket = getWebSocket(asyncExecutor, request);
                ((HttpWorkerThread) Thread.currentThread()).getAttachment()

.setTimeout(SelectionKeyAttachment.UNLIMITED_TIMEOUT);
            }
        } catch (IOException e) {
            return false;
        }
        return socket != null;
    }

and the request never had the Upgrade header.

when Google Chrome start downloading the index.html page.. it does get :
/... moo.fx.js , /..application.js ... it does that to load the page.. but
that's it... look like Chrome or Grizzly close the connection after that..
and doesn't resume it ?




2010/4/4 Sebastien Dionne <survivant00_at_gmail.com>

> oh boy.. that will be long to download. can you send me a gf3.1 builded on
> mediafire ?
>
> I<ll try to make it works on Grizzly Deployer after that I tested on GF.
>
>
>
>
> 2010/4/4 Justin Lee <justin.d.lee_at_oracle.com>
>
>> Build grizzly trunk and glassfish 3.1 but change gf's pom.xml to referent
>> 1.9.19-SNAPSHOT instead. then when gf comes up, run:
>>
>> asadmin set
>> configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.websockets-support-enabled=true
>>
>> Then deploy the chat sample and you should be set.
>>
>>
>> On 4/4/10 4:50 PM, Sebastien Dionne wrote:
>>
>>> so right now I can<t test it ?
>>>
>>> just tell me what I need.
>>>
>>>
>>>
>>> 2010/4/4 Justin Lee<justin.d.lee_at_oracle.com>
>>>
>>>
>>>
>>>> We haven't integrated into 3.1 yet but it'll be part of the 1.9.19-beta2
>>>> releast alexey is wanting to cut. I'd *like* to included it in GF 3.0.1
>>>> as
>>>> well but we're having to convince managment about that. So if you'd
>>>> like to
>>>> see that as well, it'd help if you made noise publicly that'd help our
>>>> cause. ;)
>>>>
>>>>
>>>> On 4/4/10 4:35 PM, Sebastien Dionne wrote:
>>>>
>>>>
>>>>
>>>>> if I want to play with the websockets.. shoudl I have GF 3.0 ou 3.1 ?
>>>>>
>>>>>
>>>>>
>>>>> 2010/4/4 Justin Lee<justin.d.lee_at_oracle.com>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Yeah. I've seen that failure intermittently on OS X as well. I think
>>>>>> i
>>>>>> know what the problem and the fix are.
>>>>>>
>>>>>>
>>>>>> On 4/4/10 4:21 PM, Sebastien Dionne wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I launch the tests twice.. and it failed both times. here the logs
>>>>>>>
>>>>>>> -------------------------------------------------------
>>>>>>> T E S T S
>>>>>>> -------------------------------------------------------
>>>>>>> Running TestSuite
>>>>>>> 4-Apr-2010 6:16:37 PM com.sun.grizzly.Controller logVersion
>>>>>>> INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Sun Apr 04
>>>>>>> 18:16:37
>>>>>>> EDT
>>>>>>> 2010
>>>>>>> 4-Apr-2010 6:16:39 PM com.sun.grizzly.Controller logVersion
>>>>>>> INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Sun Apr 04
>>>>>>> 18:16:39
>>>>>>> EDT
>>>>>>> 2010
>>>>>>> ServerSideTest.asynchronous: message/ms = 21
>>>>>>> 4-Apr-2010 6:16:42 PM com.sun.grizzly.Controller logVersion
>>>>>>> INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Sun Apr 04
>>>>>>> 18:16:42
>>>>>>> EDT
>>>>>>> 2010
>>>>>>> 4-Apr-2010 6:16:42 PM com.sun.grizzly.arp.AsyncProcessorTask doTask
>>>>>>> SEVERE: Malformed frame. Missing frame end delimiter: 101
>>>>>>> java.lang.RuntimeException: Malformed frame. Missing frame end
>>>>>>> delimiter:
>>>>>>> 101
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.FrameType$1.unframe(FrameType.java:25)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.DataFrame.<init>(DataFrame.java:19)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.BaseWebSocket.unframe(BaseWebSocket.java:1
>>>>>>> 13)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.checkBuffered(WebSocketEng
>>>>>>> ine.java:107)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.getWebSocket(WebSocketEngi
>>>>>>> ne.java:62)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.handle(WebSocketEngine.jav
>>>>>>> a:42)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsy
>>>>>>> ncFilter.java:12)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncEx
>>>>>>> ecutor.java:164)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecut
>>>>>>> or.java:140)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java
>>>>>>> :90)
>>>>>>> at com.sun.grizzly.http.TaskBase.run(TaskBase.java:190)
>>>>>>> at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:172)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.ja
>>>>>>> va:142)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.j
>>>>>>> ava:174)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
>>>>>>> tocolChain.java:135)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
>>>>>>> a:102)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
>>>>>>> a:88)
>>>>>>> at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
>>>>>>> :76)
>>>>>>> at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
>>>>>>> ask.java:53)
>>>>>>> at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
>>>>>>> java:57)
>>>>>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>>>>>> at
>>>>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
>>>>>>> ool.java:526)
>>>>>>> at
>>>>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
>>>>>>> .java:507)
>>>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>>>> 4-Apr-2010 6:16:42 PM com.sun.grizzly.arp.AsyncProtocolFilter execute
>>>>>>> INFO: Processor exception
>>>>>>> java.lang.RuntimeException: java.lang.RuntimeException: Malformed
>>>>>>> frame.
>>>>>>> Missin
>>>>>>> g frame end delimiter: 101
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java
>>>>>>> :108)
>>>>>>> at com.sun.grizzly.http.TaskBase.run(TaskBase.java:190)
>>>>>>> at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:172)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.ja
>>>>>>> va:142)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.j
>>>>>>> ava:174)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
>>>>>>> tocolChain.java:135)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
>>>>>>> a:102)
>>>>>>> at
>>>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
>>>>>>> a:88)
>>>>>>> at
>>>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
>>>>>>> :76)
>>>>>>> at
>>>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
>>>>>>> ask.java:53)
>>>>>>> at
>>>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
>>>>>>> java:57)
>>>>>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>>>>>> at
>>>>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
>>>>>>> ool.java:526)
>>>>>>> at
>>>>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
>>>>>>> .java:507)
>>>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>>>> Caused by: java.lang.RuntimeException: Malformed frame. Missing
>>>>>>> frame
>>>>>>> end
>>>>>>> delim
>>>>>>> iter: 101
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.FrameType$1.unframe(FrameType.java:25)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.DataFrame.<init>(DataFrame.java:19)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.BaseWebSocket.unframe(BaseWebSocket.java:1
>>>>>>> 13)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.checkBuffered(WebSocketEng
>>>>>>> ine.java:107)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.getWebSocket(WebSocketEngi
>>>>>>> ne.java:62)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketEngine.handle(WebSocketEngine.jav
>>>>>>> a:42)
>>>>>>> at
>>>>>>> com.sun.grizzly.websockets.WebSocketAsyncFilter.doFilter(WebSocketAsy
>>>>>>> ncFilter.java:12)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncEx
>>>>>>> ecutor.java:164)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecut
>>>>>>> or.java:140)
>>>>>>> at
>>>>>>> com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java
>>>>>>> :90)
>>>>>>> ... 14 more
>>>>>>> 4-Apr-2010 6:16:43 PM com.sun.grizzly.Controller logVersion
>>>>>>> INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Sun Apr 04
>>>>>>> 18:16:43
>>>>>>> EDT
>>>>>>> 2010
>>>>>>> ServerSideTest.synchronous: message/ms = 13
>>>>>>> 4-Apr-2010 6:16:46 PM com.sun.grizzly.Controller logVersion
>>>>>>> INFO: Starting Grizzly Framework 1.9.19-SNAPSHOT - Sun Apr 04
>>>>>>> 18:16:46
>>>>>>> EDT
>>>>>>> 2010
>>>>>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.09
>>>>>>> sec
>>>>>>> <<< FA
>>>>>>> ILURE!
>>>>>>>
>>>>>>> Results :
>>>>>>>
>>>>>>> Failed tests:
>>>>>>> bigPayload(com.sun.grizzly.websockets.ServerSideTest)
>>>>>>>
>>>>>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>>>>>>
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] There are test failures.
>>>>>>>
>>>>>>> Please refer to
>>>>>>> C:\workspaces\workspace_grizzly\modules\websockets\target\surefi
>>>>>>> re-reports for the individual test results.
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 7 minutes 19 seconds
>>>>>>> [INFO] Finished at: Sun Apr 04 18:16:47 EDT 2010
>>>>>>> [INFO] Final Memory: 25M/64M
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> C:\workspaces\workspace_grizzly>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
> --
> -------------
> A+
>
> Sébastien.
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
> http://twitter.com/survivant
>



-- 
-------------
A+
Sébastien.
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant