Startup error. SDK Error:'This usage of the operation is not supported with this version' seen in TIBCO ActiveMatrix Adapter for Files (Unix/Win)

Startup error. SDK Error:'This usage of the operation is not supported with this version' seen in TIBCO ActiveMatrix Adapter for Files (Unix/Win)

book

Article ID: KB0076377

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

When running TIBCO ActiveMatrix Adapter for Files (Unix/Win)(FA) publisher in SFT mode with JMS transport though FA initialization is successful, on placing the file in the input directory, FA fails to process that file and exits after logging the following error:
 
Startup error. SDK Error: This usage of the operation is not supported with this version:  Publisher unable to handle the MTree passed in. The error occurred on starting the adapter after initialization. The Repository URL is /opt/tibco/tra/domain/MCD_DOMAIN_LAP/data/BW-FE-FileAdapterOutboundConfiguration.dat:typeAccess=CLIENT_USAGE_FORCE_INSTANCE_LOCK and the Configuration URL is Adapters/OutBoundAdapters/BW-FE-FileAdapterOutboundConfiguration.

Symptoms:
TIBCO ActiveMatrix Adapter for Files (Unix/Win) (FA) publisher fails to publish file and service stops after logging error: Startup error. SDK Error: This usage of the operation is not supported with this version:  Publisher unable to handle the MTree passed in.

Cause:
This error occurs if the service property <transportType>jms</transportType> is missing in <instance_name>.adfiles under the dat file.

Generally the dat file contains the <transportType> tag but if the dat file becomes corrupted or if you convert the dat file into a project and again the project into the dat file, then this tag(<transportType>) may be missing in the dat file.

Issue/Introduction

Startup error. SDK Error:'This usage of the operation is not supported with this version' seen in TIBCO ActiveMatrix Adapter for Files (Unix/Win)

Environment

Product: TIBCO ActiveMatrix Adapter for Files (Unix/Win) Version: 6.0.x, 6.1.x, 6.2.x OS: All Supported Operating Systems --------------------

Resolution

This error can be resolved in the following two ways:

1). Modify the dat file manually:

Open the dat file and inside the TIBCO ActiveMatrix Adapter for Files (Unix/Win) (FA) instance tag, add the missing tag <string name="transportType" value="jms"/>

Example: After adding the missing tag dat file, it should have the following content:

<assoc name="sft">
                    <string name="ecmMode" value="false"/>
                    <string name="transBufferSize" value="32"/>
                    <string name="confTimeoutPeriod" value="15"/>
                    <string name="ecmRetrySemantics" value="strict"/>
                    <string name="progressFileName" value="__PlanexWare_File_PublisherPublicationService.prg"/>
                    <string name="timesToRetry" value="2"/>
                    <string name="verifyChecksum" value="true"/>
                    <string name="retransmissionDelay" value="10"/>
                  </assoc>
                  <string name="transportType" value="jms"/>
                </assoc>
                <string name="_loadUrlCollapse" value=""/>
            </object>    


2). Modifying project in Designer.

Open that project in TIBCO Designer and make changes in the project and then save. The <transportType> property will be added in <instance_name>.adfiles.