You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Everitt, Andrew" <An...@gbr.xerox.com> on 1999/12/20 17:38:46 UTC

RE: Tomcat and the Apache proxy module - BUG

I have done some more research and found that an identical request passed
via ajpv12 works on JServ 1.1b3 but fails with the following message on
Tomcat 3.0:
  Error: 400
  HTTP method POST is not supported by this URL

All I can say for sure is that this is a difference in behaviour between
JServ and Tomcat, Is this a known problem ? Is it a bug or a change ?

Thanks,
Andi.

> -----Original Message-----
> From: Everitt, Andrew [mailto:Andrew.Everitt@gbr.xerox.com]
> Sent: 20 December 1999 11:51
> To: 'general@jakarta.apache.org'
> Subject: Tomcat and the Apache proxy module
> 
> 
> 
> I asked this question late last week and didn't get a 
> response so I will try
> again. I think that I might have been unclear ;-)
> 
> I am trying to use Tomcat with Apache 1.3.9 and JServ 1.1b3 
> (ajpv12). I have
> been using our software (mostly servlets) with JServ 1.0 for some time
> (since June!) without any problems. When I replaced JServ 
> with Tomcat I
> started getting problem with POST requests made from one 
> servlet to another
> - I am getting a 400 error. After some playing I found it was 
> working OK
> directly from a browser. I think I have tracked the problem 
> down to the fact
> the we generate proxy style requests (this is for convenience 
> so we can just
> send all HTTP requests to one known server which then proxies). I have
> Apache 1.3.9 configured with mod_proxy, I think the problem is that a
> request like:
> 
> POST http://thishost/servlets/LoggingServlet HTTP/1.0 ... etc
> 
> is being passed to Tomcat which doesn't handle it properly. 
> When it gets a
> 'normal' type request e.g.
> 
> POST /servlets/LoggingServlet HTTP/1.0 ... etc
> 
> all is fine. Does anyone have any ideas?
> 
> Thanks,
> Andi.
> ____________________
> Andrew Everitt
> Development Team
> Xerox Mobile Solutions, Cambridge. UK 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>