Hi,
 
We are trying to add websocket in Jetty. The way we use jetty is running from Eclipse as OSGI Framework with extension point
org.eclipse.equinox.http.registry.servlets and org.eclipse.equinox.http.registry.resources to map URL.
 
I add the websocket class with @ServerEndpoint, but seems the annotation does not work, it always report report 404 when get ws request, the URL set in the annotation does not work. I made some search and add following jar as eclipse plugins, but it still not work. Does any one know how to support websocket by launch Jetty in Eclipse?
sm-5.0.1.jar                                   
javax-websocket-client-impl-9.3.9.v20160517.jar 
jetty-annotations-9.3.9.v20160517.jar           
websocket-api-9.3.9.v20160517.jar
asm-all-5.0.4.jar                               
javax-websocket-server-impl-9.3.9.v20160517.jar 
jetty-jndi-9.3.9.v20160517.jar                  
websocket-client-9.3.9.v20160517.jar
asm-commons-5.0.1.jar                           
javax.interceptor-api-1.2.jar                   
jetty-plus-9.3.9.v20160517.jar                  
websocket-common-9.3.9.v20160517.jar
asm-tree-5.0.1.jar                              
javax.transaction-api-1.2.jar                   
org.apache.aries.spifly.dynamic.bundle-1.0.8.jar
websocket-server-9.3.9.v20160517.jar
cdi-api-1.2.jar                                 
javax.websocket-api-1.0.jar                     
org.apache.aries.util-1.1.1.jar                 
websocket-servlet-9.3.9.v20160517.jar
 

_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to