wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

Can not start Tomcat 5.0 with Windows Vista

Bhaskar Mukhejee
Greenhorn

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
~ar~stutzen~
Paul Dickler
Greenhorn

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

Thanks
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
 
 
subject: Can not start Tomcat 5.0 with Windows Vista
 
Similar Threads
Several ports required by Tomcat v5.5 Server at localhost are already in use
When I try to start Tomcat 6.0 service, I got the error
Tomcat not running on windows 7
Tomcat web app configuration error
How to run two Apache servers on same machine?