I'm working with Apache Tomcat/8.0.14 on Ubuntu server 15.04.
I have a Spring application deployed as ROOT, when I start tomcat service I saw all logs and the startup and context initializer seems to work.
But... it doesn't reply to HTTP request for many (15-20) minutes, after this time, it starts to reply. I don't see errors in the catalina log.
I checked with netstat and the connection pool is opened, the HTTP connections are not refused but they reach the timeout time.
What should I check? The same application in a windows tomcat8 enviroment works without problem.
You can use
This command with print all Threads in application. Make request and if you see that tomcat is not returning make a couple Thread Dumps. Then search for your application package name eq(com.awsome.app) if you see the same method in a couple of Thread dumps it maybe your slow part.
I didn't like the taste of tongue and it didn't like the taste of me. I will now try this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library