• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

I can't connect apache to tomcat with jk1.2

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a sistem with linux Fedora Core2 , apache 2.0.49 , java jdk1.5 , tomcat 5.5.4. All are installed correctly. Apache work , tomcat work (if I try http://localhost:8080 I can see the page from tomcat with all the examples , doc , etc ) , java is working ( if I type java or javac in any directory it show me that work ). I have installed jk1.2 and I try to connect apache with tomcat , but It dind work.

To try the apache connect with tomcat I have copy a file , date.jsp , from tomcat examples in the directory jsp from the DocumentRoot of apache ( DocumentRoot="/var/www/html/site" ) . So the file date.jsp is in the directory /var/www/html/site/jsp. I have made a link from a static page of apache to the page date.jsp and I get this message when I try to acces the link :

"HTTP Status 404 - /jsp/date.jsp

type Status report

message /jsp/date.jsp

description The requested resource (/jsp/date.jsp) is not available.
Apache Tomcat/5.5.4 "

Please , can anyone help me?

httpd.conf :
..
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

#<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
#</IfModule>

#AddModule mod_jk.c

#
# Configure mod_jk
#
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkRequestLogFormat "%w %V %T"


#
# ExtendedStatus controls whether Apache will generate "full" status
.....
....
DocumentRoot "/var/www/html/site"

#JkAutoAlias /usr/java/tomcat/webapps
JkMount /jsp/*.jsp worker1

#
# Each directory to which Apache has access can be configured with respect
......

workers.properties :

workers.tomcat_home=/usr/java/tomcat

workers.java_home=/usr/java/jdk1.5.0

ps=/

worker.list=ajp12, ajp13, worker1

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

worker.ajp12.lbfactor=1
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13, worker1

worker.inprocess.type=jni

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar

worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=/usr/java/jdk1.5.0/jre/lib/i386/server/libjvm.so

worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.recycle_timeout=300


mod_jk.log :

[Sun Mar 20 10:35:41 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/jsp/date.jsp' from 1 maps
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (808): Found a suffix match worker1 -> *.jsp
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_handler::mod_jk.c (1715): Into handler jakarta-servlet worker=worker1 r->proxyreq=0
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] wc_get_worker_for_name::jk_worker.c (92): found a worker worker1
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] init_ws_service::mod_jk.c (479): agsp=80 agsn=www.isjbn.ro hostn=www.isjbn.ro shostn=www.isjbn.ro cbsport=0 sport=0 claport=80
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_get_endpoint::jk_ajp_common.c (2050): created new endpoint for worker worker1
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (551): ajp marshaling done
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_service::jk_ajp_common.c (1594): processing with 3 retries
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_open_socket::jk_connect.c (159): try to connect socket = 14 to 127.0.0.1:8009
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_open_socket::jk_connect.c (177): after connect ret = 0
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_open_socket::jk_connect.c (192): jk_open_socket, set TCP_NODELAY to on
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_open_socket::jk_connect.c (200): jk_open_socket, set SO_KEEPALIVE to on
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_open_socket::jk_connect.c (229): connected sd = 14
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_connect_to_endpoint::jk_ajp_common.c (838): connected sd = 14 to 127.0.0.1:8009
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (883): sending to ajp13 pos=4 len=453 max=8192
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_send_request::jk_ajp_common.c (1199): request body to send 0 - request body to resend 0
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1007): received from ajp13 pos=0 len=85 max=8192
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_unmarshal_response::jk_ajp_common.c (606): status = 404
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_unmarshal_response::jk_ajp_common.c (613): Number of headers is = 2
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_unmarshal_response::jk_ajp_common.c (669): Header[0] [Content-Type] = [text/html;charset=utf-8]
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_unmarshal_response::jk_ajp_common.c (669): Header[1] [Content-Length] = [989]
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1007): received from ajp13 pos=0 len=993 max=8192
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ws_write::mod_jk.c (376): writing 989 (989) out of 989
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1007): received from ajp13 pos=0 len=2 max=8192
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] ajp_done::jk_ajp_common.c (1942): recycling connection cache slot=0
[Sun Mar 20 10:35:41 2005][7835:32896] worker1 www.isjbn.ro 0.098737
[Sun Mar 20 10:35:41 2005][7835:32896] [debug] jk_handler::mod_jk.c (1860): Service finished with status=404 for worker=worker1
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/index.php' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/index.php' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/index.html' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/index.html' from 1 maps
[Sun Mar 20 10:40:34 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:38 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/mystyles.css' from 1 maps
[Sun Mar 20 10:40:38 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:38 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/mystyles.css' from 1 maps
[Sun Mar 20 10:40:38 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:41 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/cod.js' from 1 maps
[Sun Mar 20 10:40:41 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:41 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/cod.js' from 1 maps
[Sun Mar 20 10:40:41 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:42 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/isjbn_logo1.gif' from 1 maps
[Sun Mar 20 10:40:42 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:42 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/isjbn_logo1.gif' from 1 maps
[Sun Mar 20 10:40:42 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:42 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/top_left.gif' from 1 maps
[Sun Mar 20 10:40:42 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:42 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/top_left.gif' from 1 maps
[Sun Mar 20 10:40:42 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:44 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/isjbn.html' from 1 maps
[Sun Mar 20 10:40:44 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:44 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/isjbn.html' from 1 maps
[Sun Mar 20 10:40:44 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:46 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/news.html' from 1 maps
[Sun Mar 20 10:40:46 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:46 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/news.html' from 1 maps
[Sun Mar 20 10:40:46 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:47 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/top_right.gif' from 1 maps
[Sun Mar 20 10:40:47 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:47 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/top_right.gif' from 1 maps
[Sun Mar 20 10:40:47 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:47 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/home_over.gif' from 1 maps
[Sun Mar 20 10:40:47 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:47 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/home_over.gif' from 1 maps
[Sun Mar 20 10:40:47 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:48 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/teste.gif' from 1 maps
[Sun Mar 20 10:40:48 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:48 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/teste.gif' from 1 maps
[Sun Mar 20 10:40:48 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:49 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/bac.gif' from 1 maps
[Sun Mar 20 10:40:49 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:49 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/bac.gif' from 1 maps
[Sun Mar 20 10:40:49 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:49 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/personal.gif' from 1 maps
[Sun Mar 20 10:40:49 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:49 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/personal.gif' from 1 maps
[Sun Mar 20 10:40:49 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:51 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/perf.gif' from 1 maps
[Sun Mar 20 10:40:51 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:51 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/perf.gif' from 1 maps
[Sun Mar 20 10:40:51 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:51 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/olimpMate2005.html' from 1 maps
[Sun Mar 20 10:40:51 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:51 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/olimpMate2005.html' from 1 maps
[Sun Mar 20 10:40:51 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:52 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/tit.gif' from 1 maps
[Sun Mar 20 10:40:52 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:52 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/tit.gif' from 1 maps
[Sun Mar 20 10:40:52 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:52 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/rel_alt.gif' from 1 maps
[Sun Mar 20 10:40:52 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:52 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/rel_alt.gif' from 1 maps
[Sun Mar 20 10:40:52 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:53 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/links_alt.gif' from 1 maps
[Sun Mar 20 10:40:53 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:53 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/links_alt.gif' from 1 maps
[Sun Mar 20 10:40:53 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:53 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/utct.gif' from 1 maps
[Sun Mar 20 10:40:53 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:53 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/utct.gif' from 1 maps
[Sun Mar 20 10:40:53 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:54 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/contact.gif' from 1 maps
[Sun Mar 20 10:40:54 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:54 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/contact.gif' from 1 maps
[Sun Mar 20 10:40:54 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:55 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/powered_by_linux.gif' from 1 maps
[Sun Mar 20 10:40:55 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:55 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/powered_by_linux.gif' from 1 maps
[Sun Mar 20 10:40:55 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:55 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/apache_pb.gif' from 1 maps
[Sun Mar 20 10:40:55 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:55 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/apache_pb.gif' from 1 maps
[Sun Mar 20 10:40:55 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:56 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/home.gif' from 1 maps
[Sun Mar 20 10:40:56 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:56 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/home.gif' from 1 maps
[Sun Mar 20 10:40:56 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:56 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/teste_over.gif' from 1 maps
[Sun Mar 20 10:40:56 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:56 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/teste_over.gif' from 1 maps
[Sun Mar 20 10:40:56 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:58 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/bac_over.gif' from 1 maps
[Sun Mar 20 10:40:58 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:58 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/bac_over.gif' from 1 maps
[Sun Mar 20 10:40:58 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:58 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/personal_over.gif' from 1 maps
[Sun Mar 20 10:40:58 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:40:58 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/personal_over.gif' from 1 maps
[Sun Mar 20 10:40:58 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:00 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/perf_over.gif' from 1 maps
[Sun Mar 20 10:41:00 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:00 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/perf_over.gif' from 1 maps
[Sun Mar 20 10:41:00 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:00 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/tit_over.gif' from 1 maps
[Sun Mar 20 10:41:00 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:00 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/tit_over.gif' from 1 maps
[Sun Mar 20 10:41:00 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:01 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/rel_alt_over.gif' from 1 maps
[Sun Mar 20 10:41:01 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:01 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/rel_alt_over.gif' from 1 maps
[Sun Mar 20 10:41:01 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:02 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/links_alt_over.gif' from 1 maps
[Sun Mar 20 10:41:02 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:02 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/links_alt_over.gif' from 1 maps
[Sun Mar 20 10:41:02 2005][7835:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:03 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/utct_over.gif' from 1 maps
[Sun Mar 20 10:41:03 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:03 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/utct_over.gif' from 1 maps
[Sun Mar 20 10:41:03 2005][6407:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:03 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/contact_over.gif' from 1 maps
[Sun Mar 20 10:41:03 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:03 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/imagini/contact_over.gif' from 1 maps
[Sun Mar 20 10:41:03 2005][7832:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:20 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:41:20 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:20 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:41:20 2005][6406:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/favicon.ico' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/favicon.ico' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/include/top.html' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/include/bottom.html' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/contact.html.var' from 1 maps
[Sun Mar 20 10:41:28 2005][7834:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:30 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:41:30 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:41:30 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:41:30 2005][7839:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:00 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005' from 1 maps
[Sun Mar 20 10:42:00 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:00 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005' from 1 maps
[Sun Mar 20 10:42:00 2005][7838:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/_vti_inf.html' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/_vti_inf.html' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/include/top.html' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/include/bottom.html' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/contact.html.var' from 1 maps
[Sun Mar 20 10:42:01 2005][7837:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/_vti_bin/shtml.exe/_vti_rpc' from 1 maps
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/_vti_bin/shtml.exe/_vti_rpc' from 1 maps
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' from 1 maps
[Sun Mar 20 10:42:02 2005][7833:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:02 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:42:02 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'
[Sun Mar 20 10:42:02 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/download/olimpMate2005/elevi participanti.xls' from 1 maps
[Sun Mar 20 10:42:02 2005][7836:32896] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp/*.jsp'



server.xml :

......
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" enableLookups="false" redirectPort="8443" debug="4" protocol="AJP/1.3"/>
........
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe any JSP/Servlets will still need to be placed in the $CATALINA_HOME/webapps directory. The DocumentRoot directive is for any non-JSP/Servlets websites. But for your example, which is just to test the Apache/Tomcat config with a simple JSP page, you will not need a full WAR file(.i.e web.xml).

I would just move the /jsp/date.jsp to the $CATALINA_HOME/webapps directory. And then access the page like so ...


Another test for the Apache/Tomcat config is to add the following patterns to either the httpd.conf file or the workers.properties file:


Rs-start Apache and then try to access the following without the port 8080:


I hope this helps.
 
I've been selected to go to the moon! All thanks to this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic