pkg_export.sh script is failing

pkg_export.sh script is failing

book

Article ID: KB0083017

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization -

Description

User is able to login to Studio and perform an export from the studio but is unable to run the Pkg_export script
command issued:
-bash-4.1$ /space/composite/cis_6_2_0/bin/pkg_export.sh -pkgfile /tmp/CR_PKG_fzdIk_.car -server 10.22.50.39 -port 9401 -user admin -password REMOVED -domain composite -includeDependencies -verbose /services/databases/DEFAULT/UTILITY/TESTING/FourPMRates
 
ERROR: Could not login with the following info:
  Host:     10.22.50.39
  Port:     9401
  Username: admin
  Password: REMOVED
  Domain:   composite
  Encrypt:  false
Reason: java.rmi.RemoteException: Failed to connect to http://10.22.50.39:9401/cdms/webapi; nested exception is:
        java.rmi.RemoteException: HTTP Status-Code -1: null; nested exception is:
        HTTP Status-Code -1: null; nested exception is:
        java.rmi.RemoteException: Failed to connect to http://10.22.50.39:9401/cdms/webapi; nested exception is:
        java.rmi.RemoteException: HTTP Status-Code -1: null; nested exception is:
        HTTP Status-Code -1: null
 

Resolution

The port number is incorrect. 9401 is the JDBC port. So, port number should be corrected to 9400 instead.

After making this change, this script completed successfully
 

Issue/Introduction

pkg_export.sh script is failing