This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat 6 Setup/configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6 Setup/configuration" Watch "Tomcat 6 Setup/configuration" New topic

Tomcat 6 Setup/configuration

Mubeen Shaik
Ranch Hand

Joined: Jan 26, 2004
Posts: 67

I have installed Tomcat6 on my work PC.I am not an "Admin" for the user.

When I try to start "Tomcat" I get the following window.

"Application System Error"

Access Denied
Unable to open the service Tomcat6

If my IT department login as "Admin" ( I cannot do this on this PC), it is working fine.I cannot login as "Admin".

How to solve this issue?.

Thanks in advance,
Mubeen Shaik.
[ March 27, 2008: Message edited by: Mubeen Shaik ]

Sun Certified Java Programmer
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You'll have to have your sysadmin alter the service so that it runs under your username.

This really isn't a Tomcat issue.
It's an administration issue with your machine.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mubeen Shaik
Ranch Hand

Joined: Jan 26, 2004
Posts: 67
That is correct, but how to change the service to run under my name?.

Mubeen Shaik.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

From the services window, right click on the service and choose 'Properties' from the menu. Then, click on the "Log On" tab.
By default, it runs under the Local System Account.
You will see a radio button that allows you to change the account.
You'll have to enter the accountname and password.
Then restart the service.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat 6 Setup/configuration
Similar Threads
JSP and Servlet development on WDSC
Equals method.
SCWCD1.5 - Head First 2nd Edition
Tomcat issue