-
Bug
-
Resolution: Done
-
Major
-
7.68.0.Final
-
None
-
2022 Week 14-16 (from Apr 4)
-
3
-
NEW
-
NEW
-
---
-
---
Tomcat 9.0.43 (JWS 5.5) + Java 8 : No issue (@PostConstruct is not called)
Tomcat 9.0.50 (JWS 5.6.1) + Java 8 : Fails (@PostConstruct is called)
Tomcat 9.0.50 (JWS 5.6.1) + Java 11 : No issue (@PostConstruct is not called)
mvn clean install -Ptomcat9 -Dit.test=WebSocketKieControllerManagementIntegrationTest -Dversion.tomcat=9.0.50
in kie-server-integ-tests-controller module.
Error:
[INFO] [talledLocalContainer] java.lang.IllegalArgumentException: javax.websocket.DeploymentException: Endpoint instance creation failed [INFO] [talledLocalContainer] at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:138) [INFO] [talledLocalContainer] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:940) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1723) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [INFO] [talledLocalContainer] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:750) [INFO] [talledLocalContainer] Caused by: javax.websocket.DeploymentException: Endpoint instance creation failed [INFO] [talledLocalContainer] at org.apache.tomcat.websocket.WsSession.<init>(WsSession.java:278) [INFO] [talledLocalContainer] at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:126) [INFO] [talledLocalContainer] ... 7 more [INFO] [talledLocalContainer] Caused by: java.lang.reflect.InvocationTargetException [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:498) [INFO] [talledLocalContainer] at org.apache.catalina.core.DefaultInstanceManager.postConstruct(DefaultInstanceManager.java:232) [INFO] [talledLocalContainer] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:175) [INFO] [talledLocalContainer] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143) [INFO] [talledLocalContainer] at org.apache.tomcat.websocket.WsSession.<init>(WsSession.java:275) [INFO] [talledLocalContainer] ... 8 more [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException [INFO] [talledLocalContainer] at org.kie.server.controller.websocket.management.WebSocketKieServerMgmtControllerImpl.configure(WebSocketKieServerMgmtControllerImpl.java:54) [INFO] [talledLocalContainer] ... 16 more [INFO] [talledLocalContainer]
- is incorporated by
-
RHPAM-4263 WebSockets for Kie server controller broken for JWS 5.6.1
- Closed