Author |
Message
|
gsaluja |
Posted: Tue Sep 25, 2007 4:19 pm Post subject: MQ Reason Code 2063 |
|
|
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 |
|
 |
Nigelg |
Posted: Tue Sep 25, 2007 7:03 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 11:02 pm Post subject: Re: MQ Reason Code 2063 |
|
|
 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 |
|
 |
Nigelg |
Posted: Wed Sep 26, 2007 1:19 am Post subject: |
|
|
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 |
|
 |
gsaluja |
Posted: Wed Sep 26, 2007 4:04 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Sep 26, 2007 4:12 am Post subject: |
|
|
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 |
|
 |
gsaluja |
Posted: Wed Sep 26, 2007 5:29 am Post subject: |
|
|
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 |
|
 |
Nigelg |
Posted: Wed Sep 26, 2007 6:56 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Sep 26, 2007 10:42 pm Post subject: |
|
|
 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 |
|
 |
|