Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enter Network Password - Problem

 
Mark Henryson
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic