Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1, 2.1.2, 2.1.3
-
None
-
Security Level: public (Regular issues)
-
None
-
Geronimo Javaee5 Tomcat assembly ... any OS
Description
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.