|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
JBoss and Multi-instance queue manager |
« View previous topic :: View next topic » |
Author |
Message
|
mqjeff |
Posted: Wed Oct 19, 2011 6:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
have you tried
Code: |
connamelist('server1(1414)', 'server2(1414)') |
?  |
He did. The app couldn't connect. |
|
Back to top |
|
 |
LouML |
Posted: Wed Oct 19, 2011 6:58 am Post subject: |
|
|
 Partisan
Joined: 10 Nov 2005 Posts: 305 Location: Jersey City, NJ / Bethpage, NY
|
fjb_saper wrote: |
have you tried
Code: |
connamelist('server1(1414)', 'server2(1414)') |
?  |
InitCtx> def qcf(aQCF_SERVER1) qmgr(QM.SERVER.01) tran(client) chan(CH.SERVER.CLIENT) connectionnamelist('server1(1414)', 'server2(1414)')
Unable to bind object
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
InitCtx> def qcf(aQCF_SERVER1) qmgr(QM.SERVER.01) tran(client) chan(CH.SERVER.CLIENT) connnamelist('server1(1414)', 'server2(1414)')
Unable to create a valid object, please check the parameters supplied
JMSADM4125 QCF CONNNAMELIST
InitCtx> _________________ Yeah, well, you know, that's just, like, your opinion, man. - The Dude |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 19, 2011 7:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I see that in the successful attempt there is no space shown after the comma.
So if
Code: |
connectionnamelist('server1(1414)','server2(1414)') |
is not successful it is PMR time. _________________ MQ & Broker admin |
|
Back to top |
|
 |
LouML |
Posted: Wed Oct 19, 2011 7:18 am Post subject: |
|
|
 Partisan
Joined: 10 Nov 2005 Posts: 305 Location: Jersey City, NJ / Bethpage, NY
|
fjb_saper wrote: |
I see that in the successful attempt there is no space shown after the comma.
So if
Code: |
connectionnamelist('server1(1414)','server2(1414)') |
is not successful it is PMR time. |
Also no good.
Basically, the only JMSAdmin command that worked was a using single host(port).
Some of the attempts were accepted by JMSAdmin, but the CONNECTIONNAMELIST displayed with the dis qcf command was wrong.
On others, the command syntax was not even accepted.
Using MQExplorer, I was able to modify the Connection list field with: server1(1414),server2(1414) with no quotes at all.
I will try to get to a PMR when I get some free time (hopefully this week). _________________ Yeah, well, you know, that's just, like, your opinion, man. - The Dude |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Oct 19, 2011 8:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
just out of curiosity, is the jmsadmin on the same machine as the mq explorer, and thus at the same level of mq... ?
Maybe your JMSAdmin is not at mq 7.0.1.x? |
|
Back to top |
|
 |
LouML |
Posted: Wed Oct 19, 2011 9:33 am Post subject: |
|
|
 Partisan
Joined: 10 Nov 2005 Posts: 305 Location: Jersey City, NJ / Bethpage, NY
|
mqjeff wrote: |
just out of curiosity, is the jmsadmin on the same machine as the mq explorer, and thus at the same level of mq... ?
Maybe your JMSAdmin is not at mq 7.0.1.x? |
The JMSAdmin is on a Solaris server running 7.0.1.6
The MQ Explorer is on my desktop running 7.0.1.3 _________________ Yeah, well, you know, that's just, like, your opinion, man. - The Dude |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Jul 03, 2013 2:24 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
flunab |
Posted: Mon Nov 03, 2014 9:11 pm Post subject: |
|
|
Newbie
Joined: 19 Feb 2009 Posts: 2
|
LouML wrote: |
mqjeff wrote: |
just out of curiosity, is the jmsadmin on the same machine as the mq explorer, and thus at the same level of mq... ?
Maybe your JMSAdmin is not at mq 7.0.1.x? |
The JMSAdmin is on a Solaris server running 7.0.1.6
The MQ Explorer is on my desktop running 7.0.1.3 |
I was able to create a XA Connection Factory with JMSAdmin using the active/standby servers, that doesn't mean that will be a supported configuration, since in the the documentation states that CONNECTIONNAMELIST is not a valid option for XA ConectionFactory (XACF), you have to do some testing, this was the JMSAdmin command:
Code: |
DEF XACF(MyXACF) QMGR(MyQmgr) TRANSPORT(CLIENT) CHANNEL(MyChannel) CONNECTIONNAMELIST(hostA(1622),hostB(1622)) |
It's important not include single quotes or double quotes in the CONNECTIONNAMELIST because will raise errors, I mean this from below will generate errors:
Code: |
DEF XACF(MyXACF) QMGR(MyQmgr) TRANSPORT(CLIENT) CHANNEL(MyChannel) CONNECTIONNAMELIST('hostA(1622),hostB(1622)') |
For references see: http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.ref.dev.doc/q111970_.htm |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|