AppDynamics Knowledge Base

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

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
Comments

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

Version history
Last update:
‎09-06-2017 02:37 PM
Updated by: