OpenMRS + WebSockets

Hi everyone, I´m trying to use WebSockets with OpenMRS but I don´t get it to work. I´m developing a new module for test and I try to use @ServerEndpoint in my Server class. After that, in my groovy page I have a websocket client, but when I try to connect I get 404 error. It´s like the websocket server is not ready.

I have done several test with javax.websocket-api, and with spring-websockets, but there is no way. With spring-websockets it fails during deploy. With javax.websockets-api I can deploy the module without problems, but I get the 404 error when I try to connect to websocket.

Anyone has been able to run websockets with openmrs? :pensive: