Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-123

Run WebSocket client in Java SE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta25
    • None
    • None
    • None

    Description

      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)

      Complete discussion at:

      http://lists.jboss.org/pipermail/wildfly-dev/2013-November/001057.html

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            arungupta_jira Arun Gupta (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: