In my build.xml I don't have a deploy task.
Anyway in the dir /home/delprete/samples/build the ant install task doesn't
create the war file, but all the content.
If I execute ant dist in the dir /home/delprete/samples/dist I can find the
war file.
The purpose of the install task is to avoid the stop of the Tomcat server.
Thank you.
"Saurabh Arora" <[EMAIL PROTECTED]> wrote on 25/01/2003 05.49.47:
> Let me point out that install task only takes the url of the webapps you
> want to copy.
> As a result, it would try to refer to your original location in your
> case /home/delprete/samples/build ,where you may
> have delete the war.
> Check if you still have the war (or war content ) in
> /home/delprete/samples/build
>
> Note: you can use deploy task, to actual copy the whole war to tomcat
> environment.
>
>
> saurabh
>
> >>> [EMAIL PROTECTED] 01/24/03 11:27PM >>>
>
>
>
>
> (Tomcat 4.1.18 on ReadHat 8.0)
>
> When I try the ant install command (build.xml taken from the example in
> the
> Tomcat Docs) the tomcat working dir is filled with the right files (I
> hope...) but in the log i see:
>
> 2003-01-24 16:22:43 StandardWrapper[/manager:Manager]: Loading
> container
> servlet Manager
> 2003-01-24 16:22:43 Manager: init
> 2003-01-24 16:22:43 Manager: init: Associated with Deployer
> 'localhost'
> 2003-01-24 16:22:43 Manager: init: Global resources are available
> 2003-01-24 16:22:43 Manager: install: Installing web application at
> '/myapp-0.1-dev' from 'file:///home/delprete/samples/build'
> 2003-01-24 16:22:43 StandardHost[localhost]: Installing web application
> at
> context path /myapp-0.1-dev from URL file:/home/delprete/samples/build
> 2003-01-24 16:22:43 StandardContext[/myapp-0.1-dev]: Resources start
> failed:
> 2003-01-24 16:22:43 StandardContext[/myapp-0.1-dev]: Context startup
> failed
> due to previous errors
> 2003-01-24 16:22:43 StandardContext[/myapp-0.1-dev]: Exception during
> cleanup after start failed
> LifecycleException: Container StandardContext[/myapp-0.1-dev] has not
> been
> started
> at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
>
> Any ideas?
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>