AEM 6.3 keystore initializing error on install
Hi ,
we are trying to install AEM 6.3 on linux .On startup it is throwing a weird error in the stdout.log. Can some body advise how to resolve this one.
2.11.2017 11:14:18.369 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,21, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED
02.11.2017 11:14:18.369 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED
02.11.2017 11:14:18.410 *INFO* [FelixStartLevel] org.apache.aries.util BundleEvent RESOLVED
02.11.2017 11:14:18.410 *INFO* [FelixStartLevel] org.apache.aries.util BundleEvent STARTING
02.11.2017 11:14:18.410 *INFO* [FelixStartLevel] org.apache.aries.util BundleEvent STARTED
02.11.2017 11:14:18.446 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent RESOLVED
02.11.2017 11:14:18.446 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTING
02.11.2017 11:14:18.457 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Read Sling ID 93ed2c00-983f-44d9-a830-365f388be3f4 from file /cms-share/AEM/author/crx-quickstart/launchpad/felix/bundle7/data/sling.id.file
02.11.2017 11:14:18.463 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Active run modes: [crx3, author, samplecontent, crx3tar]
02.11.2017 11:14:18.466 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Settings Service,22, [org.apache.sling.settings.SlingSettingsService]] ServiceEvent REGISTERED
02.11.2017 11:14:18.469 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Properties Configuration Printer,23, [org.apache.sling.settings.impl.SlingPropertiesPrinter]] ServiceEvent REGISTERED
02.11.2017 11:14:18.469 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Settings Configuration Printer,24, [org.apache.sling.settings.impl.SlingSettingsPrinter]] ServiceEvent REGISTERED
02.11.2017 11:14:18.478 *INFO* [FelixStartLevel] org.apache.sling.settings Service [org.apache.sling.settings.impl.SlingSettingsServiceImpl,25, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED
02.11.2017 11:14:18.484 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTED
02.11.2017 11:14:18.531 *INFO* [FelixStartLevel] org.apache.sling.installer.factory.configuration BundleEvent RESOLVED
02.11.2017 11:14:18.532 *INFO* [FelixStartLevel] org.apache.sling.installer.factory.configuration BundleEvent STARTING
02.11.2017 11:14:30.765 *ERROR* [FelixDispatchQueue] ERROR: Bundle '236' EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
java.lang.NullPointerException
at com.adobe.granite.security.installer.internal.Activator.bundleChanged(Activator.java:92)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1148)
at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:55)
at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:103)
at java.lang.Thread.run(Thread.java:748)
Attempting to load ESAPI.properties via file I/O.
Attempting to load ESAPI.properties as resource file via file I/O.
Not found in 'org.owasp.esapi.resources' directory or file not readable: /cms-share/AEM/author/ESAPI.properties
Not found in SystemResource Directory/resourceDirectory: .esapi/ESAPI.properties
Not found in 'user.home' (/root) directory: /root/esapi/ESAPI.properties
Loading ESAPI.properties via file I/O failed. Exception was: java.io.FileNotFoundException
Attempting to load ESAPI.properties via the classpath.
SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from '/ (root)' using class loader for DefaultSecurityConfiguration class!
Attempting to load validation.properties via file I/O.
Attempting to load validation.properties as resource file via file I/O.
Not found in 'org.owasp.esapi.resources' directory or file not readable: /cms-share/AEM/author/validation.properties
Not found in SystemResource Directory/resourceDirectory: .esapi/validation.properties
Not found in 'user.home' (/root) directory: /root/esapi/validation.properties
Loading validation.properties via file I/O failed.
Attempting to load validation.properties via the classpath.
SUCCESSFULLY LOADED validation.properties via the CLASSPATH from '/ (root)' using class loader for DefaultSecurityConfiguration class!
RAWProcessor succesfully installed
02.11.2017 11:14:57.110 *INFO * [main] Startup completed.
and log also has this error some times.
- 01.11.2017 15:05:04.926 *ERROR* [Apache Sling Repository Startup Thread] ERROR: Bundle '209' EventDispatcher: Error during dispatch. (java.lang.RuntimeException: Unexpected failure while initializing the key store)
- java.lang.RuntimeException: Unexpected failure while initializing the key store
at com.adobe.granite.keystore.internal.ServicesListener.notifyChange(ServicesListener.java:92)
at com.adobe.granite.keystore.internal.ServicesListener$Listener.retainService(ServicesListener.java:243)
at com.adobe.granite.keystore.internal.ServicesListener$Listener.serviceChanged(ServicesListener.java:267)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4558)
at org.apache.felix.framework.Felix.registerService(Felix.java:3550)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.registerService(AbstractSlingRepositoryManager.java:203)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:492)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
Caused by: javax.jcr.LoginException: Cannot derive user name for bundle com.adobe.granite.crypto.keystore [209] and sub service null
at org.apache.sling.jcr.base.AbstractSlingRepository2.loginService(AbstractSlingRepository2.java:311)
at com.adobe.granite.keystore.internal.ServicesListener.moveTrustStoreIfNeeded(ServicesListener.java:148)
at com.adobe.granite.keystore.internal.ServicesListener.notifyChange(ServicesListener.java:90)
... 12 more
RAWProcessor succesfully installed
01.11.2017 15:07:11.107 *INFO * [main] Startup completed