Article - CS305334

Upgrade Manager fails at Update Container Templates phase with error Unable to complete startup of all Windchill Services even though MethodServer is ready in Windchill

Modified: 24-Feb-2025   


Applies To

  • Windchill PDMLink 11.0 to 13.0
  • FlexPLM 11.0 to 12.0
Windchill 11.1

Description

  • Upgrade Manager fails with error Unable to complete startup of all Windchill Services even though MethodServer is ready.
  • Update container template fails with cannot connect to method server, even when method server is up
  • UpgradeManager log reports following error:
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task FAILED: Starting Windchill Server
2019-04-24 00:52:06,776 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task Execution Time: 2 minutes, 42 seconds, 824 milliseconds
2019-04-24 00:52:06,776 ERROR [main] com.ptc.windchill.upgrade.statemachine.state.PhaseEventUpgradeState - Upgrade execution failed with the exception:

wt.util.WTException: (com.ptc.windchill.upgrade.util.utilResource/12) wt.util.WTException: Unable to complete startup of all Windchill Services
Nested exception is: (com.ptc.windchill.upgrade.util.utilResource/12) wt.util.WTException: Unable to complete startup of all Windchill Services
    at com.ptc.windchill.upgrade.util.MethodServerController.checkServiceStartup(MethodServerController.java:163)
    at com.ptc.windchill.upgrade.util.MethodServerController.startManager(MethodServerController.java:119)
    at com.ptc.windchill.upgrade.util.MethodServerController.attemptToStartMethodServer(MethodServerController.java:234)
    at com.ptc.windchill.upgrade.util.MethodServerController.attemptToStartMethodServer(MethodServerController.java:212)
    at com.ptc.windchill.upgrade.statemachine.state.MethodServerUpgradeState.startMethodServer(MethodServerUpgradeState.java:57)
    at com.ptc.windchill.upgrade.statemachine.state.MethodServerUpgradeState.execute(MethodServerUpgradeState.java:102)
    at com.ptc.windchill.upgrade.statemachine.state.PhaseEventUpgradeState.execute(PhaseEventUpgradeState.java:55)
    at com.ptc.windchill.upgrade.statemachine.state.PersistPhaseUpgradeState.execute(PersistPhaseUpgradeState.java:100)
    at com.ptc.windchill.upgrade.statemachine.state.ReportWriterUpgradeState.execute(ReportWriterUpgradeState.java:75)
    at com.ptc.windchill.upgrade.statemachine.UpgradeFrameworkStateMachine.run(UpgradeFrameworkStateMachine.java:442)
    at com.ptc.windchill.upgrade.statemachine.UpgradeFrameworkStateMachine.main_(UpgradeFrameworkStateMachine.java:849)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.ptc.windchill.upgrade.statemachine.DynamicLauncher.runUpgradeFrameworkStateMachine(DynamicLauncher.java:65)
    at com.ptc.windchill.upgrade.statemachine.DynamicLauncher.main(DynamicLauncher.java:40)
2019-04-24 00:52:06,776 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Phase FAILED: Update Container Templates
2019-04-24 00:52:06,776 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - In phase - Update Container Templates and set framework logger to - INFO
2019-04-24 00:52:06,776 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task PENDING: Generating Report
2019-04-24 00:52:06,776 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task EXECUTING: Generating Report
2019-04-24 00:52:08,073 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task SUCCEEDED: Generating Report
2019-04-24 00:52:08,073 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task Execution Time: 1 seconds, 297 milliseconds
2019-04-24 00:52:08,073 ERROR [main] com.ptc.windchill.upgrade.statemachine.UpgradeFrameworkStateMachine - State execution failed (with return type FAILED): ReportWriterUpgradeState(Update Container Templates)
  • UpgradeManager UI reports following error:
User-added image
  • MethodServer log does not report any error and it show below message:
INFO  [Servlet engine main] com.ptc.tomcat.embedded.Bootstrap  - Servlet engine ready; catalina.base=<WindchillHome>\tomcat\instances\instance-8010
wt.method.server.startup  - MethodServer ready (in 90.183 secs).
  • Sometimes Users are unable to Login to Windchill UI with error HTTP response 503 and after refreshing the page in browser users are able to login to Windchill UI after installing the CPS03 or higher patch version.
  • Windchill shows service unavailable error after being updated to Windchill 11.1 M020 CPS03 or higher
  • Inconsistent Windchill login behavior with error HTTP Status 503 even though MethodServer is ready 
  • Sometimes windchill wt.auth.Authentication command works and sometimes same command fails with error java.io.IOException: Server returned HTTP response code: 503 for URL:
http://<WindchillURL>/Windchill/servlet/WindchillAuthGW/wt.httpgw.HTTPAuthentication/login
  • Intermittent SERVLET ENGINE NOT RESPONDING errors also shown in the server status page
  • After update to the CPS03 or higher HTTP 503 error occurs in HttpServer/logs/access.log when users access to Windchill
  • URL http://<hostname>/Windchill/wtcore/test/dynAnon.jsp is not accessible 
This is a printer-friendly version of Article 305334 and may be out of date. For the latest version click CS305334