Tomcat not starting from Windows Service

cancel
Showing results for 
Search instead for 
Did you mean: 
Sreedevi_Latha
Member II

Tomcat not starting from Windows Service

Hi,

I have installed Alfresco Community Edition 7.4. When the Tomcat is started through command prompt using Startup.bat or catalina.bat, it starts fine. We are trying to run the same through windows services using the Tomcat.exe file, but it does not start the services properly. Given below is the error in logs:

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: 01260001 Failed to initialize keystore: Location: C:/alfresco-community/alf_data/keystore/keystore Provider: null Type: JCEKS
2024-02-26T15:41:11,985 [] 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: 01260001 Failed to initialize keystore:
Location: C:/alfresco-community/alf_data/keystore/keystore
Provider: null
Type: JCEKS


Appreciate any leads to resolve this issue. Thanks in advance!!