CentOS 6でtomcat6でWebアプリが起動できない
CentOS 6でtomcat6を起動すると
SEVERE: Error processing TLD files for context path /examples java.lang.IllegalArgumentException: URI file:./" is not hierarchical at java.io.File.(libgcj.so.10) at org.apache.catalina.startup.TldConfig.getJarPaths(TldConfig.java:687) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:281) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:739) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at java.lang.reflect.Method.invoke(libgcj.so.10) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
こんなエラーを吐いてWebアプリが起動できない。SELinuxも無効にしているし何が悪いのか分からない! やばい! どうしよう!
openjdk(1.6.0か1.7.0)を入れてないだけだった。tomcat6を入れただけだとjava-1.5.0-gcjで動かそうとするのね。超つまらない理由だった・・・・。”