tomcat-users mailing list archives

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

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/mod_jserv.so
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel debug
ApJServDefaultHost hickory.gmacinsurance.com
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
</Directory>
ApJServMount /card/servlet ajpv12://hickory.gmacinsurance.com:9007/card
<LocationMatch /card >
    SetHandler jserv-servlet
</LocationMatch>
<Location "/card/WEB-INF/">
    AllowOverride None
    deny from all
</Location>
<Location "/card/META-INF/">
    AllowOverride None
    deny from all
</Location>

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
machine
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/mod_jk.so

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

# Log level to be used by mod_jk
JkLogLevel debug

JkExtractSSL On
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT

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
</Directory>

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

JkMount /card/servlet ajpv13://hickory.gmacinsurance.com:9009/card

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

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

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.
--------------------------------------------------------------------------------------------------------------------------------------------------

Mime
View raw message