Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
JkMountFile not working

JkMountFile not working

2006-11-14       - By Gilberto E. Espinoza

 Back
Reply:     1     2     3     4     5     6     7     8  

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)


©2008 junlu.com - Jax Systems, LLC, U.S.A.