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 » MQJE001: An MQException occurred: Completion Code 2, Reason

Post new topic  Reply to topic
 MQJE001: An MQException occurred: Completion Code 2, Reason « View previous topic :: View next topic » 
Author Message
leongwm
PostPosted: Fri Oct 24, 2008 3:16 am    Post subject: MQJE001: An MQException occurred: Completion Code 2, Reason Reply with quote

Newbie

Joined: 24 Oct 2008
Posts: 4

Hi all,

I am encountering the following error in my application. Any idea on what is this error?

[10/21/08 10:05:36:327 GMT] dc9766 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource Sample/JMS/TCF, throwing ResourceAllocationException. Original exception: javax.resource.spi.ResourceAdapterInternalException: JMSException in createConnection
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:125)
at
..........
MQJMS2013: invalid security authentication supplied for MQQueueManager
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2223)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1701)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:164)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:84)
...........
Next Linked Exception:
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2063
MQJE027: Queue manager security exit rejected connection with error code 23
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:242)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:296)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)


Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Oct 24, 2008 3:43 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Reason Code 2063 x'80F'
MQRC_SECURITY_ERROR

An MQCONN, MQCONNX, MQOPEN, MQPUT1, or MQCLOSE call was issued, but it failed because a security error occurred.

invalid security authentication supplied for MQQueueManager

MQJE027: Queue manager security exit rejected connection with error code 23
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
leongwm
PostPosted: Fri Oct 24, 2008 6:16 pm    Post subject: Reply with quote

Newbie

Joined: 24 Oct 2008
Posts: 4

Thanks for the quick reply.

This application been running fine for awhile. Then suddenly this error appear. There was no changes made on the MQ. Any idea or suggestion on how to check on the MQ side? Please help.

Thanks.
Back to top
View user's profile Send private message
atheek
PostPosted: Fri Oct 24, 2008 9:10 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Asking the obvious:

Anything in the mQ error logs? Any FDC's? What platform and version?
Back to top
View user's profile Send private message
leongwm
PostPosted: Sat Oct 25, 2008 12:03 am    Post subject: Reply with quote

Newbie

Joined: 24 Oct 2008
Posts: 4

Hi,

The Websphere version is 5.1.0 under SunOS 5.9.

I do not know if you are refering to this log file

server1_exception.log in the ffdc folder

Index Occur Time of last Occurence Exception SourceId ProbeId
ences
-----------------------------------------------------------------------
1 4 08.10.24 18:08:35:232 GMT com.ibm.ejs.jms.listener.MDBRuntimeException com.ibm.ejs.util.am._Alarm.run 75
2 6 08.10.24 18:11:35:485 GMT com.ibm.mq.jms.NoBrokerResponseException com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart 281
3 1 08.10.24 17:56:38:176 GMT javax.servlet.UnavailableException com.ibm.ws.webcontainer.servlet.ServletManager.doInit 355
4 3 08.10.24 17:54:27:683 GMT org.omg.CosNaming.NamingContextPackage.AlreadyBound com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.executeBatchedOperations 1497
5 1 08.10.24 17:56:38:269 GMT javax.servlet.UnavailableException com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet 296
6 1 08.10.24 17:56:33:926 GMT com.ibm.ejs.jms.listener.MDBRuntimeException com.ibm.ejs.jms.listener.MsgListenerPort.add 140
7 3 08.10.24 17:53:53:070 GMT com.ibm.mq.MQException com.ibm.ws.messaging.BrokerManager.getReply 668
8 6 08.10.24 18:11:35:523 GMT javax.jms.IllegalStateException com.ibm.ejs.jms.JMSConnectionHandle.close 345
9 1 08.10.24 17:50:44:150 GMT java.lang.Exception com.ibm.ws.pmi.reqmetrics.PmiRmProcessLevelInfo.init_internal FFDC-1
10 1 08.10.24 17:53:53:116 GMT java.lang.Exception com.ibm.ws.messaging.JMSService.start 199
11 1 08.10.24 17:53:53:077 GMT java.lang.Exception com.ibm.ws.messaging.BrokerManager.startBroker 261
12 2 08.10.24 17:56:38:150 GMT org.omg.CosNaming.NamingContextPackage.NotFound com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info 1045
13 13 08.10.24 17:54:27:683 GMT javax.naming.NameAlreadyBoundException com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_bind_new_corba_context 1042
14 391 08.10.24 17:56:36:673 GMT java.security.PrivilegedActionException com.ibm.ejs.util.Uuid.getIpAddress 291
15 1245 08.10.24 17:56:39:524 GMT java.lang.ClassNotFoundException com.ibm.ws.classloader.CompoundClassLoader.loadClass 248
16 10 08.10.24 17:53:55:468 GMT javax.naming.NameAlreadyBoundException com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext 756
17 1 08.10.24 17:56:38:305 GMT javax.servlet.UnavailableException com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets 446
18 6 08.10.24 18:11:35:523 GMT javax.jms.IllegalStateException com.ibm.ejs.jms.JMSConnectionHandle.getExceptionListener 250
19 1 08.10.24 17:56:38:204 GMT javax.servlet.UnavailableException com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init 150
20 2 08.10.24 17:56:38:150 GMT javax.naming.NameNotFoundException com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt 1148
21 3 08.10.24 17:53:56:327 GMT org.omg.CosNaming.NamingContextPackage.NotFound com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext 2161
22 1 08.10.24 17:56:38:232 GMT javax.servlet.UnavailableException com.ibm.ws.webcontainer.servlet.ServletInstance.init 172
23 2 08.10.24 17:53:56:426 GMT javax.naming.NameNotFoundException com.ibm.ws.naming.urlbase.UrlContextImpl.lookup 1252
24 3 08.10.24 17:53:56:327 GMT org.omg.CosNaming.NamingContextPackage.NotFound com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.bind_new_corba_context 944
25 1 08.10.24 17:50:45:339 GMT java.lang.ClassNotFoundException com.ibm.ws.activity.ActivityServiceInterceptor.loadMigrationImpls 424
26 5 08.10.24 18:08:35:232 GMT javax.jms.IllegalStateException com.ibm.ejs.jms.listener.MDBListenerImpl.internalStop 372
27 2 08.10.24 17:56:38:150 GMT org.omg.CosNaming.NamingContextPackage.NotFound com.ibm.ws.naming.jndicos.CNContextImpl.doLookup 1471
28 3 08.10.24 17:53:56:327 GMT javax.naming.NameNotFoundException com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext 756
29 1 08.10.24 17:50:43:914 GMT java.io.FileNotFoundException com.ibm.ejs.jms.listener.AsyncMessageLog.readRequestLogFile 128
30 10 08.10.24 17:53:55:468 GMT org.omg.CosNaming.NamingContextPackage.AlreadyBound com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext 2155
31 4 08.10.24 17:53:56:426 GMT javax.naming.NameNotFoundException com.ibm.ws.naming.urlbase.UrlContextImpl.lookup 1226
32 1 08.10.24 17:56:37:144 GMT java.lang.NullPointerException com.ibm.ws.webcontainer.srt.WebGroup.notifyServletContextCreated 1321
33 6 08.10.24 18:11:35:484 GMT com.ibm.mq.jms.NoBrokerResponseException com.ibm.ejs.jms.JMSTopicConnectionHandle.createDurableConnectionConsumer 168
34 6 08.10.24 18:11:35:523 GMT javax.jms.IllegalStateException com.ibm.ejs.jms.listener.MDBListenerImpl.internalStop 332
35 12 08.10.24 17:56:40:149 GMT com.ibm.ISecurityUtilityImpl.InvalidPasswordDecodingException com.ibm.ws.ssl.SSLConfig.getProperty 426
36 391 08.10.24 17:56:36:673 GMT java.net.UnknownHostException com.ibm.ejs.util.Uuid.getIpAddress 298
37 2 08.10.24 17:56:38:150 GMT javax.naming.NameNotFoundException com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info 1133
38 7 08.10.24 17:56:37:029 GMT com.ibm.ws.naming.jcache.CacheEntryNotFoundException com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal 367
-----------------------------------------------------------------------

Please help!

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Oct 25, 2008 6:16 am    Post subject: Reply with quote

Grand High Poobah

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

As everything used to be working... could the SSL certificate have just expired? This looks like an SSL/security exit error.
Did you relocate anything to a different server? Different ip address, different subnet?

Have fun.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
leongwm
PostPosted: Tue Oct 28, 2008 5:45 pm    Post subject: Reply with quote

Newbie

Joined: 24 Oct 2008
Posts: 4

Hi,

How do i check if the SSL certificate have expired? Can I renew it?
Please help.

Thanks.
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 Java / JMS » MQJE001: An MQException occurred: Completion Code 2, Reason
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.