LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-19-2008, 11:13 PM   #1
tolkali
LQ Newbie
 
Registered: Sep 2008
Location: Mountain of Nepal
Distribution: Fedora and CentOS
Posts: 8

Rep: Reputation: 0
tomcat manager login error


Hi is there any one to help me!
I am quite new in Linux as well as in tomcat sever. I have installed apache and php in my CentOS 5 server. Also I have successfully installed the tomcat sever during the installation of CentOS 5.
Now my apache sever is running and also tomcat server is running
When I do http://192.168.0.1:8080" I can see "If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!"
But when I try to login through the tomcat manager or tomcat web administrator tool I can not login from my root user and password.
Also I found "tomcat-users.xml" file and try to use the existing users in the file but still I could not login.
So how I can login via Tomcat manger or Tomcat web administrator tool?

My second question is "in which location I need to placed my index.jsp file.?"
Hopping to get your help!!!!!
 
Old 09-20-2008, 05:20 AM   #2
vamsi_k
Member
 
Registered: Aug 2008
Posts: 66

Rep: Reputation: 18
By default, access to the manager application is disabled in Tomcat, by

virtue of omitting any valid users or roles from tomcat-users.xml.

To set up the manager application, add a user with the manager role to

this file. You can, for example’s sake, add the manager role and then

alter an existing user, such as tomcat, as follows:

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

If Tomcat is running, restart it to read the updated tomcat-users.xml.

Next, check the URL http://localhost:8080/manager/html.

You’ll be asked for a username and password, so enter the details of

the user that you configured.

**********



you can save this example as a file named index.jsp and place it in

the webapps/ROOT folder located in your Tomcat installation directory.

Then enter http://localhost:8080/index.jsp into your browser as the

address
 
  


Reply


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
Cannot start Tomcat admin or manager functions Sanford Stein Linux - Newbie 11 07-24-2008 01:50 PM
Change/add window manager to login manager kunalagon Debian 3 06-04-2006 04:33 AM
tomcat manager sharp81 Linux - Software 11 01-05-2006 10:24 AM
users can't login with gnome login manager vesalius Linux - Newbie 5 12-23-2005 01:47 AM
Can't login as user in KDM login manager mngmd Linux - Newbie 3 12-18-2005 06:55 AM


All times are GMT -5. The time now is 08:31 PM.

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