File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 7 Windows limited account issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 7 Windows limited account issues" Watch "Tomcat 7 Windows limited account issues" New topic

Tomcat 7 Windows limited account issues

tee hee

Joined: Feb 07, 2013
Posts: 2
Running Tomcat 7.0.35 on windows server 2008 x64 (service installed). Installation and the application is running fine, reading multiple areas about creating a limited account to run the service which seems pretty simple.

So I created an account, didn't put it into any group (this is a non AD environment). Gave it the permissions it needed for the Tomcat/Java folder, put in the username and password in the service restarted it and i get a page can not be displayed. So ive been fighting this for a few days and I just gave the account full permissions over the tomcat/java folders just to see if its a permission issue, restart the service and still no dice. As soon as I put the account I created into the administrator group, restart the service the webpage loads up perfectly fine. I have a feeling maybe I am missing a folder that tomcat interacts with or maybe im just missing a step (im very new to Tomcat).

Anyone have any pointers?

tee hee

Joined: Feb 07, 2013
Posts: 2
Huuuuuurrrrr derp derp

So I didn't setup this sever, I was in charge of locking it down so I wasn't really given any information about what was done with it. Was looking through the conf files and noticed that it was setup with SSL and there is a file called keystore the service account needs to access (which was located in the administrator folder which the service account couldnt read of course).

So I gave the account the premission to read the keystore file and presto magico it works! Posted this just in case anyone runs into this stupid problem.

I agree. Here's the link:
subject: Tomcat 7 Windows limited account issues
It's not a secret anymore!