tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohanm <>
Subject Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
Date Wed, 23 Jul 2008 20:05:15 GMT

I set up the  Apache 2.2 +mod_jk +Tomcat 5.5 works fine.

I have mapping problem between  webapplication  on URL and the directory
name under webapps.

How can I configure the  content of  context file  Tomcat5.5/conf/localhost/
*webapplication.xml*   and httpd.conf file
 to map between (*webapplication*)     http://localhost/*webapplication*
/ <http://localhost/webapplication/>
and          Tomcat5.5/webapps/*booking* directory.

 If I change the directory name  Tomcat5.5/webapps/*booking*  to the  *
webapplication,* the server works fine.

The content of context xml file on   Tomcat5.5/conf/localhost/*

<Context  path="/*webapplication*" docBase="*booking*"
        debug="5" reloadable="true" crossContext="true">

*and httpd.conf file*:(short desc)

LoadModule jk_module modules/

<IfModule mod_jk.c>
  JkWorkersFile conf/
    JkLogFile logs/mod_jk.log
    JkLogLevel error
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    JkRequestLogFormat "%w %V %T"

Alias /*webapplication * "C:/www/tomcat5/webapps/booking/"

    <Directory "C:/www/tomcat5/webapps/booking/">
        Options Indexes +FollowSymLinks
        AllowOverride None
        Allow from all

 <Location /*/WEB-INF/*>
        AllowOverride None
        deny from all

     * JkMount /webapplication/* example*


Thanks for your help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message