When I am connecting to websphere MQ I got this error message - "Error connecting to the JMS AppServer service".
Please find the attachments for setups and programs are used for testing the IBM MQ.
3. Testing sample code
4. Sonimq server log.
Other than ubroker and adminserverplugin properties, do I need to any other changes or any setup is required in websphere MQ?
Thanks in advance.
In order to connect Queue Manager no need to generate jar file from AdminObjectFinder.java, jar requires only if we are connecting remote MQ.
Follow the below steps to connect QueueManager.
1) Provide the MQ Client jar in pluginspath and classpath under [PluginPolicy.Progress.SonicMQ] section in AdminServerPlugins.properties file
2) Start the AdminServer and SonicMQ Adapter
3) Start QueueManger from IBM MQ
4) Provide the QueueManger name in procedure to connect and run it.
Hope this helps!
You have provided Queue Manager and Queue name as "TestQueueManger" that may causing the problem. Try create queue name other than queue manager name as "SampleQ1" .
I have created queue manager only, do we need to create the queue's separately ?.
If yes from which option we need to create?
We need create queues after creating Queue Manger. You will find the option expanding Queue Manger to create the queues.
There is no expand option , please find the attached screen.
You will find the expand option after starting the Queue Manager, seems you have not started the Queue Manger. After starting the Queue Manger create the queue from Quques> New > Local Queue option.
I have started the Queue, please find the status from previous screen.
Do I need to start the queue or connect the Queue?, My Queue is not connected when I am trying to connect it is giving below error.
From the previous screen it shows just created the QueueManger but it is not started. We need to start the QueueManager but not the queue. Start the QueueManger and create the queue and use the same queue in the procedure to produce/consumer the messages.
when I try to restart the MQ manager it is saying that it is running, I restarted the MQ manager, MQ explorer and system even though I am unable to expand the queue manager.Please see the below messages for MQ manager status.
C:\Program Files\IBM\WebSphere MQ\bin64>strmqm TestQueueManager
WebSphere MQ queue manager running.
C:\Program Files\IBM\WebSphere MQ\bin64>
When you start Queue Manager you will get symbol to expand. Please find the below screen shot for reference.
Thanks for the confirmation.
Yes your correct.Even I have read in the one of the website also, But I am unable to see that.
Let me reinstall the websphere MQ, I will check and I will let you know.
Do we have any issue with windows 2012?
IBM WebSphere MQ Explorer
(c) Copyright IBM Corporation and other(s) 1994, 2014.
This product is Built on Eclipse™ ( )
windows server 2012 R2 Dataceneter
I have identified the issue , we need run websphere service as a local system account.If we run like this we will be have full permissions.
Please find the screen for the same.
Thanks for your help.
Now I am able to complete the testing successfully with QueueManger both IBM MQ and OpenEdge adapter in same machine.
Now I want to connect to remote MQ, Could you please suggest me how can I go ahead and what are all the steps I need to take care.
In Order to make remote connection with WebSpherMQ follow the below steps:
1) Create Connection factory in WebSphereMQ server2) Create Client-connection Channel from Channels under Queue Manager3) Create Client Channel Definition Table (CCDT) and it will be located at <WebSphereMQInstallation>\Qmgrs\RemoteQM\@ipcc\AMQCLCHL.TAB4) Now, install the WebSphereMQ client on client machine and create .bindings file by providing the location of .TAB file.
Create AdminObjectFinder.java file and specify the location of .bindings file as value to PROVIDER_URL property along with username and password. We can use the INITIAL_CONTEXT_FACTORY value as "com.sun.jndi.fscontext.RefFSContextFactory". Generate the class file from java and packet that class in jar and provide the generated jar file in pluginclasspath and classpath under [PluginPolicy.Progress.SonicMQ].
Hope this helps!!
I am able to createconnection factory and client channel, I am unable to create CCDT.
How to create the Create Client Channel Definition Table (CCDT) and I have AMQCLCHL.TAB file. Please find the attached file for the same.