First of all is this version combination possible?

I can get Tomcat (4.1.12) installed and working on its own and I can get HTTPD (2.0.43) working on its own, but as soon as I load the mod_jk module in my httpd.conf file I get "The requested operation has failed" and no obvious error logs to help problem solve the issue.

My configuration / Install process was as follows (Win 2K Server):

1) Installed Apache HTTPD 2.0.43
2) Installed Java 2 System Developers Kit (j2sdk1.4.1_01)
3) Installed Tomcat 4.1.12
4) Created a Service for Tomcat
- Can now see tomcat pages at http://hostname:8080
- Can now see httpd pages at http://hostname:80
5) Downloaded mod_jk-2.0.42.dll from (http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/)
6) Edited the server.xml file in the conf subdirectory of the Tomcat directory as follows:
Immediately following the
<Server port="8005" ...> tag near the top of the file, I added the following tag:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk="e:/Program files/Apache Group/Apache2/modules/mod_jk.dll" jkDebug="info" workersConfig="E:/jakarta-tomcat-4.1.12/conf/jk/workers.properties" jkLog="E:/jakarta-tomcat-4.1.12/logs/mod_jk.log" />


About halfway down the file, following the <Host name="localhost" ...> tag I added the following tag:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" />
7) Created a new directories called /jk in the Tomcat conf directory .
8) Created a workers.properties file in the new jk folder with the following:
workers.tomcat_home=d:/Apache/Tomcat
workers.java_home=$(JAVA_HOME)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
9) Restarted the Tomcat server and it automatically created another directory in its conf directory called auto with a file called mod_jk.conf.
10 Copied the contents of the newly created mod_jk.conf file into the Apache HTTPD httpd.conf file directly after the last load module <Load Module #LoadModule ssl_module modules/mod_ssl.so >
They were:
# Tomcat Mod_jk Connector

<IfModule !mod_jk.c>
LoadModule jk_module e:/Program files/Apache Group/Apache2/modules/mod_jk.dll
</IfModule>

JkWorkersFile "E:/jakarta-tomcat-4.1.12/conf/jk/workers.properties"
JkLogFile "E:/jakarta-tomcat-4.1.12/logs/mod_jk.log"
JkLogLevel info

<VirtualHost localhost>
ServerName localhost
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
</VirtualHost>
10) I then restart the Apache web server and I get "The requested operation has failed" and no obvious error logs


Can anyone help please?


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to