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 » Search

 Search found 9 matches
Author Message
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 22, 2008 4:28 pm   Subject: Remote cluster queue not found (JNDI)
Thanks guys,

This is working great. I like the simple solution where you simply declare the JNDI reference without specifying the qmgr argument:

def q(QREMOTECLUSTER) queue(Q1)
...
  Topic: JMSAdmin problem (unable to bind NoSuchElementException)
lcsysoa

Replies: 1
Views: 2117

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 22, 2008 3:44 pm   Subject: JMSAdmin problem (unable to bind NoSuchElementException)
I found my problem. I didn't have a proper jre installed on that machine


[root@mq1 ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2 ...
  Topic: JMSAdmin problem (unable to bind NoSuchElementException)
lcsysoa

Replies: 1
Views: 2117

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 22, 2008 2:50 pm   Subject: JMSAdmin problem (unable to bind NoSuchElementException)
I'm trying to define a qcf using JMSAdmin.

My JMSAdmin.config reads:

INITIAL_CONTEXT_FACTORY=com.sun.jndi.ldap.LdapCtxFactory
PROVIDER_URL=ldap://myldapipaddress:389/dc=something,dc=com ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Mon Jan 21, 2008 3:15 pm   Subject: Remote cluster queue not found (JNDI)
Thanks,

When you say

[quote]You put it in the JNDI definition of the Queue Destination[/quote]

I presume you are referring to the JMSAdmin utility to create JNDI references that go in LDAP fo ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Mon Jan 21, 2008 1:33 pm   Subject: Remote cluster queue not found (JNDI)
I guess the reason this confuses me is that I never used the queue manager name for getting the queue in the first place. I only use the queue manager name when getting the ConnectionFactory.

I get ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Mon Jan 21, 2008 12:06 pm   Subject: Remote cluster queue not found (JNDI)
Properties props = new Properties();
props.put(Context.PROVIDER_URL, "10.0.1.195:1414/SYSTEM.AUTO.SVRCONN");
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.mq.jms.context.WMQInit ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Mon Jan 21, 2008 11:22 am   Subject: Remote cluster queue not found (JNDI)
Thanks for your reply I added the QREMOTE definition on my MQ2 instance as you suggested
DEFINE QREMOTE(myclusalias) DEFBIND(notfixed)

And I changed the JNDI settings to:
JNDI URL: 10.0.1.195:141 ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Sat Jan 19, 2008 7:40 pm   Subject: Remote cluster queue not found (JNDI)
Thanks for your reply Peter Potkay,

If I understand correctly, you suggest I add a definition like
DEFINE Q(FOO) QUEUE(Q1)
from the QM2 node and refer to the queue name FOO on that queue manager. ...
  Topic: Remote cluster queue not found (JNDI)
lcsysoa

Replies: 12
Views: 7705

PostForum: IBM MQ Java / JMS   Posted: Fri Jan 18, 2008 2:41 pm   Subject: Remote cluster queue not found (JNDI)
I have a cluster of two MQ servers (v 6) with each their QMs. I created the queue Q1 on QM1

DEFINE QLOCAL(Q1) CLUSTER(QCLUS)

I can see Q1 from QM2 ok:

dis queue(*) clusinfo
...
AMQ8409: Dis ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.