aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "displays "unauthorised" in browser" Watch "displays "unauthorised" in browser" New topic
Author

displays "unauthorised" in browser

Ramadevan Madhusudanan
Greenhorn

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

regards

M:-)addy
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.
 
wood burning stoves
 
subject: displays "unauthorised" in browser