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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by vineet walia, 1 year ago
Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1
via coderanch.com by Unknown author, 2 years ago
Failure removing policy context directory: C:\Program Files\sges-v3\glassfish\domains\domain1/generated/policy\WebApplication1/WebApplication1
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(PolicyConfigurationImpl.java:937)
at com.sun.enterprise.security.provider.PolicyConfigurationImpl.removePolicy(PolicyConfigurationImpl.java:997)
at com.sun.enterprise.security.SecurityUtil.removePolicy(SecurityUtil.java:269)
at com.sun.enterprise.security.SecurityDeployer.removePolicy(SecurityDeployer.java:287)
at org.glassfish.internal.data.EngineInfo.clean(EngineInfo.java:114)
at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:224)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.