I'm currently trying to setup the ActiveMQ websocket transport for our
applicationserver (TomEE 7.0.4)
So far i've added all needed dependencies but jettys
ServletContainerInitializer annotations seem to cause problems:
2018-12-20 16:14:30,664 [localhost-startStop-1] ERROR
org.apache.catalina.core.StandardContext - Error during
ServletContainerInitializer processing
javax.servlet.ServletException: Not running on Jetty, JSR-356 support
unavailable
at
org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer.onStartup(WebSocketServerContainerInitializer.java:146)
~[?:?]
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
~[?:?]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
~[?:?]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
~[?:?]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
~[?:1.8.0_162]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[?:1.8.0_162]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[?:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
The ultimate goal would be to have an ActiveMQ transport which i'm able to put
behind a reverse proxy which will deal with SSL.
I know it's possible to handle SSL directly with ActiveMQ but the reverse proxy
gives me more flexiblity(LetsEncrypt support etc).
Thanks in advance :)