I have been developing a servlet application, that runs fine within the
ide (netbeans).

When i deploy the war file to tomcat the application works fine. the
context.xml file lists the servlet context as /servlet/ICTHelpdesk

and the manager app lists the correct context and everything works
fine, until tomcat (5.0.28) is restarted. the manager now lists two
contexts /ICTHelpdesk and /servlet/appICTHelpdesk name, but
/servlet/ICTHelpdesk will not start, and the following exception is
thrown.

INFO: standardHost.start /servlet/ICTHelpdesk
15-Apr-2005 15:14:10 org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program
Files\Apache Software Foundation\Tomcat 5.0\webapps\servlet\ICTHelpdesk
does not exist or is not a readable directory
        at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
        at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
        at
org.apache.catalina.core.StandardHostDeployer.start(StandardHostDeployer.java:830)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:991)
        at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1322)
        at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:530)
        at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Unknown Source)


Regards


John Reynolds CNE CDE
ICT Network Services Manager
East Sussex Fire & Rescue Service

20 Upperton Road
Eastbourne
East Sussex
BN21 1EU

Tel: 01323 462239
Fax: 01323 462041

E-mail:[EMAIL PROTECTED]
Web: www.esfrs.org

This message is intended for the use of
the addressee(s) only and may contain
confidential or privileged information.
Any views or opinions expressed in this
e-mail or any files attached are those of
the sender and may not represent the views of 
East Sussex Fire & Rescue Service. 
If you have received it in error please notify
the sender and destroy it.
You may not use it or copy it to anyone else.
E-mail is not a secure communications medium,
please be aware of this when replying.
Although East Sussex Fire & Rescue Service
has taken steps to ensure that this e-mail
and any attachments are virus free,
we can take no responsibility if a virus is
actually present and you are advised to
ensure that the appropriate checks are made.
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:John Reynolds
TEL;WORK:01323462239
ORG:;ICS
TEL;PREF;FAX:01323462041
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Reynolds;John
TITLE:Network Systems Supervisor
END:VCARD

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:John Reynolds
TEL;WORK:01323462239
ORG:;ICS
TEL;PREF;FAX:01323462041
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Reynolds;John
TITLE:Network Systems Supervisor
END:VCARD


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to