John,

Thanks for your help, I have re-installed and configured all my apache software under e:\apache, and everything now works (after 38 hours of hard graft!) HOWEVER I had to remove the full path for mod_jk i.e.

It was ... LoadModule jk_module e:/apache/apache2/modules/mod_jk.dll

I changed it to ... LoadModule jk_module modules/mod_jk.dll

I had only bothered pathing it cos in 70% of the HOTO's that I have read said that it was a bit temperamental on the pathing!

kind regards

At 08:37 AM 21/11/2002 -0500, you wrote:

I don't use Windows, but two things:

1) pathnames with spaces can cause problems...people seem to have more luck
using pathnames without spaces, such as "apache" instead of "Apache Group".
Yes, the Apache installer puts things in "Apache Group", but the Apache team
has no idea that you're going to be running Tomcat as well.

2) in workers.properties, you can remove all references to ajp14, as well as
all of the worker.inprocess.* and worker.loadbalance.* lines.  In a
one-to-one configuration, those lines do nothing.

John


> -----Original Message-----
> From: Mike Young [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 8:25 PM
> To: [EMAIL PROTECTED]
> Subject: Integrating / Connecting HTTPD 2.0.43 with TOMCAT 4.1.12
>
>
> 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)in
> process.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)in
> process.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]>
>

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

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

Reply via email to