If this is really due to:

> 2002-10-22 13:05:39 StandardContext[/aguard]: Error initializing
> resources: Document base C:\tools\tomcat\webapps\aguard does not
> exist or is not a readable directory

...and you are on Win2k....

What version of Tomcat?
Are you running as Service?
If yes, verigy that the Account it is running under has authorized
permissions for that directory?

Have you tried downloading another version of Tomcat?


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former."
- Albert Einstein (1879-1955)


> -----Original Message-----
> From: Mark Silva [mailto:msilva@;authenex.com]
> Sent: Tuesday, October 22, 2002 4:09 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] Tomcat not extracting war
>
>
> took me a while to get back to testing this out....
>
> The permissions look fine (running under WIN 2000)
>
> i just found this extract from my log files.  i am not sure i
> understand it.  the war file is called aguard.war, which should
> extract to /webapps/aguard.  it says the dir does not exisit.
> shouldn't tomcat create the dir for me?
>
> 2002-10-22 13:05:38 WebappLoader[/manager]: Deploying class
> repositories to work directory
> C:\tools\tomcat\work\Standalone\localhost\manager
> 2002-10-22 13:05:38 StandardManager[/manager]: Seeding random
> number generator class java.security.SecureRandom
> 2002-10-22 13:05:38 StandardManager[/manager]: Seeding of random
> number generator has been completed
> 2002-10-22 13:05:38 ContextConfig[/manager]: Added certificates
> -> request attribute Valve
> 2002-10-22 13:05:38 ContextConfig[/manager]: Configured an
> authenticator for method BASIC
> 2002-10-22 13:05:38 StandardWrapper[/manager:default]: Loading
> container servlet default
> 2002-10-22 13:05:39 default: init
> 2002-10-22 13:05:39 StandardWrapper[/manager:invoker]: Loading
> container servlet invoker
> 2002-10-22 13:05:39 invoker: init
> 2002-10-22 13:05:39 jsp: init
> 2002-10-22 13:05:39 StandardContext[/aguard]: Error initializing
> resources: Document base C:\tools\tomcat\webapps\aguard does not
> exist or is not a readable directory
> 2002-10-22 13:05:39 StandardContext[/aguard]: Context startup
> failed due to previous errors
> 2002-10-22 13:05:39 StandardContext[/aguard]: Exception during
> cleanup after start failed
> LifecycleException:  Container StandardContext[/aguard] has not
> been started
>       at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1147)
>       at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:3495)
>       at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3434)
>       at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>       at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>       at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>       at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
>       at
> org.apache.catalina.core.StandardService.start(StandardService.java:388)
>       at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
>       at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>       at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>       at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> pl.java:39)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> cessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:324)
>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>
> 2002-10-22 13:05:39 StandardHost[localhost]: Installing web
> application at context path  from URL file:C:\tools\tomcat\webapps\ROOT
> 2002-10-22 13:05:39 WebappLoader[]: Deploying class repositories
> to work directory C:\tools\tomcat\work\Standalone\localhost\_
> 2002-10-22 13:05:39 StandardManager[]: Seeding random number
> generator class java.security.SecureRandom
> 2
>
>
> thanks,
> mark
>
> -----Original Message-----
> From: Sean Harrison [mailto:sharrison@;licor.com]
> Sent: Friday, October 18, 2002 2:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] Tomcat not extracting war
>
>
>
>
>
>
> Mark,
>
> If you're getting a FileNotFoundException when Tomcat tries to
> unpack the war
> file, check the permissions of your webapps directory. I had the
> same problem. I
> resolved it by giving the tomcat4 group write permissions to the webapps
> directory so it could create the necessary folders/files.
>
> Sean Harrison
> Internet Services Administrator
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to