Mysterious websocket disconnection--no logs

2024-06-08 Thread Flaviu Tamas
I'm writing some tests for my Spring Boot application, which uses tomcat-embed-websocket-10.1.18. When I send a message to the socket from handleVideoFrame, all I see is .WebSocketAnnotationMethodMessageHandler : Invoking VideoStreamController#handleVideoFrame[3 args] o.s.w.s.m.SubProtocolWebSocke

RE: Re: Embedded Tomcat common classloader

2024-06-08 Thread Terence M. Bandoian
From the Oracle (Java 8) documentation: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html Class Path Wild Cards Class path entries can contain the base name wildcard character (*), which is considered equivalent to specifying a list of all of the files in

Re: Embedded Tomcat common classloader

2024-06-08 Thread Dave Breeze
hi first thank you for the insights. I did not realise that the wildcard was expanded by the shell. I thought this was handled by java itself. However in my instance the jvm is not being created by a shell but by a JNI wrapper. Originally this JNI wrapper included myDir/lib/*.jar in the classpath