Tomcat on Windows 2003 as service - cpu to be working to full capacity
Susanne Bethe
Greenhorn
Joined: May 29, 2010
Posts: 3
posted
0
Hi,
after installing apache tomcat as a service on windows 2003 the service starts, but with full cpu capacity! So no web site is working well. In the task list I can see more and more tomcat processes....
When starting Tomcat manually with startup.bat everthing's working fine.
How can this be solved?
Bye
Susanne
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
These multiple Tomcat processes you see. Are they all getting CPU time? Are they all the same size?
Oops, it's too hard for me! Three days ago it has been the first time I installed an apache tomcat, and I have no experience about it or java.
So probably I set up the service wrong and I would like to explain what I did:
- after I assured, that Tomcat starts right on my Windows server with the script "startup.bat", I decided to run it as a service.
So I read the documentation http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html and found that the script "service.bat" should install it as a service. But the service didn't start up, it makes an service specific error 0 ...
it's silly:
When writing this answer I did the same as yesterday, and now the script works and the service even works fine. Don't know why, but yesterday it didn't...
So thank you, for spiritual help!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Tomcat on Windows 2003 as service - cpu to be working to full capacity