Author |
Message |
Topic: StringIndexOutOfBoundsException while receiving message |
balareddy
Replies: 8 Views: 7285
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 13, 2007 10:59 pm Subject: StringIndexOutOfBoundsException while receiving message |
In MQ Queue level, i can see message format is Format : 'MQHRF2 ' . I am sending message ti MQ Queue with Standard JMS with JNDI-MQContext.
One recommondation/suggestion from IBM is to set format ... |
Topic: StringIndexOutOfBoundsException while receiving message |
balareddy
Replies: 8 Views: 7285
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 13, 2007 11:08 am Subject: StringIndexOutOfBoundsException while receiving message |
What CSD level are you running.
I am using
Version: 530.9 CSD09
CMVC level: p530-09-L041213 |
Topic: StringIndexOutOfBoundsException while receiving message |
balareddy
Replies: 8 Views: 7285
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 13, 2007 8:26 am Subject: StringIndexOutOfBoundsException while receiving message |
Hello,
I am getting StringIndexOutOfBoundsException exception while getting message from MQ Queue. I am using Standard JMS connecting MQSeries with JNDI with QCF name which is configured with JMSAd ... |
Topic: Remove single message from MQ Queue |
balareddy
Replies: 2 Views: 12288
|
Forum: IBM MQ Java / JMS Posted: Wed Aug 29, 2007 1:57 am Subject: Remove single message from MQ Queue |
Hello,
I wanted to remove 1 message from MQ Queue with MQ commands.
There is one mq command amqsget. but it will remove if the message length is smaller and it iwll remove all messages from the Q ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Fri Aug 17, 2007 4:27 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
Some more inputs/queries..
JMSAdmin's qcf has model Queue(SYSTEM.DEFAULT.MODEL.QUEUE) by default. If i look at Model Queue definition, i can see DEFSOPT(EXCL) parameter. This EXCL parameter is cau ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 7:55 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
You are not using a static JNDI. This is a design that I would only allow in DEV. Don't use the qmgr as a JNDI repository! Review your design. It will force you in a way more stable situation :oops ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 7:30 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
How to check QCF is creating any dynamic Queue or not??
If i look at stacktrace, i can see it is checking AllQueues().
com.ibm.mq.jms.context.MQContext.list(),com.ibm.mq.jms.context.MQContext.ge ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 6:57 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
Again, if you're getting this in a NamingException - then either
a) you don't have the qmgr set up right to provide the WMQContext, or
b) the object you're looking up doesn't actually exist.
... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 5:56 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
Thanks for the very fast reply. I think my request is going behind ur reply. here is agian my question.
Program is throwing NamingException while context lookup with reason code 2085. If there any ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 5:48 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
The other possibility is that, because you're using the WMQ context (which is not the best idea in the world, in my opinion), that the JDNI context can't talk to the Command Server - and it's the cont ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 5:45 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
On the understanding I know slightly more about the dark side of the Moon than I do about Java, I wouldn't have thought you'd get a 2085 from a timeout, more likely a 2009.
i think 2009 is not p ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 16, 2007 5:35 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
I am using the following code to lookup context for QCF. I have created QCF with JMSAdmin. My code is working most of the times but sometimes it is giving NamingException. From MQ client machine i am ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 13, 2007 8:20 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
[quote="RogerLacroix"]
Are you trying to use MQ itself as the JNDI repository? If so, did you setup it up? (There are manual steps you need to do first.)
quote]
I have created qcf in ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 13, 2007 7:22 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
[quote="Vitor"]2085 is typically caused by a queue not being found, often because the case of the name is wrong. Depending on how this code snippet is being given the name this could be a ca ... |
Topic: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
balareddy
Replies: 22 Views: 27166
|
Forum: IBM MQ Java / JMS Posted: Mon Aug 13, 2007 7:01 am Subject: com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 |
Hello,
I am using JMS to connect MQ Queue. I am not using any application server. Running as standalone java program in AIX5.2. I am getting the following error only sometimes. all other times it i ... |