We changed the PrimaryDB to SecondaryDB and vice versa for one environmen , just

We changed the PrimaryDB to SecondaryDB and vice versa for one environmen , just to make it consistency with other environments. Now i'm having problem while starting Jboss. I already changed the standalone.xml file with proper configurations.

Server log error :

FATAL com.appiancorp.common.crypto.KeyStoreConfig - 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)
18:54:25,365 INFO [stdout] (ServerService Thread Pool -- 82) 2016-02-18 18:54:25,359 [ServerService Thread Pool -- 82] ERROR com.appiancorp.common.config.ConfigObject - An error occurred while trying to initialize the config object com.appiancorp.process.common.util.EmailAddressConfig using the following resources: /WEB-INF/conf/process/email-address-config.xml
18:54:25,36...

OriginalPostID-195822

OriginalPostID-195822

  Discussion posts and replies are publicly visible

  • ...7 INFO [stdout] (ServerService Thread Pool -- 82) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appianSpringConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.appiancorp.security.ssl.ClientCertificateProtocolSocketFactory com.appiancorp.common.config.AppianSpringConfig.clientCertificateProtocolSocketFactory; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ccaSslProtocolSocketFactory' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.security.ssl.KeyStoreManager]: : Error creating bean with name 'keyStoreManager' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argumen...
  • ...t with index 0 of type [com.appiancorp.security.ssl.ServiceBackedKeyManager]: : Error creating bean with name 'keyManager' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.security.ssl.ClientCertificateService]: : Error creating bean with name 'clientCertificateService' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.appiancorp.common.crypto.CryptographerProvider]: : Error creating bean with name 'systemCryptographerProvider' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.common.crypto.KeyStoreConfig]: : Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factor...
  • ... y method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]...
  • ... : Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'systemCryptographerProvider' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.common.crypto.KeyStoreConfig]: : Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframe...
  • ... work.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception;...
  • ... nested exception is 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); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'clientCertificateService' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.appiancorp.common.crypto.CryptographerProvider]: : Error creating bean with name 'systemCryptographerProvider' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.common.crypto.Key...
  • ... StoreConfig]: : Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via fa...
  • ... ctory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'systemCryptographerProvider' defined in class com.appiancorp.security.ssl.SslSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.common.crypto.KeyStoreConfig]: : Error creating bean with nam...
  • ... e 'keyStoreConfig' defined in class com.appiancorp.common.crypto.CryptoSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.common.crypto.KeyStoreConfig]: Factory method 'keyStoreConfig' threw exception; nested exception is 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); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreConfig


    Thanks much