Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-11-2010, 09:46 PM   #1
garcia samson
LQ Newbie
Registered: May 2010
Posts: 2

Rep: Reputation: 0
"Why can't I run Tomcat6-admin"

I have a username and a password and a role but I still recieved this error

You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file will contain the credentials to let you use this webapp.

You will need to add manager role to the config file listed above. For example:

<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>

For more information - please see the Manager App HOW-TO.

I tried doing the How To and added the lines its saying




NOTE: By default, no user is included in the "manager" role required

to operate the "/manager" web application. If you wish to use this app,

you must define such a user - the username and password are arbitrary.



NOTE: The sample user and role entries below are wrapped in a comment

and thus are ignored when reading this file. Do not forget to remove

<!.. ..> that surrounds them.



<role rolename="tomcat"/>

<role rolename="role1"/>

<user username="tomcat" password="tomcat" roles="tomcat"/>

<user username="both" password="tomcat" roles="tomcat,role1"/>

<user username="role1" password="tomcat" roles="role1"/>


Here it is:

<user name="bobot" password="bobot!@#" roles="manager" />


I am new to Linux and I must have mess up my class path or something
is not right.

help is very much appreciated.
Old 05-11-2010, 10:47 PM   #2
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,308

Rep: Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008Reputation: 6008
Don't double-post the same question...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Why can't I run Tomcat6-admin" garcia samson Linux - Newbie 1 05-12-2010 01:22 AM
Tomcat6 + CentOS 3/4/5"tomcat dead but subsys locked" slinx Linux - Software 3 03-31-2009 09:37 AM
Where do "Admin" and "User" guides live? Swan1 SUSE / openSUSE 1 07-07-2006 01:53 PM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 11:47 AM
LDAP object classes: cn=admin, why "simpleSecurityObject" and "organizationalRole&quo Hko Linux - Networking 0 08-06-2004 08:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration