Author |
Message
|
chris boehnke |
Posted: Tue Jul 14, 2009 8:33 am Post subject: MQ client |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
Hi Guys,
Can an application connect to MQ server in client mode though the MQ client is not installed on the box where we have application?
Thanks |
|
Back to top |
|
 |
zpat |
Posted: Tue Jul 14, 2009 9:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
How could that be possible? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jul 14, 2009 9:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
zpat |
Posted: Tue Jul 14, 2009 9:13 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
That's a protocol bridge.
To me "client mode" means that the application has connected using the MQI (directly or via JMS) over a MQ client channel. |
|
Back to top |
|
 |
chris boehnke |
Posted: Tue Jul 14, 2009 9:15 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
if application uses MQ API and has the client libraries in the application directory is it possible to connect to MQ queue manager?
If application uses client libraries, what all client libraries must be copied?
Is it required to set any environement variables?
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jul 14, 2009 9:22 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Just install the client.
Really.
Anything else is a maintenance and change control nightmare. |
|
Back to top |
|
 |
chris boehnke |
Posted: Tue Jul 14, 2009 9:44 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
mqjeff wrote: |
Just install the client.
Really.
Anything else is a maintenance and change control nightmare. |
ok I would install client.
But I am not sure if application can use client libraries in their own directory and connect to the MQ queue manager. Because, I see there is no MQ client on the server and application directory has client library.
Can you guys pls let me know if application can connect like what I mentioned above? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jul 14, 2009 10:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It depends on what you mean by "client libraries".
It's *possible*.
It's always *a bad idea*.
What version are those libraries? Are you sure? how do you update them? |
|
Back to top |
|
 |
chris boehnke |
Posted: Tue Jul 14, 2009 10:11 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
mqjeff wrote: |
It depends on what you mean by "client libraries".
It's *possible*.
It's always *a bad idea*.
What version are those libraries? Are you sure? how do you update them? |
com.ibm.mq.jar they are version 6
I didn't update, I was looking into the server and found them |
|
Back to top |
|
 |
zpat |
Posted: Tue Jul 14, 2009 10:18 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Java apps don't need the full client, but copying the IBM MQ jar files means they will get forgotten about and not updated. |
|
Back to top |
|
 |
chris boehnke |
Posted: Tue Jul 14, 2009 10:33 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
zpat wrote: |
Java apps don't need the full client, but copying the IBM MQ jar files means they will get forgotten about and not updated. |
Can you let me know what all libraries they require? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 14, 2009 10:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
chris boehnke wrote: |
zpat wrote: |
Java apps don't need the full client, but copying the IBM MQ jar files means they will get forgotten about and not updated. |
Can you let me know what all libraries they require? |
Everything from under <mqinstall>/java/lib  _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Tue Jul 14, 2009 11:22 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You want help not to follow our advice? |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Jul 14, 2009 8:16 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
I don't think that copying jars is supported anymore, is it? I thought that IBM wants a proper client installation.
At least, that's the story I've been telling everyone at my site. Encourages them to listen to my opinions about how to install those darn jar files...
 |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 15, 2009 12:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
SAFraser wrote: |
I don't think that copying jars is supported anymore, is it? I thought that IBM wants a proper client installation.
At least, that's the story I've been telling everyone at my site. Encourages them to listen to my opinions about how to install those darn jar files...
 |
It's a grey area. The recommended way is a full install, but I believe support will be offered if you've just installed the jar files.
Probably "do a full client install and call us back if it still doesn't work"
The advantages of doing a full install over just dumping the jar files in the classpath are many, and have been enumerated on the forum.
It's certainly the best way, and I congratulate you on your crusade. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|