Failed to initialize JMS Message Queue: Invalid port number

Failed to initialize JMS Message Queue: Invalid port number

book

Article ID: KB0073470

calendar_today

Updated On:

Products

TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions

Description

While starting the TIBCO ActiveMatrix Adapter for SAP, facing the Invalid port number error message which is related to EMS. Two EMS servers running in fault tolerance mode.

adr3.msgReportQueue.serverUrl=tcp://ems-server1;tcp://ems-server2

When we start the TIBCO ActiveMatrix Adapter for SAP with this configuration then will get the following error message in adapter Logs:
--------
Error [Adapter] AER3-970243 Failed to initialize JMS Message Queue: Invalid port number
--------
The adapter starts and processes the messages but after a while, it stops picking up messages from EMS.
 

Issue/Introduction

To resolve this issue, remove the semicolon which is given between two ems servers. Use a comma in place of semicolon.

Environment

All Supported Platforms

Resolution

To resolve this issue, remove the semicolon which is given between two ems servers. Use a comma in place of semicolon.

Incorrect URLs:
=========
adr3.msgReportQueue.serverUrl=tcp://ems-server1;tcp://ems-server2
==========
Corrected URLs:
==========
adr3.msgReportQueue.serverUrl=tcp://ems-server1,tcp://ems-server2
==========