com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot delete existing directory C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM, possibly due to one or more open files or streams; these may interfere with later deployment attempts so you may need to manually delete this directory and/or restart the server to release the open files

Oracle Community | kosta2-3080714 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Server Restart requeried for Redeployment

    Oracle Community | 10 years ago | kosta2-3080714
    com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot delete existing directory C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM, possibly due to one or more open files or streams; these may interfere with later deployment attempts so you may need to manually delete this directory and/or restart the server to release the open files
  2. 0

    Problem re-deploying app...

    Oracle Community | 1 decade ago | zambizzi
    com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot delete existing directory C:\glassfish\domains\domain1\applications\j2ee-apps\ABCommerceEAR, possibly due to one or more open files or streams; these may interfere with later deployment attempts so you may need to manually delete this directory and/or restart the server to release the open files
  3. 0

    glassfish can't find my wsdl when WAR is deployed

    Stack Overflow | 7 years ago | Casey
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [FileUploadService] -- wsdl file file:/C:/development/wexlink/FileUploadService/wsdl/FileUploadService.wsdl does not exist for web service FileUploadService at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    war packing problems

    Oracle Community | 9 years ago | 843833
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error expanding archive C:\Documents and Settings\Administrator\Local Settings\Tempetwar50885.war; please see the server log file for more information
  6. 0

    Deployment Errors when expanding war files

    Oracle Community | 9 years ago | 843830
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error expanding archive /prod/mecca/domains/FrescoDev/applications/j2ee-apps/MeccaCaps/MeccaCaps-war.war; please see the server log file for more information

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.enterprise.deployment.backend.IASDeploymentException

      Cannot delete existing directory C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM, possibly due to one or more open files or streams; these may interfere with later deployment attempts so you may need to manually delete this directory and/or restart the server to release the open files

      at com.sun.enterprise.deployment.backend.AppDeployer.cleanAndCheck()
    2. com.sun.enterprise
      DeployThread.run
      1. com.sun.enterprise.deployment.backend.AppDeployer.cleanAndCheck(AppDeployer.java:313)
      2. com.sun.enterprise.deployment.backend.AppDeployer.liquidateAppDirAndStubsDirIfTheyHappenToExist(AppDeployer.java:285)
      3. com.sun.enterprise.deployment.backend.AppDeployer.predeploy(AppDeployer.java:167)
      4. com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:128)
      5. com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
      6. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
      9. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
      10. com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
      11. com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
      11 frames