  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | JkMountFile not working | JkMountFile not working 2006-11-14 - By Gilberto E. Espinoza
Back Hi -
I am running Geronimo+Tomcat (1.1.1). I have apache2 in front of it and I use the JkMountFile directive to map the webapp context to the apache server space. I am not sure that the file I use for the JkMountFile gets reloaded every time I update it. I do not know where to start troubleshooting the issue.
I know my mount points work because they are mapped when I restart apache2.
Below are the conf files.
Thanks,
### apache mod_jk conf ### # Load mod_jk module # Update this path to match your modules location <IfModule !mod_jk.c> LoadModule jk_module /usr/lib/apache2/mod_jk.so </IfModule>
# Declare the module for <IfModule directive> (remove this line on Apache 2.x) # AddModule mod_jk.c
# 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
# Where to find workers.properties JkWorkersFile /somwhere/workers.properties
# Set the jk log level [debug/error/info] JkLogLevel debug
# 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"
# To automatically load the webapps JkAutoAlias /<>/geronimo/webapps JkMountFile /<>/geronimo/uriworkermap.properties
# For Tomcat within Geronimo JkAutoAlias /<>/geronimo-1 (See http://imo-1.ora-code.com).1.1/var/catalina/work/ JkAutoAlias /<>/geronimo-1 (See http://imo-1.ora-code.com).1.1/config-store/
<Location "/servlets-examples/WEB-INF/"> AllowOverride None deny from all </Location>
<Location "/jsp-examples/WEB-INF/"> AllowOverride None deny from all </Location>
<Location "/tomcat-docs/WEB-INF/"> AllowOverride None deny from all </Location>
### end ###
### uriworkermap.properties ### # URI Mappings
/=ajp13 /*=ajp13 /*.jsp=ajp13
/servlets-examples/=ajp13 /jsp-examples/=ajp13
/servlets-examples/servlet/*=ajp13 /servlets-examples/*.jsp=ajp13 /jsp-examples/*.jsp=ajp13 /jsp-examples/*.jspx=ajp13 /jsp-examples/servlet/*=ajp13
/jsp-examples/*.html=ajp13 /jsp-examples/*.htm=ajp13 /jsp-examples/*.png=ajp13 /jsp-examples/*.jpg=ajp13 /jsp-examples/*.jpeg=ajp13 /jsp-examples/*.gif=ajp13
!/servlets-examples/*.html=ajp13 !/servlets-examples/*.htm=ajp13 !/servlets-examples/*.png=ajp13 !/servlets-examples/*.jpg=ajp13 !/servlets-examples/*.jpeg=ajp13 !/servlets-examples/*.gif=ajp13
### end ###
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |