Getting error "Operation error: when creating sink" when incorrect log path is specified

Getting error "Operation error: when creating sink" when incorrect log path is specified

book

Article ID: KB0079876

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Database 7.x

Description

When there is a non-existing log file path, the Adapter throws below error on the startup:
****************
SDK error in method <main()>: 
      Error code: AESDKJ-0457
      Error Message: "Operation error: when creating sink, /log/dva/am_exe_mes_galactica.am_exe_mes_galactica_adb_ob.log (MFileSink)."\log\dva\am_exe_mes_galactica.am_exe_mes_galactica_adb_ob.log  (The system cannot find the path specified)
****************      

Issue/Introduction

Getting error "Operation error: when creating sink" when incorrect log path is specified

Environment

Product: TIBCO ActiveMatrix BusinessWorks Adapter for Database Version: 7.x OS: All Supported Operating Systems

Resolution

1)Open the project in Designer and launch the adapter instance.
2)Go to the logging tab and double check if the path specified in the Log file field exists in the system.  
3)If the "Use Advanced Logging" option in the active database configuration is checked then go to the adapter instance-->advanced folder-->log sink-->file sink and check the file name in the file sink to make sure that the path defined here exists in the system.
If the log file path does not match with the system path then modify the path.