Remote servlet by mod_jk ?

Posted by marioosh.net on Server Fault See other posts from Server Fault or by marioosh.net
Published on 2011-02-22T08:23:06Z Indexed on 2011/02/23 7:26 UTC
Read the original article Hit count: 500

Filed under:
|
|

I have remote servlet for example: h*tps://[ip_address]/servlet (h*tps://[ip_address]/ - Tomcat main page) that i need to configure on local Apache HTTPd server. My mod_jk configuration looks like below, but doesn't work. Something works, because when i type h*tps://localhost/console in a browser i get Tomcat error page "HTTP Status 404 - /console/".

JkWorkersFile /etc/apache2/workers.properties
JkLogFile     /var/log/apache2/mod_jk.log
JkLogLevel    info
JkMount /console/* ajp13

workers.properties:

worker.ajp13.type=ajp13
worker.ajp13.host=[ip_address]
worker.ajp13.port=8009

Remote Tomcat is configured good i think - listen on port 8009 and servlet h*tps://[ip_address]/servlet works too.

<Connector port="8009" protocol="AJP/1.3" redirectPort="443" />

Anybody helps ?

© Server Fault or respective owner

Related posts about apache

Related posts about tomcat