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 JDBC and the fly likes JNDI 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 » Databases » JDBC
Bookmark "JNDI" Watch "JNDI" New topic
Author

JNDI

Jayanthi Sampath
Greenhorn

Joined: Jun 26, 2008
Posts: 6
Hi,

I tried logging to Tomcat Websever Admin by giving username and password to create a JNDI.

It says Invalid username/password try again. I changed the tomcat-users.xml file also and restarted the server.

but still i face the same problem. Could anyone help me out of this.

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="admin" password="admin"
roles="admin,manager"/>
</tomcat-users>
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Have you tried using this login info :

username="admin"
password="admin"


try it !


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
Consider Paul's rocket mass heater.
 
subject: JNDI
 
Similar Threads
forget the tomcat credentials
HTTP Status 403
Can't Login as admin
changed the config file but still not working
username and password for tomcat manager