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 » IBM MQ Java / JMS » JBoss and Multi-instance queue manager

Post new topic  Reply to topic Goto page Previous  1, 2
 JBoss and Multi-instance queue manager « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Wed Oct 19, 2011 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message
LouML
PostPosted: Wed Oct 19, 2011 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 19, 2011 7:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
LouML
PostPosted: Wed Oct 19, 2011 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 19, 2011 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
LouML
PostPosted: Wed Oct 19, 2011 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Wed Jul 03, 2013 2:24 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Hi Lou,

I'm trying to help someone configure their JBoss server as posted here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=64693

Can you have a look and let me know how you configured your JBoss server to use MQ JNDI.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
flunab
PostPosted: Mon Nov 03, 2014 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » JBoss and Multi-instance queue manager
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.