Skip to main content
1-Visitor
November 9, 2020
Question

Error while installing ThingWorxFoundationH2Trial-9.0.0-x64.exe in windows

  • November 9, 2020
  • 2 replies
  • 4014 views

I tired installing the exe but it is throwing the following error :

 

ThingWorx Foundation Trial for H2 Installation in Progress...
Executing C:\opscode\chef\bin\chef-client
Error running C:\opscode\chef\bin\chef-client -z --config "D:/ThingWorx/Thingworxinstall\installer\foundation\knife.rb" -j "D:/ThingWorx/Thingworxinstall\installer\foundation.json" -L "D:/ThingWorx/Thingworxinstall\installer\logs\foundation-20201109174515.log": Program ended with an error exit code
[17:45:35] ThingWorx Foundation Trial for H2: rc=1
[17:45:35] foundation Installation Failed
[17:45:35] Step install via chef script failed :: 1
[17:45:35] Abort Foundation component
[17:45:36] - CCIF Services functions: stop ThingWorx-Foundation

2 replies

Community Manager
November 9, 2020

Hi @MK_9706696.

 

Are you running the installer as Administrator?

What version of Java is installed?

 

Regards.

 

--Sharon

1-Visitor
November 10, 2020

Yes I am running it as administrator.

Java version I am using is 1.8.0_271.

Community Manager
November 11, 2020

Hi @MK_9706696.

 

I took another look at the log.  It looks like you have multiple versions of java installed:

 

[18:06:34] - Valid Java executable path: C:/Program Files/Java/jdk1.8.0_271/jre/bin/java.exe...

[18:06:34] - HOST_JAVA_HOME path: C:\PROGRA~1\Java\JDK18~1.0_2\jre...
 

You may need to remove the older versions or update the JAVA_HOME environment variable to indicate the path for the 1.8.0_271 version.  Also, if the Chef client is still installed, you may need to uninstall it before re-running the installer.

 

Regards.

 

--Sharon

17-Peridot
November 11, 2020

Also, provide these details :

  • Is this a fresh Installation on a new Instance or a reinstall of ThingWorx after uninstalling previous one.
  • Operating System and version
  • Database version

 

-Arshad