TOMCAT WEBSOCKET CLARIFICATION

2017-02-17 Thread Cristian Lorenzetto
I have a doubt about a application using websocket. I have a application in which many threads can send a message to a specific connection. To send message is a thread safe function or not? In the case is not thread safe you suggest to use a queue or to use a synchronized on the connection

Non-visible URLContextFactory from RMI/JMX thread

2017-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm writing an MBean for a component in one of my applications that I'd like to be able to "reload" through JMX. The "reload" operation basically re-loads some stuff from a relational database accessed through a Tomcat-provided DataSource.