Topic
  • 1 reply
  • Latest Post - ‏2017-06-12T13:38:48Z by fjb_saper
mlotfi
mlotfi
1 Post

Pinned topic connection could not be established to queue manager

‏2017-05-04T13:04:25Z |

Hi,

I just installed MQFTE in windows 7 , I started the agent, I can see my agent  AGENT_ABDL_Q01 in MQ Explorer in ready state, but when I tried to stop it I got this error :

 fteStopAgent.cmd  AGENT_ABDL_Q01
5655-U80, 5724-R10 Copyright IBM Corp.  2008, 2011.  ALL RIGHTS RESERVED
BFGCL0002E: A messaging problem prevented the command from completing successfully. The WebSphere MQ completion code was 2, and the reason code was 2397.  A connection could not be established to queue manager ISQP1AP2, on host 'xx-xx.state.ma.us' using port 51542 and channel SYSTEM.DEF.SVRCONN.

 

Here are my properties files :

 

Command.properties :

#agentQMgrChannel=FTE.AGENT.SVRCONN

agentQMgrChannel=FTE.AGENT.SSL.SVRC

connectionQMgrPort=51542

connectionQMgrHost=xx-xx.state.ma.us

connectionQMgr=ISQP1AP2

#connectionSslCipherSpec=TRIPLE_DES_SHA_US

connectionSslKeyStore=C:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

connectionSslKeyStorePassword=AGENT_ABDL_Q01

connectionSslTrustStore=C:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

connectionSslTrustStorePassword=AGENT_ABDL_Q01

 

coordination.properties :

coordinationQMgr=ISQP1AP1

coordinationQMgrHost=xx-xx.state.ma.us

#agentQMgrChannel=FTE.AGENT.SVRCONN

agentQMgrChannel=FTE.AGENT.SSL.SVRC

coordinationQMgrPort=51541

#coordinationSslCipherSpec=TRIPLE_DES_SHA_US

coordinationSslKeyStore=C:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

coordinationSslKeyStorePassword=AGENT_ABDL_Q01

coordinationSslTrustStore=C:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

coordinationSslTrustStorePassword=AGENT_ABDL_Q01

 

agent.properties :

agentQMgr=ISQP1AP2

agentQMgrPort=51542

agentDesc=

agentQMgrHost=xx-xx.state.ma.us

#agentQMgrChannel=FTE.AGENT.SVRCONN

agentQMgrChannel=FTE.AGENT.SSL.SVRC

agentName=AGENT_ABDL_Q01

agentSslCipherSpec=TRIPLE_DES_SHA_US

agentSslKeyStore=C\:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

agentSslKeyStorePassword=AGENT_ABDL_Q01

agentSslTrustStore=C\:/IBM/WMQFTE/config/certs/AGENT_ABDL_Q01.jks

agentSslTrustStorePassword=AGENT_ABDL_Q01

javaCoreTriggerFile=C\:\\IBM\\WMQFTE\\config\\ISQP1AP1\\agents\\AGENT_ABDL_Q01\\logs\\javaCoreTriggerFile

 

Thanks, your help is appreciated.

 

 

  • fjb_saper
    fjb_saper
    240 Posts

    Re: connection could not be established to queue manager

    ‏2017-06-12T13:38:48Z  

    Did you make changes to the agent while it was in a running state?

    I see that all your channel references point to FTE.AGENT.SSL.SVRC however your log shows SYSTEM.DEF.SVRCONN... Find out why...