You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brian Husted <br...@ams.com> on 2003/07/29 18:53:21 UTC

Random 405 Http Error

Platform:        Weblogic 8.1
Proxy:             Apache
Application: Struts Release 1-1

Issue:

I am receiving an http 405 response on post attempts to a Struts 1-1
application.

Here is the post that is causing the 405 (or http method not allowed) from
the weblogic access log

192.168.2.21 - - [29/Jul/2003:10:14:12 -0400] "POST
/uboc-tl/executeQuery.do HTTP/1.1" 405 45

Here is a subsequent post that worked and returned a 200

192.168.2.21 - - [29/Jul/2003:10:17:23 -0400] "POST
/uboc-tl/executeQuery.do HTTP/1.1" 200 0

These Posts were sent from the same apache server and from the same
browser.
Once the 405 occurs, the problem continues to persist in the same browser
session by hitting refresh.  However, executing the same request in a
different browser seems to allow the request to be successful.

I have decompiled the default servlet for weblogic and discovered that if
the http method is not defined in the overriding servlet a 405 is returned.

Any ideas would be of great help!

Thanks
Brian



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Random 405 Http Error

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Would you by any chance be forwarding to a static resource in the case
where this fails, and a dynamic resource (or JSP page) when it succeeds?
If so, then the default servlet would indeed be an issue.

Craig

On Tue, 29 Jul 2003, Brian Husted wrote:

> Date: Tue, 29 Jul 2003 12:53:21 -0400
> From: Brian Husted <br...@ams.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: Random 405 Http Error
>
> Platform:        Weblogic 8.1
> Proxy:             Apache
> Application: Struts Release 1-1
>
> Issue:
>
> I am receiving an http 405 response on post attempts to a Struts 1-1
> application.
>
> Here is the post that is causing the 405 (or http method not allowed) from
> the weblogic access log
>
> 192.168.2.21 - - [29/Jul/2003:10:14:12 -0400] "POST
> /uboc-tl/executeQuery.do HTTP/1.1" 405 45
>
> Here is a subsequent post that worked and returned a 200
>
> 192.168.2.21 - - [29/Jul/2003:10:17:23 -0400] "POST
> /uboc-tl/executeQuery.do HTTP/1.1" 200 0
>
> These Posts were sent from the same apache server and from the same
> browser.
> Once the 405 occurs, the problem continues to persist in the same browser
> session by hitting refresh.  However, executing the same request in a
> different browser seems to allow the request to be successful.
>
> I have decompiled the default servlet for weblogic and discovered that if
> the http method is not defined in the overriding servlet a 405 is returned.
>
> Any ideas would be of great help!
>
> Thanks
> Brian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org