How to confirm if a new CDATA adapter has been deployed in a TIBCO Data Virtualization server from the log files?
book
Article ID: KB0072735
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
All supported versions
Description
The information given below will mention how to check if the CData adapter has been successfully deployed to the TIBCO Data Virtualization server.
Issue/Introduction
This article will give the details to check if a new CDATA adapter has been deployed successfully in a TIBCO Data Virtualization server from the log files.
Environment
All Supported Platforms
Resolution
I) Using the Auto-deploy method --------------steps-------------- 1. Place the required jar under '\packages\autodeploy_ds_adapters' Note: The jar file should be in the format tdv.<cdata_adapter_name>.jar 2. Restart TDV Server. 3. The jar will be deployed under the '/packages' folder. ---------------------------------
The messages logged in the cs_server.log file(SparkSQL Cdata adapter used as an example): ======================= INFO [main] 2021-10-10 12:53:36.714 +0530 DefaultDSExtensionPackageManager - Deploying built-in adapters INFO [main] 2021-10-10 12:53:36.958 +0530 ExtensionManager - Undeployment of Extension Package SparkSQL:1 is successful! INFO [main] 2021-10-10 12:53:40.016 +0530 DefaultDSExtensionPackageManager - Deployment of built-in toolkit adapters completed
II) Using the undeploy\deploy commands from the command prompt --------------steps-------------- 1. Extract the tdv.SparkSQL folder to the location of your choice. 2. Open a command prompt window. 3. Navigate to the <TDV_install_dir>/bin 4. Enter the server_util command with the -deploy option (note: package location is dependent upon the chosen extraction location): === server_util -server <hostname> [-port <port>] -user <user> -password <password> -deploy -package <unzipped_file_location>/tdv.sparksql/tdv.sparksql.jar
Note: When deploying a build of an existing adapter, you will need to undeploy the existing adapter using the server_util command with the -undeploy option. === server_util -server <hostname> [-port <port>] -user <user> -password <password> -undeploy -version 1 -name SparkSQL ---------------------------------
The messages logged in the cs_server.log file: ======================= INFO [jetty thread pool-145] 2021-10-10 15:02:59.787 +0530 ExtensionManager - Undeployment of Extension Package SparkSQL:1 is successful! INFO [jetty thread pool-145] 2021-10-10 15:03:12.218 +0530 ExtensionManager - Deployment of Extension Package SparkSQL:1 is successful!