You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Andreou <ch...@strllc.com> on 2001/03/01 15:03:52 UTC
Create a Context aother than webapps
I have a problem executing my servlets in a diffrent context other than
webapps - using a absolute path instead of relative. I have the followoing
definition in server.xml :
server.xml
---
<Context path="/devexamples"
docBase="e:/Apachegroup/Apache/htdocs/webdir/examples"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
---
I am using Tomcat 3.2.1 and Apache 1.3.14 with mod_jk . The configuration in
httpd.conf is the following:
Alias /devexamples "e:/Apachegroup/Apache/htdocs/webdir/examples"
<Directory "e:/ApacheGroup/Apache/www/htdocs/webdir/examples">
Options Indexes FollowSymLinks
DirectoryIndex index.htm
</Directory>
JkMount /devexamples/*.jsp apj12://trw02:8007/devexamples
JkMount /devexamples/servlet/* apj12://trw02:8007/devexamples
--
I get the following error in my log file:
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match apj12://trw02:8007/devexamples
[jk_worker.c (123)]: Into wc_get_worker_for_name
apj12://trw02:8007/devexamples
[jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
The properties of the worker.properties are :
wrapper.tomcat_home=<put your Tomcat home>
wrapper.java_home=<put your Java home>
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
wrapper.ld_path=d:\
wrapper.ld_path=c:\
wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
wrapper.javabin=$(wrapper.java_home)\bin\java.exe
wrapper.startup_class=org.apache.tomcat.startup.Tomcat
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
wrapper.shutdown_port=8007
wrapper.shutdown_protocol=ajp12
wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) -home
$(wrapper.tomcat_home)
Any help would be very appreciated.
Thanks in advance
Chris