aspose file tools*
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
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JNDI