cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

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
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.
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Comments

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