Dan Smith 5 Posted November 8, 2016 Share Posted November 8, 2016 I'm trying to connect BW 6 to IBM MQ 7.5 via JMS. - First, I copied the IBM JMS jar files toTIBCO_HOMEbw6.3configdesignthirdpartyJMS. From there I'm able to create a JNDI resource and a JMS Connection that pass the test connection in Business Studio. com.ibm.mq.headers.jar com.ibm.mq.jar com.ibm.mq.jmqi.jar com.ibm.mqjms.jar dhbcore.jar fscontext.jar jndi.jar ldap.jar providerutil.jar- Next, Icopied the same filestoTIBCO_HOMEbw6.3configdriversshellsjms.ibmmq.runtimeruntimepluginscom.tibco.bw.sharedresource.jms.runtime.ibmmq.clientlib. - I run bwinstall ibmmq-drivers. Here's the output : Buildfile: C:tibco_homebw6.3scriptsbwinstall.xml ibmmq-driver: -init-bw: -get-ibmmq-driver-name: -install-ibmmq-driver: [copy] Copying 1 file to C:tibco_homebw6.3extshared [copy] Copying C:tibco_homebw6.3configdriversshellsjms.ibmmq.runtimecom .tibco.bw.sharedresource.jms.runtime.ibmmq.client.link.TEMPLATE to C:tibco_homebw 6.3extsharedcom.tibco.bw.sharedresource.jms.runtime.ibmmq.client.link setup-bwthor-launch: -setup-bwthor-launch: [setupbwthorlaunch] ==>TIBCO Home: C:/tibco_home [setupbwthorlaunch] ==>BW Home: C:/tibco_homebw/6.3 [setupbwthorlaunch] ==>BW Thor provisioning properties: C:/tibco_home/eclipse-platfo rm/bundlepool/1.0/org.eclipse.equinox.p2.touchpoint.eclipse/plugins/com.tibco.bw .thor.launch_1.3.200.001/provisioning.properties ==>INFO: Scanning bundles under: C:tibco_homebw6.3systemhotfixlibcommon ==>INFO: Scanning bundles under: C:tibco_homebw6.3systemlibcommon ==>INFO: Scanning bundles under: C:tibco_homebw6.3systemhotfixshared ==>INFO: Scanning bundles under: C:tibco_homebw6.3systemshared ==>INFO: Scanning bundles under: C:tibco_homebw6.3systemhotfixpalettes ==>INFO: Scanning bundles under: C:tibco_homebw6.3systempalettes [setupbwthorlaunch] ==>INFO: Link : com.tibco.bw.sharedresource.jms.runtime.ibmm q.client.link, Name: 'IBM MQ OSGI Bundle', Location: /C:/tibco6/bw/6.3/config/dr ivers/shells/jms.ibmmq.runtime/ ==>INFO: Scanning bundles under: C:tibco_homebw6.3configdriversshellsjms.ibmm q.runtimehotfixruntimeplugins ==>INFO: Scanning bundles under: C:tibco_homebw6.3configdriversshellsjms.ibmm q.runtimeruntimeplugins [copy] Copying 1 file to C:tibco_homeeclipse-platformbundlepool1.0org.ecli pse.equinox.p2.touchpoint.eclipsepluginscom.tibco.bw.thor.launch_1.3.200.001 [copy] Copying 1 file to C:tibco_homeeclipse-platformbundlepool1.0org.ecli pse.equinox.p2.touchpoint.eclipsepluginscom.tibco.bw.thor.launch_1.3.200.001 [copy] Copying 1 file to C:tibco_homeeclipse-platformbundlepool1.0org.ecli pse.equinox.p2.touchpoint.eclipsepluginscom.tibco.bw.thor.launch_1.3.200.001 [copy] Copying 1 file to C:tibco_homeeclipse-platformbundlepool1.0org.ecli pse.equinox.p2.touchpoint.eclipsepluginscom.tibco.bw.thor.launch_1.3.200.001 [copy] Copying 1 file to C:tibco_homeeclipse-platformbundlepool1.0org.ecli pse.equinox.p2.touchpoint.eclipsepluginscom.tibco.bw.thor.launch_1.3.200.001 install-ibmmq-driver: BUILD SUCCESSFUL- The bundle (com.tibco.bw.sharedresource.jms.runtime.ibmmq.client...) is available in Business studio in Run Configurations/Bundles, but when I run the application, I get ajava.lang.NullPointerException : Caused by: com.tibco.bw.core.runtime.ActivityInitException: TIBCO-BW-CORE-500618: Failed to initialize the activity [JMSSendMessage] in process [myprocess], module [MyModule] due to unexpected activity lifecycle error at com.tibco.bw.core.runtime.bx.BWBxActivityBridgeImpl.init(BWBxActivityBridgeImpl.java:633) ~[na:na] at com.tibco.bx.core.behaviors.BxProcessTemplateInstance.initActivities(BxProcessTemplateInstance.java:309) ~[na:na] at com.tibco.bx.core.behaviors.BxProcessTemplateInstance.init(BxProcessTemplateInstance.java:289) ~[na:na] at com.tibco.bx.core.behaviors.BxProcessTemplateSingleton.init(BxProcessTemplateSingleton.java:178) ~[na:na] at com.tibco.bx.core.service.BxExtExecServiceAgentImpl.init(BxExtExecServiceAgentImpl.java:309) ~[na:na] at com.tibco.bw.core.runtime.BWComponentHandleImpl.initComponent(BWComponentHandleImpl.java:212) ~[na:na] ... 33 common frames omitted Caused by: java.lang.NullPointerException: null at com.tibco.bw.sr.jms.runtime.decorators.unified.JMSConnectionFactoryWrapper.00000(JMSConnectionFactoryWrapper.java:137) ~[na:na] at com.tibco.bw.sr.jms.runtime.decorators.unified.JMSConnectionFactoryWrapper.createTopicConnection(JMSConnectionFactoryWrapper.java:458) ~[na:na] at com.tibco.bw.sr.jms.runtime.decorators.unified.JMSConnectionFactoryWrapper.createTopicConnection(JMSConnectionFactoryWrapper.java:445) ~[na:na] at com.tibco.bw.jms.shared.primitives.JMSSender.o00000(JMSSender.java:327) ~[na:na] at com.tibco.bw.jms.shared.primitives.JMSSender.init(JMSSender.java:97) ~[na:na] at com.tibco.bw.palette.jms.runtime.send.JMSSendActivity.init(JMSSendActivity.java:67) ~[na:na] at com.tibco.bw.core.runtime.bx.BWBxActivityBridgeImpl.init(BWBxActivityBridgeImpl.java:609) ~[na:na] ... 38 common frames omittedAnyone has an idea Link to comment Share on other sites More sharing options...
Nazila Massoodi Posted April 26, 2017 Share Posted April 26, 2017 Please try with the latest BW version (BW6.3.5) to see if you still experiencethe same issue. Link to comment Share on other sites More sharing options...
Thomas Malcherek 2 Posted January 8, 2020 Share Posted January 8, 2020 Did you get it solved the problem with using a newer version of BW6 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now