• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in installing Tomcat

 
Jayasri Alaparthi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I installed tomact5.5 server and when I am giving the path in url as http://localhost:8080, it is asking username password when I gave the name it displaying unauthorized I tried with all I remember but unable to get. In console I got the following
service.getName():"Catalina": Protocal handler start failed: Java.net.BindException: Address already in use: JVM_Bind:80
How can I over come this.Please help me.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NetBindException means that something else has already grabbed that port.

I'm guessing that Tomcat is not running and that something else is bound to port 8080 and is prompting you for the username and password.

Tomcat's default (ROOT) app doesn't require a login.

Try using netstat -ab to see what is bound to port 8080.
 
Jayasri Alaparthi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Ben,
How to overcome this problem.
will be waiting for your reply.
Bhargavi.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you run netstat to find out what application is already bound to that Port?

Once you do, one of them will have to run on a different port.
If you want to change the port Tomcat uses, you can do so by editing the server.xml file.
 
Jayasri Alaparthi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ben,
Can I know from where I have to run this netstat -ab. Please guide me.

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic