• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
JK Connector Installation
1. Down load the latest connector mod_jk-1.2.14-apache-2.0.54. You will have noticed that it matches the
apache_2.0.54 version we installed earlier.
2. Place the file mod_jk-1.2.14-apache-2.0.54.so in"c: \apache \apache2\modules", note that both .dll or .so files
are OK.
3. Add the following line to the apache config file in"c: \apache \apache2\conf\h ttpd.con f"
LoadModule jk_module/mod_jk-2.0.54.so
4. You could run the following command to test the syntax of the apache config file, you should get"syntax
OK"
c:\apache\apache2\bin\apache.exe -t
5. Edit tomcat configuration file"c: \tomcat \tomcat- 4-1-31\conf \server.xml " and add the following below:
edit one
find this line:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
add this line just below:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="c:/apache/Apache2/modules/mod_jk-1.2.14-apache-2.0.54.so" />
edit two
find this line:

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true">
add this below: <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true"

forwardAll="false" modJk="c:/apache/Apache2/modules/mod_jk-1.2.14-apache-2.0.54.so"
/>
7. Once the changes have been saved we need to restart tomcat. Once tomcat has been restarted check to see if a
file called I"c:\tomcat\tomcat-4-1-31\conf\auto\mod_jk.conf" exists if not then go back and repeat step 5.
6. Create the workers file called"workers.properties" and save it to"c: \tomcat \tomcat- 4-1-31\conf \jk "

# Definition for Ajp13 worker
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
# END workers.properties

7. In the last step open up apaches config file and add to the bottom of it the following:
Include c:\tomcat\tomcat-4-1-31\conf\auto\mod_jk.conf
Check Tomcat/Apache
1. Stop and restart Tomcat.
2. Stop and restart Apache.

of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...