tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iris Lau" <r80...@email.sps.mot.com>
Subject Setting Port number !!
Date Tue, 16 May 2000 09:01:57 GMT
Hi all,

I found this error when I run startup.sh.

FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.bind(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
Code)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Code)

        at org.apache.tomcat.service.SimpleTcpConnector.start(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.start(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.main(Compiled Code)

where should I change the port number?? in server.xml ??
I found two port there (see below), which one should I change ?? what
they use for ??

 <Connector className="org.apache.tomcat.service.SimpleTcpConnector">
             <Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" value="8080"/>
        </Connector>

        <Connector
className="org.apache.tomcat.service.SimpleTcpConnector">
            <Parameter name="handler"
value="org.apache.tomcat.service.conne
ctor.Ajp12ConnectionHandler"/>
            <Parameter name="port" value="8007"/>
        </Connector>



Thanks a lot !!

Best Regards,
Iris.


Mime
View raw message