This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136235 - Unabled to delete file from webapp deployed in tomcat
Summary: Unabled to delete file from webapp deployed in tomcat
Status: RESOLVED DUPLICATE of bug 112529
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 07:28 UTC by buurd
Modified: 2008-06-02 09:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description buurd 2008-06-02 07:28:10 UTC
1) Clean and Build a webapp
2) Run the webapp in tomcat
3) Clean and Build the webapp

Gives the following output:
init:
deps-clean:
do-clean:
Deleting directory C:\Documents and Settings\010rolhei\My Documents\NetBeansProjects\Bessy\build
C:\Documents and Settings\010rolhei\My Documents\NetBeansProjects\Bessy\nbproject\build-impl.xml:814: Unable to delete
file C:\Documents and Settings\010rolhei\My Documents\NetBeansProjects\Bessy\build\web\WEB-INF\lib\activation.jar
BUILD FAILED (total time: 15 seconds)

To me it seems being local to Windows (works in OS X for example). 

NetBeans 6.1
Tomcat 5.5.26
Java 1.6
Windows XP
Comment 1 Petr Hejl 2008-06-02 09:13:35 UTC
If you are using default Context implementation you can use antiJARLocking="true" in you context.xml. It should help.

*** This issue has been marked as a duplicate of 112529 ***