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 API Support » MQ Reason Code 2063

Post new topic  Reply to topic
 MQ Reason Code 2063 « View previous topic :: View next topic » 
Author Message
gsaluja
PostPosted: Tue Sep 25, 2007 4:19 pm    Post subject: MQ Reason Code 2063 Reply with quote

Novice

Joined: 06 Dec 2005
Posts: 21
Location: Houston

Trying to run a program using SVRCONN and getting error 2063.
Checked the configuration, listener..both are ok
/opt/mqm/bin/runmqlsr -t TCP -p 1414 -m TKDSCSW31

error ...
2007-09-26 08:38:08,935 ERROR [main] [com.jpmorgan.fep.fep] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fepMQOutb
ound' defined in class path resource [././xml/mq/mq.xml]: Initialization of bean failed; nested exception is java.lang.Exception: com.ibm.mq.MQException: Com
pletion Code 2, Reason 2063
java.lang.Exception: com.ibm.mq.MQException: Completion Code 2, Reason 2063
at com.jpmorgan.util.connector.mq.Queue.open(Queue.java:218)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Sep 25, 2007 7:03 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Why have you posted this here? The problem is shown in the backtrace:

Quote:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fepMQOutb
ound' defined in class path resource [././xml/mq/mq.xml]: Initialization of bean failed


Looks like user code to me. Go ahead and fix it!
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 11:02 pm    Post subject: Re: MQ Reason Code 2063 Reply with quote

Grand High Poobah

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

gsaluja wrote:
java.lang.Exception: com.ibm.mq.MQException: Completion Code 2, Reason 2063


Code:
2063  0x0000080f  MQRC_SECURITY_ERROR



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Sep 26, 2007 1:19 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Did I get the stack the wrong way up? Sorry about that.

Seriously, 2063 means a failure in the authentication mechanism such that WMQ is not able to determine the authority of a user, often because the O/S has returned an error when WMQ has asked whether a user exists, or for the properties of a userID or name.

I am guessing this is Solaris (or Linux); many such errors have been reported on those systems, often when LDAP is used to store authentication information. The best bet is to take a truss of the failure to determine which function is actually having a problem.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
gsaluja
PostPosted: Wed Sep 26, 2007 4:04 am    Post subject: Reply with quote

Novice

Joined: 06 Dec 2005
Posts: 21
Location: Houston

Modified the channel to remove SCYEXIT(mqsecex(SecExit))
and is working now.
alter channel(APP.SVRCONN) CHLTYPE(SVRCONN) SCYEXIT('')
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 26, 2007 4:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you sure that removing the security exit was the correct choice, here?

It seems like maybe the security exit was put there for a reason.

Perhaps, for example, to prevent some random Java program from having full control of a queue manager and doing things like creating or altering channels that don't have security exits on them...

I'd suggest you debug the exit instead of removing it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
gsaluja
PostPosted: Wed Sep 26, 2007 5:29 am    Post subject: Reply with quote

Novice

Joined: 06 Dec 2005
Posts: 21
Location: Houston

Thank you for yr warning. I am working with the mq admin to find a safer resolution.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Sep 26, 2007 6:56 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

See Vitor, I was right after all, it WAS user error!
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 26, 2007 10:42 pm    Post subject: Reply with quote

Grand High Poobah

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

Nigelg wrote:
See Vitor, I was right after all, it WAS user error!


Did I at any point say it wasn't?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ Reason Code 2063
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.