Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I resolve an inconsistent module state while starting Controller services?

Users may see the following error message within the Controller's server.log file while starting the Controller services:

 

glassfish 4.1|javax.enterprise.system.core|_ThreadID=18;_ThreadName=RunLevelControllerThread-1494297696091;_TimeMillis=1494297835169;_LevelValue=1000;_MessageID=NCLS-CORE-00026;|Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: Error in linking security policy for controller -- Inconsistent Module State
 at com.sun.enterprise.security.ee.SecurityUtil.linkPolicyFile(SecurityUtil.java:336)
 at com.sun.enterprise.security.ee.SecurityDeployer.linkPolicies(SecurityDeployer.java:319)
 at com.sun.enterprise.security.ee.SecurityDeployer.access$100(SecurityDeployer.java:87)
 at com.sun.enterprise.security.ee.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:145)

 

To resolve this issue:

 

1. Stop the App Server

 

controller.sh/bat  stop-appserver

 

2. Remove the content of the folder <controler-dir>/appserver /glassfish/domains/domain1/generated/

 

3. Remove the content of the folder <contoller-dir>/appserver/glassfish/domains/domain1/osgi-cache/

 

4. Start the App Server

controller.sh/bat  start-appserver

 

Version history
Revision #:
3 of 3
Last update:
‎09-14-2018 09:35 AM
Updated by:
 


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
Comments

I hit this problem on a 4.4 controller and this fixed the error.