C:\temp\stage\glassfishv3\bin>asadmin start-domain
Waiting for DAS to start .................
Started domain: domain1
Domain location: C:\temp\stage\glassfishv3\glassfish\domains\domain1
Log file:
C:\temp\stage\glassfishv3\glassfish\domains\domain1\logs\server.log
Admin port for the domain: 4848
Command start-domain executed successfully.
C:\temp\stage\glassfishv3\bin>asadmin set
configs.config.server-config.network-c
onfig.protocols.protocol.http-listener-1.http.websockets-support-enabled=true
com.sun.enterprise.admin.cli.CommandException: remote failure: No
configuration
found for
configs.config.server-config.network-config.protocols.protocol.http-li
stener-1.http
Command set failed.
C:\temp\stage\glassfishv3\bin>
didn't work:(
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