File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes mod_jk2 woes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "mod_jk2 woes" Watch "mod_jk2 woes" New topic

mod_jk2 woes

Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
Hello all,
I am having some problems getting mod_jk2 to work properly. Up to this point, I have been using mod_webapp and I think it may be time to upgrade a bit. Anyway, I am running Apache 1.3.26 and Tomcat 4.1.12 with j2sdk.1.4.1 on RedHat7.3. is located in /usr/local/apache/libexec.
here are my files that needed editing:


When I start the apache server, here is the error I get:

# sh /usr/local/apache/bin/apachectl start
Create config for main host
Syntax error on line 983 of /usr/local/apache/conf/httpd.conf:
Invalid command 'JKWorkersFile', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/local/apache/bin/apachectl start: httpd could not be started

I would really appreciate any help.
[ November 22, 2002: Message edited by: Jason Kretzer ]

Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="" target="_blank" rel="nofollow"></a>
tee mahmood

Joined: Jun 26, 2001
Posts: 6
I also have the same problems, Tomcat 4.1.12 with j2sdk.1.4.1 on RedHat7.3 and I could not get it to work having scoured the web and following the instructions at apaches website.
I get a Forbidden 403 error when I try to access a tomcat url through apache.
Have you had any success?
Matthew Webster
Ranch Hand

Joined: May 10, 2001
Posts: 51
I used...
no probs.

Matthew Webster -<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: mod_jk2 woes
It's not a secret anymore!