Author |
Message
|
mqhans |
Posted: Thu Dec 04, 2003 11:42 pm Post subject: Two different versions of MQ client on the same machine? |
|
|
Newbie
Joined: 18 Apr 2002 Posts: 8
|
Hello
Is there a way to install two different versions of WebSpere MQ clients (5.2 and 5.3) on the same machine (Sun Solaris)?
Thanks for any advice. |
|
Back to top |
|
 |
kman |
Posted: Fri Dec 05, 2003 1:37 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
That is not supported. You cannot have two versions installed on the same system. If you read the Quick Beginnings guide carefully, you'll notice the statements "You cannot change this". It was referring to the installation path. |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Dec 05, 2003 6:59 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
I think it would be possible since the clients are just libs, you would have
to link your applications with the different libs, of course it may require some more changes than that to get it to install on Sun, not sure have only installed a couple of times on sun, but that was along time ago.
The only other issue depends on if libmqic has calls to other mqlibs inside of it. Which on HPUX I know I could remap. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mqhans |
Posted: Tue Dec 09, 2003 8:04 am Post subject: |
|
|
Newbie
Joined: 18 Apr 2002 Posts: 8
|
Thank you for the answer. What exactly did you have to remap? |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Dec 09, 2003 1:11 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
On HPUX I can remap libs with a command chatr, which I dont think is available with Sun, not sure. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Dec 09, 2003 1:52 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Jeff, its been a long while that i played with a Solaris box, but i think this may not be possible(i may be wrong, correct me if i am).
Reason being, any installation is more or less a package on solaris and when you issue pkginfo, it would say you already have an Mq client install(irrespective of the location). And since the installation name(MQ Client) doesnt change, the next time you go ahead and try to install, even if its a different location, OS would come back saying there is already a package with that name installed.
Just my 2 Cents.
Cheers
Kumar |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Dec 09, 2003 7:25 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
I agree with that but in order to make this work, you wouldnt use the install procedure to get both installed at the same time. Unlike the server which has several process's running, the client has no process's running
they are just calls from the application into lib code which establish a Socket Connection to QMGRS on another box.
You may(MAY) be able have both libs copied into different spots and link
to them to your program with the different version.
It would take sometime to test this theory and I do not have enough Sun
exp. . I may try this on HPUX, just to see if I can do it, Iam about 75% confident it can be done. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mqhans |
Posted: Tue Dec 09, 2003 11:23 pm Post subject: |
|
|
Newbie
Joined: 18 Apr 2002 Posts: 8
|
That's exactly what we are going to try. We have a standard WebSphere MQ Client 5.3 installation. We copied the libs from a 5.2 Mq client on the same server into another directory and set the lib-path as following:
export LD_LIBRARY_PATH=/export/home/mqm/lib:$LD_LIBRARY_PATH
after we tested to open a connection (via AMQCLCHL.TAB file) we got an error while reading the ccsid.tbl file. We were using the amqsputc sample programm from the 5.2 version.
We then copied the ccsid.tbl file from a 5.2 mq client. What we now get is a 2059 when we try to open a connection with the amqsputc program.
If we are using the same amqsputc sample program (version 5.2) and link it with the 5.3 librarys it works fine.
We now don't further know what can be done. |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Dec 10, 2003 9:35 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well you may need to relink the v5.2 program with the libs in the new dir.
Also there is a lib libmqmcs that is loaded dynamicly (HPUX) that will need to be pointed to the other dir. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|