ServiceMix
  1. ServiceMix
  2. SM-2196

need also endorse activation-api spec jar

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      to avoid the error like
      Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addSwaRefAttachment(Ljavax/activation/DataHandlerLjava/lang/String;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/cxf/jaxb/attachment/JAXBAttachmentMarshaller, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/activation/DataHandler used in the signature
      > at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller

      as javax/activation/DataHandler need be loaded from bootloader anyway, so we shouldn't load it as a bundle

        Activity

        Freeman Fang created issue -
        Freeman Fang made changes -
        Field Original Value New Value
        Assignee Freeman Fang [ ffang ]
        Freeman Fang made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Freeman Fang added a comment -

        commit
        http://svn.apache.org/r1471233
        NOTES: this also need use change in specs 2.3-SNAPSHOT so also upgrade to spec 2.3-SNAPSHOT

        Show
        Freeman Fang added a comment - commit http://svn.apache.org/r1471233 NOTES: this also need use change in specs 2.3-SNAPSHOT so also upgrade to spec 2.3-SNAPSHOT
        Freeman Fang made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 5.0.0 [ 12324078 ]
        Resolution Fixed [ 1 ]
        Krzysztof Sobkowiak made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        40s 1 Freeman Fang 24/Apr/13 02:13
        In Progress In Progress Resolved Resolved
        2h 5m 1 Freeman Fang 24/Apr/13 04:18
        Resolved Resolved Closed Closed
        706d 14h 8m 1 Krzysztof Sobkowiak 31/Mar/15 18:27

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Freeman Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development