tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avnish Pundir" <apun...@cisco.com>
Subject Re: mod_jk /examples/* works but /servlet/* doesn't
Date Fri, 21 Jun 2002 14:40:36 GMT
Hi Brendan,
with JkMount /*/servlet/* ajp13, debug files shows following lines. And maps
root (/) to tomcat which is not what I want :(
[jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /.jsp=ajp13 was added
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /=ajp13 was added

Tried others combinations too but it seems * is totally ignored. for example
with directive JkMount /servlet/** ajp13
[jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /.jsp=ajp13 was added
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=ajp13 was added



Hi John,
I have my tomcat properly configured(Everything default config). I m able to
get all contents with localhost:8080 successfully and even with directive
/examples/servlet/*.
>From log file I came to know localhost/examples/servlet/<anything> is not
being forwarded to tomcat at all.

I would like to know if any one has ever configured tomcat with apache using
"JkMount /servlet/* ajp13" and if yes, on which platform?

Thanks
Avnish
----- Original Message -----
From: <Brendan.Richards@lowelive.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, June 21, 2002 7:50 PM
Subject: Re: mod_jk /examples/* works but /servlet/* doesn't




Or perhaps it would be even better to try:

JkMount /*/servlet/* ajp13

or:
JkMount **/servlet/* ajp13

Brendan

--------------------------------------------

I don't know if this will work or not...

but have you tried:

JkMount /servlet/** ajp13

If it works, let me know...

Brendan

--------------------------------------------

Hi Everyone,
Recently I have connected apache with tomcat using mod_jk. In my httpd.conf
file I am giving this directive.
JkMount /examples/* ajp13

It works perfectly fine but problem is it forwards all requests to apache.
I
want static requests to be handled by Apache.
As per documentation only these two directives should be sufficient
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

But with above config I am not able to get my servlets working. From mod_jk
logs (after changing log level to debug) I came to know these requests are
not being forwarded to tomcat and apache try to handle these requests
itself
:(
I tried with this directive instead
JkMount /examples/servlet/* ajp13

And it's working perfectly. But with this everytime I add new context, I
have to add new directive for this context's servlet :(.  I don't want
that.
Document says "JkMount /servlet/* ajp13"  should work but isn't working !!
Any idea why.
I have tried all combinations */servlet/*, *servlet/* but no use.
I am using apache 1.3.24, Tomcat 4.0.2, JDK 1.3, Windows 2000

Any help would be greatly appreciated.

Thanks
Avnish


--
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>




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message