Apache 1.3.33 + Tomcat 5.5.9 + Mod_jk On An Xserve With Osx 10.3 Server

andrew_mccallum

Registered
Hi,

I have been trying to get this configuration working for weeks. I have read every article / tutorial I can find on the web and nothing seems to work.

My ultimate aim is to have Apache 1.3.33 (can't use Apache 2 as a required application is only supported on 1.3.x) and Tomcat 5.5.9 (can't be less than 5.5.x as a web application requires this version) running with the ability to use http://www.mydomain/mywebapp/ as the URL rather than http://www.mydomain:8080/mywebapp/ as the :8080 is blocked by a firewall I don't have control over and is treated as an invalid URL by an internal payment gateway I am required to use.

With a clean install of OS X 10.3 Server (Apache 1.3.33, Tomcat 4.1.29, mod_jk), I can get the mod_jk to work...
1. Server Admin -> Application Server to start Tomcat as a standalone service
2. Server Admin -> Web Services, tick the mod_jk module and start the Web service
...it is all cool to connect using http://mydomain:8080/mywebapp/ or http://mydomain/mywebapp/ but it doesn't work as it is the wrong Tomcat version.

Replacing Tomcat 4.1.29 with 5.5.9 breaks the mod_jk connection. I can still access the web app using http://mydomain:8080/mywebapp/, but http://mydomain/mywebapp/ comes back as a rewritten http://foo.example.com/cgi-bin/tester. I've replaced the mod_jk.so with the 1.2.5 version and still no luck.

I have got mod_jk or mod_jk2 working with the following configurations....

Apache 1.3.33 + mod_jk + Tomcat 4.1.29 on OS X 10.3 Server (but Tomcat 4.x is not compatible with the web app)

Apache 2.0.52 + mod_jk2 + Tomcat 5.5.9 on OS X 10.3 Server
(but a required service won't run with Apache 2.x)

Apache 1.3.33 + mod_jk + Tomcat 5.5.9 on OS X 10.3 Client
(but OS X 10.3 Client seems to not be compatible with an XServe... can OS X 10.3 Client be installed on an XServe ?)

Do you have any ideas on how to get this working with Apache 1.3.33 + mod_jk + Tomcat 5.5.9 on an XServe running OS X 10.3 Server ?

Any help would be much appreciated as it is so frustrating to get so close but not quite there and to have a beautiful new XServe that I fought so hard to get just sitting there blinking but not being used for anything :-(.

Thanks

Andrew McCallum
--
NICHE IT Pty Ltd
Sydney, Australia
andrew@nicheit.com.au
 
Back
Top