Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-8279

JIRA 3.3 and above does not work on JBoss 4.0.0 due to classloader problems with urlrewrite filter

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • JBoss 4.0.0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      JIRA will not work on JBoss 4.0.0. It dies on startup with this error:

      2005-10-18 15:32:54,466 DEBUG [tomcat.localhost./jira.Context]  Starting filter 'UrlRewriteFilter'
      2005-10-18 15:32:54,716 ERROR [org.apache.commons.digester.Digester] Begin event threw exception
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.tuckey.web.filters.urlrewrite.Rule
            at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
            at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:463)
            at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252)
            at org.apache.commons.digester.Rule.begin(Rule.java:200)
            at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      

      Evidently the JBoss copy of Commons Digester is being used in preference to JIRA's (in violation of the servlet spec) and so Digester cannot see the org.tuckey.* classes in JIRA.

      This is fixed in JBoss 4.0.1 and above, where JBoss switched to a saner classloading model.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: