Hi there, This sounds like the classic jar locking bug in the JDK rather than maven or tomcat. I would assume that webwork is loading a resource from within it's jar via a JarURLConnection which never closes it's connection to the jar file. This can be worked around within webwork if this actually is the source of the problem - let me know if you need more details.
Cheers, Mark On 29/03/06, COUVREUR jacques <[EMAIL PROTECTED]> wrote: > Hello, > > > We are working on a webapp using the WebWork framework, maven2 and > CruiseControl 2.4.1 > > > At the end of our continuous integration build, we try to deploy the war > of a successful build on the Tomcat integration server. > But, the "tomcat:undeploy tomcat:deploy" goals sequence failed because > all the files are not deleted in the deploy directory : the > WEB-INF/lib/WebWork.jar file is locked by Tomcat, so it is impossible to > delete it without stopping Tomcat. > So it is impossible to tomcat:undeploy or to tomcat:redeploy our > project.war. > > > Is it a bug? A configuration mistake? > > > Thanks a lot. > > Jacques > > > > ------------------------------ > Ce message est protege par les regles relatives au secret des correspondances > ; il peut en outre contenir des informations a caractere confidentiel ou > protegees par differentes regles et notamment le secret des affaires ; il est > etabli a destination exclusive de son destinataire. Toute divulgation, > utilisation, diffusion ou reproduction (totale ou partielle) de ce message, > ou des informations qu'il contient, doit etre prealablement autorisee. > Tout message electronique est susceptible d'alteration et son integrite ne > peut etre assuree. Les AGF declinent toute responsabilite au titre de ce > message s'il a ete modifie ou falsifie. > Si vous n'etes pas destinataire de ce message, merci de le detruire > immediatement et d'avertir l'expediteur de l'erreur de distribution et de la > destruction du message. > This message is protected by the secrecy of correspondence rules ; > furthermore it may contain privileged or confidential information that is > protected by law, notably by the secrecy of business relations rule ; it is > intended solely for the attention of the addressee . Any disclosure, use, > dissemination or reproduction (either whole or partial) of this message or > the information contained herein is strictly prohibited without prior consent. > Any electronic message is susceptible to alteration and its integrity can > not be assured. AGF declines any responsibility for this message in the > event of alteration or falsification.. > If you are not the intended recipient, please destroy it immediately and > notify the sender of the wrong delivery and the mail deletion. > ------------------------------ > >
