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 » IBM MQ Java / JMS » com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085

Post new topic  Reply to topic Goto page Previous  1, 2
 com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085 « View previous topic :: View next topic » 
Author Message
balareddy
PostPosted: Thu Aug 16, 2007 6:57 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

jefflowrey wrote:
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.



I can say my program is giving this error only once in 100 or 200 times execution. So thats why i dont see anything is missing or wrong.
_________________
bala
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Thu Aug 16, 2007 7:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

balareddy wrote:
I can say my program is giving this error only once in 100 or 200 times execution. So thats why i dont see anything is missing or wrong.


Again (!) I ask if this is a dynamic queue. Which only goes out of scope in exceptional circumstances, like once every 100 or 200 executions.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
balareddy
PostPosted: Thu Aug 16, 2007 7:30 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

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.getAllQueues(), com.ibm.mq.pcf.PCFMessageAgent.send(),..

I am not sure what it is doing here for getting QCF. Can anybody explain pls.
_________________
bala
Back to top
View user's profile Send private message AIM Address
fjb_saper
PostPosted: Thu Aug 16, 2007 7:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
balareddy
PostPosted: Thu Aug 16, 2007 7:55 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

fjb_saper wrote:
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


Well, I am not using any application server for my programs to use statis binding. It is just standalone Java with JMS program.
_________________
bala
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Thu Aug 16, 2007 7:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

balareddy wrote:
Well, I am not using any application server for my programs to use statis binding. It is just standalone Java with JMS program.


Then use the File Context, and not the WMQ Context.

The WMQ context is not a good one to use.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
balareddy
PostPosted: Fri Aug 17, 2007 4:27 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

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 causing problem for multiple requests at the same time for creating QueueConnectionFactory ???


display queue(SYSTEM.DEFAULT.MODEL.QUEUE)
1 : display queue(SYSTEM.DEFAULT.MODEL.QUEUE)
AMQ8409: Display Queue details.
DESCR(WebSphere MQ Default Model Queue)
PROCESS( ) BOQNAME( )
INITQ( ) TRIGDATA( )
QUEUE(SYSTEM.DEFAULT.MODEL.QUEUE) CRDATE(2006-09-26)
CRTIME(14.49.16) ALTDATE(2006-09-26)
ALTTIME(14.49.16) GET(ENABLED)
PUT(ENABLED) DEFPRTY(0)
DEFPSIST(NO) MAXDEPTH(5000)
MAXMSGL(4194304) BOTHRESH(0)
NOSHARE DEFSOPT(EXCL) HARDENBO MSGDLVSQ(PRIORITY)
RETINTVL(999999999) USAGE(NORMAL)
NOTRIGGER TRIGTYPE(FIRST)
TRIGDPTH(1) TRIGMPRI(0)
QDEPTHHI(80) QDEPTHLO(20)
QDPMAXEV(ENABLED) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QSVCINT(999999999)
QSVCIEV(NONE) DISTL(NO)
NPMCLASS(NORMAL) DEFTYPE(TEMPDYN)
TYPE(QMODEL)



Please help....
_________________
bala
Back to top
View user's profile Send private message AIM Address
fjb_saper
PostPosted: Fri Aug 17, 2007 8:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Like we said, move to a file based JNDI.
As well if you need a specific way of creating dynamic queues create your own model queues, don't use the system ones, this way you can control whether you want them shared or not.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » com.ibm.mq.pcf.PCFException MQJE001: Comp Code 2,Reason 2085
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.