Author |
Message
|
kolban |
Posted: Mon Sep 03, 2001 5:27 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
A number of posters seem to find that when they have a local queue manager installed on the same machine as their MQSeries ActiveX program then they can not connect to a remote queue manager ...
Unfortunately, this appears to be by design. The following is extracted from the MQSeries Using COM manual:
| AccessQueueManager method
| Creates a new MQQueueManager object and connects it to a real queue manager
| by means of the MQSeries client or server. As well as performing a connect, this
| method also performs an open for the queue manager object.
| Note: When both the MQSeries server and client are installed on your system
| MQAX applications will always run against the server.
Basically, if an MQSeries Server IS installed on the same machine as the ActiveX program THEN that program can ONLY connect to the local queue manager.
Questions answered with this post: 4
[ This Message was edited by: kolban on 2002-02-23 07:51 ] |
|
Back to top |
|
 |
lounis |
Posted: Tue May 14, 2002 5:33 am Post subject: It still doesn't work .... |
|
|
 Newbie
Joined: 14 May 2002 Posts: 2 Location: France
|
I don't understand I have no MQSeries Server installed on the machine where is the ActiveX program but I still not manage to connect to a remote queue manager. I have the following error :
------------------------------------------------------------------------------------
MQAX200.MQQueueManager::Connect CompletionCode = 2, ReasonCode = 6000, ReasonName = MQRC_LIBRARY_LOAD_ERROR
------------------------------------------------------------------------------------
Thanks for your help. |
|
Back to top |
|
 |
mathiss |
Posted: Tue May 14, 2002 7:04 am Post subject: |
|
|
 Novice
Joined: 21 Jan 2002 Posts: 12 Location: Harrisburg, PA
|
Hi,
This error is not due to the activex component being on the server with the client but the error is being caused by the filepath name for mqseries. Check your setup. It is not being allowed to load the mqseries components. I ran into this setting up my original client.
Good Luck
Susan |
|
Back to top |
|
 |
lounis |
Posted: Tue May 14, 2002 8:27 am Post subject: |
|
|
 Newbie
Joined: 14 May 2002 Posts: 2 Location: France
|
Thanks for the help Mathiss,
In fact the problem is that I haven't installed correctly the MQSeries Client, but now it's available.
Now I have the following problem :
-----------------------------------------------------------------------------
MQAX200.MQQueueManager::Connect CompletionCode = 2, ReasonCode = 2035, ReasonName = MQRC_NOT_AUTHORIZED
-----------------------------------------------------------------------------
The problem is that I have MQSeries Server on a Windows NT controller domain, and I have MQSeries Client and IIS on a Windows 2000 workstation which is not in the domain ...
Do you have some ideas ????
Regards, Lounis. |
|
Back to top |
|
 |
NickB |
Posted: Tue Nov 19, 2002 4:27 am Post subject: Workaround for MQAX200 using client when server installed |
|
|
Centurion
Joined: 20 May 2001 Posts: 107 Location: Zurich Financial Services
|
We've hit the problem of trying to use MQAX200 in client mode when we also have a local qmgr installed - basically it will always try to load mqm.dll (i.e. assuming server) whereas you need to load mqic32.dll.
What we did was to rename "mqm.dll" to "mqm.eric" and then our app worked fine as obviously the loading algorithm is:
- try mqm.dll first
- then try mqic32.dll
contact admin, but works! |
|
Back to top |
|
 |
nimconsult |
Posted: Tue Nov 19, 2002 11:28 pm Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
Instead of renaming the dll you might simply set a different PATH to your application. This gives you the opportunity of running applications both in client mode and binding mode on the same machine.
Nicolas _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
Back to top |
|
 |
anjireddy_a |
Posted: Tue Oct 07, 2003 4:35 am Post subject: Queue model using client on windows 2000 for ASP application |
|
|
Newbie
Joined: 07 Oct 2003 Posts: 1
|
Hello
I have a requirement to implement Queue model for an online application (ASP) on Windows 2000/IIS5.0 to talk with an MQ queue on mainframe. I would like to know the following
1. What's the best MQ client on the online side ? Are there any free & reliable ActiveX DLLs or should I go for commercial ones like IBM MQ series client ?
2. If MQ client is used on the ASP application, how do we support fail-over mechanism, for example, when mainframe queue manager goes down, how does the client respond and when the queue manager is up, can the client detect the same and send messages?
Any help is most welcome. _________________ Regards
Anji |
|
Back to top |
|
 |
|