CA XCOM Gateway :Policy error after patch007 update
search cancel

CA XCOM Gateway :Policy error after patch007 update

book

Article ID: 191480

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM - SUPPORT

Issue/Introduction

After installing patch007, a policy that uses the filewatch feature failed to deliver the file.

Example from the log:
[ERROR][com.ca.xcom.gateway.autoFileInsertion.AutoFileTransfer] Error occurred while trying to upload the file for policy[xxxxxxxxxx].
com.ca.xcom.logging.exception.SystemException: Error occurred while writing the file [ABC12484] in un-encrypted mode.

Environment

Component : CA XCOM DATA TRANSPORT GATEWAY FOR WINDOWS
Release : 12.0
CA XCOM Data Transport for Windows
Release 11.6

Cause

For UNC paths, to get rid of the vulnerabilities with smbv1, we moved away from jcifs library and started using the SMBJ library which supports smbv2, smbv3.
Unfortunately, the SMBJ library has limitations related to UNC paths.

Resolution

In the case of directory watcher, each of the realm, watch, success and fail directories should NOT be subdirectories of each other.
They can be parallel or exist in different drives.
Also, each UNC share should be created separately - do not create a share and consider its subdirectories as different unc shares.

Also, remember your success, failed and watch directories need not be UNC shares because XCOM gateway and the shares are on the same server. They can be used directly with windows paths. Only the realm needs to be UNC since it is on a different server.