Tomcat 4 + Apache 1.3.2 + mod_jk.dll?

Ok, I've installed Apache and Tomcat both, and I'm able to get them running separately fine, Now i'm trying to get them to run together.

My problem lies in that Tomcat 4 doesn't generate the .conf files that you generally modify and include in apache's .conf file in order to get them to run together.

I'm running on windows 98, but any help from anyone on how to get these 3 working together would be appreciated.

[446 byte] By [daelus] at [2007-9-26 1:24:07]
# 1

I found this in the server.xml file in tomcat:

--

The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0

as its servlet container. This is built by following these steps:

- cd {TOMCAT-SRC-HOME}/connectors

- make

- (Edit "Makedefs" as needed for your installation)

- make

- su root

- cp connectors/apache-1.3/mod_webapp.so {APACHE_HOME}/libexec

- exit

To configure the Apache side, you must ensure that you have a

"ServerName" directive defined in "httpd.conf". Then, lines like

these to the bottom of your "httpd.conf" file:

LoadModule webapp_module libexec/mod_webapp.so

WebAppConnection warpConnection warp localhost:8008

WebAppMount examples warpConnection /examples/

Finally, modify the "defaultHost" attribute in the "Engine" directive

below to match the "ServerName" setting defined in "https.conf". The

next time you restart Apache (after restarting Tomcat, if needed)

the connection will be established, and all applications you make

visible via "WebAppMount" directives can be accessed through Apache.

Here's the problem.. there is no /connectors directory, and I can't find a precompiled version of mod_webapp.so either (plus It doesn't tell me how to compile in windows..)

Anyway, if anyone has a precompiled mod_webapp.so file (if that will work) I guess that's all I need? I'm still lost as to how mod_jk.dll fits in though. I thought I read in a few places that tomcat4 used this instead of jserv.

Anyone able to help me out more?

daelus at 2007-6-29 1:03:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...