On Windows, when I attempted to undeploy an exploded EAR application, I found that the OS will not let me delete a jar file in the APP-INF/lib directory. The result is that my application will not undeploy cleanly
I created a simple ear containing
test.war
META-INF
APP-INF/lib/test.jar
I attempted to undeploy it by removing the directory from the ${JBOSS_HOME}/server/${SERVER_NAME}/deploy and I could not delete the entire exploded EAR directory.
How do I make sure an EAR can be undeployed cleanly?
Have you found a solution for this issue?
I'm using jboss 4.2.3.GA and I have the exact same problem.
I'm using ant to make my deploy, but this error occurs when I try to undeploy it.
Thanks,
Pedro Sena