Author |
Message |
Topic: Multiple JMS clients prevent shared access to queue manager |
JustinM
Replies: 16 Views: 12010
|
Forum: IBM MQ Java / JMS Posted: Sun Jun 27, 2004 10:36 pm Subject: Multiple JMS clients prevent shared access to queue manager |
I don't think JustinM is using a single multi threaded app.
Correct - I could duplicate the problem using 2 single threaded clients in separate VMs.
A colleague of mine just passed on an artic ... |
Topic: Multiple JMS clients prevent shared access to queue manager |
JustinM
Replies: 16 Views: 12010
|
Forum: IBM MQ Java / JMS Posted: Thu Jun 24, 2004 9:03 pm Subject: Multiple JMS clients prevent shared access to queue manager |
What does the thread do in this interval ? just wait ? or any exception
The thread just waits using receive(long timeout). No exception is thrown. Another thread in a different VM (client) may be d ... |
Topic: Multiple JMS clients prevent shared access to queue manager |
JustinM
Replies: 16 Views: 12010
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 22, 2004 10:57 pm Subject: Multiple JMS clients prevent shared access to queue manager |
Hi,
Thanks for the replies. To answer your questions:
The queue is shareable. I tried changing it to "Not sharable" - under these circumstances the client throws an exception when another clie ... |
Topic: Multiple JMS clients prevent shared access to queue manager |
JustinM
Replies: 16 Views: 12010
|
Forum: IBM MQ Java / JMS Posted: Mon Jun 21, 2004 9:55 pm Subject: Multiple JMS clients prevent shared access to queue manager |
Hi,
Thanks for the reply.
Calling stop() on a QueueConnection allows other QueueConnections to receive messages - so this works now. (I have also made the sessions transacted and commit/rollba ... |
Topic: Multiple JMS clients prevent shared access to queue manager |
JustinM
Replies: 16 Views: 12010
|
Forum: IBM MQ Java / JMS Posted: Mon Jun 21, 2004 5:30 am Subject: Multiple JMS clients prevent shared access to queue manager |
Hi,
I have a situation where more than a single JMS client can create a connection to a 'shared' queue manager at the same time.
A client sets up the queue connection factory using the follow ... |
Topic: [Solved] RefFSContextFactory NameNotFoundException |
JustinM
Replies: 6 Views: 9662
|
Forum: IBM MQ Java / JMS Posted: Sat Apr 26, 2003 2:20 am Subject: [Solved] RefFSContextFactory NameNotFoundException |
Hi
IBM's documentation in this regard is scant.
From trouble resolving names qualified by subcontexts. For example, name "Sample/JMS/Q1" refers to object Q1 in subcontext JMS of subcontext Sample ... |
Topic: Transactions, JMS sessions and Session EJBs |
JustinM
Replies: 0 Views: 1612
|
Forum: IBM MQ Java / JMS Posted: Fri Jun 28, 2002 3:20 am Subject: Transactions, JMS sessions and Session EJBs |
Hi
I have a particularly pertinent question that I have been trawling the web to answer with no success. The scenario is as follows:
I have a Session EJB (container managed transactions) that ... |
Topic: Java Virtual Machine Hotspot error |
JustinM
Replies: 1 Views: 2490
|
Forum: IBM MQ Java / JMS Posted: Sun Apr 21, 2002 6:10 am Subject: Java Virtual Machine Hotspot error |
Hi
Had a similar problem on Solaris with our WebSphere 4 application. Wasn't related to MQSeries but the Hotspot VM was falling over intermittently, dumping a core file in the process - very simil ... |
Topic: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
JustinM
Replies: 4 Views: 7433
|
Forum: IBM MQ Java / JMS Posted: Sun Apr 21, 2002 6:00 am Subject: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
Thanks
Got the E_FIX from IBM and all is now well.
Justin |
Topic: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
JustinM
Replies: 4 Views: 7433
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 17, 2002 11:46 pm Subject: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
Hi
Does anyone have an APAR / efix number for this problem (MQSeries 5.2 and WAS 4 on solaris). I have scanned the archives but to no avail.
I found a reference on google to a document which deal ... |
Topic: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
JustinM
Replies: 4 Views: 7433
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 17, 2002 1:08 am Subject: javax.jms.MessageFormatException: MQJMS1061: Unable to deser |
Hi
I have a queue onto which ObjectMessages are placed from a stand-alone application. The messages are then read off the queue by a listener within a J2EE application (not a message bean - just a ... |
Topic: ClassCastException when retrieving QueueConnectionFactory fr |
JustinM
Replies: 2 Views: 3993
|
Forum: IBM MQ Java / JMS Posted: Thu Apr 11, 2002 5:19 am Subject: ClassCastException when retrieving QueueConnectionFactory fr |
Hi
Thanks for the reply.
I seem to have solved my own problem. For those of you that encounter a similar problem
Check your classpath !
http://216.239.35.100/search?q=cache:6j83QHncIEAC:www ... |
Topic: ClassCastException when retrieving QueueConnectionFactory fr |
JustinM
Replies: 2 Views: 3993
|
Forum: IBM MQ Java / JMS Posted: Thu Apr 11, 2002 12:38 am Subject: ClassCastException when retrieving QueueConnectionFactory fr |
Hi
I am getting a ClassCastException when retrieving a QueueConnectionFactory bound to the JNDI tree. The class of the object returned is javax.naming.Reference. The code is as follows:
Initia ... |