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

Classloading Issue For W-MQ JMS 1.1 Client Library

XMLWordPrintable

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

      There are at least 2 ways to install the app.

      JBossFuse:karaf@root> features:addurl file${PATH_TO_DOWNLOADED_DIR}/features.xml
      JBossFuse:karaf@root> features:install wmq
      JBossFuse:karaf@root> osgi:list -t 0 | grep -i jms
      [ 199] [Active     ] [            ] [       ] [   80] JMS API (2.0.1)
      [ 242] [Active     ] [Created     ] [       ] [   80] Apache Karaf :: JMS :: Core (2.4.0.redhat-630187)
      [ 243] [Active     ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: spring-jms (3.2.16.RELEASE_2)
      [ 244] [Active     ] [            ] [       ] [   50] camel-jms (2.17.0.redhat-630187)
      [ 245] [Active     ] [Created     ] [       ] [   80] Apache Karaf :: JMS :: Command (2.4.0.redhat-630187)
      [ 295] [Active     ] [            ] [       ] [   80] JMS prereq Plug-in (7.5.0.2)
      [ 297] [Active     ] [            ] [       ] [   80] JMS client Plug-in (7.5.0.2)
      JBossFuse:karaf@root> osgi:uninstall 199
      JBossFuse:karaf@root> features:uninstall jms-spec
      JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar
      Bundle ID: 302
      JBossFuse:karaf@root> osgi:list
      [ 302] [Active     ] [Created     ] [       ] [   80] reproducer (1.0.0.SNAPSHOT)
      
      JBossFuse:karaf@root> features:addurl file:${PATH_TO_DOWNLOADED_DIR}/features.xml
      JBossFuse:karaf@root> features:install wmq
      JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar
      //fail
      Restart Fuse
      // this time, the application bundle's status is "ACTIVE"
      
      Show
      There are at least 2 ways to install the app. JBossFuse:karaf@root> features:addurl file${PATH_TO_DOWNLOADED_DIR}/features.xml JBossFuse:karaf@root> features:install wmq JBossFuse:karaf@root> osgi:list -t 0 | grep -i jms [ 199] [Active ] [ ] [ ] [ 80] JMS API (2.0.1) [ 242] [Active ] [Created ] [ ] [ 80] Apache Karaf :: JMS :: Core (2.4.0.redhat-630187) [ 243] [Active ] [ ] [ ] [ 30] Apache ServiceMix :: Bundles :: spring-jms (3.2.16.RELEASE_2) [ 244] [Active ] [ ] [ ] [ 50] camel-jms (2.17.0.redhat-630187) [ 245] [Active ] [Created ] [ ] [ 80] Apache Karaf :: JMS :: Command (2.4.0.redhat-630187) [ 295] [Active ] [ ] [ ] [ 80] JMS prereq Plug-in (7.5.0.2) [ 297] [Active ] [ ] [ ] [ 80] JMS client Plug-in (7.5.0.2) JBossFuse:karaf@root> osgi:uninstall 199 JBossFuse:karaf@root> features:uninstall jms-spec JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar Bundle ID: 302 JBossFuse:karaf@root> osgi:list [ 302] [Active ] [Created ] [ ] [ 80] reproducer (1.0.0.SNAPSHOT) JBossFuse:karaf@root> features:addurl file:${PATH_TO_DOWNLOADED_DIR}/features.xml JBossFuse:karaf@root> features:install wmq JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar //fail Restart Fuse // this time, the application bundle's status is "ACTIVE"
    • Hide
      • setup Fuse 6.3 (6.3.0.redhat-187)
      • download reproducer.jar and features.xml
      • download wmq installer from
        http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev75_linux_x86-64.tar.gz
      • Install it by following instruction here
        https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.ins.doc/q009010_.htm
      • start karaf container
        JBossFuse:karaf@root> features:addurl file:/${PATH_TO_DOWNLOADED_DIR}/features.xml
        JBossFuse:karaf@root> features:install wmq
        JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar
        Bundle ID: 302
        JBossFuse:karaf@root> osgi:list
        [ 302] [Active     ] [Failure     ] [       ] [   80] reproducer (1.0.0.SNAPSHOT)
        

        fuse.log

        15:38:43,328 | ERROR | l Console Thread | BlueprintContainerImpl           | 23 - org.apache.aries.blueprint.core - 1.4.5 | Unable to start blueprint container for bundle reproducer/1.0.0.SNAPSHOT
        org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: targetConnectionFactory, getter: null, setter: [class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.setTargetConnectionFactory(interface javax.jms.ConnectionFactory)]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:963)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        	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.4.5]
        	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        	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.4.5]
        	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        	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.4.5]
        	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        	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.4.5]
        	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:247)
        	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
        	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:688)
        	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:383)
        	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:270)
        	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)
        	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)
        	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)
        	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
        	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
        	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
        	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
        	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
        	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)
        	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)
        	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)
        	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)
        	at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
        	at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:51)
        	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_131]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131]
        	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131]
        	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.5]
        	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.5]
        	at org.apache.karaf.shell.console.commands.$BlueprintCommand496522261.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187]
        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                   :-  SYSTEM.DEF.SVRCONN
        |   |   XMSC_WMQ_CLEANUP_INTERVAL          :-  3600000
        |   |   XMSC_WMQ_CLEANUP_LEVEL             :-  1
        |   |   XMSC_WMQ_CLIENT_RECONNECT_OPTIONS  :-  0
        |   |   XMSC_WMQ_CLIENT_RECONNECT_TIMEOUT  :-  1800
        |   |   XMSC_WMQ_CLONE_SUPPORT             :-  0
        |   |   XMSC_WMQ_CONNECTION_MODE           :-  0
        |   |   XMSC_WMQ_CONNECTION_NAME_LIST_INT  :-  
        |   |   |   0  :-  localhost(1414)
        |   |   XMSC_WMQ_CONNECTION_TAG            :-  [B@531a25b1
        |   |   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          :-  5000
        |   |   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             :-  
        |   |   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.AggregateConverter.convert(AggregateConverter.java:184)
        	at org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRepository.java:402)
        	at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert(ReflectionUtils.java:396)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:630)
        	at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:380)[23:org.apache.aries.blueprint.core:1.4.5]
        	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:961)[23:org.apache.aries.blueprint.core:1.4.5]
        	... 76 more
        
      Show
      setup Fuse 6.3 ( 6.3.0.redhat-187 ) download reproducer.jar and features.xml download wmq installer from http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev75_linux_x86-64.tar.gz Install it by following instruction here https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.ins.doc/q009010_.htm start karaf container JBossFuse:karaf@root> features:addurl file:/${PATH_TO_DOWNLOADED_DIR}/features.xml JBossFuse:karaf@root> features:install wmq JBossFuse:karaf@root> osgi:install -s file:${PATH_TO_DOWNLOADED_DIR}/reproducer.jar Bundle ID: 302 JBossFuse:karaf@root> osgi:list [ 302] [Active ] [Failure ] [ ] [ 80] reproducer (1.0.0.SNAPSHOT) fuse.log 15:38:43,328 | ERROR | l Console Thread | BlueprintContainerImpl | 23 - org.apache.aries.blueprint.core - 1.4.5 | Unable to start blueprint container for bundle reproducer/1.0.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: targetConnectionFactory, getter: null, setter: [class org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.setTargetConnectionFactory(interface javax.jms.ConnectionFactory)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:963)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) 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.4.5] at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) 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.4.5] at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) 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.4.5] at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:955)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) 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.4.5] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:247) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:688) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:383) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:270) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263) at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429) at org.apache.felix.framework.Felix.startBundle(Felix.java:2100) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:51) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131] at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.5] at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.5] at org.apache.karaf.shell.console.commands.$BlueprintCommand496522261.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630187] 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 :- SYSTEM.DEF.SVRCONN | | XMSC_WMQ_CLEANUP_INTERVAL :- 3600000 | | XMSC_WMQ_CLEANUP_LEVEL :- 1 | | XMSC_WMQ_CLIENT_RECONNECT_OPTIONS :- 0 | | XMSC_WMQ_CLIENT_RECONNECT_TIMEOUT :- 1800 | | XMSC_WMQ_CLONE_SUPPORT :- 0 | | XMSC_WMQ_CONNECTION_MODE :- 0 | | XMSC_WMQ_CONNECTION_NAME_LIST_INT :- | | | 0 :- localhost(1414) | | XMSC_WMQ_CONNECTION_TAG :- [B@531a25b1 | | 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 :- 5000 | | 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 :- | | 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.AggregateConverter.convert(AggregateConverter.java:184) at org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRepository.java:402) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert(ReflectionUtils.java:396)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:630) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:380)[23:org.apache.aries.blueprint.core:1.4.5] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:961)[23:org.apache.aries.blueprint.core:1.4.5] ... 76 more

      Although "Red Hat JBoss Fuse Supported Standards" says Fuse 6.x only supports JMS 1.1, any application which uses W-MQ JMS 1.1 Client library will fail to install into a karaf container.
      https://access.redhat.com/articles/375743

        1. features-9010.xml
          0.9 kB
        2. blueprint.xml
          2 kB
        3. imb9_part2.zip
          11.20 MB
        4. imb9_part1.zip
          14.10 MB
        5. reproducer-modified.jar
          4 kB

              atarocch@redhat.com Andrea Tarocchi
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: