b2468 commented on issue #2446:
URL: https://github.com/apache/activemq/issues/2446#issuecomment-5361402800

   I can reproduce this when running an activemq 6.3.0 container. I am using 
the activemq.xml configuration file included with the container with one change 
: The ws (port 61614) transportConnector line is uncommented/disabled. 
   
   I am starting the container with : podman run -p 61614:61614 -v 
./activemq.xml:/opt/apache-activemq/conf/activemq.xml 
docker.io/apache/activemq:6.3.0
   
   I can trigger the error by sending an "Upgrade: websocket" request with nc 
(typically this would come from the connecting process).
   
   
   ```
   $ nc 127.0.0.1 61614
   GET /ws HTTP/1.1
   Host: activemq:61614
   Upgrade: websocket
   Connection: Upgrade
   Sec-WebSocket-Key: aaaaaaaaaaaaaaaaaaaaaa==
   Sec-WebSocket-Version: 13
   
   HTTP/1.1 500 Server Error
   Date: Thu, 20 Aug 2026 19:54:52 GMT
   Cache-Control: must-revalidate,no-cache,no-store
   Content-Type: text/html;charset=iso-8859-1
   Content-Length: 614
   
   <html>
   <head>
   <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
   <title>Error 500 java.lang.NoClassDefFoundError: 
org/eclipse/jetty/websocket/server/internal/CompletedUpgradeRequest</title>
   </head>
   <body>
   <h2>HTTP ERROR 500 java.lang.NoClassDefFoundError: 
org/eclipse/jetty/websocket/server/internal/CompletedUpgradeRequest</h2>
   <table>
   <tr><th>URI:</th><td>http://activemq:61614/ws</td></tr>
   <tr><th>STATUS:</th><td>500</td></tr>
   <tr><th>MESSAGE:</th><td>java.lang.NoClassDefFoundError: 
org/eclipse/jetty/websocket/server/internal/CompletedUpgradeRequest</td></tr>
   </table>
   
   </body>
   </html>
   ```
   
   console output
   
   ```
   
   
[activemq.xml](https://github.com/user-attachments/files/31280524/activemq.xml)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to