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

Enter Network Password - Problem

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Hi all,

I am learning struts and as a first step I tried to create a login page which will check whether the entered username is found in the db and return either true or false, on which it will redirect to either success or failure page. It's working fine. But I got this message in between, when i tried to open the tomcat. It's asking the "Enter Network Password". I have tried with my system login and password and tomcat's username and password, but nothing seems to be working.
Then I have uninstalled the tomcat and I newly installed the Tomcat 5.0.28 (which is I am running previously also) and run the application and it's work fine without asking for "Enter Network Password". But after some once again it's asking for "Enter Network Password".
What will be the problem? how to resolve it. When I started the tomcat, I have the following error messages. Whether it has any effect to this problem

Sivaraman Lakshmanan
Ranch Hand

Joined: Aug 02, 2003
Posts: 231
You are getting this error because, the port 8080 is being used by some other application. Check if any other tomcat installation is running. Also check if the tomact is running as service if you are using windows. If yes, stop the service and try again.
To my knowledge tomcat will not suddenly ask for Network password unless you have enabled some container managed authentication. Check you server.xml and web.xml for any entry on security.

I agree. Here's the link:
subject: Enter Network Password - Problem
jQuery in Action, 3rd edition