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

Misleading error when ra.xml is included in the RAR jar as well as the RAR

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 2.0-M7
    • Component/s: connector
    • Labels:
      None

      Description

      If someone accidentlly builds a jar with the ra.xml included and then includes that jar in a rar and tries to deploy it, the following error occurs -

      Caused by: java.lang.ClassFormatError: Repetitive interface name in class file org/mule/ra/MuleConnectionFactory$$Enhanc
      erByCGLIB$$3a4c63ea
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      ... 64 more

      While the ra.xml should not be in the jar in the first place, a more meaningful error could be given.

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              rossmason Ross Mason
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: