tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lawson, Israel H." <>
Subject Does mod_jk work with remote workers
Date Mon, 07 May 2001 14:20:25 GMT

Is it possible to replicate the distributed environment that is possible to
setup with Jserv using mod_jk.
I am not looking for details only if it is possible.  Here is the scenario i
have with Jserv.

apache is on crabtree 9080, 9443
tomcat is on hickory 9080
	-> ajpv12 - 9007
	-> ajpv13 - 9009

oadModule jserv_module libexec/
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServMountCopy on
ApJServLogLevel debug
ApJServDefaultPort 9007

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /card "/usr/local/test/jakarta-tomcat/webapps/card"
<Directory "/usr/local/test/jakarta-tomcat/webapps/card">
    Options Indexes FollowSymLinks
ApJServMount /card/servlet ajpv12://
<LocationMatch /card >
    SetHandler jserv-servlet
<Location "/card/WEB-INF/">
    AllowOverride None
    deny from all
<Location "/card/META-INF/">
    AllowOverride None
    deny from all

This works great.  However when i try to replicate it. ( documentation is
scarce here ) 
i can get the configuration working if apache and tomcat are on the same
but not on seperate ones.  Was it designed this way or am i missing
something in
the larger picture or in configuration files.

# mod_jk.conf
LoadModule jk_module libexec/

JkWorkersFile /usr/local/uat/apache/conf/
JkLogFile /usr/local/uat/apache/logs/mod_jk.log

# Log level to be used by mod_jk
JkLogLevel debug

JkExtractSSL On

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

Alias /card "/usr/local/uat/jakarta-tomcat/webapps/card"
<Directory "/usr/local/uat/jakarta-tomcat/webapps/card">
    Options Indexes FollowSymLinks

JkMount /card/servlet/* ajp13
JkMount /card/*.jsp ajp13

JkMount /card/servlet ajpv13://

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

<Location "/gemini/META-INF/">
    AllowOverride None
    deny from all

Any Help here would be appreciated, however i am really looking to know if
this is even possible?
Many posts in the archive suggests that it is not.  

Thanks in advance

Israel Lawson

Note:  The information contained in this message may be privileged and confidential
and protected from disclosure.  If the reader of this message is not the intended recipient,
or an employee or agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of this communication
is strictly prohibited.  If you have received this communication in error, please notify us

immediately by replying to the message and deleting it from your computer.  Thank you.

View raw message