How to save JMS configuration after I/O exception: Error saving file

How to save JMS configuration after I/O exception: Error saving file

book

Article ID: KB0076043

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10

Description

When attempting to save a JMS configuration from the StreamBase Studio editor, we get error " I/O exception: Error saving file" and the file is not saved.

IO Error when save fails from the JMS configuration editor

Issue/Introduction

Workaround steps to use in TIBCO Streaming Studio

Resolution

The JMS adapter configuration editor validates the configuration and if the Connection Factory Class is not found it fails to save the configuration.

To save your changes, first select a ConnectionFactory class from your local Maven Repository using the "Browse..." button, Open this class and then save the jmsAdapter.conf file. As long as the class reference is to some ConnectionFactory class which the editor is able to verify exists, the save will continue.

Browsing for and selecting a ConnectionFactory class

If you do not have the correct ConnectionFactory class for your JMS server you may select any and save. Then obtain the correct library, put it in your local Maven Repository, and later return to the editor and correct the class reference.

For libraries available from Maven Central ( https://repo.maven.apache.org/maven2), the simple steps to add the library to your local Maven Repository are:

1. Copy from Maven Central the <dependency> information for the library into your project pom.xml file in the <dependencies> section, and Save the pom.xml.

2. Right-click on the project folder in the Project Explorer and choose menu: Maven > Update...  Use the defaults and update the project.
This will cause Studio (using the m2e plug-in) to download the referenced library into your local repository.