Nabila Mohammad wrote:hi!
I had installed Tomcat 5.5 long time back and i don't recall having any problem with installation.
I am trying to run it now but i keep getting the error "Access denied. unable to open service tomcat5"
Is there any thing i can try before uninstalling it?
And will uninstalling means setting my environment variables again?
I am using Windows 7
thanks!
Had the same problem here, windows 7. You can try this , i have xp also and it works for me :
1.right click on "my-computer" and then click the "Manage" option.
2.Computer management window appears. In the left side click "Services and Applications".
3.Click "Services"
4.On the right side, click "services".
5.Now you will see "Apache Tomcat" listed as a service. Click it and press "start" button on the window you see. Tomcat starts. OR,
6.Select it, Then you can see a "Start the service" (Start is in blue colour) . Click it. Tomcat starts.
I noticed one thing, that "access denied" message doesnt appear in win xp. I run win xp inside win7 using oracle virtual box.
I hope this helps.
PS :
Not to scare you, but you might encounter many more irritating problems like these. So a lot of time is wasted in "playing with the tomcat" instead of developing projects.
Also. during installation of tomcat you will see a port number (its generally 8080) --- REMEMBER IT !!! You can change it to , say 8081. BUT check if 8081 is not being used by another service.
I dont know why books dont mention things like these ? HF is simply insufficient for me, lot of talk and no action !
Good luck.