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

classloader mismatch associated with the IBM W-MQ versions of the javax.jms.XXX classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • jboss-fuse-6.3
    • None
    • None
    • % %
    • Hide

      osgi:update or a container restart after the first fail fixes the issue.

      Show
      osgi:update or a container restart after the first fail fixes the issue.
    • Hide

      Deploy a bundle using features:install command.

      Show
      Deploy a bundle using features:install command.

      If a bundle uses WMQ libraries, the first start of a container leads to a error with class loading as there are more than 1 javax.jms.ConnectionFactory class with the same name and version are available during WMQ libraries starting process.

      ERROR | rint Extender: 1 | BlueprintContainerImpl | 23 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle ...

      org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: targetConnectionFactory, getter: class org.springframework.jms.connection.SingleConnectionFactory.getTargetConnectionFactory(), setter: [class org.springframework.jms.connection.SingleConnectionFactory.setTargetConnecti
      onFactory(interface javax.jms.ConnectionFactory)]
      at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:963)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[23:org.apache.aries.blueprint.core:1.7.1]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:724)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:411)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[23:org.apache.aries.blueprint.core:1.7.1]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[23:org.apache.aries.blueprint.core:1.7.1]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
      at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      Caused by: java.lang.Exception: Unable to convert value | com.ibm.mq.jms.MQConnectionFactory :-

        XMSC_ADMIN_OBJECT_TYPE :- 20
        XMSC_ASYNC_EXCEPTIONS :- -1
        XMSC_CLIENT_ID :- <null>
        XMSC_CONNECTION_TYPE :- 1
        XMSC_CONNECTION_TYPE_NAME :- com.ibm.msg.client.wmq
        XMSC_RTT_DIRECT_AUTH :- 0
        XMSC_RTT_PROXY_HOSTNAME :- <null>
        XMSC_RTT_PROXY_PORT :- 443
        XMSC_WMQ_BROKER_CC_SUBQ :- SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE
        XMSC_WMQ_BROKER_CONTROLQ :- SYSTEM.BROKER.CONTROL.QUEUE
        XMSC_WMQ_BROKER_PUBQ :- SYSTEM.BROKER.DEFAULT.STREAM
        XMSC_WMQ_BROKER_QMGR :-
        XMSC_WMQ_BROKER_SUBQ :- SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
        XMSC_WMQ_CCDTURL :- <null>
        XMSC_WMQ_CF_DESCRIPTION :- <null>
        XMSC_WMQ_CHANNEL :- INT1.DEF.SVRCONN
        XMSC_WMQ_CLEANUP_INTERVAL :- 3600000
        XMSC_WMQ_CLEANUP_LEVEL :- 1
        XMSC_WMQ_CLIENT_RECONNECT_OPTIONS :- 16777216
        XMSC_WMQ_CLIENT_RECONNECT_TIMEOUT :- 2147483647
        XMSC_WMQ_CLONE_SUPPORT :- 0
        XMSC_WMQ_CONNECTION_MODE :- 1
        XMSC_WMQ_CONNECTION_NAME_LIST_INT :-
          0 :- SVICF0000026NP.example.local(1415)
        XMSC_WMQ_CONNECTION_TAG :- [B@3be2be4d
        XMSC_WMQ_CONNECT_OPTIONS :- 0
        XMSC_WMQ_HEADER_COMP :-
          0 :- 0
        XMSC_WMQ_LOCAL_ADDRESS :-
        XMSC_WMQ_MAP_NAME_STYLE :- true
        XMSC_WMQ_MAX_BUFFER_SIZE :- 1000
        XMSC_WMQ_MESSAGE_RETENTION :- 1
        XMSC_WMQ_MESSAGE_SELECTION :- 0
        XMSC_WMQ_MSG_BATCH_SIZE :- 10
        XMSC_WMQ_MSG_COMP :-
          0 :- 0
        XMSC_WMQ_OPT_PUB :- false
        XMSC_WMQ_OUTCOME_NOTIFICATION :- true
        XMSC_WMQ_POLLING_INTERVAL :- 1
        XMSC_WMQ_PROCESS_DURATION :- 0
        XMSC_WMQ_PROVIDER_VERSION :- unspecified
        XMSC_WMQ_PUB_ACK_INTERVAL :- 25
        XMSC_WMQ_QMGR_CCSID :- 819
        XMSC_WMQ_QUEUE_MANAGER :- ICF26NP15
        XMSC_WMQ_RECEIVE_EXIT :- <null>
        XMSC_WMQ_RECEIVE_EXIT_INIT :- <null>
        XMSC_WMQ_RECEIVE_ISOLATION :- 0
        XMSC_WMQ_RESCAN_INTERVAL :- 5000
        XMSC_WMQ_SECURITY_EXIT :- <null>
        XMSC_WMQ_SECURITY_EXIT_INIT :- <null>
        XMSC_WMQ_SEND_CHECK_COUNT :- 0
        XMSC_WMQ_SEND_EXIT :- <null>
        XMSC_WMQ_SEND_EXIT_INIT :- <null>
        XMSC_WMQ_SHARE_CONV_ALLOWED :- 1
        XMSC_WMQ_SPARSE_SUBSCRIPTIONS :- false
        XMSC_WMQ_SSL_CERT_STORES_COL :- <null>
        XMSC_WMQ_SSL_CERT_STORES_STR :- <null>
        XMSC_WMQ_SSL_CIPHER_SUITE :- <null>
        XMSC_WMQ_SSL_FIPS_REQUIRED :- false
        XMSC_WMQ_SSL_KEY_RESETCOUNT :- 0
        XMSC_WMQ_SSL_PEER_NAME :- <null>
        XMSC_WMQ_SSL_SOCKET_FACTORY :- <null>
        XMSC_WMQ_STATUS_REFRESH_INTERVAL :- 60000
        XMSC_WMQ_SUBSCRIPTION_STORE :- 1
        XMSC_WMQ_SYNCPOINT_ALL_GETS :- false
        XMSC_WMQ_TARGET_CLIENT_MATCHING :- true
        XMSC_WMQ_TEMPORARY_MODEL :- SYSTEM.DEFAULT.MODEL.QUEUE
        XMSC_WMQ_TEMP_Q_PREFIX :-
        XMSC_WMQ_TEMP_TOPIC_PREFIX :-
        XMSC_WMQ_USE_CONNECTION_POOLING :- true
        brokerVersion :- -1
        failIfQuiesce :- 1
        multicast :- 0
        version :- 7
        wildcardFormat :- 0 to type javax.jms.ConnectionFactory
      at org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRepository.java:411)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert(ReflectionUtils.java:396)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:630)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:380)[23:org.apache.aries.blueprint.core:1.7.1]
      at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:961)[23:org.apache.aries.blueprint.core:1.7.1]
      ... 23 more

              atarocch@redhat.com Andrea Tarocchi
              elomonos Evgenii Lomonosov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: