tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: problem configuring 2 tomcat instances apache 2.0.48 tomcat 5.0.19
Date Tue, 14 Sep 2004 20:31:44 GMT

Hi,
Have you modified the shutdown port for the 2nd instance so it doesn't
clash with the 1st instance (default port 8005)?

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Patricia Swarbrick [mailto:patricia.swarbrick@ideaca.com]
>Sent: Tuesday, September 14, 2004 4:05 PM
>To: Tomcat Users List
>Subject: problem configuring 2 tomcat instances apache 2.0.48 tomcat
5.0.19
>
>I'm attempting to configure two tomcat instances, one set up on the
normal
>ports and the other is connected to server port 8015, connector port
8088
>and 8019
>
>the problem is I can't load any .jsp pages for the second port.  I get
an
>http 400 error.  I've checked the directory permissions, checked and
>rechecked the workers2.properties file and the vhosts.conf in apache.
>
>I'm not sure whats going on here.  any help would be apreciated.
>
>workers2.properties file (there's prolly a lot of useless stuff in
here):
>
>[shm]
>file=/usr/local/apache/current/logs/mod_jk2.shm
>size=1048576
>[channel.socket:localhost:8009]
>port=8009
>host=127.0.0.1
>tomcatid=localhost:8009
>channel=channel.socket:localhost:8009
>[ajp13:localhost:8009]
>[channel.socket:thesite:8009]
>port=8009
>host=127.0.0.1
>channel=channel.socket:thesite:8009
>[ajp13:thesite:8009]
>[channel.socket:localhost:8019]
>port=8019
>host=127.0.0.1
>tomcatid=localhost:8019
>channel=channel.socket:localhost:8019
>[channel.socket:theothersite:8019]
>port=8019
>host=127.0.0.1
>channel=channel.socket:theothersite:8019
>[ajp13:theothersite:8019]
>
># status'' worker - shows status of jk2 module
>[status:status]
>[uri:10.99.1.75:80/status/*]
>worker=status:status
>
>
>section of the vhosts.conf:
>
><VirtualHost blah:80>
>  ServerAdmin webmaster@thesite.com
>  DocumentRoot /home/httpd/html/thesite_com
>  ServerName thesite
>  ServerAlias thesite.com
>  ErrorLog logs/thesite_com-error_log
>  CustomLog logs/thesite_com-access_log combined
>  <Location /*.jsp>
>    JkUriSet worker ajp13:localhost:8009
>  </Location>
>  <Location /*.do>
>    JkUriSet worker ajp13:localhost:8009
>  </Location>
></VirtualHost>
><VirtualHost blah:80>
>  ServerAdmin webmaster@thesite.com
>  DocumentRoot /home/httpd/html/theothersite_com
>  ServerName theothersite
>  ServerAlias theothersite.com
>  ErrorLog logs/theothersite_com-error_log
>  CustomLog logs/theothersite_com-access_log combined
>  <Location /*.jsp>
>    JkUriSet worker ajp13:localhost:8019
>  </Location>
>  <Location /*.do>
>    JkUriSet worker ajp13:localhost:8019
>  </Location>
></VirtualHost>




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message