Yes, that was the problem => Alias must begin with a capital 'A' Sorry for my vocabulary but that sucks ! because there is no xml parser error and there is no error telling u that the config file is incorrect.
Thanks a lot. > -----Message d'origine----- > De : Larry Isaacs [mailto:[EMAIL PROTECTED]] > Envoyé : lundi 10 juin 2002 19:53 > À : 'Tomcat Users List' > Objet : RE: Tomcat 3.3.1/Apache Virtual Host and Alias > > > It looks like the only way for things not to be working > is if the www.test.net isn't being added as a host alias > on the Tomcat side. Try <Alias .../> with a capital 'A', > i.e: > > <Alias name="www.test.net" /> > > I believe this will get it working. > > Cheers, > Larry > > > -----Original Message----- > > From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 10, 2002 1:06 PM > > To: Tomcat Users List > > Subject: RE: Tomcat 3.3.1/Apache Virtual Host and Alias > > > > > > Requesting www.test.net/index.jsp logs : > > > > * In mod_jk.log : > > > > [Mon Jun 10 18:51:00 2002] [jk_uri_worker_map.c (351)]: Into > > jk_uri_worker_map_t::map_uri_to_worker > > [Mon Jun 10 18:51:00 2002] [jk_uri_worker_map.c (368)]: > Attempting to > > map URI '/index.jsp' > > [Mon Jun 10 18:51:00 2002] [jk_uri_worker_map.c (416)]: > > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix > match ajp13 -> > > *.jsp > > [Mon Jun 10 18:51:00 2002] [jk_worker.c (123)]: Into > > wc_get_worker_for_name ajp13 > > [Mon Jun 10 18:51:00 2002] [jk_worker.c (127)]: > > wc_get_worker_for_name, > > done found a worker > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (865)]: Into > > jk_worker_t::get_endpoint > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (775)]: Into > > jk_endpoint_t::service > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (403)]: Into > > ajp13_marshal_into_msgb > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (537)]: > > ajp13_marshal_into_msgb > > - Done > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (206)]: > > sending to ajp13 > > #334 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (645)]: > send_request 2: > > request body to send 0 - request body to resend 0 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (258)]: received from > > ajp13 #47 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (584)]: > > ajp13_unmarshal_response: status = 404 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (591)]: > > ajp13_unmarshal_response: Number of headers is = 2 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (634)]: > > ajp13_unmarshal_response: Header[0] [Content-Type] = [text/html] > > [Mon Jun 10 18:51:00 2002] [jk_ajp13.c (634)]: > > ajp13_unmarshal_response: Header[1] [Content-Length] = [171] > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (258)]: received from > > ajp13 #175 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (258)]: received from > > ajp13 #2 > > [Mon Jun 10 18:51:00 2002] [jk_ajp13_worker.c (549)]: Into > > jk_endpoint_t::done > > > > * In tc.log > > > > After tomcat load : ( there is no www.test.net, normal ? ) > > 2002-06-10 19:00:25 - ContextManager: Tomcat configured and > in stable > > state > > 2002-06-10 19:00:25 - ContextManager: Adding www.test.fr:/ROOT > > 2002-06-10 19:00:25 - ContextManager: Adding www.test.com:/ROOT > > > > When i call www.test.net/index.jsp : > > 2002-06-10 19:00:53 - ContextManager: Host = www.test.net > > 2002-06-10 19:00:53 - ContextManager: Assertion failed: > > container==null > > (no Default Context?) > > 2002-06-10 19:00:53 - Ctx() : Status code:404 request:R( /index.jsp) > > msg:null > > > > > > Any ideas ? > > > > > > > -----Message d'origine----- > > > De : Larry Isaacs [mailto:[EMAIL PROTECTED]] > > > Envoyé : lundi 10 juin 2002 18:47 > > > À : 'Tomcat Users List' > > > Objet : RE: Tomcat 3.3.1/Apache Virtual Host and Alias > > > > > > > > > Check the mod_jk log and make sure the www.test.net requests > > > are being forwarded to Tomcat. If so, set the debug level > > > on <SimpleMapper1> in server.xml to "1" and examine the > > > Tomcat log to see how the www.test.net requests are being > > > handled differently from www.test.com requests. I currently > > > don't see anything in your config files that would cause this > > > not to work. > > > > > > Note that the debug attributes should be set a numeric value > > > rather than "info". I would guess this would be equivalent > > > to setting it to zero. > > > > > > Cheers, > > > Larry > > > > > > > -----Original Message----- > > > > From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, June 10, 2002 12:27 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: Tomcat 3.3.1/Apache Virtual Host and Alias > > > > > > > > > > > > Hi, > > > > > > > > I've Tomcat 3.3.1 and Apache running together with mod_jk. > > > > > > > > I'm trying to setup alias for VirtualHost in the tomcat > > > configuration > > > > but it doesnot work. > > > > > > > > * Here what i have in httpd.conf : > > > > > > > > NameVirtualHost 192.168.1.125:80 > > > > > > > > <VirtualHost 192.168.1.125:80> > > > > DocumentRoot c:/adeuza/sites/fortunoclic > > > > ServerName www.test.fr > > > > ErrorLog c:\tmp\apache-error-testfr.log > > > > CustomLog c:\tmp\apache-access-testfr.log common > > > > </VirtualHost> > > > > > > > > <VirtualHost 192.168.1.125:80> > > > > DocumentRoot c:/adeuza/sites/test > > > > ServerName www.test.com > > > > ServerAlias www.test.net > > > > ErrorLog c:\tmp\apache-error-testcom.log > > > > CustomLog c:\tmp\apache-error-testcom.log common > > > > </VirtualHost> > > > > > > > > * And my apps-testfr.xml > > > > > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > <webapps> > > > > <Host name="www.test.fr" address="192.168.1.125:80"> > > > > <Context path="/" > > > > docBase="c:/adeuza/sites/fortunoclic" > > > > debug="info"> > > > > </Context> > > > > </Host> > > > > </webapps> > > > > > > > > * And my apps-testcom.xml > > > > > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > <webapps> > > > > <Host name="www.test.com" address="192.168.1.125:80"> > > > > <alias name="www.test.net" /> > > > > <Context path="/" > > > > docBase="c:/adeuza/sites/test" > > > > debug="info"> > > > > </Context> > > > > </Host> > > > > </webapps> > > > > > > > > > > > www.test.fr and www.test.com are ok. > > > www.test.net can display the correct html files but it > > cannot find the > > > jsp and servlet > > > > > > > > > > > > Michenaud Laurent > > > - Adeuza - > > > [ Développeur Web - Administrateur Réseau ] > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:tomcat-user-> [EMAIL PROTECTED]> > > For > > additional commands, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>