Apache reports error 405 Method Not Allowed
mikkSep 18 2008 — edited Sep 18 2008Hello, I have been attempting AJAX techniques on a portlet and am getting a weird error message in apache's access log. I checked the logs because the requestObject.open method I am using in some javascript was not returning any results.
Apache is reporting error '405 Method Not Allowed' on my attempts to connect to a servlet from a portlet.
I have found doc 427497.1 which gives three steps to solving this. The steps are to fix your hosts file, make sure your url does not resolve to a public address, and restart OC4J. But my hosts file is correct, and the url I have does not resolve to a public address.
I'm following the steps in Oracle's "Building Highly Interactive Portlets With AJAX".
This ajax test is being run deployed on OAS; not from JDeveloper. This OAS is infrastructure and middle-tier on same box. Portal, Forms and Reports are working great.
When I access the servlets url directly from my browser, it works. This error only happens when I attempt to access the servlet from a portlet.
Any ideas would be appreciated.