You cannot use port < 1024 as non-root. Use apache and AJP to connect tomcat running on eg. 8080. Regards

Jan

On 15.10.2009 8:18, Ken Johanson wrote:
Hi everyone,

Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a:

Oct 15, 2009 12:11:20 AM org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
..
(no listener is actually running on 98; this is just generic Sun msg when not allowed to bind to prv'd port)

I am also running Tomcat as a non-root user, e.g:
daemon --user www "$CATALINA_HOME/bin/startup.sh"
and also tried jsvc...

same problem.

Is there a configuration to change the port that APR uses from 98 to a non-privileged (>1024) one?

TIA,
Ken

PS - Connector.xml excerpts:
<Connector
               protocol="org.apache.coyote.http11.Http11AprProtocol"
               port="8443"
               enableLookups="false"
               SSLEnabled="true"
               scheme="https"
               secure="true"
               SSLCertificateFile="${catalina.base}/conf/cert.crt"
               SSLCertificateKeyFile="${catalina.base}/conf/cert.key"
               disableUploadTimeout="true"
    />
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




--
Děkuji a s pozdravem

Jan Pernica
===========================================
Pernica IT Solutions
Masarykovo náměstí 8
664 51 Šlapanice
Czech Republic
tel,fax: +420 544 245 068
mobile: +420 777 634 665
mailto:jan.pern...@pernica.org
http://www.pernica.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to