Author |
Message
|
Albator |
Posted: Tue Apr 06, 2004 6:09 pm Post subject: MQ Server 5.3 and Biztalk Adaptor for MQSeries |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
Hi everyone.
I have a configuration problem concerning Biztalk adaptor for MQseries. I am aware that this forum might not be the best place to ask this question since I assume it requires some biztalk experience but I am hoping that someone has some knowledge on this.
I am trying to send a message from an MQ Server (5.3) to a Biztalk Adaptor for MQSeries. Here is my configuration:
Server A has Win2k and IBM MQ Server 5.3 installed and
another server (B) with WIN2k server, Biztalk Server 2002, and Biztalk
Adaptor for MQSeries.
I (and also the developers) were unable to send messages from Server A to Server B (both servers
are on the same network with no firwall involved in between). I have a
feeling that the configuration HAS to be the following in order to
send a message from IBM MQ Server on server A to Biztalk on server B:
Server A: Win2k, IBM MQ Server 5.3
Server B: Win2K, Biztalk server 2002 AND MQ Server 5.3 AND Biztalk
Adaptor for MQSeries on the same box.
That was the only way we were able to send an IBM MQ message from Server
A to Server B (the IBM MQ Server on Server B receives the message, and
then sends it to the Biztalk Adaptor on the same server which sends the
message to Biztalk).
Is this the only way to do this?
I would appreciate ANY input!
Thank you all,
Sas |
|
Back to top |
|
 |
EddieA |
Posted: Wed Apr 07, 2004 9:31 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
Server A has Win2k and IBM MQ Server 5.3 installed and
another server (B) with WIN2k server, Biztalk Server 2002, and Biztalk
Adaptor for MQSeries. |
For this scenario to work, the Biztalk adapter has to run as an MQ Client. You would not "send" a message to Server B. You would put it on an MQ Queue in Server A, and the adapter would "get" the message from there.
Quote: |
Server A: Win2k, IBM MQ Server 5.3
Server B: Win2K, Biztalk server 2002 AND MQ Server 5.3 AND Biztalk
Adaptor for MQSeries on the same box. |
In this scenario, the Biztalk Adapter coulod work as either an MQ Client application or it could connect directly, in Bindings mode. Here the only "sending" of the mesage would be as far as an MQ Queue, this time on Server B. The Adapter would still have to "get" the message.
What errors do you get, and at what point. Connecting to MQ, or GETting the message.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Albator |
Posted: Wed Apr 07, 2004 10:22 am Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
Hi,
Thanks for the reply EddieA!
How do you make the Biztalk adaptor to "get" from a remote box which contains a local queue? I have tried so many things but I cannot have a message picked up by the biztalk adaptor unless the queue is a remote definition queue AND the queue is on the same box as the adaptor!
I am a total newbie and ANY help would be greately appreciated.
Thanks again,
Sas |
|
Back to top |
|
 |
EddieA |
Posted: Wed Apr 07, 2004 11:13 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
How do you make the Biztalk adaptor to "get" from a remote box which contains a local queue |
The Adapter (MQ) can only GET from a Local Queue. So, that queue has to be defined on the Queue Manager that the Adapter connects to. If the connection is a Client one, then that Queue Manager can be on the same box as the Adapter, or it can be a remote box. If the Adapter connects in Bindings mode, then the Adapter MUST be on the same box as the Queue Manager.
Quote: |
queue is a remote definition queue AND the queue is on the same box as the adaptor |
The queue cannot be a Remote one in MQ terms. You cannot GET from a Remote queue.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
HugoB |
Posted: Fri Apr 16, 2004 12:59 am Post subject: |
|
|
Acolyte
Joined: 26 Jun 2001 Posts: 67
|
As far as i remember the MQ adapter, from MS, for Biztalk to and from MQ cannot make client connections.
And the way you had to configure the adapter is also a bit weird, as seen from MQSeries knowledge point of view.
What we did was install MQ server on the Biztalk server machine.
This works OK. But i have to admit that we didn´t do a full research
on this. |
|
Back to top |
|
 |
zpat |
Posted: Tue Apr 27, 2004 6:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Due to the way MS have implemented the adapter - the options would seem to be install MQ for Windows (Queue Manager) on the Biztalk server or installing the MQhelper.DLL from Biztalk on to another Windows Queue manager.
It would be helpful if MS were to use the new .NET interface for the MQ client (5.3 CSD 5) so that Windows queue managers were not necessary. |
|
Back to top |
|
 |
Albator |
Posted: Tue May 04, 2004 11:23 am Post subject: good to know |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
All,
I am really HAPPY to inform you on this.
I was able to install IBM MQ Server on one box and Biztalk on a different box and make it work. The biztalk adaptor has 3 components, where 2 must be installed on the biztalk server and 1 (the MQHelper.dll) on the IBM MQ Box. The trick was to go in Component Services and change the login authentication for the Biztalk Adapter to a user that has access on both machines. You also need to open port 135 on the MQ Server since the MQHelper.dll is a DCOM. To my surprise, I was actually able to send messages from IBM MQ box to the Biztalk Server box even when all the MQ channels were STOPPED !!! Everything seems to be handled by the DCOM object.
My challenge now is to put all this on a cluster server. It gives me diarrhea just thinking about it...
Sas |
|
Back to top |
|
 |
HugoB |
Posted: Wed May 05, 2004 5:06 am Post subject: |
|
|
Acolyte
Joined: 26 Jun 2001 Posts: 67
|
Very valuable info this.
Nice tweaking I have to admit.
I knew that the adapter was for a big part (D)COM, since this is
almost the standard way BizTalk uses it's plugins/adapters |
|
Back to top |
|
 |
|