Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
[LF7.4] Liferay doesn't start as windows service
Hello,
today i was trying to configure a clean Liferay 7.4 portal to start as a service on Windows Server 2022, i followed the same steps used to configure Liferay 6.2.5 and generic Tomcat servers as a service, and while the latters start without problems, Liferay 7.4 won't start showing the following error:
I used this command to install the service:
C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68\bin>service.bat install liferay74_59_clean
Installing the service 'liferay74_59_clean' ...
Using CATALINA_HOME: "C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68"
Using CATALINA_BASE: "C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68"
Using JAVA_HOME: "C:\Program Files\Java\jdk1.8.0_211"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_211\jre"
Using JVM: "C:\Program Files\Java\jdk1.8.0_211\jre\bin\server\jvm.dll"
The service 'liferay74_59_clean' has been installed.
If i try to start the portal with startub.bat in tomcat/bin folder all works without problems, so it's something relative to the launch as windows service.
Anyone have an idea of what's going wrong?
Thanks.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™