Error during upgrade of JMS adapter configuration with direct connections

Error during upgrade of JMS adapter configuration with direct connections

book

Article ID: KB0074544

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.4 and later

Description

When upgrading an existing JMS adapter configuration from StreamBase 10.2 or earlier to StreamBase 10.3 or later, the following error is seen when attempting to save the newly-created HOCON configuration file:
I/O exception: Error saving file /sample_adapter_embedded_jms/src/main/resources/adapter-configurations.xml
Error saving file /sample_adapter_embedded_jms/src/main/resources/adapter-configurations.xml

 

Issue/Introduction

Error during upgrade of JMS adapter configuration with direct connections

Resolution

StreamBase 10.3.0 introduced the new HOCON configuration type for configuring JMS and TIBCO EMS server connections, using the JMSAdapter root object in the com.tibco.ep.streambase.configuration.adapter type. Prior to Release 10.3.0, configuration for JMS and EMS operators was stored in src/main/resources/adapter-configurations.xml.

If you have any direct JMS connections defined in your existing adapter-configurations.xml (i.e. non-JNDI connections), the above error will occur when Studio attempts to automatically upgrade and save the existing adapter-configurations.xml to the new HOCON format.

This is a known issue that is resolved in TIBCO Streaming 10.6.0. Prior to this version, we recommend that you do not allow Studio to automatically upgrade your existing JMS configuration.  Instead, manually create a new HOCON configuration in Studio by going to File > StreamBase HOCON Configuration File, and select the 'JMS' type.