Skip to main content
1-Visitor
May 10, 2016
Question

Installing Thingworx 7.1 - Could not authenticate Invalid authentication content

Hello,

I tried to install Thingoworx 7.1 with Java 8.1  Apache Tomcat 8.0 and PostgreSQL 9.5 (PgAdmin III) in Windows Server 2008 R2 Enterprise Service Pack 1.

I followed the steps on the manual:

1) install Tomcat and run the service

2) install PostgreSQL with PgAdmin III and create the login role

3) Create ThingworxPostgresqlStorace in C with full control to NETWORK SERVICE

3) Try to run the Bat files (Setup and Schema) after configured that  (i created the thingoworx DB and tablespace via PgAdmin GUI )

below the code:

-- Tablespace: thingworx

-- DROP TABLESPACE thingworx

CREATE TABLESPACE thingworx

  OWNER twadmin

  LOCATION 'C:\\ThingworxPostgresqlStorage';

-- Database: thingworx

-- DROP DATABASE thingworx;

CREATE DATABASE thingworx

  WITH OWNER = twadmin

       ENCODING = 'UTF8'

       TABLESPACE = thingworx

       LC_COLLATE = 'English_United States.1252'

       LC_CTYPE = 'English_United States.1252'

       CONNECTION LIMIT = -1;

Schermata 2016-05-10 alle 12.06.32.png

4) Create the json file in the Thingworx Platform folder in C: (attached file)

5) Added the thingworx.war file in webapps folder

in "manager apps"  it seems ok:

Schermata 2016-05-10 alle 02.27.58.png

when i click on Thingoworx something went wrong:  Could not Authenticate, Invalid Authentication content

Schermata 2016-05-10 alle 08.36.16.png

I tried to start and stop the app and reload with no results.

What's went wrong?

Anyone can help me?

Thanks

15 replies

5-Regular Member
May 10, 2016

Marco, the password set for twadmin and the one in the platform-settings.json matches, correct? Also, we support (and recommend) PostgreSQL 9.4. Please do install that instead. On a side note, similar to the other thread, please do post your Application log from ThingworxStorage/logs and Catalina logs from Tomcat_install_path/logs folder.

Translate
1-Visitor
May 10, 2016

i remove PostrgreSQL 9.5 and install 9.4. I tell you if it's work. Thanks

Translate
1-Visitor
May 10, 2016

i'm stucked at this point, during configuration of PostgreSQL 9.4

Schermata 2016-05-11 alle 00.16.13.png

Can i create tablespace and database using GUI Pg admin instead of bat file?

I need to delete the following stuff because impact on Postgresql?

Schermata 2016-05-11 alle 00.18.50.png

(all in C: path)

Thanks

Translate
1-Visitor
June 6, 2016

Where did you all find the .bat file? I'm stuck at this step.

Translate
5-Regular Member
June 7, 2016

Yuri, did you download the package from the Support portal? The zip file should have all the files required for installation.

Translate
1-Visitor
June 8, 2016

No, I downloaded the trial edition.

And I just found out I just need to change my Java version in order to play with Thingworkx trial edition.

Thanks for your answer

Translate
1-Visitor
July 15, 2016

Hello,

is this issue solved? I  have run in the same situation and no idea what can be the solution of it.

Thanks.

Translate
5-Regular Member
July 15, 2016

Miklos, can you post your logs? Can you try the steps/ suggestions mentioned in this thread as well?

Translate
1-Visitor
July 18, 2016

Hi Aanjan,

i  followed already these steps, the only difference is that (maybe is important) i have Windows 10. Please see my logs.

Thanks for your help.

Translate
1-Visitor
July 18, 2016

Hi again,

after i tried to install on another System i realized that there was some system issue.

I made a clean up with thingworxPostgresDBCleanup.bat i re-runn the thingworxPostgresDBSetup.bat, i need to re-create the thingworks table space manualy, i did the following setup:

- i set the password for twadmin again

- re-set the location of the Storage

- i set the owner of the table space as twadmin

- run the thingworxPostgresSchemaSetup again

and that was it. Everything works now on my system to.

Maybe something hasn't run at the begging with the setup batch but after i made a clean and remade almost everything .

Thank you all for your help.solution.png

Translate
5-Regular Member
July 18, 2016

Miklos, just so I understand, removing everything and starting from scratch and re-running the script files worked?

Translate