0 Replies Latest reply on Sep 4, 2014 11:58 AM by Randahl Fink Isaksen

    Wildfly & WebSockets – which client side jar

    Randahl Fink Isaksen Novice

      I am trying to connect a regular Java application to Wildfly through WebSockets. I have created @ClientEndPoint annotated class as required, but when I try to acquire a WebSocketContainer I get the exception below telling me that I do not have a WebSocketContainer implementation on my class path. I have search quite a while for the implementation jar, but to no avail. Does anyone know which jar contains the implementation and/or the maven dependency to use?

       

      java.lang.RuntimeException: Could not find an implementation class.

        at javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:73)

        at com.wefend.services.grid.AppBean.<init>(AppBean.java:60)

        at com.wefend.observatory.grid.ObservatoryBean.<init>(ObservatoryBean.java:31)

        at com.wefend.observatory.grid.ObservatoryBean.newInstance(ObservatoryBean.java:40)

        at com.wefend.observatory.ObservatoryMain.autologin(ObservatoryMain.java:530)

        at com.wefend.observatory.ObservatoryMain.start(ObservatoryMain.java:392)

        at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)

        at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)

        at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)

        at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)

        at java.security.AccessController.doPrivileged(Native Method)

        at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)

        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)