TIBCO-AMX-CLI-000049: The property 'tibco.bpm.app.version' has not been defined

TIBCO-AMX-CLI-000049: The property 'tibco.bpm.app.version' has not been defined

book

Article ID: KB0079644

calendar_today

Updated On:

Products Versions
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) 4.2.0 GA

Description

During the configuration of AMX BPM, the following failure may occur (as per the create.bpm.log):

...

     [echo] 
     [echo] =================================================================
     [echo] Task:   Creating System Folders
     [echo] =================================================================
     [echo] 
15 Dec 2017 10:29:17  INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode
15 Dec 2017 10:29:44  INFO - Connecting to AMX Admin server at 'https://sd-e80d-1452.nam.nsroot.net:61120' as user 'root'.
15 Dec 2017 10:29:44  INFO - Executing action 'add' for 3 objects from data file '/opt/dk-bpm/config_dir/tibco/data/bpm/amx.bpm.app.dk/deployment/integration_setup_admin_data.xml'
15 Dec 2017 10:29:45 ERROR - TIBCO-AMX-CLI-000049: The property 'tibco.bpm.app.version' has not been defined. It is used inside the file /opt/dk-bpm/config_dir/tibco/data/bpm/amx.bpm.app.dk/deployment/integration_setup_admin_data.xml in the expression: '<xml-fragment xsi:type="amxdata:Environment" name="${tibco.bpm.environment}" description="TIBCO BPM Environment" contact="TIBCO" xmlns:amxdata="http://tibco.com/amxadministrator/command/line/types" xmlns:amxdata_base="http://tibco.com/amxadministrator/command/line/types_base" xmlns:amxdata_reference="http://tibco.com/amxadministrator/command/line/types_reference" xmlns:jmssr="http://tibco.com/amxadministrator/command/line/types_jmssr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Host name="${tibco.bpm.host}"/>

...

The calling script in this case was as follows:

...

$CONFIG_HOME/BPMEnvironment_CH/amx.bpm.app.ch/deployment/integration_setup_admin_data.xml

...

The undefined variable was:

...

tibco.bpm.app.version

...

Issue/Introduction

During the configuration of BPM (create.bpm), at the task 'Creating System Folders', tct might fail with the error TIBCO-AMX-CLI-000049: The property 'tibco.bpm.app.version' has not been defined

Environment

OS: Linux AMXSG: 3.3.0 +Hf18 AMX BPM: 4.2.0 GA (Likely could affect all versions)

Resolution


In the directory $TIBCO_HOME/bpm/4.2/scripts should be the following file:

...

instance-mgmt.xml

...

In this particular scenario, this file had a missing property:

...

                <!-- New properties to control system application name and folder creation -->
                <property name="tibco.bpm.app.name" value="amx.bpm.app"/>
                <property name="tibco.bpm.sysorgmodel.app.name" value="${tibco.bpm.app.name}.sysorgmodel"/>
                <property name="tibco.bpm.cmis.app.name" value="${tibco.bpm.app.name}.cmis"/>
                <property name="tibco.bpm.app.path" value="/${tibco.bpm.app.name}"/>
                <property name="tibco.bpm.sysapps.name" value="System"/>
                <property name="tibco.bpm.sysapps.path" value="/${tibco.bpm.app.name}/${tibco.bpm.sysapps.name}"/>
                <property name="tibco.bpm.shared.sysapps.name" value="amx.bpm.shared.sysapps"/>
                <property name="tibco.bpm.shared.sysapps.path" value="/${tibco.bpm.shared.sysapps.name}"/>
                <property name="tibco.bpm.soap.version" value="1.1"/>
                <property name="tibco.bpm.handledependencies" value="false"/>
                
...

By adding the following missing property under the property "tibco.bpm.app.name" the installation was able to complete:

...

                <!-- New properties to control system application name and folder creation -->
                <property name="tibco.bpm.app.name" value="amx.bpm.app"/>
                <property name="tibco.bpm.app.version" value="4.2.0"/>
                <property name="tibco.bpm.sysorgmodel.app.name" value="${tibco.bpm.app.name}.sysorgmodel"/>
                <property name="tibco.bpm.cmis.app.name" value="${tibco.bpm.app.name}.cmis"/>
                <property name="tibco.bpm.app.path" value="/${tibco.bpm.app.name}"/>
                <property name="tibco.bpm.sysapps.name" value="System"/>
                <property name="tibco.bpm.sysapps.path" value="/${tibco.bpm.app.name}/${tibco.bpm.sysapps.name}"/>
                <property name="tibco.bpm.shared.sysapps.name" value="amx.bpm.shared.sysapps"/>
                <property name="tibco.bpm.shared.sysapps.path" value="/${tibco.bpm.shared.sysapps.name}"/>
                <property name="tibco.bpm.soap.version" value="1.1"/>
                <property name="tibco.bpm.handledependencies" value="false"/>
                
...

It is not clear how this property was removed, perhaps a manual edit of the files under TIBCO_HOME.