Take a look at my howto (if you're on Linux). If you're on win2k I think John Turner has posted an howto for that platform (I apologize if I'm not correct).
Search for jk2 vhost howto (it is quite recent, was posted last week) or email me directly. HTH, umberto MURAT BALKAS wrote: > > I need some help about apache + tomcat + virtual hosts. > > I'm using jakarta-tomcat-4.0.4 and I've a working system. I need to make > the working system support virtual hosting. > When looking at the documentation I always see some config files which I do > not have. e.g. : workers.properties, mod_jk.conf-auto, ... > I'm really confused. > > Is there any step by step HOWTO which explains mod_jk installation for > binary tomcat releases. > > Any help would be greatly appreciated. > > Murat BALKAS > > > "Turner, John" > <[EMAIL PROTECTED]> To: 'Tomcat Users List' ><[EMAIL PROTECTED]> > cc: > 10/28/2002 03:09 Subject: RE: mod_jk runs but doesnt >process > PM > Please respond to > "Tomcat Users > List" > > > > Does the request ever get to Tomcat? What's in Tomcat's logs? > > John > > > -----Original Message----- > > From: Benjamin Charles Tehan [mailto:benjamin@;evolutionism.org] > > Sent: Monday, October 28, 2002 5:50 AM > > To: [EMAIL PROTECTED] > > Subject: mod_jk runs but doesnt process > > > > > > I have a small problem with mod_jk > > > > It loads with apache ok, and when I goto > > http://localhost/index.jsp it runs > > but I get no result back from the web server, though I can > > see the connection > > in mod_jk.log (attached below) > > > > Once it gets to "Into ajpv12_handle_response" it stops and > > the browser stays > > connected with no responce, i tried a simple hello word jsp script. > > > > I'm Running linux (debian 3.0) > > I'm Running jakarta-tomcat-4.1.12 binary version > > I'm Running jakarta-tomcat-connectors-4.1.12-src compiled from source > > apxs -o /usr/lib/apache/mod_jk.so -I../common/ > > -I${JAVA_HOME}/include/ \ > > -I${JAVA_HOME}/include/linux -c *.c ../common/*.c > > > > This has previously worked, I'm sure missed something small > > in the config > > files some where > > > > --------------------- > > httpd.conf is simply > > --------------------- > > > > LoadModule jk_module lib/apache/mod_jk.so > > AddModule mod_jk.c > > > > <IfModule mod_jk.c> > > JkWorkersFile /usr/local/tomcat/conf/workers.properties > > JkLogFile /usr/local/tomcat/logs/mod_jk.log > > JkLogLevel debug > > JkMount /*.jsp ajp13 > > JkMount /servlet/* ajp13 > > </IfModule> > > > > ------------------------------ > > workers.properties is simply > > ------------------------------ > > > > workers.tomcat_home=/usr/local/tomcat > > workers.catalina_home=/usr/local/tomcat > > workers.java_home=/usr/local/j2sdk1.4.0_01 > > > > ps=/ > > worker.list=ajp12, ajp13 > > worker.ajp13.port=8009 > > worker.ajp13.host=127.0.0.1 > > worker.ajp12.type=ajp13 > > > > ------------------------ > > Part of the mod_jk.log > > ------------------------ > > > > [Tue Oct 29 06:45:47 2002] [jk_uri_worker_map.c (460)]: Into > > jk_uri_worker_map_t::map_uri_to_worker > > [Tue Oct 29 06:45:47 2002] [jk_uri_worker_map.c (477)]: > > Attempting to map > > URI '/index.jsp' > > [Tue Oct 29 06:45:47 2002] [jk_uri_worker_map.c (558)]: > > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 > > -> *.jsp > > [Tue Oct 29 06:45:47 2002] [jk_worker.c (132)]: Into > > wc_get_worker_for_name > > ajp13 > > [Tue Oct 29 06:45:47 2002] [jk_worker.c (136)]: > > wc_get_worker_for_name, done > > found a worker > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (242)]: Into > > jk_worker_t::get_endpoint > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (137)]: Into > > jk_endpoint_t::service > > [Tue Oct 29 06:45:47 2002] [jk_connect.c (132)]: Into jk_open_socket > > [Tue Oct 29 06:45:47 2002] [jk_connect.c (139)]: > > jk_open_socket, try to > > connect socket = 7 > > [Tue Oct 29 06:45:47 2002] [jk_connect.c (148)]: > > jk_open_socket, after > > connect ret = 0 > > [Tue Oct 29 06:45:47 2002] [jk_connect.c (157)]: jk_open_socket, set > > TCP_NODELAY to on > > [Tue Oct 29 06:45:47 2002] [jk_connect.c (174)]: > > jk_open_socket, return, sd > > = 7 > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (151)]: In > > jk_endpoint_t::service, sd = 7 > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (398)]: Into > > ajpv12_handle_request > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (402)]: > > ajpv12_handle_request, > > sending the ajp12 start sequence > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (466)]: > > ajpv12_handle_request, > > sending the headers > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (485)]: > > ajpv12_handle_request, > > sending the terminating mark > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (530)]: > > ajpv12_handle_request > > done > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (165)]: In > > jk_endpoint_t::service, sent request > > [Tue Oct 29 06:45:47 2002] [jk_ajp12_worker.c (546)]: Into > > ajpv12_handle_response > > > > -- > > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > > -- > To unsubscribe, e-mail: < > mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: < > mailto:tomcat-user-help@;jakarta.apache.org> > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- Umberto Nicoletti - [EMAIL PROTECTED] | [EMAIL PROTECTED] Tel. 049-8239380 (assistenza) "We'll try to make different mistakes this time." - Larry Wall -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
