|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Client installation |
« View previous topic :: View next topic » |
Author |
Message
|
rmalghan |
Posted: Sat May 10, 2008 3:12 am Post subject: MQ Client installation |
|
|
Newbie
Joined: 09 May 2008 Posts: 8
|
Hi: I am trying to setup the MQSeries 6 client on Solaris so my application can talk to MQ Server (on a remote server). I am very new to MQ. I have installed the mq client using pkgadd and my MQ admin provided the below details. I have edited the /opt/mqm/java/bin/JMSAdmin.config to just have the following lines uncommented
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/var/mqm/jndi
SECURITY_AUTHENTICATION=none
I stored the bindings file my MQ admin provided in /var/mqm/jndi/JNDI.bindings
Are the steps correct? How do I test that I can connect to a que on the server?
Que Name: TRS.E0.CREATE.REMEDY1
Queue manager: SPB21T
MQ channel: REMEDY.CLIENT
IP: xxx.xx.xx.xx
Port: 1424
TIA
Ravi |
|
Back to top |
|
 |
bower5932 |
Posted: Sat May 10, 2008 1:13 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If all you want to do is test your connection to the queue manager, then I'd suggest that you use the MQSERVER environment variable and try connecting with one of the samples.
After that, you can switch to JMS (which is what your append looks like). |
|
Back to top |
|
 |
rmalghan |
Posted: Sat May 10, 2008 2:50 pm Post subject: |
|
|
Newbie
Joined: 09 May 2008 Posts: 8
|
I have set the MQSERVER to
MQSERVER=CHANNEL1/TCP/'xx.xx.xx.xx(1424)'; export MQSERVER
Where can I find the samples and can you give me a example with the syntax?
Thanks
bower5932 wrote: |
If all you want to do is test your connection to the queue manager, then I'd suggest that you use the MQSERVER environment variable and try connecting with one of the samples.
After that, you can switch to JMS (which is what your append looks like). |
|
|
Back to top |
|
 |
Vitor |
Posted: Sat May 10, 2008 3:11 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rmalghan wrote: |
Where can I find the samples and can you give me a example with the syntax?
|
The sample code will be on the server install with the queue manager - ask your MQ admin.
Failing that, there's a link at the top of this page. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|