You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Joe Bohn (JIRA)" <ji...@apache.org> on 2008/10/27 20:05:44 UTC

[jira] Created: (GERONIMO-4380) dom4j InvalidXPathException on the Tomcat Javaee5 assembly when deploying a Grails application

dom4j InvalidXPathException on the Tomcat Javaee5 assembly when deploying a Grails application
----------------------------------------------------------------------------------------------

                 Key: GERONIMO-4380
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4380
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.1.3, 2.1.2, 2.1.1
         Environment: Geronimo Javaee5 Tomcat assembly ... any OS
            Reporter: Joe Bohn
            Assignee: Joe Bohn


When attempting to deploy a Grails application into a Geronimo Javaee 5 Tomcat assembly the deployment fails with an InvalidXPathException from dom4j.

This error can be avoided by including the following hidden-class entry in the geronimo-web.xml.
        <hidden-classes>
            <filter>org.jaxen</filter>
        </hidden-classes>

However, this really should not be necessary.  We encounter the problem because the Axis2 configuration included in the tomcat javaee5 assembly includes a dependency on jaxen which is included in the application classloader as a result of the axis2 default environment that is attached to the application.  It appears this dependency is really not necessary so the fix in Geronimo would be to remove that dependency.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4380) dom4j InvalidXPathException on the Tomcat Javaee5 assembly when deploying a Grails application

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bohn resolved GERONIMO-4380.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4

> dom4j InvalidXPathException on the Tomcat Javaee5 assembly when deploying a Grails application
> ----------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4380
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4380
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.1, 2.1.2, 2.1.3
>         Environment: Geronimo Javaee5 Tomcat assembly ... any OS
>            Reporter: Joe Bohn
>            Assignee: Joe Bohn
>             Fix For: 2.1.4
>
>
> When attempting to deploy a Grails application into a Geronimo Javaee 5 Tomcat assembly the deployment fails with an InvalidXPathException from dom4j.
> This error can be avoided by including the following hidden-class entry in the geronimo-web.xml.
>         <hidden-classes>
>             <filter>org.jaxen</filter>
>         </hidden-classes>
> However, this really should not be necessary.  We encounter the problem because the Axis2 configuration included in the tomcat javaee5 assembly includes a dependency on jaxen which is included in the application classloader as a result of the axis2 default environment that is attached to the application.  It appears this dependency is really not necessary so the fix in Geronimo would be to remove that dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.