1 Reply Latest reply on Jan 20, 2009 3:12 PM by pedrosena

    Undeploy Exploded EAR Application (Windows specific)

    chonger

      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?