1 Reply Latest reply on Dec 17, 2012 6:06 PM by Tom B-Oracle

    MQ connection pool connections not closed during restart

      Dear friends,
      I am facnig the issue as described below.
      In the application, during first call, we are creating MQ connection pool of 20 connections. But the connections are not closed during restart of Weblogic, It seems.
      It says it exceeded the maximum number of connections.
      Could someone please tell me how to write user defined code to close all connections during weblogic restart.
      Thanks in advance.
      Raja Mohammed.
        • 1. Re: MQ connection pool connections not closed during restart
          Tom B-Oracle
          As far as I recall, WebLogic cleans up all of its JMS connection pools upon a normal shutdown. This covers connections maintained by resource-reference pools (for application JMS calls), MDBs (for inbound messaging), and bridges (for messaging forwarding). Perhaps your application is caching connections external to these services? If so, then the app needs to be changed so that it closes any of its owned connections on shutdown. Also, MQ itself should be able to automatically clean-up any of it's dead connections - I'm not familiar with MQ tuning, but assume it should have a way to tune this; that said, there may be some limit as to how aggressive you can get with this tuning.