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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

RHEL6 - Unable to Initialize Entity System in Users: null

jeffki
1-Newbie

RHEL6 - Unable to Initialize Entity System in Users: null

Hi All,

I'm attempting to get both the Thingworx Platform and Thingworx Connection Server installed on my RHEL6 (64 bit) system.  I've had a myriad of errors, but I'm now stuck on something internal to the application of Thingworx.  I'm hoping you can help get me through this hurdle first.

Noticed Application Error:

Entity System in Users: null

2015-02-26 16:10:08.957-0600 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Unable To Initialize Entity Administrator in Users: null

2015-02-26 16:10:08.971-0600 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Unable To Initialize Entity SuperUser in Users: null

Environment:
CentOS 6.5

8 Core

16 GB Ram

2.6.32-431.11.2.el6.x86_64

Tomcat7

Java: jdk1.8.0_31 (note: I've also tried 1.7.0_75 and 1.6)

Log: ApplicationLog.log from /ThingworxStorage/logs :

2015-02-26 16:10:07.890-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 ========================================

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 ThingWorx System Environment Settings

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 ========================================

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 OS: Linux

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 OS arch: amd64

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 OS version: 2.6.32-431.11.2.el6.x86_64

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Total Processors: 8

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Default encoding: UTF-8

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 JAVA vendor: Oracle Corporation

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 JAVA version: 1.8.0_31

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 JAVA install location: /usr/java/jdk1.8.0_31/jre

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 JVM Max Memory: 5053 (MB)

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 ========================================

2015-02-26 16:10:07.892-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 WebApp starting...

2015-02-26 16:10:08.144-0600 /L: WARN /O: o.n.k.EmbeddedGraphDatabase /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.

2015-02-26 16:10:08.496-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Service Registry...INITIALIZED

2015-02-26 16:10:08.530-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Neo Datastore database...INITIALIZED

2015-02-26 16:10:08.582-0600 /L: INFO /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Managers...INITIALIZED

2015-02-26 16:10:08.630-0600 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Collections...

2015-02-26 16:10:08.889-0600 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Scheduler Engine...

2015-02-26 16:10:08.890-0600 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Entities...

2015-02-26 16:10:08.890-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ModelTags...

2015-02-26 16:10:08.890-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing DataTags...

2015-02-26 16:10:08.890-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Groups...

2015-02-26 16:10:08.890-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Users...

2015-02-26 16:10:08.931-0600 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Unable To Initialize Entity System in Users: null

2015-02-26 16:10:08.957-0600 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Unable To Initialize Entity Administrator in Users: null

2015-02-26 16:10:08.971-0600 /L: ERROR /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Unable To Initialize Entity SuperUser in Users: null

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Organizations...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Logs...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing DataShapes...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ThingShapes...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ThingPackages...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ThingTemplates...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ApplicationKeys...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Dashboards...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing LocalizationTables...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing StateDefinitions...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing StyleDefinitions...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Widgets...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Mashups...

2015-02-26 16:10:08.971-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Menus...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing MediaEntities...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Networks...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ExtensionPackages...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Authenticators...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing DirectoryServices...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Resources...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing ScriptFunctionLibraries...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Subsystems...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.m.BaseManager /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Initializing Things...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Cleaning up legacy entities...

2015-02-26 16:10:08.972-0600 /L: INFO /O: c.t.s.ThingWorxServer /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 Checking default permissions...

2015-02-26 16:10:08.982-0600 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6

2015-02-26 16:10:08.984-0600 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 *** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: null

2015-02-26 16:10:08.984-0600 /L: ERROR /O: c.t.s.ThingWorxBootstrapper /I: /U: SuperUser /S: /T: http-bio-8080-exec-6 *** Web Application STATE is being set to ERROR! ***

Permissions:

/ThingworxBackupStorage:

total 12K

drwxr-xr-x.  3 tomcat tomcat 4.0K Feb 26 15:56 .

dr-xr-xr-x. 26 root   root   4.0K Feb 26 15:56 ..

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 backups

/ThingworxStorage:

total 32K

drwxr-xr-x.  8 tomcat tomcat 4.0K Feb 26 15:56 .

dr-xr-xr-x. 26 root   root   4.0K Feb 26 15:56 ..

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 certificates

drwxr-xr-x.  3 tomcat tomcat 4.0K Feb 26 15:56 database

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 exports

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 extensions

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 logs

drwxr-xr-x.  2 tomcat tomcat 4.0K Feb 26 15:56 repository

9 REPLIES 9
smanley
13-Aquamarine
(To:jeffki)

Hi Jeff,

Just to confirm, have you already reviewed the prerequisite documentation and installation documentation on the community site? You will want to use the Java and Tomcat versions outlined here to get started. The prerequisite system requirements can be found in section 02.02 of the Wiki and the installation instructions can be found at section 02.01.  If after setting up your system following these direction and settings you are still having issues, please open a support case in the PTC eSupport portal to work directly with a ThingWorx engineer. This can be found at https://support.ptc.com.


Thank you,

Saeed



stanislav
6-Contributor
(To:jeffki)

Can you please post here the solution for this issue?

Sebastian, can you post your error message here along with your Tomcat and Java versions?

stanislav
6-Contributor
(To:Aanjan)

I used Tomcat 8 and JDK 1.8, but I do not think this is related to Java or Tomcat. I think is something related with CentOS.

The issue is the same as above:

"Unable To Initialize Entity System in Users: null"

"Unable To Initialize Entity Administrator in Users: null"

"Unable To Initialize Entity SuperUser in Users: null"

Thanks for the quick reply. Is this a new install or are you trying to upgrade? You might have done this already, but please do recheck the folder permissions.

stanislav
6-Contributor
(To:Aanjan)

This is a new install. I was running tomcat as root, so folder permissions should not be a problem.

I have installed Thingworx many times on Ubuntu and I did not encounter any issue, therefore I tend to believe the problem is related to CentOS,

Did you manage install Thingworx on CentOS ?

Sebastien, did you manage to solve the problem with Unable To Initialize Entity ?

I have the same issue on Ubuntu and Thingworx 7.1:


Installing Thingworx 7.1, PostgreSQL 9.4, Oracle JDK 1.8, Tomcat 8.0.36, Linux Ubuntu - problem

stanislav
6-Contributor
(To:jacekgra)

Yes, I managed to solved it by switching to Ubuntu.  In my case the problem was caused by CentOS.

rmody1
1-Newbie
(To:jeffki)

Hello I have used RDS Postgres DB, but i found same error, can anyone tell me how to solve that errors ?

Top Tags