You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kumar Vijayaratnam <ku...@sourceree.com> on 2001/05/27 12:35:40 UTC

Tomcat and Apache on different machines

Hello,

I am trying to configure two separate machines one with Tomcat 3.2.1 and

another with apache with mod_jk

The config is as follows:-

Machine1:

Tomcat 3.2.1 + mod_jk

workers.properties

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

server.xml

contains the standard configuration

Machine2

Apache is setup to load mod_jk

This machine also has tomcat loaded

The workers.properties file on Machine2 has the following entry

worker.ajp13.port=8009
worker.ajp13.host=machine1
worker.ajp13.type=ajp13

Then I add the following mount points

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


I then startup Tomcat on Machine1 followed by apache on Machine2

When I then type on http://www.myhost.com/myapp/myjsp.jsp

I don't get my application just a message saying 404 not found.


I have tried telnet machine1  8009  but nothing is returned...


Am I setting  this up correctly ?.

Any help would be appreciated,

Regards
Kumar