Hi Chris,

I am running tomcat and keeping the jetty-all-9.4.19.v20190610-uber.jar
inside tomcat\lib.
I do not need websockets functionality.
But I'm not getting a way to disable it so that it can work fine with
tomcat.

Thanks
Naveen

On Mon, Nov 25, 2019 at 9:37 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Naveen,
>
> On 11/25/19 04:21, Naveen Kumar wrote:
> > 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.
> >
> > After doing the changes when I try to start tomcat, it gives me
> > below error:
> >
> > javax.servlet.ServletException: Not running on Jetty, JSR-356
> > support unavailable at
> > org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContai
> nerInitializer.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. Can someone please help to fix this ?
>
> This sounds like a question for Jetty, not for Apache Tomcat.
>
> How are you running Tomcat ... with Jetty? Or Jetty with Tomcat?
>
> Would you like to use the Jetty version of JSR-356 (better known as
> WebSocket) of the Tomcat version?
>
> Be aware of the exact version of Jetty you are running. Some versions
> of 9.4.x have published vulnerabilities.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl3b/BsACgkQHPApP6U8
> pFjUBRAAwqrg7yYRzNFeFB9lX+zJZ8aIvWRGmbHftw0S4JSIZltHb6+cvi1wLHAA
> R03zau14niYLHZ9ZqDsBIXxoVD07djrdCXb2lNS8ANku9dcP/JD1Vn7PmfPxzuWf
> 5ZckluKDnutKIeAVE0BA1GmnLFoYmxQ1CK4yWnBAFNkGu/SVF4aiU7Mwu71VOFBO
> O8b7whIvw7kdLqPjkEFAe5KcCaxxEqa/334cVbFTAZEHU5YmELR7r96S0x/Ekcii
> EXa6h1DNjulGgCKzr72OB7XgdihZOuR6gABJV1rKBODvV+QBPqpA2/s1038vHQoK
> WA/bfxp1eMgLFGOoylMgClvdxCFZs9a0AAZXqZhf/yJHgD/qg34o8y3Lz12lSJcV
> MWUNujBxsb1/qVoyBkwramqPulC1rVM01wDwOiUc+xtuZsP8611jDoqAsc7pAjQt
> bxN4VvVp8/WZFoYrbDJNhUiVdURLuTCGH+FZ6kz0hsbBf3zuAT+wVjP4Lp0Zfisb
> VuYYN7eFbcZW1ATpK3oK40kLtJNZiHt1RduO6/zg5MvcZ2VzXPcvJpEJDAtzvQHs
> YTV7lHOsFStHM1Kvt8mInHBGUbr6PZcDVRyf/HVcK4/fcAC8Z9H25z9VTXG9R10R
> uUvyzbep/SCUUNhH0oAeIWACzI9g7/r429TdreAfzi5BoYIsCpg=
> =8QAg
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to