iProcess swadm commands not working on Windows installation of the iProcess Engine

iProcess swadm commands not working on Windows installation of the iProcess Engine

book

Article ID: KB0081533

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) 11.6.0

Description

iProcess swadm commands not working on Windows installation of the iProcess Engine

e.g.
swadm EVLOOPBACK
swadm show_processes

The swadm commands return to the command line (cmd prompt) with nothing displayed as output.

Other iProcess commands such as plist and sweaireg work as per normal.

Issue/Introduction

iProcess swadm commands not working on Windows installation of the iProcess Engine

Environment

TIBCO iProcess Engine 11.6.0 Windows (Oracle) Windows Server 2012 R2 (64-bit)

Resolution

The swadm command was run with debug enabled.

The debug log contained:

180110100744.267630:v001: iel_msq_subscribe_to_event (): CoCreateInstance() on the subscriber class has not been performed
180110100744.280924:v004: <== iel_msq_subscribe_to_event ()
180110100744.293629:v004: <== iel_subscribe_to_event() nRetCode = -2.
180110100744.306387:T001: initialise() : iel_subscribe_to_event failed for SE_EVENT_CONF_CHANGED. Returned -2

 
The two iProcess SWEventClass DLL library files were not registered in Windows.
 
To register the DLLs
 
1. Copy the files:
    SWEventClass.dll
    SWEventClassSubscriber.dll
    from the iProcess installation (SWDIR) to C:\Windows\SYSWOW64
 
2. Manually register the DLL files using:
    regsvr32 C:\Windows\SYSWOW64\SWEventClass.dll
    regsvr32 C:\Windows\SYSWOW64\SWEventClassSubscriber.dll