Article - CS290321
Method Server is taking 10-40 minutes to start for Windchill
Modified: 29-May-2026
Applies To
- FlexPLM 11.0 to 13.0
- Windchill PDMLink 11.0 to 13.1
Description
- MethodServer startup is very slow, or application not coming up even after long time
- Windchill start stuck at
Servlet engine ready; catalina.base=/opt/ptc/Windchill_11.0/Windchill/tomcat/instances/instance-8011 - Comparing the timestamp between the below two lines indicated Tomcat took 30 minutes to start:
- Very slow Method Server startup around 600-700 seconds
- FlexPLM is taking almost 9 hours to get started with the Image folder linked in the codebase
- Enabling loggers below can find the annotation scanning is slow
org.apache.tomcat.util.scan.StandardJarScanner ALL org.apache.catalina.startup.ContextConfig ALL - Captured thread dumps during the Method Server startup following article CS115335:How to use jstack to create thread dumps in Windchill, showed annotation scanning during Tomcat startup:
Thread 27014: (state = IN_NATIVE) - java.io.UnixFileSystem.getBooleanAttributes0(java.io.File) @bci=0 (Compiled frame; information may be imprecise) - java.io.UnixFileSystem.getBooleanAttributes(java.io.File) @bci=2, line=242 (Compiled frame) - java.io.File.isDirectory() @bci=29, line=849 (Compiled frame) - org.apache.catalina.startup.ContextConfig.processAnnotationsFile(java.io.File, org.apache.tomcat.util.descriptor.web.WebXml, boolean) @bci=1, line=2021 (Compiled frame) - org.apache.catalina.startup.ContextConfig.processAnnotationsFile(java.io.File, org.apache.tomcat.util.descriptor.web.WebXml, boolean) @bci=93, line=2030 (Compiled frame) - org.apache.catalina.startup.ContextConfig.processAnnotationsFile(java.io.File, org.apache.tomcat.util.descriptor.web.WebXml, boolean) @bci=93, line=2030 (Interpreted frame) - org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(java.net.URL, org.apache.tomcat.util.descriptor.web.WebXml, boolean) @bci=68, line=1972 (Interpreted frame) - org.apache.catalina.startup.ContextConfig.processAnnotations(java.util.Set, boolean) @bci=83, line=1923 (Interpreted frame) - org.apache.catalina.startup.ContextConfig.webConfig() @bci=210, line=1166 (Interpreted frame) - org.apache.catalina.startup.ContextConfig.configureStart() @bci=101, line=783 (Interpreted frame) - org.apache.catalina.startup.ContextConfig.lifecycleEvent(org.apache.catalina.LifecycleEvent) @bci=57, line=307 (Interpreted frame) - org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(java.lang.String, java.lang.Object) @bci=50, line=95 (Interpreted frame) - org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(java.lang.String, java.lang.Object) @bci=6, line=90 (Interpreted frame) - org.apache.catalina.core.StandardContext.startInternal() @bci=725, line=5212 (Interpreted frame) - org.apache.catalina.util.LifecycleBase.start() @bci=210, line=145 (Interpreted frame) - org.apache.catalina.core.ContainerBase.addChildInternal(org.apache.catalina.Container) @bci=170, line=753 (Interpreted frame) - org.apache.catalina.core.ContainerBase.addChild(org.apache.catalina.Container) @bci=26, line=729 (Interpreted frame) - org.apache.catalina.core.StandardHost.addChild(org.apache.catalina.Container) @bci=40, line=717 (Interpreted frame) - org.apache.catalina.startup.HostConfig.deployDescriptor(org.apache.catalina.util.ContextName, java.io.File) @bci=528, line=620 (Interpreted frame) - org.apache.catalina.startup.HostConfig$DeployDescriptor.run() @bci=113, line=1832 (Interpreted frame) - java.util.concurrent.Executors$RunnableAdapter.call() @bci=105, line=511 (Interpreted frame) - java.util.concurrent.FutureTask.run() @bci=194, line=266 (Interpreted frame) - java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1142 (Interpreted frame) - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=106, line=617 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)
This is a printer-friendly version of Article 290321 and may be out of date. For the latest version click CS290321