Hi, you'd need to switch to Pax Web 4.0.0-SNAPSHOT feature file, it also contains a Jetty 9 bundle.
This should help, if not please file a issue at Pax Web so I can take a closer look. regards, Achim 2014-07-07 14:42 GMT+02:00 jimmy <[email protected]>: > Hi, how to install jetty 9 in karaf. > > in the original repo-feature, when installing pax-jetty the jetty version > is > 8.1.14.v20131031 > > In fact, i get a problem because i'd like to use websocket protocol using > the annotation > > *@ServerEndpoint("/websocket")* > > but when i deploy my bundle, this annotation isn't detected and i get an > http 404 when i try to access to /websocket. > > It is working in a glassfish environnement but not in karaf. So i think > switching to jetty 9 is better for JSR356 > > I've tested also to add jetty-websocket bundle, but it doesn't resolve the > issue. > install -s mvn:org.eclipse.jetty/jetty-websocket/8.1.14.v20131031 > > Plz help. > Thanks in advance. > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/WebSocket-tp4034012.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
