[ 
https://issues.apache.org/jira/browse/CXF-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634109#action_12634109
 ] 

Antonio Leonforte commented on CXF-1816:
----------------------------------------

Thank you for the suggestions. We were not cleaning up properly the temporary 
folder where we create our WAR file, so that old CXF file was there for this 
reason but was not the cause of the problem. In fact, the problem still existis 
with the other file (cxf-2.1.2.jar), which still prevents Tomcat from 
completely undeploying the web app.

We have found on 
(http://wiki.metawerx.net/wiki/TroubleshootingApplicationDeploymentOnTomcat) a 
reference to an antiJARLocking="true" to be set in the Context (ie: in the 
context.xml file or server.xml file) during development. We'll try this out and 
then report. Any other hint would be much appreciated.



> Undeploying a CXF web app from tomcat on windows does not delete some CXF 
> files
> -------------------------------------------------------------------------------
>
>                 Key: CXF-1816
>                 URL: https://issues.apache.org/jira/browse/CXF-1816
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: Windows Vista, Tomcat 6
>            Reporter: Antonio Leonforte
>
> When we try to undeploy a quite large web application (30Mb WAR file) using 
> CXF, the operation completes with no warnings on the Tomcat manager page. 
> However, the following two CXF files are *not* removed from the webapps 
> folder, so that when we try to deploy the application again Tomcat fails. The 
> files are: "cxf-2.0.5-incubator" and "cxf-2.1.2". Maybe some thread keeps 
> these files locked and prevents tomcat from deleting them? We even tried to 
> stop the application, wait a minute and then try to undeploy, but the above 
> mentioned files were still there.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to