?
Solved

unable to start the Tomcat 4.0 server

Posted on 2005-04-04
4
Medium Priority
?
334 Views
Last Modified: 2006-11-18
Hi,

I am unable to start the Tomcat 4.0 server running on Linux 7.3 machine, I checked the catalina.out file and it is displaying the following error

org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: 80

what could be the problem and how to solve it.

Help me please
0
Comment
Question by:nagulas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 1000 total points
ID: 13705345
There is another webserver running on port 80.
I propose run tomcat on another port.
Search in config file of tomcat for word port="80" and replace it by another port number (eg., 8080).
Then start tomcat and access it using port number:
http://servername:8080/
0
 

Expert Comment

by:anhtt
ID: 13787713
It seems you already had another webserver (like IIS or something else) serving at port 80.
If you still want your Tomcat to server at port 80 (default HTTP port), just turn IIS off. In case of IIS, click Start->Run->net stop iisadmin.
If you dont want to stop IIS, or can't, you must choose another port for Tomcat (for example 8080). Open {Your-Tomcat-folder}/conf/server.xml, search for the following

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"

               port="80"

               minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" disableUploadTimeout="true" />

Replace the option

port="80"

to

port="8080" <!-- or any port you want, as long as it is not reserved -->

Restart tomcat. You can now have it served at the port.
Go to http://localhost:8080/index.jsp
or http://localhost/index.jsp (if the port is 80)

Good luck!
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question