Hello everybody,
Am struggling with this issue for 2 days already and none of the documentation I found on the web helps me.
I am running Debian Squeeze, Apache 2, Tomcat 6
on
http://10.0.0.1:8080 I get the Tomcat welcome page, on /manager I have succesfully deployed my .war application which now runs on
http://10.0.0.1:8080/time - flawlessly
installation of tomcat6 was done by apt-get install tomcat6, have installed mod_jk into apache, apache still serves everything (including php pages)
ajp13 runs and listens on port 8009 (default)
what I now want is to have
http://time.domain.local get the data from
http://10.0.0.1:8080/time
And I can't get it to run. My configs are following:
apache vhost file:
Code:
<VirtualHost time.domain.local:80>
ServerName time.domain.local
JkLogFile "/var/log/apache2/mod_jk-time.log"
JkLogLevel debug
JkMount /time default
DocumentRoot /var/www/time.domain.local
</VirtualHost>
jk.conf (enabled)
Code:
<IfModule mod_jk.c>
JkWorkersFile /etc/apache2/workers.properties
JkShmFile /var/log/apache2/mod_jk.shm
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %T"
</IfModule>
tomcat host chunk in server.xml; ajp13 listener enabled aswell:
Code:
<Host name="time.domain.local" debug="0" appBase="time"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/time" docBase="webapps/time"/>
</Host>
application is located in
/var/lib/tomcat6/webapps/time/
- contains META-INF etc (well, it runs, so it should be working)
some .html pages and .php pages are in /var/www/time.domain.local
tomcat6/Catalina contains time/manager.xml which was auto-created probbably
in the apache vhost document root I have created also test.jsp, which is not being parsed for whatever reason
index.html or test.php are served flawleslly/parsed from apache vhost docroot
last lines of mod_jk-time.log:
Code:
[Wed Feb 01 15:23:23 2012] [21497:139895276738368] [debug] jk_translate::mod_jk.c (3542): no match for /README.html found
[Wed Feb 01 15:23:23 2012] [21497:139895276738368] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/README.html' from 1 maps
[Wed Feb 01 15:23:23 2012] [21497:139895276738368] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/time=default' source 'JkMount'
[Wed Feb 01 15:23:23 2012] [21497:139895276738368] [debug] jk_map_to_storage::mod_jk.c (3609): no match for /README.html found
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/test.jsp' from 1 maps
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/time=default' source 'JkMount'
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] jk_translate::mod_jk.c (3542): no match for /test.jsp found
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/test.jsp' from 1 maps
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/time=default' source 'JkMount'
[Wed Feb 01 15:24:03 2012] [21500:139895276738368] [debug] jk_map_to_storage::mod_jk.c (3609): no match for /test.jsp found
Am clueless, drank a lot of koffee and on the edge of my sanity

please help
PS: I am no jsp programmer and this is my first time of Tomcat deployment