Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6774

"Duplicate interface name" in aries-proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-6.x-GA
    • jboss-fuse-6.3
    • Aries
    • None
    • % %
    • Hide

      Deploy any Blueprint XML that contains the following:

      <reference id="transactionManager" interface="org.apache.aries.transaction.AriesTransactionManager"/>
      
      Show
      Deploy any Blueprint XML that contains the following: <reference id= "transactionManager" interface = "org.apache.aries.transaction.AriesTransactionManager" />

      An application that uses Aries transaction manager fails on container start-up in Fuse 6.3.

      Caused by: org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Duplicate interface name in class file Proxy3636dfb0_3a9f_46d5_8eb4_32506b8a33ae
               at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:165)[20:org.apache.aries.proxy.impl:1.0.5]
               at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)[20:org.apache.aries.proxy.impl:1.0.5]
               at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)[20:org.apache.aries.proxy.impl:1.0.5]
               at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)[20:org.apache.aries.proxy.impl:1.0.5]
               at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)[20:org.apache.aries.proxy.impl:1.0.5]
               at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)[12:org.apache.aries.blueprint.core:1.6.2]
               at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:107)[12:org.apache.aries.blueprint.core:1.6.2]
      

      The problem seems to be new in version 1.0.5 of org.apache.aries.proxy.impl – a forcible downgrade to 1.0.4 seems to solve it. The issue is known upstream:

      https://issues.apache.org/jira/browse/ARIES-1618

            ggrzybek Grzegorz Grzybek
            rhn-support-kboone Kevin Boone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: