You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org> on 2006/03/23 02:45:23 UTC
[jira] Closed: (TUSCANY-106) web.xml is illegal (doesn't confirm to
J2EE spec) in the tomcat testcase
[ http://issues.apache.org/jira/browse/TUSCANY-106?page=all ]
Jeremy Boynes closed TUSCANY-106:
---------------------------------
Resolution: Fixed
Patch applied - thanks
> web.xml is illegal (doesn't confirm to J2EE spec) in the tomcat testcase
> ------------------------------------------------------------------------
>
> Key: TUSCANY-106
> URL: http://issues.apache.org/jira/browse/TUSCANY-106
> Project: Tuscany
> Type: Bug
> Components: Java SCA Tomcat Integration
> Reporter: Raymond Feng
> Assignee: Jeremy Boynes
> Priority: Minor
>
> The web.xml cannot pass validation due to the element ordering.
> Here's the patch:
> Index: sca/tomcat/src/test/resources/app2/WEB-INF/web.xml
> ===================================================================
> --- sca/tomcat/src/test/resources/app2/WEB-INF/web.xml (revision 384134)
> +++ sca/tomcat/src/test/resources/app2/WEB-INF/web.xml (working copy)
> @@ -7,6 +7,14 @@
> <param-name>org.apache.tuscany.core.webapp.ModuleComponentName</param-name>
> <param-value>testContext</param-value>
> </context-param>
> + <filter>
> + <filter-name>TuscanyFilter</filter-name>
> + <filter-class>org.apache.tuscany.core.webapp.TuscanyRequestFilter</filter-class>
> + </filter>
> + <filter-mapping>
> + <filter-name>TuscanyFilter</filter-name>
> + <servlet-name>TestServlet</servlet-name>
> + </filter-mapping>
> <listener>
> <listener-class>org.apache.tuscany.core.webapp.TuscanyServletListener</listener-class>
> </listener>
> @@ -18,12 +26,4 @@
> <servlet-name>TestServlet</servlet-name>
> <url-pattern>/servlet</url-pattern>
> </servlet-mapping>
> - <filter>
> - <filter-name>TuscanyFilter</filter-name>
> - <filter-class>org.apache.tuscany.core.webapp.TuscanyRequestFilter</filter-class>
> - </filter>
> - <filter-mapping>
> - <filter-name>TuscanyFilter</filter-name>
> - <servlet-name>TestServlet</servlet-name>
> - </filter-mapping>
> </web-app>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira