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.