Author |
Message
|
lucac |
Posted: Wed Nov 17, 2004 6:57 am Post subject: Using IBM Directory Integrator to connect to MQ |
|
|
 Newbie
Joined: 17 Nov 2004 Posts: 9 Location: Italy
|
Does anybody has experience with IBM Directory Integrator and MQSeries?
I'm beginning to try to connect my IDI to MQ to get some messages from a queue.
I'm using the "ibmdi.IBM-MQ" connector, but it is not clear (for us) how it works (for example, there is afield for ip address and TCP port, but there is not a field for the QManager name).
Thanks for any help and suggestions.
Luca |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 17, 2004 7:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If it's making a client connection, and it allows you to specify a channel name, a hostname/ip address, and a port...
Then you don't need a queue manager name. Listeners are always only associated with one queue manager, and listeners can't share the same port. So channel+ip+port = unique identifier for queue manager. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
lucac |
Posted: Wed Nov 17, 2004 7:28 am Post subject: Using IBM Directory Integrator to connect to MQ |
|
|
 Newbie
Joined: 17 Nov 2004 Posts: 9 Location: Italy
|
Perfect! I suspected it was therefore; I tried to use channel+ip+port , but the connection failed.
I tried to connect to the same QM from anothere way; I used a perl program and it works (of course I used the same channel).
Now the question is: the perl module MQSeries needs MQclient and MQSDK to work.
Does IDI need the same components installed?
Thnaks.
Luca |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 17, 2004 7:30 am Post subject: Re: Using IBM Directory Integrator to connect to MQ |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
lucac wrote: |
Does IDI need the same components installed? |
I don't know.
What is the error the connector returns? Is the connector a Java connector, or a C connector? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
lucac |
Posted: Wed Nov 17, 2004 7:37 am Post subject: Using IBM Directory Integrator to connect to MQ |
|
|
 Newbie
Joined: 17 Nov 2004 Posts: 9 Location: Italy
|
I've not any error message... IDI remains waiting for the connection. I tried to run the connector in debug mode... but nothing message about connection was diplayed.
The connector is a Java connector... and it is a native MQ connector of IDI.
Unfortunanetly the documentation in my hand is very poor and this connector is not explained (on IBM site I did not find other documentation about it).
Luca |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 17, 2004 7:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay, if it's a java connector, you should check that the CLASSPATH contains the Java mq classes.
I'd think, though, if that were the problem that it would throw an exception rather than keep waiting for the connection.
Did your perl tests take place on the same machine as the connector, or a different one?
Also, look on the queue manager machine for errors on that side. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
lucac |
Posted: Wed Nov 17, 2004 8:53 am Post subject: |
|
|
 Newbie
Joined: 17 Nov 2004 Posts: 9 Location: Italy
|
yes, I tried the perl program form antoher computer (IDI is installed on a W2000 system.... Perl program is running on a Linux system).
However I'm investigating about MQ Java classes; I discovered IDI comes without some MQ classes, so I installed MQ client and I copied MQ classes into the correct directory. Now I receveid the follow Java exception:
java.lang.ClassNotFoundException:com.ibm.di.connector.JMSConnector
I suppose not all Java classes are correct.... but I think I'm going to the correct way.
Thanks.
Luca |
|
Back to top |
|
 |
lucac |
Posted: Tue Nov 23, 2004 1:37 am Post subject: Using IBM Directory Integrator to connect to MQ |
|
|
 Newbie
Joined: 17 Nov 2004 Posts: 9 Location: Italy
|
Hi forum, I'm working now and I can read an MQ queue from ITDI.
I instaled MQ Client and I copied the follow four files in
IBM Tivoli Directory Integrator jars directory:
- com.ibm.mqjms.jar
- com.ibm.mq.jar
- jms.jar
- connector.jar
Moreover, I installed the ITDI patch 008 (JVM fix) and then Fixpack 2 to ITDI 5.2.
Bye.
Luca |
|
Back to top |
|
 |
|