Author |
Message
|
cheekag |
Posted: Fri May 14, 2010 1:12 pm Post subject: MQ Java Client on linuxconnecting to MQ server on mainframe |
|
|
Newbie
Joined: 14 May 2010 Posts: 3
|
I am new to MQ. I need help in connecting to queue manager on the mainframe. I am writing a standalone java client which runs on linux machine and retrieves messages from the queue manager running on a mainframe.
Please let me know if I have to do anything dfiferent to connect to the queue manager on a different machine.
Appreciate your help.
Thanks
Cheeka |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 14, 2010 1:34 pm Post subject: Re: MQ Java Client on linuxconnecting to MQ server on mainf |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
cheekag wrote: |
Please let me know if I have to do anything dfiferent to connect to the queue manager on a different machine.
|
You need to review & follow the instructions in the Clients manual (and the relevant parts of the Java manual) to establish a client connection.
You'll also need to know the client configuration established on the mainframe (or have one established for you).
This all assumes that the CAF is opperational on the mainframe & it can accept client connections. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
cheekag |
Posted: Mon May 17, 2010 7:13 am Post subject: |
|
|
Newbie
Joined: 14 May 2010 Posts: 3
|
Thanks for your reply. Is there a link to the manual? All the queues are setup on the mainframe. What is CAF?
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 17, 2010 7:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
cheekag wrote: |
Is there a link to the manual? |
It's in the Infocenter along with all the other manuals. There's a link at the top of this page.
cheekag wrote: |
All the queues are setup on the mainframe. |
Useful but not relevant to your question.
cheekag wrote: |
What is CAF? |
Client Attachment Facility - an optional piece of software that allows a mainframe queue manager to receive client connections. Ask your sys prog about it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
cheekag |
Posted: Mon May 24, 2010 9:06 am Post subject: |
|
|
Newbie
Joined: 14 May 2010 Posts: 3
|
Thanks for the reply. I am trying to install MQ Client V7.0 in linux. I downloaded the linux tar file and installed it. All the jar files like mq.jar, mqjms.jar which are required for a stand alone java application to put and read messages are not there.
Do I need to download extended transactional client to install these jar files.
Is there a link where I can download these jar files?
Thanks
Cheeka |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 24, 2010 9:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
cheekag wrote: |
Do I need to download extended transactional client to install these jar files. |
Only if you want to use the extended transactional client's extended facilities.
cheekag wrote: |
Is there a link where I can download these jar files?
|
Well if you've downloaded the client already you've presumably already found the link. If you want the ETC jar files and they're not in the download you have (which I thought they were) then you get the link by paying IBM the license fee for ETC.
But I thought the Java ETC was in the standard client these days. However, Java's not my thing & I could be mistaken. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 24, 2010 9:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you don't find the com.ibm.mq.jar file in your /opt/mqm after install, then you didn't install the mq java rpm. |
|
Back to top |
|
 |
|