On Fri, Apr 10, 2009 at 01:38:26AM -0500, Islam Ahmad wrote:
> SEVERE: Error initializing endpoint
> java.lang.Exception: Socket bind failed: [730048] Only one usage of each
> socket address (protocol/network address/port) is normally permitted.
> at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
....
It appears that Tomcat tried to open a socket on an
address/port/protocol combination that is already in use. It could be
that there is more than one Host with the same address in Tomcat's
server.xml, or more than one Connector using the same port, or it
could be that some other process is using one of the combinations that
Tomcat wants. Look through server.xml and correct any duplication you
find. If you don't find any, then look for other processes using the
address(es) and port(s) that are specified in server.xml.
As an example, if Tomcat has a Connector listening on port 80, and
that system has another HTTP server already listening on port 80, then
they can only coexist if they listen on different specific addresses.
Typically, if your server is to run Tomcat as well as (let us say)
Apache HTTPD, Tomcat would be configured either to listen to port 8080
rather than 80, or to let HTTPD accept all connections and forward the
appropriate ones to Tomcat over an AJP connector.
--
Mark H. Wood, Lead System Programmer mw...@IUPUI.Edu
Friends don't let friends publish revisable-form documents.