RE: Tomcat ask me for User/password?

2005-03-09 Thread Kevin.Griesmar
In your $CATALINA_HOME/conf there is a file called tomcat-users.xml. Edit the 
file and create an admin role and user.

For example:

?xml version='1.0' encoding='utf-8'?
tomcat-users
  role rolename=tomcat/
  role rolename=role1/
  role rolename=standard/
  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=tomcat roles=standard,manager,admin/
/tomcat-users

Restart tomcat and login.

Kevin Griesmar




-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 4:07 PM
To: Tomcat Users List
Subject: Tomcat ask me for User/password?


Usually I use Tomcat5.0.19 via Apache 2. Today , I try to use tomcat only:
http://localhost:8080 to do a test, it asks me user name and password. I did
not know the user name and password. Both Apache and Tomcat are on my
computer and inslled by myself. I like to know which configuration causes
it. OP is windows 2000.

Thanks.


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



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



RE: Tomcat ask me for User/password?

2005-03-09 Thread Daxin Zuo
Thnaks for the reply, I tried all the user/password. I still unable to
login.

In the Prompt window, it asks for (daxin is my computer's name)
   Enter username and password for XDB at http://daxin:8080

Thanks.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 2:55 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Tomcat ask me for User/password?


In your $CATALINA_HOME/conf there is a file called tomcat-users.xml. Edit
the file and create an admin role and user.

For example:

?xml version='1.0' encoding='utf-8'?
tomcat-users
  role rolename=tomcat/
  role rolename=role1/
  role rolename=standard/
  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=tomcat roles=standard,manager,admin/
/tomcat-users

Restart tomcat and login.

Kevin Griesmar




-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 4:07 PM
To: Tomcat Users List
Subject: Tomcat ask me for User/password?


Usually I use Tomcat5.0.19 via Apache 2. Today , I try to use tomcat only:
http://localhost:8080 to do a test, it asks me user name and password. I did
not know the user name and password. Both Apache and Tomcat are on my
computer and inslled by myself. I like to know which configuration causes
it. OP is windows 2000.

Thanks.


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



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


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



RE: Tomcat ask me for User/password?

2005-03-09 Thread Ben Kim
 In the Prompt window, it asks for (daxin is my computer's name)
Enter username and password for XDB at http://daxin:8080

I'm not sure if it's the case, but I had the same prompt once. 

It was because there was an Oracle webserver running on port 8080. If
oracle is a valid suspect, you may want to see the services control
panel and see if it's running.

You could shut down all Oracle's webserver, or at least change the
tomcat's port to something else (like 8081, maybe) and see if it works.


Regards,

Ben Kim
Database Developer/Systems Administrator
434E Harrington Tower / College of Education 
Texas AM University


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