Author |
Message
|
sunny_30 |
Posted: Thu Dec 11, 2014 12:11 pm Post subject: CCDT setup with ConnectionNameList issue |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
Configured CCDT clntconn channel with ConnectionNameList set for ConnName. Weight/affinity set to 1/None.
Connection load-balancing (for multiple subsequent connections) works well if I test using rfhutilc. Connection to multiple Qmanagers round-robins fine.
But on a machine where MQclient program connects using Java classes (not the full MQ client install, uses ccdturl, MQ jars in app directory), it always seem to connect to 1st QM in the ConnectionNamelist. Load balancing doesn't kickin. The program is coded to issue multiple connections.
Could it be that the ConnectionNamelist isn't supported when MQclient isn't installed ?
Thanks in advance |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Dec 11, 2014 4:14 pm Post subject: Re: CCDT setup with ConnectionNameList issue |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
sunny_30 wrote: |
But on a machine where MQclient program connects using Java classes (not the full MQ client install, uses ccdturl, MQ jars in app directory), it always seem to connect to 1st QM in the ConnectionNamelist. Load balancing doesn't kickin. The program is coded to issue multiple connections. |
You have an unsupported configuration. Unexpected behavior can be expected. Unless you are running with MQ 8 and took MQ 8 specific directions to get the MQ jar files only.
sunny_30 wrote: |
Could it be that the ConnectionNamelist isn't supported when MQclient isn't installed ? |
That's not the issue, this is:
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.con.doc/q017800_.htm?lang=en _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
sunny_30 |
Posted: Fri Dec 12, 2014 7:18 am Post subject: |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
Thank you Peter.
Why isn't it supported? The Appserver we are dealing with is Mule. They say they cant set classpath to IBM MQ Java path. What they are telling me is that they'd have to 'copy' specific Jars they require into their own App directory.
Still troubleshooting the issue with load-balancing. I have setup the same program in my local eclipse and was able to recreate the issue. I have full client but only copied those Jars that Mule had it on their end. I guess its probably missing a Jar it requires for that...No clue yet. MQver: 7502 |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 12, 2014 7:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If it's an appserver, you should be using the resource adapter. |
|
Back to top |
|
 |
sunny_30 |
Posted: Fri Dec 12, 2014 7:41 am Post subject: |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
I was told there is no Mule adapter for MQ
will it be supported if Mule Java classpath is updated to include all MQ Jars as below:
%MQ_JAVA_INSTALL_PATH%/lib/*.jar |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Dec 12, 2014 9:56 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
sunny_30 |
Posted: Fri Dec 12, 2014 1:49 pm Post subject: |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
Thanks for the links Peter. I have proposed full MQclient install and referencing Jars from there
however getting back to the problem on hand as per your 3rd link the issue we are facing isn't with reconnection. It is that the multiple simultaneous connections opened by the client are not load-balancing out to the dual QManagers the CCDT is pointing to. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 12, 2014 2:02 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You could be running into a number of things, including a connection pool, or otherwise connection caching such that when you ask for two connections, you only get one that is shared between the two things that asked for them. |
|
Back to top |
|
 |
|