• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error in installing Tomcat

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ben,
Can I know from where I have to run this netstat -ab. Please guide me.

Thanks,
reply
    Bookmark Topic Watch Topic
  • New Topic