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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Apache Tomcat service running then stop

CZ_10399607
6-Contributor

Apache Tomcat service running then stop

I can start Apache Tomcat and it running a while then stop, I checked the error log and found :Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json.

I also checked my platform-settings.json configuration, it is ok, I attached it as below:

 

Error Log:

2022-09-20 02:43:08.741+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 02:43:08.741+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.
2022-09-20 02:43:08.741+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Error creating Administrator user. See security log for details.
2022-09-20 02:43:08.834+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: Error creating Administrator user. See security log for details.
2022-09-20 02:43:08.834+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! ***
2022-09-20 02:53:33.715+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 02:53:33.715+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.
2022-09-20 02:53:33.715+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Error creating Administrator user. See security log for details.
2022-09-20 02:53:33.778+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: Error creating Administrator user. See security log for details.
2022-09-20 02:53:33.778+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! ***
2022-09-20 03:00:52.846+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 03:00:52.846+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.
2022-09-20 03:00:52.861+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Error creating Administrator user. See security log for details.
2022-09-20 03:00:52.924+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: Error creating Administrator user. See security log for details.
2022-09-20 03:00:52.924+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** Web Application STATE is being set to ERROR! ***

 

Security Log:

2022-09-20 02:42:51.385+0000 [L: INFO] [O: S.c.t.t.ThingGroupManager] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ThingGroup caches initialized successfully
2022-09-20 02:43:01.976+0000 [L: INFO] [O: S.c.t.s.a.s.SSOContext] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] SSOContext created...
2022-09-20 02:43:03.554+0000 [L: INFO] [O: S.c.t.s.s.u.UserManagementSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Concurrent user session restrictions being enabled = false
2022-09-20 02:43:08.741+0000 [L: ERROR] [O: S.c.t.s.u.User] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 02:43:08.741+0000 [L: ERROR] [O: S.c.t.s.UserCreator] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.
2022-09-20 02:53:17.093+0000 [L: INFO] [O: S.c.t.t.ThingGroupManager] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ThingGroup caches initialized successfully
2022-09-20 02:53:29.415+0000 [L: INFO] [O: S.c.t.s.a.s.SSOContext] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] SSOContext created...
2022-09-20 02:53:30.541+0000 [L: INFO] [O: S.c.t.s.s.u.UserManagementSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Concurrent user session restrictions being enabled = false
2022-09-20 02:53:33.715+0000 [L: ERROR] [O: S.c.t.s.u.User] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 02:53:33.715+0000 [L: ERROR] [O: S.c.t.s.UserCreator] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.
2022-09-20 03:00:37.675+0000 [L: INFO] [O: S.c.t.t.ThingGroupManager] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ThingGroup caches initialized successfully
2022-09-20 03:00:48.018+0000 [L: INFO] [O: S.c.t.s.a.s.SSOContext] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] SSOContext created...
2022-09-20 03:00:49.299+0000 [L: INFO] [O: S.c.t.s.s.u.UserManagementSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Concurrent user session restrictions being enabled = false
2022-09-20 03:00:52.846+0000 [L: ERROR] [O: S.c.t.s.u.User] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Admin Password entered did not pass validation. Check inital admin password set in platform-settings.json
2022-09-20 03:00:52.846+0000 [L: ERROR] [O: S.c.t.s.UserCreator] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Check the InitialPassword setting in the AdministratorUserSettings section in platform-settings.json. Password was blank or null. Please try again while following correct password policies: Minimum Password Length (System Default): 14, Maximum Password Length: 128, Does not contain blacklisted words.

 

platform-settings.json:

CZ_10399607_0-1663645465383.png

 

ACCEPTED SOLUTION

Accepted Solutions

Hi, 

 

You need to add the Administrator user password field on the platform-settings.json file 

 

danmorin_0-1663650492592.png

 

hope it helps you

 

Thanks

 

View solution in original post

4 REPLIES 4

Hi, 

 

You need to add the Administrator user password field on the platform-settings.json file 

 

danmorin_0-1663650492592.png

 

hope it helps you

 

Thanks

 

CZ_10399607
6-Contributor
(To:danmorin)

Hi

Thanks a lot, it works. Although I am still confused that why the same json file was used in other server is ok, I have to add this field in it. Anyway, thanks, I will confirm it with my colleagues

I assume they followed the instructions https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Installation/Installation/install_java_and_apache_tomcat.html

...

4. Configure the Administrator password.

...

9. Start Tomcat

...

14. Change initial Administrator password -> c) Delete the initial Administrator password from platform-settings.json

CZ_10399607
6-Contributor
(To:nmutter)

Yes, you are correct, they delete the field after change password...

Announcements


Top Tags