installation
tomcat9
tomcat
windows
windows service
Jahia with Tomcat 9 as Windows service
Question
Is Jahia 8.1/8.2 available as a Windows service?
Answer
Yes, Tomcat 9 can be installed as a Windows service with the following steps:
- Install Tomcat with apache-tomcat-9.0.XXX.exe as a service (manual startup)
- Check folder permissions of the installed Tomcat and make it available for the current Windows user
- Install Jahia (update catalina.properties, server.xml, jahia.properties)
- Set environment variables (JVM tuning options, documentation above). Alternative (easier): Modify it inside the service.bat (set correct JvmMX and JVM9_OPTIONS, see https://tomcat.apache.org/tomcat-9.0-doc/windows-service-howto.html) (remove the installed service and add a new service with modified parameters (use a cmd prompt or Windows PowerShell as an administrator)). NOTE: If you use JDK 17, don't forget to set --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
- Start the service (if needed, you can switch the service to auto-start). - Check jahia.log when it is started