ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Client upgrade - do apps need to be relinked?

Post new topic  Reply to topic
 MQ Client upgrade - do apps need to be relinked? « View previous topic :: View next topic » 
Author Message
dogbert64
PostPosted: Tue Jun 26, 2007 5:42 am    Post subject: MQ Client upgrade - do apps need to be relinked? Reply with quote

Acolyte

Joined: 11 Jun 2003
Posts: 58

I am in the process of upgrading the MQ Clients that our application servers have from 5.3 to 6.0.

My question is, do the applications need to be relinked to the 6.0 libraries when I do this or will they work with the 5.3 libraries linked to them as is?

I would like to be able to upgrade the MQ Clients on my timeline, and then have the developers link in the new 6.0 libraries the next time they elevate their code.

If you look at this: http://www-1.ibm.com/support/docview.wss?uid=swg24009961&rs=0&cs=utf-8&context=SSFKSJ&dc=D400&loc=en_US&lang=en&cc=US
it says this: The link between the application and the client code is established dynamically at runtime. which leads me to believe that an application with the 5.3 libraries linked to it will work with the 6.0 client.


As a test, I went to a server with the MQ 6.0 client installed, and found and renamed all instances of amqsputc.exe as well as amqsgetc.exe. I then copied amqsgetc.exe and amqsputc.exe from a server with the MQ 5.3 client to C:\Temp\. I verified that these executables could not be found in the System Path, and ran them out of C:\Temp\ successfully with successful MQGETs and MQPUTs.

This seems to indicate that it will work the way I would like it to, but I wanted to cast this to a wider crowd to see if anyone knows of a problem with my approach.

Also, I searched MQSeries.NET for a prior question on this subject but could not find any.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jun 26, 2007 6:19 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Most v6 installations are 64 bit by default... this means that the default libraries and etc that are available are 64bit by default.

A 32bit app is going to have trouble running 64bit libraries.

There are comments in the "Implications of a 64bit queue manager" in the Quick Beginnings Guide for various platforms about using the 32bit libraries for 32bit applications.

What you want should work, but you'll have to pay attention and be prepared for a surprise or two.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ourtown
PostPosted: Tue Jun 26, 2007 6:24 am    Post subject: Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

This isnt really an MQ question

When your applications are built with a specific library version it is always sensible to recompile them when the libraries change

You may be lucky or you may get errors that are very difficult to resolve when the history isnt known
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
dogbert64
PostPosted: Tue Jun 26, 2007 1:09 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2003
Posts: 58

FWIW, I opened an ETR with IBM today and received a prompt reply for this question. Here is their response:

Action Taken:
If you are not moving your application to a new platform then relinking
/compiling will not be necessary.
.
Action Plan:
Requeue PMR to customer for review and closure


I still have to read up on the Quick Beginnings section that JeffLowrey mentioned.

So based on IBM's response, I'll continue on as I was originally planning to do, and sleep with one eye open.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Jun 26, 2007 11:24 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

All the 32-bit libs are still available for apps to use, in /var/mqm/lib. The 64-bit libs are in /var/mqm/lib64, and are used by the qmgr and channel processes.

You can continue to use the apps without change, since the libs are still there. If you have any server-side channel exits, you will have to rebuild them 64-bit to load into the 64-bit channel processes running the MCA.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Client upgrade - do apps need to be relinked?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.