One more thing might help you:

Simple,

using the tomcat admin feature, you can specify the context to be whatever
you like. To access the admin feature, you need to set it first using the
tomcat-user.xml file located in your conf directory. An example that I have
below works just fine for me. After that then you should be able to add the
context you like anywhere so long as tomcat knows where it's going.  

In Linux: /tomcat/conf/tomcat-user.xml

<tomcat-users>
 
<user name="admin" password="xxxx" roles="admin" />
<user name="tomcat" password="tomcat" roles="tomcat" />
  <user name="role1"  password="tomcat" roles="role1"  />
  <user name="both"   password="tomcat" roles="tomcat,role1" />
</tomcat-users>

After that got http://localhost:8080/admin and bam... you should now be able
to access the admin feature. 

Now you should be able to login. 

The above file is the exact content in the tomcat-user.xml file. 


Nael

-----Original Message-----
From: Vijayanand Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 4:08 PM
To: '[EMAIL PROTECTED]'
Subject: Admin User Name and Password????


Hi All,
I tried to login under the context http://localhost://8080/admin. The values
given in the tomcat-users.xml did not work !!!!
Can Anyone Help !!!
Thanks in Advance.

Vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to