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

displays "unauthorised" in browser

Ramadevan Madhusudanan

Joined: Dec 21, 2004
Posts: 1
I installed Apache Tomcat 4.0 on my Windows XP.The installation was without any hassles.I created the environment variables JAVA_HOME and CATALINA_HOME.Then I started Tomcat.Everything went on well until i typed
http:\\localhost:8080\ in my IE browser.Upon hitting enter it is asking me to enter a user name and a password.I tried entries from tomcat-users.xml, but no success.But when I connected to the Internet and again typed in http:\\localhost:8080\ i was able to see the Tomcat page and was even able to run the examples.

Do i have to connect to internet everytime in order to work in Tomcat???

Hope you answer me.

Thanks in advance


James Ellis
Ranch Hand

Joined: Oct 14, 2004
Posts: 205
If you are connecting to localhost...then you should definitely NOT need to be connected to the internet. That means you are running tomcat locally, on your hard drive. So the internet shouldn't have anything to do with it.

Check your log files.
I agree. Here's the link:
subject: displays "unauthorised" in browser
It's not a secret anymore!