cancel
Showing results for 
Search instead for 
Did you mean: 

New Alfresco Installation

lfaulkneruk
Champ in-the-making
Champ in-the-making

I have installed, manually, alfresco content services on a Windows Server 2016 device using Tomcat 9. I am getting the following error in the tomcat logs and when browsing to the url I get the error that it cannot access the repository.

29-Jan-2019 10:05:04.955 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [78,735] milliseconds
29-Jan-2019 10:05:14.956 INFO [Catalina-utility-1] org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/share] - consider increasing the maximum size of the cache. After eviction approximately [9,238] KB of data remained in the cache.
lfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:639)
 ... 61 more
Jan 29, 2019 10:04:42 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [org.alfresco.repo.webdav.WebDAVSessionListener]
org.alfresco.error.AlfrescoRuntimeException: 00290001 Keystores are invalid
 at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:78)
 at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:1)
 at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
 at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:319)
 at org.alfresco.encryption.EncryptionChecker.onBootstrap(EncryptionChecker.java:67)
 at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
 at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
 at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:186)
 at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
 at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:399)
 at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:353)
 at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:887)
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)
 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
 at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4663)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
 at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
 at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
 at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
 at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
 at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:934)
 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
 at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 00290000 Failed to create key: metadata
 in key store:
   Location: C:/Tomcat/alf_data/keystore
   Provider: null
   Type:     JCEKS
 at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:661)
 at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:907)
 at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)
 at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:49)
 at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:73)
 ... 57 more
Caused by: java.lang.NullPointerException
 at org.alfresco.encryption.AlfrescoKeyStoreImpl.getSecretKey(AlfrescoKeyStoreImpl.java:770)
 at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:639)
 ... 61 more
1 REPLY 1

kintu_barot
Star Collaborator
Star Collaborator

Please let me know which version of ACS did you install?

Regards,

Kintu

ContCentric

Regards,
Kintu