Author |
Message |
Topic: Problem with getMessageLength |
java_ppl
Replies: 2 Views: 4531
|
Forum: IBM MQ Java / JMS Posted: Sat Oct 20, 2007 5:58 am Subject: Problem with getMessageLength |
Hi,
I have created an MQ message from an 80MB file using a java app running on a unix server. After creating the message, app tries to read the lenghth using getMessageLength() .
The java appli ... |
Topic: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
java_ppl
Replies: 10 Views: 36203
|
Forum: IBM MQ Java / JMS Posted: Mon Feb 12, 2007 6:01 am Subject: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
uh .. the code looks more like this..
while(flag)
{
If queue Manager connected
then Print : QManager Connected
If queue connected
then Print : Q Connected
try{
queue.get(message, g ... |
Topic: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
java_ppl
Replies: 10 Views: 36203
|
Forum: IBM MQ Java / JMS Posted: Mon Feb 12, 2007 5:57 am Subject: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
Hi Ive tried the following:
boolean flag=true
while(flag)
{
If queue Manager connected
then Print : QManager Connected
If queue connected
then Print : Q Connected
... |
Topic: MQRC CONNECTION_BROKEN |
java_ppl
Replies: 4 Views: 10386
|
Forum: IBM MQ Java / JMS Posted: Mon Feb 12, 2007 4:08 am Subject: MQRC CONNECTION_BROKEN |
I'm now using WMQ6.0 . And the following code:
public static MQMessage getMessage(
MQQueueManager queueManager,
MQQueue queue,
MQGetMessageOptions gmo) {
File f = new File(&qu ... |
Topic: MQJE001: An MQException occurred: Completion Code 2, |
java_ppl
Replies: 2 Views: 12467
|
Forum: IBM MQ Java / JMS Posted: Wed Feb 07, 2007 6:40 am Subject: MQJE001: An MQException occurred: Completion Code 2, |
Hi ,
I got this error when my appl could'nt access the directory where the SSL certificate was kept.
I got the the directory permissions sorted out and the error didnt occur again.
( MQJE011: S ... |
Topic: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
java_ppl
Replies: 10 Views: 36203
|
Forum: IBM MQ Java / JMS Posted: Fri Jan 05, 2007 3:47 am Subject: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
Hi shubhu_s,
my program is smart enough to re-obtain the connection as soon as it looses it..
Please could you post this piece of code ? My application is trying to do the same , but keeps thro ... |
Topic: MQJE016 : channel closed immediately |
java_ppl
Replies: 5 Views: 9856
|
Forum: IBM MQ API Support Posted: Tue Jan 02, 2007 3:10 am Subject: MQJE016 : channel closed immediately |
Hi,
Yes . The channel is running. |
Topic: MQJE016 : channel closed immediately |
java_ppl
Replies: 5 Views: 9856
|
Forum: IBM MQ API Support Posted: Fri Dec 29, 2006 10:27 am Subject: MQJE016 : channel closed immediately |
hi I am trying a simple Java program(MQ Client ) on a Solaris sever, to put a message on a queue .
The code snippet looks like this:
public static void main(String[] args) {
new MQSample( ... |
Topic: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
java_ppl
Replies: 10 Views: 36203
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 21, 2006 9:48 am Subject: MQJMS2007: MQJE001: Completion Code 2, Reason 2009 |
hello? |
Topic: MQRC_CONNECTION_BROKEN exception |
java_ppl
Replies: 2 Views: 3439
|
Forum: IBM MQ Java / JMS Posted: Fri Dec 15, 2006 10:38 am Subject: MQRC_CONNECTION_BROKEN exception |
Hi , Could you please post the portion of code that you are using to reconnect ?
I am facing a similar issue . Have tried reconnecting (in a while loop) but am still getting the same exception.
... |
Topic: MQRC CONNECTION_BROKEN |
java_ppl
Replies: 4 Views: 10386
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 12, 2006 5:13 am Subject: MQRC CONNECTION_BROKEN |
Hi ,
we are using
NAME: WebSphere MQ Client for Sun Solaris
VERSION: 5.3.0.5 |
Topic: MQRC CONNECTION_BROKEN |
java_ppl
Replies: 4 Views: 10386
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 05, 2006 10:44 am Subject: MQRC CONNECTION_BROKEN |
hi,
I am getting a connection broken error.
I have checked queue.isOpen() and queueManager.isConnected ..and both say that the queue is open and q Manager is connected.
Yet, when I i try to ... |
Topic: 2009 Errors on client (MQRC_CONNECTION_BROKEN) |
java_ppl
Replies: 29 Views: 87025
|
Forum: General IBM MQ Support Posted: Fri Sep 22, 2006 7:34 am Subject: 2009 Errors on client (MQRC_CONNECTION_BROKEN) |
Hi ,
I am facing a similar problem. 2009
In my case , I know why its happening : The ClientIdle parameter has been set to a particular time interval.. And after this time the connection is Broken ... |