0 Replies Latest reply: Jan 16, 2006 3:51 AM by 807581 RSS

    Failed To Create Queue Connection in WebsphereAppS

    807581
      i have a strange exception that was haunting me for the past few weeks.
      The scenario is like this.
      i have a websphere queue connection factory with the following settings
      -----------------------
      Connection pool
      ------------------------
      MaxSessions 10
      Min Sessions 1

      -----------------------
      Session Pool
      ------------------------
      MaxSessions 10
      Min Sessions 1

      i have 10 listener ports each having max sessions as 1 and maximum messages as 1.

      Now the problem is that ,none of my queues is working,
      if i performs any of the operations on any o fthe queues.

      After getting the connection factory the following exception is thrown.
      <MESSAGEROUTER> <FINER> :x.messagerouter.bo.QueueMessageService publishMessage() : Inside QueueMessageService- publishMessage
      <MESSAGEROUTER> <FINER> :x.messagerouter.bo.QueueMessageService publishMessage() : queueMessageVO.getType() = SendMessageQueue
      <MESSAGEROUTER> <FINER> :x.messagerouter.bo.QueueMessageService publishMessage() : Got Initial Context.......
      <MESSAGEROUTER> <FINER> :x.messagerouter.bo.QueueMessageService publishMessage() : Got Connection Factory......
      javax.jms.JMSException: Failed to create queue connection
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.ibm.ejs.jms.JMSCMUtils.mapToJMSException(JMSCMUtils.java:95)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:86)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.bo.QueueMessageService.publishMessage(QueueMessageService.java:128)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.ejb.QueueMessageManagerEJB.publishMessage(QueueMessageManagerEJB.java:73)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.ejb.EJSLocalStatelessQueueMessageManagerEJB_8bbcfb88.publishMessage(EJSLocalStatelessQueueMessageManagerEJB_8bbcfb88.java:23)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.controller.MessageRouterControllerEJB.publishMessage(MessageRouterControllerEJB.java:433)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.controller.EJSRemoteStatelessMessageRouterControllerEJB_c7f95354.publishMessage(EJSRemoteStatelessMessageRouterControllerEJB_c7f95354.java:429)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messagerouter.controller._MessageRouterController_Stub.publishMessage(_MessageRouterController_Stub.java:322)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.broker.MessageBroker.callSendMessageMDB(MessageBroker.java:776)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.ejb.MessageManagerEJB.sendMessagesUsingMDB(MessageManagerEJB.java:5845)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.ejb.EJSLocalStatelessMessageManagerEJB_db4c5a64.sendMessagesUsingMDB(EJSLocalStatelessMessageManagerEJB_db4c5a64.java:887)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.controller.MessageControllerEJB.sendMessages(MessageControllerEJB.java:700)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.controller.EJSRemoteStatelessMessageControllerEJB_86ca9fc5.sendMessages(EJSRemoteStatelessMessageControllerEJB_86ca9fc5.java:483)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.controller._MessageController_Stub.sendMessages(_MessageController_Stub.java:1118)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.messaging.delegate.MessageDelegate.sendMessages(MessageDelegate.java:356)
      [1/16/06 15:06:18:782 IST] 2e4bf665 SystemErr R      at com.fca.linx.flight.flightinfo.handler.FlightInfoHandler.sendMessages(FlightInfoHandler.java:472)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.flight.flightinfo.appclient.handler.IiopFlightInfoHandler.handleSendMessagesAction(IiopFlightInfoHandler.java:212)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.flight.flightinfo.appclient.handler.IiopFlightInfoHandler.operate(IiopFlightInfoHandler.java:76)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.requestprocessor.IIOPRequestProcessor.processRequest(IIOPRequestProcessor.java:89)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.requestprocessor.IIOPRequestProcessor.doProcess(IIOPRequestProcessor.java:64)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.tx.TransactionProcessor.doProcess(TransactionProcessor.java:66)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.frontcontroller.FrontControllerEJB.processRequest(FrontControllerEJB.java:83)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.frontcontroller.FrontControllerEJB.doProcess(FrontControllerEJB.java:62)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.frontcontroller.EJSRemoteStatelessFrontControllerEJB_88f4628e.doProcess(EJSRemoteStatelessFrontControllerEJB_88f4628e.java:22)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.frontcontroller._EJSRemoteStatelessFrontControllerEJB_88f4628e_Tie.doProcess(_EJSRemoteStatelessFrontControllerEJB_88f4628e_Tie.java:156)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.fca.linx.framework.appclient.frontcontroller._EJSRemoteStatelessFrontControllerEJB_88f4628e_Tie._invoke(_EJSRemoteStatelessFrontControllerEJB_88f4628e_Tie.java:81)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:602)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:455)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.rmi.iiop.ORB.process(ORB.java:402)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.CORBA.iiop.ORB.process(ORB.java:1685)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2173)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
      [1/16/06 15:06:18:798 IST] 2e4bf665 SystemErr R <MESSAGEROUTER> <FINER> :x.messagerouter.bo.QueueMessageService publishMessage() : jmsExceptionjavax.jms.JMSException: Failed to create queue connection
      <PRESENTATION> <FINE> :x.framework.appclient.requestprocessor.IIOPRequestProcessor isDataRequest() : inside checkForDataRequest
      <PRESENTATION> <FINE> :x.framework.appclient.requestprocessor.IIOPRequestProcessor processRequest() : Setting the next screen.



      Another strange thing is that if i stop any one of the listener ports rest all the queues will work perfectly..

      i have been searching the internet database for the past 4 weeks and couldn't get an appropriate solution to this problem..


      Is this any configuration problem..

      Please advice gurus...

      Thanks in advance ,

      Aneesh.