问题描述
- tomcat加载/conf/Catalina/localhost下的xml会把xml第一个字母省略掉
-
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admSystem] has already been started
2015-4-30 11:31:23 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor ost-manager.xml
2015-4-30 11:31:23 org.apache.catalina.startup.HostConfig deployDescriptor
严重: Error deploying configuration descriptor ost-manager.xml
java.io.FileNotFoundException: /root/apache-tomcat-6.0.24/conf/Catalina/localhost/ost-manager.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1624)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:593)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
2015-4-30 11:31:23 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor efenceImage.xml
2015-4-30 11:31:23 org.apache.catalina.startup.HostConfig deployDescriptor
严重: Error deploying configuration descriptor efenceImage.xml
java.io.FileNotFoundException: /root/apache-tomcat-6.0.24/conf/Catalina/localhost/efenceImage.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
实际文件下的xml名字没有错,但是加载的时候就会吧名字的第一个字母省略掉,导致找不到这个文件。
时间: 2024-10-28 01:04:01