Stopping the correct tomcat for a virtual host

2001-03-07 Thread Brock Barber

Hi

I'm working with several virtual hosts, apache 1.3.12 + mod_ssl + mod_jk
+ tomcat 3.2.1.  I start an instance of tomcat for each virtual host so
I can kill the tomcat associatted with a site, without affecting all the
sites.  I have set up different ports for Ajpv 12, Ajpv 13 connectors
associatted with each instance of tomcat.

Is there a way to aim tomcat.sh at the correct port to stop a particular
instance of tomcat. I looked in the script and couldn't find any mention
of the Ajpv12 port.


**
Brock Barber
Applications Group
MBD (McNair Business Development Inc.)

Direct: 789-0019
Fax: 789-7630
E-Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.mcnairbd.com

A head for business.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Stopping the correct tomcat for a virtual host

2001-03-07 Thread Shahed Ali

I am doing the same thing, except I have multiple tomcat.sh files
for each context and corrosponding multiple server.xml files 
Eg 
tomcata.sh - servera.xml
tomcatb.sh - serverb.xml

When I want to stop context a, I give tomcata.sh -f servera.xml  stop
(or whaterver the correct syntax is)

tomcat.sh wil read the port from server.xml and stop the corrrect context.

Regards
Shahed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]