Method createManagedConnctionWithMCWrapper caught an exception...

I'm running a custom build app on websphere, yesterday the security "enabled security" and now, we are getting this error:

[4/5/06 15:52:17:766 EDT]   26e26f FreePool      E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource ConnectionFactory, throwing ResourceAllocationException.  Original exception: javax.resource.spi.ResourceAdapterInternalException: createQueueConnection failed
        at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:142)
        Next Linked Exception:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'
        at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:556)
Next Linked Exception:
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
        at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:242)
        at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)
Caused by: com.ibm.mqservices.MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
        at com.ibm.mq.MQInternalCommunications.createSocketConnection(MQInternalCommunications.java:1411)
        at com.ibm.mq.MQInternalCommunications.access$000(MQInternalCommunications.java:114)
        at com.ibm.mq.MQInternalCommunications$1.run(MQInternalCommunications.java:498)
4/5/06 15:52:17:785 EDT]   26e26f ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.ResourceAllocationException: createQueueConnection failed
        at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1401)
        at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1132)

---- Begin backtrace for Nested Throwables
javax.resource.spi.ResourceAdapterInternalException: createQueueConnection failed
        at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:142)
        at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:215)

---- Begin backtrace for Nested Throwables
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'
        at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:556)
        at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2273)

 Begin backtrace for Nested Throwables
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
        at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:242)
        at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)

Caused by: com.ibm.mqservices.MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
        at com.ibm.mq.MQInternalCommunications.createSocketConnection(MQInternalCommunications.java:1411)
        at com.ibm.mq.MQInternalCommunications.access$000(MQInternalCommunications.java:114)
[4/5/06 15:52:17:796 EDT]   26e26f JMSPublisher  E com.newscale.bfw.jms.JMSPublisher  com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
[4/5/06 15:52:17:797 EDT]   26e26f MessagequeueC E com.celosis.logger.MessagequeueChannel  Publish error while posting message to queue com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
[4/5/06 15:52:17:800 EDT]   26e26f MessagequeueC E com.celosis.logger.MessagequeueChannel  TRAS0014I: The following exception was logged com.newscale.bfw.jms.PublishException: com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)
        at com.celosis.event.PostToQueueTrigger.executeInstructionStack(Unknown Source)
        QJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)
        at com.celosis.event.PostToQueueTrigger.executeInstructionStack(Unknown Source)

[4/5/06 15:52:17:803 EDT]   26e26f MessagequeueC E com.celosis.logger.MessagequeueChannel  General error while posting message to queue com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
[4/5/06 15:52:17:804 EDT]   26e26f MessagequeueC E com.celosis.logger.MessagequeueChannel  TRAS0014I: The following exception was logged com.newscale.bfw.jms.PublishException: com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)
MQJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)
        at com.celosis.event.PostToQueueTrigger.executeInstructionStack(Unknown Source)        
[4/5/06 15:52:17:807 EDT]   26e26f FatalerrorCha E com.celosis.logger.FatalerrorChannel  (1559)Fatal error happened [DSN = RequestCenter, requisitionID = 98, userID = 34216]
[4/5/06 15:52:17:818 EDT]   26e26f FatalerrorCha E com.celosis.logger.FatalerrorChannel  TRAS0014I: The following exception was logged com.newscale.bfw.jms.PublishException: com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)

                  com.newscale.bfw.jms.PublishException: com.newscale.bfw.jms.JMSPublisher - init() PropertyUtil Object could not be created. com.newscale.bfw.jms.JMSPublisher - connect() failed with  JMSException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jvssd034:WAS_jvssd034_server1'[com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
        at com.newscale.bfw.jms.JMSPublisher.init(Unknown Source)
[4/5/06 15:52:17:963 EDT]   26e26f RequisitionSe W com.newscale.comps.requisition.domain.RequisitionServiceBean  Submit Requisition Failed
[4/5/06 15:52:17:966 EDT]   26e26f RequisitionSe W com.newscale.comps.requisition.domain.RequisitionServiceBean  TRAS0014I: The following exception was logged com.celosis.businessengine.InitRequisitionException: InitRequisition exception: Remote Exception occurred: CORBA MARSHAL 0x4942f896 No; nested exception is:
        org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Custom marshaling (4) Sender's class does not match local class  vmcid: IBM  minor code: 896  completed: No
        at com.celosis.businessengine.InitRequisitionDelegate.performInitRequisition(InitRequisitionDelegate.java:116)
        at com.celosis.businessengine.InitRequisitionDelegate.initRequisition(InitRequisitionDelegate.java:132)
        at com.newscale.comps.requisition.domain.RequisitionServiceBean.submitRequisition(RequisitionServiceBean.java:236)
        at com.newscale.comps.requisition.domain.EJSRemoteStatelessRequisitionService_6f340d3c.submitRequisition(Unknown Source)
        at com.newscale.comps.requisition.domain._RequisitionService_Stub.submitRequisition(_RequisitionService_Stub.java:398)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

------------------

The first error listed is what I'm assuming are causing the others. The error is preventing the app from operating. Any ideas?
dprasadAsked:
Who is Participating?
 
rama_krishna580Commented:
Hi,

Disabling global security is a simple workaround.

The Java Message Service code provided by WebSphere Application Server has been modified to handle Authentication Aliases using the new mechanism provided by the Connection Manager.

The fix for this APAR is currently targeted for inclusion in Cumulative Fix 3 for WebSphere Application Server Version 5.1.1. Please refer to the Recommended Updates page for delivery dates:
  http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&uid=swg27004980

R.K
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.