what could be possibility reason of the following error:-- ERROR [org

what could be possibility reason of the following error:--

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 52) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.config.ConfigurationLoader: com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: The internal encryption module is in an inconsistent state. The keystore password is not present in the primary data source. If migrating or restoring from backup, ensure that the primary data source contains all of the tables and data. (APNX-1-4210-004)
          at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:53) [appian-suiteapi.jar:]
          at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:41) [appian-suiteapi.jar:]
          ...

OriginalPostID-93340

OriginalPostID-93340

  Discussion posts and replies are publicly visible

  • ...at com.appiancorp.common.config.FatalConfigurationException.<init>(FatalConfigurationException.java:27) [appian-common.jar:]
              at com.appiancorp.common.crypto.KeyStoreConfig.ensureValidState(KeyStoreConfig.java:95) [appian-common.jar:]
              at com.appiancorp.common.crypto.KeyStoreConfig.finish0(KeyStoreConfig.java:64) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectWithSecurityContext.finish(ConfigObjectWithSecurityContext.java:28) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObject.init(ConfigObject.java:66) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectRepository.initConfigObject(ConfigObjectRepository.java:313) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectRepository.initConfigObject(ConfigObjectRepository.java:222) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectRepository.init(ConfigObjectRepository.java:181) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectRe...
  • ...pository.create(ConfigObjectRepository.java:53) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigObjectRepository.create(ConfigObjectRepository.java:47) [appian-common.jar:]
              at com.appiancorp.common.config.ConfigurationLoader.contextInitialized(ConfigurationLoader.java:39) [appian-common.jar:]
              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
              at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
              at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
              at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService....
  • ... java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
              at org.jboss.threads.JBossThread.run(JBossThread.java:122)
  • Is this a migration? Make sure that the share directory was migrated over correctly and that the data matches the correct database. This error can be seen when the data in the primary database does not match the key of the environment being deployed.
  • no this is fresh installation. i am getting below error in end..

    15:59:30,150 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 86) MSC000001: Failed to start service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
              at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
              at org.jboss.threads.JBossThread.run(JBossThread.java:122)
    Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
              at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
              at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
              at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
              ... 6 more
  • If this is a fresh install, then please make sure that there is no data in the primary database prior to connecting it to the environment.
  • basically your primary database and kdb are out of sync. for fresh install, you need fresh schema, and let Appian populate the new schema with whatever tables it need.
  • yes i dint this already..
    but getting same error..
    16:40:03,365 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 65) MSC000001: Failed to start service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
              at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
              at org.jboss.threads.JBossThread.run(JBossThread.java:122)
    Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
              at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
              at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
              at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
              ... 6 more
  • I had to try several things, I really don't which one helped.
    (1) have a clean primary data base schema
    (2) remove suite folder underneath work folder - to get rid of temp files
    (3) make sure to point to correct Appian Home path in JBoss standalone config file
  • i wish appian can provide more friendly installation. working like this gives feeling that we are working on open source solution.