Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Not running on Jetty, JSR-356 support unavailable

Hi All,

I am trying to upgrade ActiveMQ jar to its latest version. It requires me
to upgrade Jetty to 9.4 version.
I have current setup as Tomcat 9 + ActiveMQ 5.12 + jetty-all-8.1.
I want to upgrade it as Tomcat 9 + ActiveMQ 5.15 + jetty-all-9.4.19.v20190610-uber.

After putting the jetty jar in tomcat when I try to start it gives me below error:

javax.servlet.ServletException: Not running on Jetty, JSR-356 support
unavailable
    at
org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer.onStartup(WebSocketServerContainerInitializer.java:200)
    at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5125)

It looks like Jetty 9.4 has JSR-356 implementation and it is conflicting with Tomcat.
I do not need websockets.
Can someone please help to fix this ?

Thanks
Naveen

Back to the top