File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes starting server : tomcat at localhost  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "starting server : tomcat at localhost  " Watch "starting server : tomcat at localhost  " New topic
Author

starting server : tomcat at localhost

rohith
Greenhorn

Joined: Oct 21, 2008
Posts: 2
I am using eclipse3.2 and tomcat5.5,

Every time when starting server.... its giving message

(---Several ports (8005,8080,8009) required by tomcat v5.5 server at localhost are already in use. the server may already be running in another process, or system process may be using the port. to start this server you will need to stop the other process or change the port number.-----)


by this message im not able to start server.... please give solution for stoping server or changing port number ............


Rohith
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

Hi sohith rs welcome to Javaranch ,
Firstly please see your private messages regarding an important administrative matter.You can see them here.

You can shutdown the server using shutdown.bat on windows or shutdown.sh on linux.
[ October 21, 2008: Message edited by: Amit Ghorpade ]

SCJP, SCWCD.
|Asking Good Questions|
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Originally posted by sohith rs:
I am using eclipse3.2 and tomcat5.5,

Every time when starting server.... its giving message

(---Several ports (8005,8080,8009) required by tomcat v5.5 server at localhost are already in use. the server may already be running in another process, or system process may be using the port. to start this server you will need to stop the other process or change the port number.-----)




Are you sure there is no other previously started instance of tomcat running .. If so , then shutdown them properly , then try Starting tomcat !!

Hope this help ..


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
rohith
Greenhorn

Joined: Oct 21, 2008
Posts: 2
thanks to reply


where to change port number for tomcat v5.5.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Originally posted by rohith rs:

where to change port number for tomcat v5.5.


I guessed thats not solve your problem !! There are definitely some previous instance of tomcat running through your IDE Eclipse , So shutdown the 'em first ..

Still, for your question , you can edit the Tomcat ports from 'conf/server.xml'
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

Rohith, your lastname is still not valid. Please change it before your next post.

Thanks
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

"rohith " your display name does not contain a valid last name, this is my third warning to you. Please make a note that failing to adhere to the policy will result in removal of your account. Please change your display name at your next login.


Thanks,
Amit.
Javaranch bartender/forum moderator.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: starting server : tomcat at localhost