[progress Communities] [progress Openedge Abl] Forum Post: Re: Connect To Websphere Mq...

Status
Not open for further replies.
F

Fuelfire

Guest
It seems to be better already :) I compiled and packed this way: That's what's in the log when sonicMQ1 starts: Main >====================================================================== Main >(Mar 29, 2017 10:47:35:091) D:\OpenEdge\WRK\sonicMQ1.server.log opened. Main >(Mar 29, 2017 10:47:35:091) : Starts Adapter server logging. Main >(Mar 29, 2017 10:47:35:091) : LoggingLevel set to = 5 Main >(Mar 29, 2017 10:47:35:091) : The system property: sonicMQExtensions is set to false Main >(Mar 29, 2017 10:47:35:091) : The classpath is set to C:\Program Files\OpenEdge\java\progress.jar;C:\PROGRA~2\IBM\WEBSPH~1\java\lib\com.ibm.mqjms.jar;D:\Depo101\DPRO_31_10\MQ\AdminObjectFinder.jar Main >(Mar 29, 2017 10:47:35:124) : Reading jmsProvider.properties from location : C:\Program Files\OpenEdge\properties\jmsProvider.properties Main >: The AdminObjectFinder.getTopicConnectionFactory method is used for finding the TopicConnectionFactory object. (9301) Main >: The AdminObjectFinder.getQueueConnectionFactory method is used for finding the QueueConnectionFactory object. (9303) Main >: The AdminObjectFinder.getTopic method is used for finding the Topic objects. (9305) Main >: The AdminObjectFinder.getQueue method is used for finding the Queue objects. (9307) But when I start test_put.p Ireceive: S-0001>(Mar 29, 2017 10:51:37:538) 172.25.197.193::sonicMQ1::3620::fd5fb9d0e955d13d:2a8ce8b1:15b1908b614:-7fec: Startup Parameters: jmsServerName: Point-To-Point brokerURL: UNIQM user: swiftmq password: swiftmq clientID: null pingInterval: transactedPublish: false transactedReceive: false singleMessageAck: false symbiontAdapter: false jmsDomain: true S-0001>(Mar 29, 2017 10:51:37:543) S-0001: receive message queue size set to 10 S-0001>(Mar 29, 2017 10:51:37:545) S-0001: browse message queue size set to 500 S-0001>(Mar 29, 2017 10:51:37:546) : In SessionContainer() S-0001>: Connection factory with the name UNIQM not found in JNDI store. Printing stack trace: S-0001> java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.progress.messaging.jms.jms.getConnFactory(jms.java:516) at com.progress.messaging.jms.jms._connect(jms.java:240) at com.progress.javafrom4gl.implementation.JavaServlet. (JavaServlet.java:81) at com.progress.javafrom4gl.implementation.ServiceImpl.createConnectionServlet(ServiceImpl.java:106) at com.progress.ubroker.broker.ubServerThreadIPC.write(ubServerThreadIPC.java:432) at com.progress.ubroker.broker.ubASserverThread.processConnect(ubASserverThread.java:574) at com.progress.ubroker.broker.ubServerThread.processEvent(ubServerThread.java:1210) at com.progress.ubroker.broker.ubServerThread.mainline(ubServerThread.java:479) at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java:356) Caused by: javax.naming.NameNotFoundException: UNIQM at com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContext.java:400) at com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:327) at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146) at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127) at javax.naming.InitialContext.lookup(InitialContext.java:411) at jmsfromABL.AdminObjectFinder.getConnectionFactory(AdminObjectFinder.java:45) ... 13 more S-0001>(Mar 29, 2017 10:51:37:553) : Looking up ConnectionFactory in JNDI Object Store S-0001>(Mar 29, 2017 10:51:37:553) : Connection Factory object not found in JNDI Object Store. Creating using jmsProvider.properties file S-0001>(Mar 29, 2017 10:51:37:553) : Creating JMS connection factory with Broker URL as [ UNIQM ] S-0001>(Mar 29, 2017 10:51:37:937) : Setting Queue Manager UNIQM on Connection Factory Class com.ibm.mq.jms.MQConnectionFactory S-0001>(Mar 29, 2017 10:51:37:942) 172.25.197.193::sonicMQ1::3620::fd5fb9d0e955d13d:2a8ce8b1:15b1908b614:-7fec: Using connection values: 26,null,true,,true,false,-1,-1,false,0,false,false,,10000,0,30,false,60,0,20,0,,swiftmq,swiftmq,depotest2,localhost S-0001>(Mar 29, 2017 10:51:38:016) 172.25.197.193::sonicMQ1::3620::fd5fb9d0e955d13d:2a8ce8b1:15b1908b614:-7fec com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI. The Java(tm) MQI has thrown an exception describing the problem. See the linked exception for further information. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319) at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6863) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6254) at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:285) at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6189) at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:6245) at com.progress.messaging.jms.SessionContainer.createConnection(SessionContainer.java:1512) at com.progress.messaging.jms.SessionContainer.init(SessionContainer.java:303) at com.progress.messaging.jms.JmsConnection. (JmsConnection.java:39) at com.progress.messaging.jms.jms._connect(jms.java:279) at com.progress.javafrom4gl.implementation.JavaServlet. (JavaServlet.java:81) at com.progress.javafrom4gl.implementation.ServiceImpl.createConnectionServlet(ServiceImpl.java:106) at com.progress.ubroker.broker.ubServerThreadIPC.write(ubServerThreadIPC.java:432) at com.progress.ubroker.broker.ubASserverThread.processConnect(ubASserverThread.java:574) at com.progress.ubroker.broker.ubServerThread.processEvent(ubServerThread.java:1210) at com.progress.ubroker.broker.ubServerThread.mainline(ubServerThread.java:479) at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java:356) Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd64' was not found. For a client installation this is expected. [3=mqjbnd64] at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:315) at java.security.AccessController.doPrivileged(Native Method) at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:279) at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:242) at com.ibm.mq.jmqi.local.LocalMQ. (LocalMQ.java:1205) at com.ibm.mq.jmqi.local.LocalServer. (LocalServer.java:206) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:738) at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:672) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6855) ... 15 more Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd64 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1149) at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:290) ... 27 more

Continue reading...
 
Status
Not open for further replies.
Top