<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>[LF7.4] Liferay doesn't start as windows service</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121630700" />
  <subtitle>[LF7.4] Liferay doesn't start as windows service</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121630700</id>
  <updated>2026-04-04T17:32:27Z</updated>
  <dc:date>2026-04-04T17:32:27Z</dc:date>
  <entry>
    <title>[LF7.4] Liferay doesn't start as windows service</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121630699" />
    <author>
      <name>Tinfo Tinfo</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121630699</id>
    <updated>2023-01-18T15:00:50Z</updated>
    <published>2023-01-18T14:54:53Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;I used this command to install the service:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68\bin&amp;gt;service.bat install liferay74_59_clean
Installing the service 'liferay74_59_clean' ...
Using CATALINA_HOME:    &amp;quot;C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68&amp;quot;
Using CATALINA_BASE:    &amp;quot;C:\Portals\liferay-ce-portal-7.4.3.59-ga59_clean\tomcat-9.0.68&amp;quot;
Using JAVA_HOME:        &amp;quot;C:\Program Files\Java\jdk1.8.0_211&amp;quot;
Using JRE_HOME:         &amp;quot;C:\Program Files\Java\jdk1.8.0_211\jre&amp;quot;
Using JVM:              &amp;quot;C:\Program Files\Java\jdk1.8.0_211\jre\bin\server\jvm.dll&amp;quot;
The service 'liferay74_59_clean' has been installed.&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Anyone have an idea of what's going wrong?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</summary>
    <dc:creator>Tinfo Tinfo</dc:creator>
    <dc:date>2023-01-18T14:54:53Z</dc:date>
  </entry>
</feed>
