All Questions
Tagged with spring-websocket tomcat
40
questions
2
votes
2
answers
259
views
Java Web sockets in Tomcat causing very High memory usage and OOO
I am coding for an application that forms around 4 thousand connection and send data. but somehow it is consuming memory in more than 700 GB range. what is the ideal way to optimize? any Garbage ...
0
votes
1
answer
385
views
Is tomcat suitable for a high load spring websocket (not stomp) app?
We are developing a spring websocket (spring boot starter websocket) (not stomp). Currently we use default HTTP server (embedded tomcat)
My question is: Is tomcat suitable for websocket, assume that ...
0
votes
0
answers
251
views
How to handle Spring Websockets (stomp) with balanced multi-sever
I have a single tomcat server with a Spring application with Stomp.
It uses websockets to notify to subscriber clients some events.
I would like to move the server structure to a balanced multi-...
1
vote
1
answer
363
views
Spring Websocket not able to connect with Tomcat 8.5 and F5
We have a spring-websocket application that works fine when we use Tomcat 8.0. However, when we upgraded our Tomcat to 8.5 it stopped working. When looking at the networks trace from the F5 it ...
4
votes
1
answer
1k
views
Do WebSockets trigger IOException: Too many opened files?
I have spring-boot (version: 2.2.1.Release) application. The application has a scheduled task (call it Task-A) that makes a lot of requests to third api, that occasionally may be down. Also the ...
1
vote
0
answers
437
views
Proxy passing setup for stomp over websocket on apache 2.4
I want to map a domain with my spring websocket deployed on server(tomcat) over port 8090.
I need to access my application through proxy passing over apache 2.4 installed on centOS.
The application(...
1
vote
0
answers
542
views
Web socket support for Microsoft IIS (ISAPI redirector + AJPv13) + Tomcat 8
In one of our projects we wanted to start using web socket in a spring boot application and wanted to know if web socket are supported in our deployment model. We use IIS as web server which is ...
2
votes
1
answer
1k
views
How to use SNI with Spring WebSocketClient?
I need to connect to spring websocket server which supports SNI. I am using Spring WebSocket Client which by default does not sends SNI extension as jdk 1.8.0 does not send SNI extension by default.
...
1
vote
0
answers
281
views
Spring Websocket heap space Error with concurrent Request
I am using Spring WebSocket. I am seeing a gradual increase in heap memory whenever I am creating WebSocket session. From the heap dump i found that the below objects is acquiring most of the heap ...
0
votes
2
answers
1k
views
WebsocketServerContainer not in ServletContext after Tomcat-Update
I just upgraded my local tomcat (windows maschine), from 9.0.10 to 9.0.14.
Now i am getting the following Stacktrace when starting my Spring Application (Spring Boot 2.1.1: MVC, Security, Websocket, ...
3
votes
2
answers
1k
views
Tomcat WebSocket BufferOverflowException
I have a micro-services application where I need to use WebSockets for one of the features. The browser connects to the API gateway, which then needs to forward the WebSocket request to the ...
1
vote
1
answer
1k
views
Spring boot configure with two IP address
I have a spring boot project and I need to configure it to cater requests from two IP addresses. My system has two NICs and two IPs.
I wish to configure it in such a way that -
one nic serves ...
3
votes
1
answer
1k
views
Spring boot "No active sessions for user destination" after reconnect
I'm writing a test application using web sockets.
Sometimes after a re-connection, Spring Boot v1.5.10.RELEASE does not find a session associated with the user. This problem not reproducible ...
0
votes
1
answer
2k
views
DefaultHandshakeHandler's determineUser not called on Production Server
I have a grails project which uses Spring websockets. I have implemented the DefaultHandshakeHandler to create random principal name for each new session and use convertAndSendToUser to send messages. ...
0
votes
1
answer
901
views
Websocket in AWS ElasticBeanstalk Tomcat & Spring not working
I am using Tomcat in AWS EB. I have developed an application using Spring boot with tech stack Spring 4 and Java 8. My application uses Spring WebSocket to send a notification to the user. Below is ...