When the pDNI v8.1 component is used with TIBCO Platform Server for Windows, Unix or z/Linux, duplicate files can be sent when both MaxConcurrent is greater than 1 and the Perl "threads" package is not installed

When the pDNI v8.1 component is used with TIBCO Platform Server for Windows, Unix or z/Linux, duplicate files can be sent when both MaxConcurrent is greater than 1 and the Perl "threads" package is not installed

book

Article ID: KB0076292

calendar_today

Updated On:

Products Versions
TIBCO Managed File Transfer Platform Server for UNIX All
TIBCO Managed File Transfer Platform Server for zLinux All

Description

The defect is only with pDNI version 8.1. Transfers will be successful, but the thread running the transfer can fail with the following message: 
"Can't locate object method "list" via package "threads" at dni line 6599." 

The defect causes pDNI to detect that the transfer ended with an error and pDNI will transfer the file again.

pDNI 8.1 was available for download from support.tibco.com and was distributed with these products:
TIBCO MFT Internet Server V8.2.1
TIBCO MFT Command Center V8.2.1  

Issue/Introduction

When the pDNI v8.1 component is used with TIBCO Platform Server for Windows, Unix or z/Linux, duplicate files can be sent when both MaxConcurrent is greater than 1 and the Perl "threads" package is not installed

Environment

All supported environments

Resolution

Check if the current Perl installation supports threads:

Create/edit a new file called threads.pl (the name can be anything) and copy/paste the following lines of code:

#!/usr/bin/perl
$CANUSETHREADS = eval 'use threads; 1';
if ( $CANUSETHREADS )
{ printf("threads are supported!!\n"); exit 0; }
else
{ printf("threads are NOT supported!!\n"); exit 8; }

Save the script and at the command prompt type:

perl threads.pl
The output would inform whether the current Perl installation supports threads.    

If threads are NOT supported:

1. Set the MaxConcurrent parameter on the affected templates to 1.
2. If this is not an option, then a rollback/downgrade to the previous version of pDNI is recommended.