[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to Configure Multiple JVMs for Tomcat & ApacheJserv



WAN HING CHEUNG wrote:

> For each standalone configuration can be work fine.  However there is a
> JVM startup problem with "address already used" indicated when both
> engines opereate.

Both servlet engines use the APJv12 protocol on TCP port 8007 for their
connection to a web server. If you use Tomcat in standalone mode only,
i.e. only acces port 8080 (or 8081 in the Debian package) with a
web browser, you should comment out this section from server.xml:

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" [...]
            <Parameter name="port" value="8007"/>
        </Connector>

This is the reason why the Tomcat debian package conflicts with the
jserv package. If the APJv13 protocol on port 8009 becomes more stable,
I will use it in Tomcat and mod_jk so Tomcat and JServ can be installed
on the same machine.

-- 
Stefan Gybas



Reply to: