Just installing a brand new alfresco and the share application is able to start but the alfresco repo doesn't. I get the following error in the BE:
PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: 02080001 Keystores are invalid
at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:71
........
Caused by: org.alfresco.error.AlfrescoRuntimeException: 02080000 Failed to create key: metadata
in key store:
Location: /srv/alfresco/alf_data/keystore/keystore
Provider: null
Type: JCEKS
at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:644)
at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:890)
at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:187)
at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:47)
at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:66)
... 28 more
Caused by: java.lang.NullPointerException
at org.alfresco.encryption.AlfrescoKeyStoreImpl.getSecretKey(AlfrescoKeyStoreImpl.java:755)
at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:633)
... 32 more
I am unsure as to why this is happening.
Thank you all for your replies. In the end the only thing that worked was copying the keystore folder under the expanded war to the custom directory. Nothing else would work.