0

Linux のみでwebapp を追加すると、組み込みの tomcat がハングします。初めて起動したときは発生しませんが、2回目の起動以降は発生しません。

これは、Tomcat 8 にアップグレードした後にのみ発生しました。

スレッド ダンプを取得すると、アクセスを確認しようとするとスタックしていることがわかります。

何か案が?

"Thread-0@4521" prio=5 tid=0xb nid=NA runnable
  java.lang.Thread.State: RUNNABLE
                  at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:-1)
                  at java.io.File.canRead(File.java:768)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1992)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1988)
                  at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1939)
                  at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1897)
                  at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1149)
                  at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
                  - locked <0x11c0> (a org.apache.catalina.startup.ContextConfig)
                  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
                  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
                  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
                  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5080)
                  - locked <0x11c1> (a org.apache.catalina.core.StandardContext)
                  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
                  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
                  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
                  at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:550)
                  at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:515)
                  at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:197)
                  at com.my.app.deployment.WebAppsDeployer.loadApplications(WebAppsDeployer.java:51)
                    *****my code****
                  at java.lang.Thread.run(Thread.java:745)
4

1 に答える 1

1

Apache にバグを報告すると、そこにいる人たちが解決策を見つけるのを手伝ってくれました。

于 2016-01-03T09:01:36.780 に答える