Using portable path separators in TIBCO Streaming configuration

Using portable path separators in TIBCO Streaming configuration

book

Article ID: KB0076038

calendar_today

Updated On:

Products Versions
TIBCO Streaming -

Description

When deployed on Microsoft Windows, the relative path is parsed correctly, but when deployed on Linux the file is not found even though it exists at the correct location.

How can we make our application portable?

Issue/Introduction

Configuration guidance

Resolution

Use the forward-slash character, "/", as a file-path separator in all TIBCO Streaming configuration and in StreamBase Studio operator properties settings which take a file path for all operating systems.

The back-slash character, "\", is interpreted as an escape character within strings on Linux operating systems and is not converted to an operating-system specific path separator.