Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4380

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1, 2.1.2, 2.1.3
    • 2.1.4
    • 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.

      Attachments

        Activity

          People

            jbohn Joseph Alan Bohn
            jbohn Joseph Alan Bohn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: