Windchill PDMLink is not able to start with error message in browser: Service Unavailable

Published: 2020-12-15
Modified: 2021-01-15


  • Windchill PDMLink is not able to start with error message in browser: Service Unavailable

  • On Windchill PDMLink server a restart of the server or the Windchill-services does not start Windchill PDMLink

  • ptc windchill pdmlink-stdout log:

    2020-12-10 10:33:51 Commons Daemon procrun stdout initialized
    ServiceManager Loaded
    2020-12-10 10:33:51,828 INFO  [main] wt.manager.ServerLauncher - Starting ServerManager
    2020-12-10 10:33:55,551 FATAL [main] wt.manager.ServerLauncher - Service stop not requested, but server manager exited
  • ServerManager log:
    2020-12-10 10:43:47,577 ERROR [main] com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file Could not load keystore file.
  • ​Bug in Windchill 11.0 F000-M020

  • DB user account has been locked

  • ​​​Update Windchill 11.0 to later CPS or upgrade to newer release   

  • Reference: CS110492

Workaround to temporary fix the issue:

  1. Shut down all Windchill services

  2. Empty logs and caches

  3. Make sure no java (Windchill) is running

Recreate Keystore file

  1. Get passwords for ldap (Windchill DS) and for db-user (in this case pdmlink). Look in app, on server, or ask customer.

  2. Check the file validProperties.list (WINDCHILL_HOME/bin/adminTools/sip/). Make sure you have a hashtag on all rows but:

  • ie.ldap.managerPw

  • wt.pom.dbPassword

  • mapcredentials.admin.adapters

Open a Windchill Shell and run the command:

ant -f WT_HOME/bin/adminTools/sip/EncryptPasswords.xml recreateKeyStore

When prompted, enter passwords for:

  • ldap

  • db user

  • WidnchillLdap

  • enterpriseldap

Unlock the db user account

  1. Run the SQLServer Management Studios and login as SA account

  2. Expand nodes Security > Logins > RMB the db (in this case pdmlink) > select Properties

  3. In General: Enter Password and Confirm password fields with old password

  4. In General: uncheck Enforce password policy

  5. In Status: uncheck SQL server authentication: Login is locked out

  6. Click OK

  7. Go to Properties for user (eg. pdmlinkand in General: check Enforce password policy and uncheck Enforce password expiration

  8. Go to Status: check that login is locked out is still unchecked.

  9. Click OK

Start Windchill PDMLink services

  1. Start services as usual

  2. Check logs startup logs