File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Can't Login as admin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can Watch "Can New topic

Can't Login as admin

Madhobilata Chowdhury

Joined: Jan 13, 2006
Posts: 2
Hi gurus,

I have now switched to Apache Tomcat 4.1.27 (because the JRE required for the higher versions are still on the way to download ). Now I can view the index page typing http://localhost:8080 but can't login as administrator using

name - admin
pass - admin

What's the problem?
I have done enough googling but possibly there is so such helpless novice

So I am again here .
Abhinit Saxena

Joined: Jan 10, 2006
Posts: 18
Did you give admin password at the time of installation??
otherwise go to <TOmcat-root-dir>/conf/tomcat-user.xml and check the password of admin and if it is not there the give it
my tomcat-user.xml is

Try with my tomcat-user.xml and Happy Programming
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moved to the Apache Tomcat Forum

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: Can't Login as admin
It's not a secret anymore!