Yes, Tomcat has problems with undeploying under Windows - but under Linux it
always was ok.
Seems tomcat plugin has same problem as described for Cargo here:
http://jira.codehaus.org/browse/CARGO-419

Thank you for advice to look into JIRA - as result I found Cargo and, since
such problem already fixed in Cargo I will try to use it instead of
tomcat-plugin


2007/2/21, Wayne Fay <[EMAIL PROTECTED]>:

I don't use this plugin myself, but I googled and found this. Perhaps
you're running into the same problem -- Tomcat still has a lock on
some Jar, so undeploy fails, so redeploy fails, but Tomcat doesn't
really report the error properly?

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg159846.html

Also make sure you check JIRA to see if this issue has already been
posted -- if you're lucky, a fix or workaround already exists.

Wayne

On 2/21/07, Alexey Kakunin <[EMAIL PROTECTED]> wrote:
> Hello!
> I'm using Maven 2.0.4 (seems this error repeats with 2.0.5 as well)
under
> both - Windows and Linux.
>
> I'm trying to redeploy application from maven, for doing it I added
tomcat
> plugin ( http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html)
into
> project:
>
>            <plugin>
>                <groupId>org.codehaus.mojo</groupId>
>                <artifactId>tomcat-maven-plugin</artifactId>
>                  <version>1.0-SNAPSHOT</version>
>                <configuration>
>                    <url>http://myserver.org/manager </url>
>                    <server>serverId</server>
>                    <path>/App_Test</path>
>                </configuration>
>            </plugin>
>
> And configured server in settings.xml.
>
> If I'm doing tomcat:deploy - everything is ok - war deployed to the
server
> and I can see in the manager logs lines like:
> INFO: Manager: Uploading WAR.....
> INFO: Manager: Reloading Web-Application....
>
>
> But if I'm doing tomcat:redeploy - seems no uploading performed :(
> I only can see
> INFO: Manager: Reloading Web-Application....
> and as result I have old version on my server.
>
> Does anybody has any suggestion?
>
> --
> With Best Regards,
> Alexey Kakunin, EmDev Limited
>
> Professional Software Development:
> http://www.emdev.ru
>

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




--
With Best Regards,
Alexey Kakunin, EmDev Limited

Professional Software Development:
http://www.emdev.ru

Reply via email to