Tomcat
My Tomcat problem (diagnosis)
I start tomcat. It works, serves static and dynamic pages for a few minutes and then seems to freeze. Every dynamic request times out.
java.exe in task manager shows 46432 K memory usage and doesn't change (with 19 threads).
Attempts
I still have this problem, after I put -Xms228M -Xmx512M in %JAVA_OPTS on my laptop and if I start tomcat from windows shell in the tomcat directory.
Looking for Log files
I cannot find any log files now from today. They are created, but empty. Somehow, CATALINA_HOME is not set under windows. So I set it again. I expect that logs will be written then. Yes.
What do they say?
Still nothing, but when I start a second instance it correctly complains in the log files that the port is blocked. The tomcat window says nothing after reporting successful startup in so-and-so many ms.
java.exe is 44820k - 44824k changing very, very slowly and 19 threads
From cygwin
Let's try it one more time from cygwin. Same thing. Now I try with a different version (and new installation) of tomcat 5.5. This time I choose the windows installer.
Another try
Antoher computer, the one at work. Hardly any java on it. I install a new java jdk, set JAVA_HOME and CATALINA_HOME and download tomcat and the server, set the admin password in tomcat-users.xml and it just works without any further ado. As far as I can tell in the little time left. So, I will try this on the laptop, too.
- Maurice's blog
- Login to post comments
Printer-friendly version
