Posts

Showing posts with the label tomcat

Wait_timeout in a tomcat app

Image
Clash Royale CLAN TAG #URR8PPP Wait_timeout in a tomcat app I'm building an app in a tomcat server (JSP+Servlet+Hibernate(MYSQL)), but when I test this app, when have passed 24 hrs, I recieve this error. The last packet successfully received from the server was 59,480,937 milliseconds ago. The last packet sent successfully to the server was 59,480,937 milliseconds ago. is longer than the server configured value of 'wait_timeout'. How can I solve it? Should add I wait_timeout on hibernate conf file? Should change I something on my DB? Thanks :) By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

what does overwrite existing source file mean while converting webapp to war file

Image
Clash Royale CLAN TAG #URR8PPP what does overwrite existing source file mean while converting webapp to war file what does export source file mean. will it make it more stable and should i choose optimize for a specific run time I've had Tomcat 9 working fine with Java 10 before. Are you requiring the correct modules? – Jacob G. Jul 13 at 12:42 You mention tomcat 9, but your screenshot shows tomcat 6.0.29. – sjahan Jul 13 at 12:47 upgrade to tomcat 8 or 9 – benjamin c Jul 13 at 13:06 ...

No connection available in pool, netstat shows non-zero values in Recv-Q

Image
Clash Royale CLAN TAG #URR8PPP No connection available in pool, netstat shows non-zero values in Recv-Q I have an old Java application working on java 1.6 on Tomcat 6. Due to way how it is set up in the environment, it is hard to do any inner diagnostics - basically I can't touch it so - it is a blackbox. The app is crashing due to lack of free connections. The limits are set high (max 255 parallel connections) but, even if the number of open connections is like 60, it is still crashing. Netstat shows that there are a lot of data in recvQ (just an example): tcp 1464 0 localhost:7076 remote-host1:3120 ESTABLISHED tcp 2512 0 localhost:7611 remote-host2:3120 ESTABLISHED tcp 6184 0 localhost:4825 remote-host3:3120 ESTABLISHED I couldn't find any useful hints about the case (similar issue is here: https://serverfault.com/questions/672730/no-connection-available-in-pool-netstat-recvq-shows-high-number). The questions: 1) Why the application is not reading all ...