This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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"