Hi there,

I've got a good config going for apache/tomcat but I'm still using that
mod_jk.conf-auto. I created a dir in the $TOMCAT_HOME/webapps directory and
installed my hello world application in it. Works like a charm. Now I
created a Virtual host in apache with the following definition, but I just
can't seem to find how to write the JkMount statement. 

<VirtualHost 192.168.110.9>

    ServerAdmin root@madotux
    DocumentRoot /shares/sunsear.mad
    ServerName www.sunsear.mad
    ErrorLog /shares/sunsear.mad/sunsear-error_log
    CustomLog /shares/sunsear.mad/sunsear-access_log common
    JkMount www.sunsear.mad/servlet/* ajp13
    JkMount www.sunsear.mad/*.jsp ajp13
#    JkMount /servlet/* ajp13
#    JkMount /*.jsp ajp13
#    JkMount /www.sunsear.mad/servlet/* ajp13
#    JkMount /www.sunsear.mad/*.jsp ajp13
#    JkMount /shares/sunsear.mad/servlet/* ajp13
#    JkMount /shares/sunsear.mad/*.jsp ajp13
</VirtualHost>

I've also created a Context in tomcat's server.xml with the following
definition:

             <Context path="www.sunsear.mad"
                 docBase="/share/sunsear.mad"
                 crossContext="false"
                 debug="0"
                 reloadable="true" >
             </Context>

I've tried numerous different combinations of JkMount statements, all of
them #-ed, but none seem to work. Is my context definition wrong or
something?

Greetings,

Martin van Dijken

Reply via email to