<< Tapestry 5 and GWT - part 2 | Home | Testing a web service >>

Tomcat 6 Windows service

tomcat6w.exe access denied

I installed Tomcat 6 at work the other day. The server is a windows server running our software. Most of the developers don't have admin access to it.

I installed tomcat as a service and choose to have it running at startup. It didn't take long before one of my fellow developers without admin access logged in and got this error message.

Very strange. He had full access to the Tomcat directory and tomcat6w.exe, the Tomcat monitor process that was giving him the error dialog. A colleague (thanks Oscar) pointed out that tomcat6w.exe probably was trying to contact the service. Of course! Since tomcat6w was running with the logged in user's privileges and the tomcat service was running as System the monitor program didn't have enough access.

Suggestion: don't install (I don't actually think I did that, so it might be automatic) the monitor program for people without access to the service.



Re: Tomcat 6 Windows service

Try going to the Tomcat6w.exe file in an Explorer window, right click and select Properties, the Compatibility tab, and see if "Run this as an administrator" is grayed out or if it's checkable. If it's checkable, check it, and it should now open up fine. If this works, I'd greatly appreciate seeing a follow-up report as I'm trying to understand this error in my environment where some, but not all my Vista users are seeing it.

Re: Tomcat 6 Windows service

Thanks for the tip! I'll take a look at this at work.

Re: Tomcat 6 Windows service

How bad, I forgot to post the replay. Sorry for that. Well, better late than never I guess. I tested that on our Windows Server 2003 and it didn't work unfortunately.

Re: Tomcat 6 Windows service

Run as administrator worked on Vista

Re: Tomcat 6 Windows service

thanks all i've got the same pbm on vista. but with 'run as administrator' method, it works successfully.

Add a comment Send a TrackBack