For *nix system, list the listening ports and processes with
# netstat -lnpt
and choose an unused address, port combination to put in server.xml
-- Van Ly
________________________________
From: Mark H. Wood [mailto:[email protected]]
Sent: Wed 4/15/2009 12:46 AM
To: [email protected]; [email protected]
Subject: Re: [Dspace-tech] Error while registering nee User
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 [email protected]
Friends don't let friends publish revisable-form documents.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech