Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can not start Tomcat 5.0 with Windows Vista

 
Bhaskar Mukhejee
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check your firewall setting. It might also block sometimes....
 
Paul Dickler
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was this ever resolved?
I have the same problem with Tomcat7 now.

Thanks
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic