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 How to set up different port number for Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to set up different port number for Tomcat" Watch "How to set up different port number for Tomcat" New topic
Author

How to set up different port number for Tomcat

Suman Sharma
Ranch Hand

Joined: May 16, 2005
Posts: 72
Hello,
I am getting following exception when I run tomcat server. It started happening when I installed Oracle SQL Developer. Could you please let me know how to change port number for Tomcat server. I want to run jsp using Tomcat server.

EXception on starting Tomcat server:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41635
    
  55
That's in the TOMCAT_HOME/conf/server.xml file.


Ping & DNS - my free Android networking tools app
Suman Sharma
Ranch Hand

Joined: May 16, 2005
Posts: 72
It is working now.
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set up different port number for Tomcat