Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes Can not start Tomcat 5.0 with Windows Vista Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can not start Tomcat 5.0 with Windows Vista" Watch "Can not start Tomcat 5.0 with Windows Vista" New topic

Can not start Tomcat 5.0 with Windows Vista

Bhaskar Mukhejee

Joined: Sep 16, 2008
Posts: 14
Hi All,
I am having a problem with tomcat in VISTA. I found this is the best place to share it. I have already gone through the
steps mentioned in different threads and posts but all were in vain.
I have installed Tomcat 5.0.28 in my Vista system in path "C:\Program Files\Apacahe Software Foundation\Tomcat 5.0" with a default port 8080. When I started the service using "Monitor Tomcat" from Start->All Programs->Apache it displayed an error message like "ACCESS ID DENIED CAN NOT OPEN SERVICE MANAGER."
I, then deactivated the UAC of VISTA as prescribed in Previous threads. Then "Monitor Tomcat" was able start the service successfully without any Access Denial. I changed the service type as MANUAL from AUTOMATIC from Service Configuration Manager Window.
Eventhough the service got started I found Tomcat was not running fully because when I made "netstat -a" in Command Promt, I found only Server Port = 8005 is listening rest of the two Connector Port was not listening. So each time I start the service only server port starts listening but not the rest of the two connector ports. As a matter of fact, when I tried to open "http://localhost:8080" it did not work.
I adopted some measures posted in previous threads,
A. Opened the tomcat/bin/tomcat5w.exe ran it as an administrator did not work , problem remains same.
B. Right Clicked on the tomcat home directory , gave Full Control permission to User(Me) No change again.
C. Changed the port numbers in different configurations(Tomcat/conf/server.xml) to ensure not to have port conflicts but it remained same ONLY SERVER PORT(8005) LISTENING CONNECTOR PORTS (8080 and 8009) NOT LISTENING when I start the service.
D. To avoid the authentication issues I changed the default installation path of TOMCAT and changed to something like "C:\Users\USERNAME\Apache\Tomcat" like this , it was also in vein.
I went with all possibilities mentioned herein the previous threads and finally nothing worked. I am totally stucked. Is there any way to proceed? I am stucked. Please help Thanks in advance.
FYI, My JAVA_HOME is set to "C:\Program Files\Java\jdk_1.6.0_03\bin"
Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84
check your firewall setting. It might also block sometimes....

"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison
Paul Dickler

Joined: Feb 21, 2012
Posts: 4
Was this ever resolved?
I have the same problem with Tomcat7 now.

Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

i think you guys might have the same problem

are you guys using JRE 7 ? then try using JRE 6, i had a similar issue, and after doing this i got the issue fixed.

Good Luck
I agree. Here's the link:
subject: Can not start Tomcat 5.0 with Windows Vista
jQuery in Action, 3rd edition