A C based TIBCO Enterprise Message Service (TIBCO EMS) application will fail to connect if there is an extra space at the end of the provider Url string

A C based TIBCO Enterprise Message Service (TIBCO EMS) application will fail to connect if there is an extra space at the end of the provider Url string

book

Article ID: KB0087828

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
Symptoms
========

C based applications will fail to start properly if the server URL contains trailing space characters. For instance, the following URL will not work: "tcp://locahost:7222 " even if there is an EMS Server running on that machine, listening on port 7222.

The connection creation call would return the code 18 "Invalid port".


Impact
======

Product Limitation
The provider Url is not trimmed with the C API.


Workaround
==========

Ensure that the provider url does not include any trailing space characters


Cause
=====
The provider Url is not trimmed with the C API



Resolution
=========

This is fixed in TIBCO Enterprise Message Service 4.2.0
Symptoms:

Cause:

Issue/Introduction

A C based TIBCO Enterprise Message Service (TIBCO EMS) application will fail to connect if there is an extra space at the end of the provider Url string