IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
Expand all | Collapse all

Getting Connection failed when more than one mq is connected through a proces

  • 1.  Getting Connection failed when more than one mq is connected through a proces

    Posted Tue March 23, 2021 06:34 PM

    Two MQ servers were configured. 1st connection is succesful, whereas sencond connection is failed. Individually both are connecting. But when two connections are trying to made with a single process, 1st is successful and 2nd failed - getting 2393 error for the 2nd MQ connection





    #SupportMigration
    #IBMi
    #Support


  • 2.  RE: Getting Connection failed when more than one mq is connected through a proces

    Posted Tue July 27, 2021 07:44 PM

    You can only have ONE connection in bindings mode to a queue manager at a time.

    If you use the MQ.Environment class this is also true for the client mode.

    If you need to create more than one connection at a time to different queue managers (client mode only), you need to use the constructor with the HashTable.

    Hope it helps





    #Support
    #SupportMigration
    #IBMi