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 » General IBM MQ Support » CCDT setup with ConnectionNameList issue

Post new topic  Reply to topic
 CCDT setup with ConnectionNameList issue « View previous topic :: View next topic » 
Author Message
sunny_30
PostPosted: Thu Dec 11, 2014 12:11 pm    Post subject: CCDT setup with ConnectionNameList issue Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 11, 2014 4:14 pm    Post subject: Re: CCDT setup with ConnectionNameList issue Reply with quote

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
View user's profile Send private message
sunny_30
PostPosted: Fri Dec 12, 2014 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 12, 2014 7:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If it's an appserver, you should be using the resource adapter.
Back to top
View user's profile Send private message
sunny_30
PostPosted: Fri Dec 12, 2014 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 12, 2014 9:56 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You can't copy the jar files because:
http://www-01.ibm.com/support/docview.wss?uid=swg21376217

You can if you are MQ 8 because:
http://www-01.ibm.com/support/docview.wss?uid=swg21683398&myns=swgws&mynp=OCSSFKSJ&mync=E


It doesn't matter either way in what you are attempting if you are not using JMS because:
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
View user's profile Send private message
sunny_30
PostPosted: Fri Dec 12, 2014 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 12, 2014 2:02 pm    Post subject: Reply with quote

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
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 » General IBM MQ Support » CCDT setup with ConnectionNameList issue
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.