Also, when you start tomcat, use the -r option to point to the correct
server.xml file.

ex:

tomcat-start -r /usr/local/tomcat/conf/server-2.xml
tomcat-start -r /usr/local/tomcat/conf/server-1.xml

Where server-1.xml defines tomcat on port 8001, and server-2 defines
tomcat on 8002.

Will

-- 
  "If Al Gore invented the Internet, then I invented spellcheck!"
      Dan Quayle, quoted at the National Press Club, 8/3/1999 
                          [EMAIL PROTECTED] 
  Recovery  : http://will.mylanders.com/         PCS:  316-371-FOAD 

On Fri, 4 May 2001, Peter Hrastnik wrote:

> It is possible: You must have two different server.xml files. In the
> server.xml file you can configure that port in the http connector
> element. You also need to have 2 startup-scripts that call tomcat with
> the appropriate server.xml file. You don't need Apache to do this.
> 
> Bye,
>       Peter.
> 
> 

Reply via email to