Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Desperately seeking help. mod_jk problem with Apache 2.0.49 and Tomcat 4.1.

843836Jun 11 2004 — edited Jun 11 2004
Hi All,

I am setting up the connection between Tomcat 4.1 and Apache 2.0.49 since past 3 days without success.
I downloaded the
JK 1.2
JK 1.2 Binary Releases
mod_jk_1.2.5_2.0.47.dll from apache site.(renamed it to mod_jk.dll as instructed). Now the problem is that after making the other settings in server.xml, httpd.conf,workers.properties

My Tomcat does not show any error when i uncomment the following code
 <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false"
               protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
which is the code for mod_jk2. I don't understand this as I have download the file for JK1.2.

I am getting the mod_jk.conf file generated but it is generated with the following code.
<IfModule !mod_jk.c>
  LoadModule jk_module C:/Program Files/Apache Group/Apache2/modules/mod_jk.dll
</IfModule>

JkWorkersFile "C:/Program Files/Apache Group/Tomcat 4.1/conf/jk/workers.properties"
JkLogFile "C:/Program Files/Apache Group/Tomcat 4.1/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>
AGAIN , here I fail to understand why it is generating the jk_module with forward slash.
(I HAVE GIVEN THE ps=/ property in worker.properties)

Once I add the path in quotes i.e.

LoadModule jk_module "C:/Program Files/Apache Group/Apache2/modules/mod_jk.dll"

I am able to start the apache server. but am failing in the connection test ie. not able to view the examples directory.
Plz. advise me , I am really going crazy over this stuff.
Thanks in advance,
Vishy.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2004
Added on Jun 11 2004
1 comment
179 views