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

  • Thread starter Thread starter Anand Adike
  • Start date Start date
Status
Not open for further replies.
A

Anand Adike

Guest
Hi Fuelfire, We can find the connection factory information in sonicMQ1.server.log as shown below: Main >====================================================================== Main >(Mar 27, 2017 04:37:25:351) /largedisk/aadike/triage/linux64/117/4jptplongcharptp_WebsphereMQ.dir/sonicMQ1.server.log opened. Main >(Mar 27, 2017 04:37:25:351) : Starts Adapter server logging. Main >(Mar 27, 2017 04:37:25:351) : LoggingLevel set to = 5 Main >(Mar 27, 2017 04:37:25:351) : The system property: sonicMQExtensions is set to false Main >(Mar 27, 2017 04:37:25:351) : The classpath is set to /view/rdl117_linuxx86_64/vobs_prgs/linuxx86_64/dlc/java/progress.jar:/largedisk/aadike/MQShared/java/lib/com.ibm.mqjms.jar:/largedisk/aadike/triage/linux64/117/4jptplongcharptp_WebsphereMQ.dir/AdminObjectFinder.jar Main >(Mar 27, 2017 04:37:25:390) : Reading jmsProvider.properties from location : /view/rdl117_linuxx86_64/vobs_prgs/linuxx86_64/dlc/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) From the log it seems AdminObjectFinder.class file is not available under jmsfromABL package in AdminObjectFinder.jar file. Follow the below steps to generate AdminObjectFinder.jar file Step 1: Add the following lines in AdminObjectFinder.java env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put(Context.PROVIDER_URL, "file://D:/Depo101/DPRO_31_10//MQ"); env.put(Context.SECURITY_PRINCIPAL, "swiftmq"); env.put(Context.SECURITY_CREDENTIALS, "swiftmq"); Step 2: compile the java file using following command. javac -cp jms.jar:.: -d . AdminObjectFinder.java Step 3: Now, generate the jar file with below command. jav -cvf AdminObjectFinder.jar jmsfromABL Step 4: Place the generated jar file in classpath and pluginsclasspath in AdminServerPlugins.properties file. Step 5: Restart the AdminServer and sonicMQ1 broker. Please find the attached sample AdminObjectFinder.java. Hope this helps!! (Please visit the site to view this file) Thanks, Anand.

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