10-21-2022 06:05 AM
alfresco-global.properties
# # Set this property unless you have explicitly chosen to expose some repository APIs without authentication solr.secureComms=https # # Custom content and index data location # dir.root=C:\\Program1\\ACS_7.2\\tomcat\\alf_data dir.keystore=${dir.root}\\keystore\\metadata-keystore # dir.license.external=C:\\Program1\\ACS_7.2\\licenses # # Sample database connection properties # db.username=root db.password=Manoj2@@@ # # Choose DB connection properties for your database, e.g. for PostgreSQL # # db.driver=org.gjt.mm.mysql.Driver db.driver=com.mysql.cj.jdbc.Driver db.url=jdbc:mysql://localhost:3306/alfresco # # URL Generation Parameters (The ${localname} token is replaced by the local server name) #------------- alfresco.context=alfresco alfresco.host=${localname} alfresco.port=8080 alfresco.protocol=http share.context=share share.host=${localname} share.port=8080 share.protocol=http
keystore location:
errors:
INFO: Initializing Spring root WebApplicationContext 2022-10-21 15:06:33,435 WARN [heartbeat.datasender.HBDataSenderServiceBuilder] [main] Setting the Heartbeat sender cron with property 'heartbeat.sender.cronExpression' is no longer supported. 2022-10-21 15:06:33,756 INFO [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes 2022-10-21 15:06:33,756 INFO [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes 2022-10-21 15:06:33,757 INFO [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db 2022-10-21 15:06:33,757 INFO [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V6.3-add-indexes-node-transaction 2022-10-21 15:06:33,757 INFO [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V7.1.0-remove-alf_server-table 2022-10-21 15:06:34,022 WARN [context.support.XmlWebApplicationContext] [main] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStore' defined in class path resource [alfresco/encryption-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 09210001 Failed to initialize keystore: Location: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore Provider: null Type: pkcs12 2022-10-21 15:06:34,048 ERROR [web.context.ContextLoader] [main] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStore' defined in class path resource [alfresco/encryption-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 09210001 Failed to initialize keystore: Location: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore Provider: null Type: pkcs12 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476) Caused by: org.alfresco.error.AlfrescoRuntimeException: 09210001 Failed to initialize keystore: Location: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore Provider: null Type: pkcs12 at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:579) at org.alfresco.encryption.AlfrescoKeyStoreImpl.safeInit(AlfrescoKeyStoreImpl.java:546) at org.alfresco.encryption.AlfrescoKeyStoreImpl.init(AlfrescoKeyStoreImpl.java:118) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1930) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1872) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ... 54 more Caused by: org.alfresco.error.AlfrescoRuntimeException: 09210000 Unable to load key store: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:522) at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:570) ... 63 more Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=78, too big. at java.base/sun.security.util.DerInputStream.getLength(DerInputStream.java:251) at java.base/sun.security.util.DerValue.<init>(DerValue.java:444) at java.base/sun.security.util.DerValue.<init>(DerValue.java:487) at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2012) at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:221) at java.base/java.security.KeyStore.load(KeyStore.java:1473) at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:505) ... 64 more Oct 21, 2022 3:06:34 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class [org.alfresco.web.app.ContextLoaderListener] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStore' defined in class path resource [alfresco/encryption-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 09210001 Failed to initialize keystore: Location: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore Provider: null Type: pkcs12 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) 21-Oct-2022 15:06:45.727 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program1\ACS_7.2\tomcat\webapps\_vti_bin.war] has finished in [820] ms 21-Oct-2022 15:06:45.733 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 21-Oct-2022 15:06:45.764 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [44773] milliseconds 21-Oct-2022 15:07:00.000 INFO [QuartzScheduler_QuartzSchedulerThread] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.quartz.spi.TriggerFiredBundle]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.quartz.spi.TriggerFiredBundle]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1432) at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1420) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1259) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220) at org.quartz.simpl.RAMJobStore.triggersFired(RAMJobStore.java:1572) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:353) Exception in thread "QuartzScheduler_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org/quartz/spi/TriggerFiredBundle at org.quartz.simpl.RAMJobStore.triggersFired(RAMJobStore.java:1572) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:353) Caused by: java.lang.ClassNotFoundException: Illegal access: this web application instance has been stopped already. Could not load [org.quartz.spi.TriggerFiredBundle]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1422) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1259) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220) ... 2 more Caused by: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.quartz.spi.TriggerFiredBundle]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1432) at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1420) ... 4 more
10-24-2022 01:27 PM
Check this path in configuration, it is combining slashes \ and /
Location: C:\Program1\ACS_7.2\tomcat\alf_data\keystore\metadata-keystore/keystore Provider: null
Probably your keystore is at:
dir.root=C:\\Program1\\ACS_7.2\\tomcat\\alf_data\\keystore
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.