This looks correct.
What version of Tomcat and Apache did you upgrade from? Are you *sure*
you can hit your /servlet/* URLs going directly to Tomcat? Just to be
sure: you're aware of the invoker servlet changes that Tim sent a URL to,
right (that the invoker is disabled by default)?
justin
At 12:35 PM 1/6/2004, you wrote:
>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)
______________________________________________
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)