You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/07/27 21:31:14 UTC

[jira] Commented: (GERONIMO-2237) Filtering of springframework.org in TomcatDeployer plan creates CNF Exceptions in Ears

    [ http://issues.apache.org/jira/browse/GERONIMO-2237?page=comments#action_12423901 ] 
            
Aaron Mulder commented on GERONIMO-2237:
----------------------------------------

The problem we want to avoid is requiring every Spring user to have a geronimo-web.xml just to exclude Spring.

I'm open to other ways of doing this (like adding the filter at the EAR level instead of the WAR level if the WAR is in an EAR), but I don't want to go back to every Spring WAR needing geronimo-web.xml.

Best of all would be to get Spring out of the parent hierarchy of web apps so this problem just went away.

> Filtering of springframework.org in TomcatDeployer plan creates CNF Exceptions in Ears
> --------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2237
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2237
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.1
>            Reporter: Jeff Genender
>            Priority: Blocker
>             Fix For: 1.1.1
>
>
> Filtering of springframework.org in TomcatDeployer plan creates ClassNotFound Exceptions in Ears when it tries to use a component that uses Spring in the EAR.  We originally filtered this to automatically prevent Spring clashing with a server based Spring (from 1.0).  This was fine for wars but when used iun an ear, the web container is blocked from using the EAR version.  I recommend we remove these filters as SPrin is not usable in an EAR.  Recommended patch for configs/tomcat-deployer:
> Index: src/plan/plan.xml
> ===================================================================
> --- src/plan/plan.xml   (revision 426203)
> +++ src/plan/plan.xml   (working copy)
> @@ -46,10 +46,7 @@
>                          <type>car</type>
>                      </dependency>
>                  </dependencies>
> -                <hidden-classes>
> -                    <filter>antlr.</filter>
> -                    <filter>org.springframework.</filter>
> -                </hidden-classes>
> +                <hidden-classes/>
>                  <non-overridable-classes>
>                      <filter>java.</filter>
>                      <filter>javax.</filter>

-- 
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