jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JNDI" Watch "JNDI" New topic


Jayanthi Sampath

Joined: Jun 26, 2008
Posts: 6

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'?>
<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"
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

Have you tried using this login info :


try it !

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link: http://aspose.com/file-tools
subject: JNDI
It's not a secret anymore!