Author |
Message |
Topic: JNDI/JMS with Clustered/Alias Queues |
mqsnbmp1
Replies: 5 Views: 6927
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 20, 2007 10:49 am Subject: JNDI/JMS with Clustered/Alias Queues |
I appreciate your responses. In your first reply you stated: "You need to create a QREMOTE that has blank queue name and qmgr name (this is a CLUSTER alias). The name of this QREMOTE then needs t ... |
Topic: JNDI/JMS with Clustered/Alias Queues |
mqsnbmp1
Replies: 5 Views: 6927
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 20, 2007 9:21 am Subject: JNDI/JMS with Clustered/Alias Queues |
So can the Local Queue Manager be configured as cluster alias? Do I need to use a different initial context factory class and QCF reference? WOuld the DCF be the cluster alias queue manager name? |
Topic: JNDI/JMS with Clustered/Alias Queues |
mqsnbmp1
Replies: 5 Views: 6927
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 20, 2007 6:32 am Subject: JNDI/JMS with Clustered/Alias Queues |
I have worked with JMS/JNDI for a while, and up until now we were using Queues under a specific Queue Manager. In JNDI properties file we used provider URL as hostname:port/channel, initial context f ... |
Topic: Message gets read before onMessage() exits |
mqsnbmp1
Replies: 10 Views: 7492
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 29, 2006 4:42 am Subject: Message gets read before onMessage() exits |
Section 4.1.11:
AUTO_ACKNOWLEDGE - With this option, the session automatically
acknowledges a client’s receipt of a message when it has either successfully
returned from a call to receive or the ... |
Topic: Message gets read before onMessage() exits |
mqsnbmp1
Replies: 10 Views: 7492
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 28, 2006 2:21 pm Subject: Message gets read before onMessage() exits |
This is not an MDB. This is a standalone JMS client, and session is not transacted. According to JMS specification, if asynchronous client hasn't successfully returned from onMessage() call, the messa ... |
Topic: Message gets read before onMessage() exits |
mqsnbmp1
Replies: 10 Views: 7492
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 28, 2006 1:08 pm Subject: Message gets read before onMessage() exits |
OK, but I still lose the message if the program exits without returning from onMessage(). Maybe it is an extreme example, but lets say I read a message and wait on some external event to finish proces ... |
Topic: Message gets read before onMessage() exits |
mqsnbmp1
Replies: 10 Views: 7492
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 28, 2006 11:51 am Subject: Message gets read before onMessage() exits |
I have a strange scenario when message gets read (curdepth is decremented) before JMS client exits the onMessage() call. It looks like message gets acknowledged while application is waiting on some ot ... |
Topic: WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
mqsnbmp1
Replies: 2 Views: 2304
|
Forum: IBM MQ Java / JMS Posted: Fri Mar 10, 2006 3:03 am Subject: WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
I originally was just closing the connection. The issue got resolved as soon as I first started closing in a sequence all receiver channels, then all receiver sessions, then sender channels, then send ... |
Topic: WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
mqsnbmp1
Replies: 2 Views: 2304
|
Forum: IBM MQ Java / JMS Posted: Thu Mar 09, 2006 3:03 am Subject: WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
I noticed a strange phenomenon with 6.0 client JAR's. A client that I have has 2 incoming queues (each handled by its own asynchronous session) and one outgoing queue (handled by a separate syncronous ... |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 08, 2006 7:58 am Subject: 5.3 client JAR's with WMQ 6.0 |
OK. I found what has changed in 6.0 client JAR's vs. 5.3 client JAR's. I followed the suggestions in this thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=24902. The difference I saw was that i ... |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 08, 2006 6:22 am Subject: 5.3 client JAR's with WMQ 6.0 |
Code:
...
FileInputStream cfgFile = new FileInputStream(cfgFname);
Properties appProperties = new Properties();
appProperties.load(cfgFile);
InitialContext ctx = new Ini ... |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 07, 2006 3:08 pm Subject: 5.3 client JAR's with WMQ 6.0 |
Witn 5.3 I do not pass principal and credentials. With 6.0 JAR's I tried with and without, and got the same negative result. |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 07, 2006 3:20 am Subject: 5.3 client JAR's with WMQ 6.0 |
The exception takes place well before the connection is established (even before QCF is obtained). Again, snippet from above:
InitialContext ctx = new InitialContext(appProperties);
In addition, ... |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Mon Mar 06, 2006 12:33 pm Subject: 5.3 client JAR's with WMQ 6.0 |
OK, so I installed ME01 and MS0B. It still doesn't work due to " javax.naming.NamingException: Unable to connect to the admin queue. Exception was: javax.jms.JMSSecurityException: MQJMS2013: invalid s ... |
Topic: 5.3 client JAR's with WMQ 6.0 |
mqsnbmp1
Replies: 17 Views: 18737
|
Forum: IBM MQ Java / JMS Posted: Mon Mar 06, 2006 8:59 am Subject: 5.3 client JAR's with WMQ 6.0 |
I just downloaded WMQ Client SupportPacs 6.0.1.0 (Dec 8, 2005). And right out of the box I'm getting "java.lang.ClassNotFoundException: com.ibm.mq.jms.context.WMQInitialContextFactory".
So I start ... |