Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SUN AS cannot delete jar files in WEB-INF/lib

843833Jun 1 2005 — edited Apr 13 2006
Hi

I am using NB 4.1 and SUN AS. There is some terrible problem that I cannot redeploy my WEB application from NB without restarting SUN AS.

It's because it tries to delete module directory when I undeploy it. But for some reason library jars in WEB-INF/lib cannot be deleted:


[#|2005-06-01T19:16:49.875+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.util|_ThreadID=16;|UTIL6041: Performing gc to try to force file closures|#]

[#|2005-06-01T19:16:51.562+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.util|_ThreadID=16;|UTIL6043: Attempt to delete C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\MYApplication\WEB-INF\lib\commons-beanutils-core.jar failed after 4 retries|#]

I have to restart AS to get those files deleted, so I can redeploy my application/

Also I have noticed a strange behavior of AS. When I deploy a WEB module it unpacks all classes from /lib and copies all of them into root directory of a WEB module. Even my application classes are there !
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2006
Added on Jun 1 2005
14 comments
334 views