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!

Apache / Tomcat / mod_jk Issue

843838Oct 10 2005 — edited Oct 11 2005
Hello All --

I'm looking for some help. I have aLinux Apache / Tomcat setup using mod_jk to pass JSP requests to Tomcat and Apache is serving static content. This is installed and working correctly.

My JSP website is located at: TOMCAT_HOME/webapps/contextname I can see the website correctly through Apache at: http://IPAddress/contextname/default.jsp and I'm trying to get it to load as the default website at http://IPAddress/ . When I visit that address right now, I see my page, but none of my dynamic content is displaying.

As I can actually see the page, I don't think its a server issue. Its probably something in my jkmodule.conf file. Can anyone help me?

Here are the particulars:
Apache 2.0.53
Tomcat 5.5.9

My jkmodule.conf::
# LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
# AddModule mod_jk.c
# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
JkWorkersFile conf/workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
JkLogFile /var/log/apache2/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /am/*.jsp ajp13
# JkMount /*.jsp ajp13
I tried the last JkMount and I got the Tomcat file not found error for default.jsp.

Any help you can provide for me would be appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2005
Added on Oct 10 2005
6 comments
251 views