4
昨日、サンプルのDWR Warファイルnetをダウンロードし、Tomcatの中に配置してテストしました。Tomcat - 静的リソースの開始時に重大なエラーが発生しました
今日、Tomcat - Webapps内で削除した後、work \ Catalina \ localhost内でも削除します。
サーバーの起動中に、サーバーコンソールでフロウリングエラーが発生します。
Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Softwares\apache-tomcat-6.0.33\webapps\DWRExample does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/DWRExample] startup failed due to previous errors
Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DWRExample] has not been started
ファイルDWRExample.xml
用フォルダC:\Softwares\apache-tomcat-6.0.33\conf\Catalina\localhost
を確認し、この
これは私たちのために働いた:)ありがとう – rjohnston
はい!こっちも一緒。 – PapaFreud