java.lang.RuntimeException: Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1

Coderanch | vineet walia | 7 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

    The module has not been deployed. BUILD FAILED error problem (SCWCD forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.RuntimeException: Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1
  2. 0

    The module has not been deployed. BUILD FAILED error problem

    Coderanch | 7 years ago | vineet walia
    java.lang.RuntimeException: Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1

      at com.sun.enterprise.security.provider.PolicyConfigurationImpl.removePolicyContextDirectory()
    2. Security Core Classes
      PolicyConfigurationImpl.delete
      1. com.sun.enterprise.security.provider.PolicyConfigurationImpl.removePolicyContextDirectory(PolicyConfigurationImpl.java:937)
      2. com.sun.enterprise.security.provider.PolicyConfigurationImpl.removePolicy(PolicyConfigurationImpl.java:997)
      3. com.sun.enterprise.security.provider.PolicyConfigurationImpl.delete(PolicyConfigurationImpl.java:693)
      3 frames
    3. Security Core Classes
      SecurityDeployer.cleanArtifacts
      1. com.sun.enterprise.security.SecurityUtil.removePolicy(SecurityUtil.java:269)
      2. com.sun.enterprise.security.SecurityDeployer.removePolicy(SecurityDeployer.java:287)
      3. com.sun.enterprise.security.SecurityDeployer.cleanArtifacts(SecurityDeployer.java:144)
      3 frames
    4. Deployment Related Common Classes
      SimpleDeployer.clean
      1. org.glassfish.deployment.common.SimpleDeployer.clean(SimpleDeployer.java:94)
      1 frame
    5. Private APIs of Glassfish
      EngineRef.clean
      1. org.glassfish.internal.data.EngineInfo.clean(EngineInfo.java:114)
      2. org.glassfish.internal.data.EngineRef.clean(EngineRef.java:171)
      2 frames
    6. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:224)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)
      3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
      3 frames
    7. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
      1 frame
    8. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
      8 frames
    9. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
      1 frame
    10. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
      2 frames
    11. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
      13 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame