jQuery in Action, 2nd edition*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "mod_jk2 woes" Watch "mod_jk2 woes" New topic
Author

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. mod_jk2.so is located in /usr/local/apache/libexec.
here are my files that needed editing:
/usr/local/tomcat/conf/jk/workers.properties

/usr/local/apache/conf/httpd.conf

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="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
tee mahmood
Greenhorn

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...
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/mod_jk-2.0.42.dll
no probs.


Matthew Webster - eudoxus@freeuk.com<br /><a href="http://www.matthewwebster.homeunix.net/" target="_blank" rel="nofollow">http://www.matthewwebster.homeunix.net/</a>
 
wood burning stoves
 
subject: mod_jk2 woes
 
Similar Threads
Apache 2.0.53 + Tomcat 5.5.7 integration on Windows using mod_jk
Tomcat 4.1.12 not executing JSP on Sun OS
Apache 2.0.44/Tomcat 4.1.18
File uploading problem
Connection between tomcat and apache