<div dir="ltr">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.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 5:14 PM, Arun Gupta <span dir="ltr"><<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For now this test is invoked from outside a WAR file.<br>
<br>
I'm debugging on a separate thread so that it can run from within an<br>
Arquillian setup. Until then, is there a Java SE client that can be<br>
used to run this test ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
</font></span><div class="im HOEnZb"><br>
On Tue, Nov 5, 2013 at 5:10 PM, Stuart Douglas<br>
<<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Is this being run from outside a War by any chance? Looking at the code it<br>
> appears we only add websockets dependency to a war, and as a result the<br>
> container provider implementation is not available.<br>
><br>
> Stuart<br>
><br>
><br>
> On Tue, Nov 5, 2013 at 4:48 PM, Arun Gupta <<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>> wrote:<br>
>><br>
>> Trying to run a simple WebSocket test from:<br>
>><br>
>> <a href="https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/binary" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/binary</a><br>
>><br>
>> But this is throwing the following exception:<br>
>><br>
>> Running org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest<br>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.055<br>
>> sec <<< FAILURE!<br>
>><br>
>> testEndPointByteBuffer(org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest)<br>
>> Time elapsed: 0.023 sec <<< ERROR!<br>
>> java.lang.RuntimeException: Could not find an implementation class.<br>
>> at<br>
>> javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:73)<br>
>> at<br>
>> org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest.testEndPointByteBuffer(WebsocketByteBufferEndpointTest.java:63)<br>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
>> at<br>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
>> at<br>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
>> at java.lang.reflect.Method.invoke(Method.java:606)<br>
>><br>
>> What is missing ?<br>
>><br>
>> Arun<br>
>><br>
>> --<br>
>> <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
>> <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
>> _______________________________________________<br>
>> wildfly-dev mailing list<br>
>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
<a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
<a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>"camel is a horse made up in a laboratory"
</div>