This now works with latest Undertow upstream. Should make it into a release
by early next week.
Stuart
On Thu, Nov 21, 2013 at 2:30 AM, Arun Gupta <arun.gupta(a)gmail.com> wrote:
Stuart,
Any updates on this issue ?
All my WebSocket tests are going to fail because of this.
Arun
On Wed, Nov 6, 2013 at 4:33 AM, Arun Gupta <arun.gupta(a)gmail.com> wrote:
> Filed
https://issues.jboss.org/browse/UNDERTOW-123
>
> On Wed, Nov 6, 2013 at 10:13 AM, Stuart Douglas
> <stuart.w.douglas(a)gmail.com> wrote:
>> Can you file a JIRA about this?
>>
>> Most of the pieces are there, the only issue is that the code will not
>> bootstrap a new websocket client if one is not already started. This
means
>> it will work fine in a war, however it won't work standalone, or in a
>> non-war deployment yet.
>>
>> This is an easy fix however.
>>
>> Stuart
>>
>>
>> On Tue, Nov 5, 2013 at 6:39 PM, Arun Gupta <arun.gupta(a)gmail.com>
wrote:
>>>
>>> Something like:
>>>
>>>
https://tyrus.java.net/dependencies.html
>>>
>>> would be nice for Undertow. I'm able to run websocket/binary test in
>>> glassfish profile by specifying the Java SE-only dependencies.
>>>
>>> Arun
>>>
>>> On Tue, Nov 5, 2013 at 5:19 PM, Nick Mpallas <mpallas(a)gmail.com>
wrote:
>>> > That was my question in an email to Stuart..I can't find a client
>>> > similar to
>>> > tyrus-client you can find in Glassfish(OMG sorry for bringing that
up,
>>> > just
>>> > as a hint) for example. A client lib to include as dep.
>>> >
>>> >
>>> > On Tue, Nov 5, 2013 at 5:14 PM, Arun Gupta
<arun.gupta(a)gmail.com>
wrote:
>>> >>
>>> >> For now this test is invoked from outside a WAR file.
>>> >>
>>> >> I'm debugging on a separate thread so that it can run from
within an
>>> >> Arquillian setup. Until then, is there a Java SE client that can
be
>>> >> used to run this test ?
>>> >>
>>> >> Arun
>>> >>
>>> >> On Tue, Nov 5, 2013 at 5:10 PM, Stuart Douglas
>>> >> <stuart.w.douglas(a)gmail.com> wrote:
>>> >> > Is this being run from outside a War by any chance? Looking at
the
>>> >> > code
>>> >> > it
>>> >> > appears we only add websockets dependency to a war, and as a
result
>>> >> > the
>>> >> > container provider implementation is not available.
>>> >> >
>>> >> > Stuart
>>> >> >
>>> >> >
>>> >> > On Tue, Nov 5, 2013 at 4:48 PM, Arun Gupta
<arun.gupta(a)gmail.com>
>>> >> > wrote:
>>> >> >>
>>> >> >> Trying to run a simple WebSocket test from:
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/binary
>>> >> >>
>>> >> >> But this is throwing the following exception:
>>> >> >>
>>> >> >> Running
>>> >> >>
org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest
>>> >> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed:
>>> >> >> 0.055
>>> >> >> sec <<< FAILURE!
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
testEndPointByteBuffer(org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest)
>>> >> >> Time elapsed: 0.023 sec <<< ERROR!
>>> >> >> java.lang.RuntimeException: Could not find an
implementation
class.
>>> >> >> at
>>> >> >>
>>> >> >>
>>> >> >>
javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:73)
>>> >> >> at
>>> >> >>
>>> >> >>
>>> >> >>
org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest.testEndPointByteBuffer(WebsocketByteBufferEndpointTest.java:63)
>>> >> >> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>>> >> >> at
>>> >> >>
>>> >> >>
>>> >> >>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> >> >> at
>>> >> >>
>>> >> >>
>>> >> >>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> >> >> at java.lang.reflect.Method.invoke(Method.java:606)
>>> >> >>
>>> >> >> What is missing ?
>>> >> >>
>>> >> >> Arun
>>> >> >>
>>> >> >> --
>>> >> >>
http://blog.arungupta.me
>>> >> >>
http://twitter.com/arungupta
>>> >> >> _______________________________________________
>>> >> >> wildfly-dev mailing list
>>> >> >> wildfly-dev(a)lists.jboss.org
>>> >> >>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
http://blog.arungupta.me
>>> >>
http://twitter.com/arungupta
>>> >> _______________________________________________
>>> >> wildfly-dev mailing list
>>> >> wildfly-dev(a)lists.jboss.org
>>> >>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > \n\m
>>> > "camel is a horse made up in a laboratory"
>>>
>>>
>>>
>>> --
>>>
http://blog.arungupta.me
>>>
http://twitter.com/arungupta
>>
>>
>
>
>
> --
>
http://blog.arungupta.me
>
http://twitter.com/arungupta
--
http://blog.arungupta.me
http://twitter.com/arungupta