Knowledge Base

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


To resolve this issue:


1. Stop the App Server  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  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.

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