?
Solved

Method createManagedConnctionWithMCWrapper caught an exception...

Posted on 2006-04-07
3
Medium Priority
?
15,276 Views
Last Modified: 2013-12-10
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?
0
Comment
Question by:dprasad
1 Comment
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 2000 total points
ID: 16478797
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question