Cannot create appspace using command line adapteradmin utility if set admin.persistence.type=ActiveSpaces in the adapteragent.ini

Cannot create appspace using command line adapteradmin utility if set admin.persistence.type=ActiveSpaces in the adapteragent.ini

book

Article ID: KB0073795

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Database 7.2

Description

The issue occurs while creating appspace using adapteradmin. Directly pass the parameters to create domain, appspace and adapternode. A few things that were observed.

 1). tibco/afx/version/bin> adapteradmin create domain test .
 (this works fine.)
 
2). tibco/afx/version/bin>  adapteradmin create -d domain appspace test_appspace

3). tibco/afx/version/bin> adapteradmin create -d test appspace test_appspace 
 (does not work)

Issue/Introduction

Unable to create appspace using the commandline adapteradmin utility in ActiveSpaces.

Environment

======================================== Product: TIBCO ActiveMatrix Adapter Framework Version:1.3.1,1.4.x OS: All Supported Operating Systems ========================================

Resolution

This issue occurs with TIBCO ActiveMatrix Adapter Framework 1.3.1 and above, but only for ActiveSpaces. There are no issues with persistence type of DBEMS. To resolve the issue there are two workarounds.
 
 1), Use DBEMS.(activespace is depreciated from TIBCO ActiveMatrix Adapter Framework 1.3.1 and for above versions)
 
2). Create a creatappspace.cmd file using the commands below.
    create domain d1
    cd d1
    create -d d1 appspace test_space

 Execute the createappspace.cmd file as   tibco/afx/version/bin> adapteradmin createappspace.cmd 
 
To resolve the issue, "cd" to the domain and then create the appspace.

See the attached (Filename: createappspace_cmd.png) for reference.

Attachments

Cannot create appspace using command line adapteradmin utility if set admin.persistence.type=ActiveSpaces in the adapteragent.ini get_app