  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2 | invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2 2004-01-06 - By Maxime Pelletier
Back Hi,
My workers2.properties file have the following entries :
[uri:/*.jsp] info=Map to Tomcat All *.jsp In Default Context # context=/ # group=channel.un:/var/log/tomcat/intranet/intranet_jk2.socket group=ajp13:/var/log/tomcat/intranet/intranet_jk2.socket debug=0 disable=0
[uri:/*/.jsp] info=Map to Tomcat All *.jsp In All Contexts # context=/examples # group=channel.un:/var/log/tomcat/intranet/intranet_jk2.socket group=ajp13:/var/log/tomcat/intranet/intranet_jk2.socket debug=0 disable=0
[uri:/servlet/*] info=Map to Tomcat All Files in /servlet In Default Context context=/servlet # group=channel.un:/var/log/tomcat/intranet/intranet_jk2.socket group=ajp13:/var/log/tomcat/intranet/intranet_jk2.socket debug=0 disable=0
[uri:/*/servlet/*] info=Map to Tomcat All Files in /servlet of All Contexts # context=/servlet # group=channel.un:/var/log/tomcat/intranet/intranet_jk2.socket group=ajp13:/var/log/tomcat/intranet/intranet_jk2.socket debug=0 disable=0
My server.xml context (context for that app) is :
<Context path="" docBase="/home/httpd/html/intranet" debug="0" reloadable="true" crossContext="true"> <Resources className="org.apache.naming.resources.FileDirContext " allowLinking="true"/> </Context>
Any idea ?
Thanks Max
-- --Original Message-- -- From: Justin Ruthenbeck [mailto:justinr@(protected)] Sent: January 6, 2004 3:22 PM To: Tomcat Users List Subject: Re: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2
Since you're able to hit your servlets through the invoker when pointing to Tomcat directly, this sounds like a connector problem. Check your workers[2].properties to make sure you're passing requests for "/servlet" through to Apache.
justin
At 11:47 AM 1/6/2004, you wrote: >http://jakarta.apache.org/tomcat/faq/misc.html#invoker > >-Tim > > >Maxime Pelletier wrote: > >>Hi, >>We upgraded our tomcat to 4.1.29 and apache to 2.0.48 recently and we >>have >>lost access to all servlet invoked in the following form >>http://address/servlet/MyServlet >>the apache does no longer pass the request to the tomcat and result in >>a 404 >>error (processed by apache). >>When I use the tomcat only port the servlets are accessibles : >>http://address:tomcatport/servlet/MyServlet >>Does anyone have a solution to this ? > > >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) >For additional commands, e-mail: tomcat-user-help@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ___ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php __ ____ ____ ____ ____ ____ ____ ____ ____ ___
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |