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 » Extracting necessary dll files from WMQ Client installation?

Post new topic  Reply to topic
 Extracting necessary dll files from WMQ Client installation? « View previous topic :: View next topic » 
Author Message
tucanen
PostPosted: Tue Oct 11, 2005 2:02 pm    Post subject: Extracting necessary dll files from WMQ Client installation? Reply with quote

Novice

Joined: 27 Jun 2005
Posts: 22
Location: Sweden

Hi,

First, a problem description:

I have written an application using the MQ C++ API and linked against the client version of the mq lib. the program works fine on computers with MQ client / MQ server installed.

Since this program is to be deployed on hundreds of windows workstations, the customer has expressed that it is a lot of work to install the MQ client installation on all the workstations. So I'm investigating if it is possible to extract the necessary MQ DLL files from an MQ Client installation and "ship" them with the appliaction in question. I have listed the dependancies for my application and included all the MQ DLL files referenced.

When trying to run the program on a machine with no MQ installation what so ever (as intended) I get the following error message on the console:

MQM could not display the text for error 536895891.

And also MQ result code 2195 (resolved to: unknown error)

I read in an earlier post that it might not be possible to accomplish a working solution by extracting the necessary DLL files from a client installation. - Is this true? It sure begins to look that way...

Now, I know it is easy to say "why don't you install the MQ client? it's free" - that is not the problem. It has to be installed on a couple of hundred hosts... So it would be very nice if this could work somehow..

What do you gurus think? theoretically and practically?
Have anyone succeeded in doing this?

Regards,

tucan bird flying high
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 11, 2005 2:44 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I wouldn't trust anything other than a full MQ client install.

If I were facing your requirements, I would write my app in Java, and include the MQ jar files in my jar. The Java client API is 100% pure java, and fully portable. The C++ API is not.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
hopsala
PostPosted: Tue Oct 11, 2005 3:19 pm    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Why not use silent installation? Write a simple script to silent install MQ Clients, put installation on some LAN drive, and run from all said workstations; I've never tried it with a client installation, but it should work.
Back to top
View user's profile Send private message
jangochi
PostPosted: Wed Oct 12, 2005 12:22 am    Post subject: Reply with quote

Novice

Joined: 10 Jan 2005
Posts: 14
Location: UK

Since you seem to have a big network, you could be having tools for mass installs. If you do package based install(script oriented) it could be fast and easy. If those are windows based machines, tools like netdeploy r handy. Cheers....
Back to top
View user's profile Send private message Yahoo Messenger
tucanen
PostPosted: Wed Oct 12, 2005 2:43 am    Post subject: Reply with quote

Novice

Joined: 27 Jun 2005
Posts: 22
Location: Sweden

Hi,

jefflowrey wrote:
I wouldn't trust anything other than a full MQ client install.

If I were facing your requirements, I would write my app in Java, and include the MQ jar files in my jar. The Java client API is 100% pure java, and fully portable. The C++ API is not.


Jeff, I see your point however, I described my c++ project as an application, which is actually missleading since it is a DLL developed in C++.
Sorry for not giving the full/correct info from the beginning.
The DLL is to be used by by another C++ program. Therefore, Java seems like a non-alternative at this point. Even though I personally generally prefer Java instead of C++.
Back to top
View user's profile Send private message
tucanen
PostPosted: Wed Oct 12, 2005 2:46 am    Post subject: Reply with quote

Novice

Joined: 27 Jun 2005
Posts: 22
Location: Sweden

Thank you all for your help.

I think I will try to get the customer to accept the MQ Client silent installation mass deployment solution. It really seems like the best solution.

/ the tucan dude
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 » Extracting necessary dll files from WMQ Client installation?
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.