cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Installation Fails : Thingworx foundation Trial H2

AE_9699465
6-Contributor

Installation Fails : Thingworx foundation Trial H2

Hi Team,

    I am using windows 10  64 Bit Enterprise version. When I trying to install "ThingWorx-Foundation-Installer-h2-trial-Windows-9-0-0" it ended up with some error message.

 

My java version is :

C:\Users\eaz>java -version
             java version "1.8.0_162"
            Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
            Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)

 

 Here I attached the error message and error log file.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Jimwang
14-Alexandrite
(To:AE_9699465)

@AE_9699465

 

1> From the log file you attached, it appears that the Installer is using the below JDK:

  --- C:/Program Files/Java/jdk-9.0.1/bin/java.exe

Per the path name, it sounds like that it is JDK 9.0 instead of 1.8.0_162. Please check your system environment variable PATH and JDK_HOME to make sure it points to the correct JDK/JRE version

 

2> Have you tried to install Thingworx on the system before? It seems that the below is already there. If you try to reinstall it again, check the below path and delete it if it is there before you re-install.

      D:\Program Files (x86)\ThingWorxFoundationH2Trial.

 

3> Run the installer with "Run As Administrator"

 

View solution in original post

11 REPLIES 11
slangley
23-Emerald II
(To:AE_9699465)

Hi @AE_9699465.

 

Did you run the installer as Administrator?

 

Regards.

 

--Sharon

AE_9699465
6-Contributor
(To:slangley)

Ya...yes..Installed by run as Administrator .

Jimwang
14-Alexandrite
(To:AE_9699465)

@AE_9699465

 

1> From the log file you attached, it appears that the Installer is using the below JDK:

  --- C:/Program Files/Java/jdk-9.0.1/bin/java.exe

Per the path name, it sounds like that it is JDK 9.0 instead of 1.8.0_162. Please check your system environment variable PATH and JDK_HOME to make sure it points to the correct JDK/JRE version

 

2> Have you tried to install Thingworx on the system before? It seems that the below is already there. If you try to reinstall it again, check the below path and delete it if it is there before you re-install.

      D:\Program Files (x86)\ThingWorxFoundationH2Trial.

 

3> Run the installer with "Run As Administrator"

 

AE_9699465
6-Contributor
(To:Jimwang)

Thanks for your information.

Ya Yes. Run the installer as a "Run As Administrator".

After uninstalling JDK-9.0.1, it's installed fine.

Thanks ...

AE_9699465
6-Contributor
(To:Jimwang)

Thanks for your information.

Ya Yes. Run the installer as a "Run As Administrator".

After uninstalling JDK-9.0.1, it's installed fine.

 

Now it's installed and in the services list "Apache Tomcat 9.0 ThingWorx-Foundation" is listed.

What is the next step? How to start Thingworx?

 

When I hit http://localhost:8080 in a browser, it shows the message as :

HTTP Status 404 – Not Found

Note: I was installed without SSL.

Jimwang
14-Alexandrite
(To:AE_9699465)

To start Thingworx, just need to start the service "ThingWorx-Foundation" only.

To access to Thingworx, you need to type the /Thingworx at the end of the URL like below:

http(s)://<Host>:<Port>/Thingworx

For example, http://localhost:8080/Thingworx/

If you still can't access to the server, please check the log files  under <Tomcat>/logs and <ThingworxStorage>/logs and see if there are any error messages.

 

AE_9699465
6-Contributor
(To:Jimwang)

When I hit http://localhost:8080/Thingworx/ in the browser, it asks for username and password. what is the username and password?

 

In the <ThingworxStorage>/logs/ErrorLog.log file , it shows as "Authentication failed: Please make sure the credentials are correct."

 

 

error1.JPGerror2.JPG

Jimwang
14-Alexandrite
(To:AE_9699465)

@AE_9699465 

During the installation, the installer should ask you to set the password for the Administrator, so you should enter the user with name Administrator. The password is what you set during the installation.

AE_9699465
6-Contributor
(To:Jimwang)

It's working. Thingworx Home page is loaded.

the user name is " Administrator" and the password is what I set during the installation.

 

Thanks ...

RL_9698466
4-Participant
(To:AE_9699465)

What is your $PATH set to? If it isn't, try set it to %\jdk..\jre..\bin

and check that you can access keytool from the cmdprmpt

I had the same error message and this worked for me. Thread below:

https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-install-ThingWorx-Foundation-Trial-v9/m-p/696612

 

AE_9699465
6-Contributor
(To:RL_9698466)

Hi... Thanks for responding.

In my system, I have installed JDK-9 also. After uninstalling JDK-9, it's installed correctly.

Top Tags