"Error instantiating third party product feature template: unknown machine model" on Windows platform when using the configure-third-party-driver command.

"Error instantiating third party product feature template: unknown machine model" on Windows platform when using the configure-third-party-driver command.

book

Article ID: KB0085573

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
Configuring third party driver fails with the error message “Error instantiating third party product feature template: unknown machine model installation file:/c:/ tibco/components/shared/1.0.” on Windows platform.

Symptoms:
Configuring a third party driver in Windows fails with the error message below.

-------------------------------------------------------------------
c:\tibco3\amx\3.3\bin>configure-third-party-driver.exe -Dshell.name=com.tibco.tpcl.gen.oracle.jdbc -Dshell.version=11.1.0.112100 -Dsource.jar.folders=C:\data\3x\JDBC
_DRIVERS\2014.06.11_Oracle6_
Buildfile: c:\tibco3\amx\3.3\scripts\configure-third-party-driver.xml
-check-arguments:
-define-tpcl-provisioner-tasks:
-configure-third-party-driver:
[install.support.instantiate.tpcl.shell] Instantiating third party product feature template "com.tibco.tpcl.gen.oracle.jdbc" 11.1.0.112100 into machine model at c:\tibco3\tools\machinemodel\shared\1.0.0\machine.xmi
[install.support.instantiate.tpcl.shell] Error instantiating third party product feature template
[install.support.instantiate.tpcl.shell]        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[install.support.instantiate.tpcl.shell] Caused by: unknown machine model installation file:/c:/tibco3/components/shared/1.0.0/
[install.support.instantiate.tpcl.shell]        at com.tibco.devtools.installsupport.commands.InstantiateTPCLShellCommand.instantiateShell(InstantiateTPCLShellComman
d.java:260)
[install.support.instantiate.tpcl.shell]        at com.tibco.devtools.installsupport.commands.InstantiateTPCLShellCommand.execute(InstantiateTPCLShellCommand.java:13
9)
[install.support.instantiate.tpcl.shell]        ... 19 more

BUILD FAILED
c:\tibco3\amx\3.3\scripts\configure-third-party-driver.xml:40: Error instantiating third party product feature template: unknown machine model installation file:/c:/tibco3/components/shared/1.0.0/

Cause:
This error can happen if you pass a lower case drive letter (c:) for any of the properties while running ant. Cross check your build.properties for any file system path you provided. The drive letter should be in upper case. Another point is that the drive that you are using for your current path (“c:\tibco3\amx\3.3\bin” -> in the above example) should be in uppercase while running the script.

Issue/Introduction

"Error instantiating third party product feature template: unknown machine model" on Windows platform when using the configure-third-party-driver command.

Resolution

Use uppercase "C:\" instead of 'c:\" for any property being used.