Geeks Talk

Prepare for your Next Interview




Tomcat starting problem....

This is a discussion on Tomcat starting problem.... within the Web Servers forums, part of the Web Development category; I got the following error when i was start Tomcat 5.5 "Port 8080 required by Tomcat v5.5 Server @localhost is already in use. The server may already ...


Go Back   Geeks Talk > Web Development > Web Servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-30-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 69 Times in 58 Posts
psuresh1982 will become famous soon enough
Tomcat starting problem....

I got the following error when i was start Tomcat 5.5

"Port 8080 required by Tomcat v5.5 Server @localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)".

Can you plz tell me how can I check which ports are available to allocate as "localhost" in Windows XP? Can I use any other port for Tomcat?

--------------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-05-2007
Junior Member
 
Join Date: May 2007
Location: Bangalore
Posts: 19
Thanks: 0
Thanked 1 Time in 1 Post
sweet_person is on a distinguished road
Re: Tomcat starting problem....

The problem is u have get installed Oracle server or some other server that uses port no 8080.

The solution is you get into the tomcat folder/conf/server.xml file and go through the page. on one stage you get to see 8080. please change that to some user defined portno having 4 digits. save the changes and start the tomcat. with the follwing url http://localhost:<user defined portno> . if this works fine . if it doesnt kindly any of the DBA you known.
Reply With Quote
  #3 (permalink)  
Old 06-27-2007
Junior Member
 
Join Date: Jun 2007
Location: pune
Posts: 13
Thanks: 5
Thanked 0 Times in 0 Posts
satishk is on a distinguished road
Re: Tomcat starting problem....

you can change the port no.while installing.please checkitout there.
Reply With Quote
  #4 (permalink)  
Old 09-03-2007
Junior Member
 
Join Date: Aug 2007
Location: California
Posts: 8
Thanks: 3
Thanked 1 Time in 1 Post
Peruano is on a distinguished road
Re: Tomcat starting problem....

Yes, you definitely got another server running on port 8080 (maybe Apache webserver). Anyone reading this can save a lot of time by reading Marty Hall's excellent online tutorial here:
http:// www . coreservlets . com/Apache-Tomcat-Tutorial/tomcat-5.5 . html
He has other great tutorials on his coreservlets site as well!
Reply With Quote
  #5 (permalink)  
Old 02-13-2008
Junior Member
 
Join Date: Dec 2006
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
vikas bhai is on a distinguished road
Re: Tomcat starting problem....

Quote:
Originally Posted by psuresh1982 View Post
I got the following error when i was start Tomcat 5.5

"Port 8080 required by Tomcat v5.5 Server @localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)".

Can you plz tell me how can I check which ports are available to allocate as "localhost" in Windows XP? Can I use any other port for Tomcat?

--------------------
suresh
Hi,
This you can test using a number of tool available. if you are using win xp then you can go for Fports, Pports or Cports, there is a *.exe directly available online that you can download.
If you are in a linux OS, then try out command netstat -aw, or telnet to that port and if it is listening that means the port is not free .....
Reply With Quote
  #6 (permalink)  
Old 05-30-2008
Junior Member
 
Join Date: May 2008
Location: Hataish
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hataish is on a distinguished road
Re: Tomcat starting problem....

Hi psuresh1982,

You can check such ports though the following links which are available to allocate as "localhost" in Windows XP.

www . somethingdirectory . com
Reply With Quote
Reply

  Geeks Talk > Web Development > Web Servers


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
DOS prompt disappears after starting TOMCAT Geek_Guest JSP 2 03-04-2008 04:04 PM
Creating multiple projects on a single server like tomcat Geek_Guest Java 2 08-24-2007 09:12 AM
Starting New Threads kalayama OOPS 2 03-20-2007 07:01 AM
div tag problem... psuresh1982 JavaScript 3 02-03-2007 08:05 AM
Problem with awk sharifhere Unix/Linux 12 01-17-2007 04:12 AM


All times are GMT -4. The time now is 06:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved