Adapter throws an exception "java.io.IOException: Cannot run program "tibco/adapter/adadb/7.x/bin/adbagent" (in directory "directory path"): error=22, Invalid argument"

Adapter throws an exception "java.io.IOException: Cannot run program "tibco/adapter/adadb/7.x/bin/adbagent" (in directory "directory path"): error=22, Invalid argument"

book

Article ID: KB0082408

calendar_today

Updated On:

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

Description


When the adbagent.exe gets corrupt then it will through below error:
====
java.io.IOException: Cannot run program "tibco/adapter/adadb/7.x/bin/adbagent" (in directory "directory path"): error=22, Invalid argument
====

Issue/Introduction

java.io.IOException: Cannot run program "tibco/adapter/adadb/7.1/bin/adbagent" (in directory "directory path"): error=22, Invalid argument

Environment

Product: TIBCO ActiveMatrix Adapter for Database Version: 7.x OS: Supported Windows Operating System

Resolution


To resolve this error copy the wrap.exe from Tibco_home\tra\5.x\bin then paste at Tibco_home\adapter\adadb\7.x\bin and rename warp.exe to adbagent.exe.