Silly me...
This was a bizarre problem because everything was working fine when
accessing port 8080 but not through IIS. It turns out that my
isapi_redirect.dll was out of date. Downloading the latest version fixed
everything....
Eric
-----Original Message-----
From: Eric Wu
Sent: August 3, 2001 5:43 PM
To: Struts User Mailing List (E-mail)
Subject: Struts with Tomcat/IIS: *.do not recognized
I am having a problem with Struts running under Tomcat(JBoss) and IIS on NT
4. I have installed the Jakarta ISAPI filter and I have no problems
handling *.jsp but the server does not seem to recognize *.do
The isapi.log recognizes the request but does not appear to be redirecting
it to the Tomcat worker:
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
/medalliance/start.do
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
with NULL
. . .
When I try to invoke an action from a form, I get an HTTP Error 405:
The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have the proper MIME type
set up for the resource you are requesting.
I have configured uriworkermap.properties as follows:
# Medalliance (test)
/medalliance/*.jsp=ajp12
/medalliance/*.do=ajp12
The web.xml for my web app is as follows:
<web-app>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<display-name></display-name>
<description></description>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<url-pattern>*.do</url-pattern>
<servlet-name>action</servlet-name>
</servlet-mapping>
</web-app>
What have I missed?
Eric Wu
Java Architect
GlobalMedic Inc., a Canadian Medical Association subsidiary
8200 Decarie Blvd., Suite 205
Montreal, Qc.
Canada, H4P 2P5
Tel: (514) 738-6770 Ext. 239
Fax: (514) 738-4827
Email: [EMAIL PROTECTED]
Web: <http://www.globalmedic.com/>
Gold Medal Winner at the 2000 WWW Health Awards