アーティクル - CS290321
メソッドサーバーの起動に10~40分かかります(Windchillの場合)
修正日: 29-May-2026
適用対象
- FlexPLM 11.0 to 13.0
- Windchill PDMLink 11.0 to 13.1
説明
- MethodServerの起動が非常に遅い、または長時間経過してもアプリケーションが起動しない。
- Windchill の起動が
Servlet engine ready; catalina.base=/opt/ptc/Windchill_11.0/Windchill/tomcat/instances/instance-8011 - 以下の2行のタイムスタンプを比較すると、Tomcatの起動に30分かかったことがわかります。
- メソッドサーバーの起動に非常に時間がかかり、約600~700秒かかります。
- FlexPLMは、コードベースにリンクされているイメージフォルダを使用して起動するのに約9時間かかります。
- 以下のロガーを有効にすると、アノテーションのスキャンが遅いことがわかります
org.apache.tomcat.util.scan.StandardJarScanner ALL org.apache.catalina.startup.ContextConfig ALL - 記事CS115335 :Windchill で jstack を使用してスレッド ダンプを作成する方法 に従って、メソッド サーバーの起動中にスレッド ダンプをキャプチャし、Tomcat の起動中のアノテーション スキャンを示しました。
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)
最新バージョンはこちらを参照ください CS290321