tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chezang <chez...@druknet.bt>
Subject mod_jk connector
Date Wed, 27 Sep 2006 22:08:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi there,

I'm trying to integrate Apache2.0.55 with Tomcat5.5 using mod_jk. I did
the following but failed to achieve what I want.

WinXP Professional SP2
Apache2.0.55
Tomcat5.5.17

My Apache and Tomcat servers are working fine. http://localhost/ gives
me Apache Welcome Page and http://localhost:8080/ gives me Tomcat
Welcome Page.

I downloaded the mod_jk-apache-2.0.55.so, renamed it to mod_jk.so and
copied to Apache's modules/ folder.

Then I edit the server.xml in Tomcat's conf/ folder and added the line
below.

<engine --->

...
<Listener className="org.apache.jk.config.ApacheConfig"
modJk="c:/PROGRA~/APACHE~/apache2/modules/mod_jk.so" />
...
</engine>

Then I restarted the Tomcat. This  has generated a folder auto/ in the
Tomcat's conf/ folder and a configuration file mod_jk.conf in the auto/
folder.

And then at the end of Apache's configuration file httpd.conf I have added:

Include "C:/tomcat/Tomcat 5.5/conf/auto/mod_jk.conf"

then I have tested if very thing is fine in httpd.conf by typing

apache -t at the command prompt.

This has gave me the following error:

C:\Program Files\Apache Group\Apache2\bin>apache -t
Syntax error on line 4 of C:/Program Files/Apache
Group/Apache2/conf/mod_jk.conf
:
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into
server:
 The specified module could not be found.

And then i couldn't start the Apache server again.

Could any one please help me to bring up everything works fine.

regd chez.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGvZeTcOHDeUoJQURAjlxAJ9sIcbIGlbE2s+C7DQoyy8S3JpMpACgnrmn
ORxmcuqFVoSaHIHcyshF3Uk=
=rppw
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message