I'm trying to get Apache to forward requests to JBoss. I created the configuration file as directed in the install guide. However, Apache now fails to start because of this directive:
JkShmFile run/jk.shm
apachectl2 returns with the following error:
Starting httpd2 (prefork) Syntax error on line 44 of /etc/apache2/conf.d/mod_jk.conf:
Invalid command 'JkShmFile', perhaps misspelled or defined by a module not included in the server configuration
Commenting that line, then gives me an error with this directive:
<Location /jkstatus/>
JkMount status <-----
Order deny,allow
Deny from all
Allow from 127.0.0.1
Error message:
Starting httpd2 (prefork) Syntax error on line 48 of /etc/apache2/conf.d/mod_jk.conf: JkMount not allowed here
I'm using OpenSuse 10.2 and Apache 2.
Thanks for any direction you can give.
Well, after 6 hours of testing and I posted this. 3 minutes later, someone sent me an email that resolved the issue.
If you experience, you have to upgrade to version 1.2.23 of mod_jk.
Jason