tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vicente Martínez <vmarti...@es.wanadoo.com>
Subject Multiple Tomcat JVMs & only dynamic content
Date Fri, 09 Mar 2001 18:18:41 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How can I tell Tomcat to serve only dynamic content and to serve it from
different JVMs?

For example, if I use the configuration below to tell apache to serve
static content and tomcat dynamic content,


I specify which tomcat will serve servlets, but which one will serve JSP?
**Look that one listens to 8877 and the other to 8878


##################################
##################################
############### Context init
##################################
  Alias /init /opt/apache-webapps/init
  <Directory /opt/apache-webapps/init>
    Options FollowSymLinks
  </Directory>

  <Location /init/WEB-INF/>
  AllowOverride None
  deny from all
  </Location>

  <LocationMatch /init/*.jsp>
   SetHandler jserv-servlet
  </LocationMatch>

  ApJServMount /init/servlet ajpv12://10.3.4.47:8877/init
##################################

##################################
############### Context admin
##################################
  Alias /admin /opt/apache-portal-webapps/admin
  <Directory /opt/apache-portal-webapps/admin>
    Options FollowSymLinks
  </Directory>

  <Location /admin/WEB-INF/>
  AllowOverride None
  deny from all
  </Location>

  <LocationMatch /admin/*.jsp>
   SetHandler jserv-servlet
  </LocationMatch>

  ApJServMount /admin/servlet ajpv12://10.3.4.47:8878/admin
##################################

________________________________________________________

  Vicente Martínez Martínez / vmartinez@es.wanadoo.com
________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOqkQcexS7D2tCBWMEQI4FgCfZQUinq1KflMRr0g25lizuFoSQqYAn3Yj
gIahgY1FeKbnCxI6FxxWJQVN
=40yS
-----END PGP SIGNATURE-----


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


Mime
View raw message