Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 be running in ...

Go Back   Geeks Talk > Web Development > Web Servers
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Web Servers Discuss Web Servers related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 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
  #7 (permalink)  
Old 04-24-2009
Junior Member
 
Join Date: May 2006
Location: hyderabad
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
srinivasaraobora is on a distinguished road
Re: Tomcat starting problem....

You can directly change the port no in server.xml under conf folder of apche tomcat installation folder
Reply With Quote
Reply

  Geeks Talk > Web Development > Web Servers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved