Foren

Cannot start Liferay 7 GA3 as windows service

Adam Kaczmarczyk, geändert vor 7 Jahren.

Cannot start Liferay 7 GA3 as windows service

New Member Beitrag: 1 Beitrittsdatum: 01.12.16 Neueste Beiträge
I have issue with starting newest Liferay with Tomcat as a windows service:
liferay-ce-portal-7.0-ga3 ( build with tomcat 8.0.32)

Windows 2012R2 64bit
Java jdk1.8.0_112 64bit
Tomcat 8.0.32 64bit

My system environment:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_112
PATH=%JAVA_HOME%\bin;C:\ProgramData\Oracle\Java\javapath;


Installation command seems ok:
C:\Liferay\liferay-ce-portal-7.0-ga3\tomcat-8.0.32\bin>service.bat install Liferay
Installing the service 'Liferay' ...
Using CATALiNA_HOME: "C:\Liferay\liferay-ce-portal-7.0-ga3\tomcat-8.0.32"
Using CATALiNA_BASE: "C:\Liferay\liferay-ce-portal-7.0-ga3\tomcat-8.0.32"
Using JAVA_HOME: "C:\Program Files\Java\jdk1.8.0_112"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_112\jre"
Using JVM: "C:\Program Files\Java\jdk1.8.0_112\jre\bin\server\jvm.dll"
The service 'Liferay' has been installed.


I can run the process, but I am facing fallowing issues:

ERROR [Start Level: Equinox Container: a00cf785-dbb7-0016-1ede-9342fb2cdea4][LPKGBundleTrackerCustomizer:160] Rollback bundle installation for [com.liferay.calendar.api_2.0.1 [97]]
org.osgi.framework.BundleException: Error while renaming bundle file to final location: C:\Liferay\liferay-ce-portal-7.0-ga3\osgi\state\org.eclipse.osgi\98\0\bundleFile
.......


I tired liferay-portal-6.2-ce-ga5 with tomcat-7.0.62 and is working without any issues.
I tired liferay-ce-portal-7.0-ga3 wiht tomcat-7.0.62 and is working without any issues.

How can I start liferay-ce-portal-7.0-ga3 with tomcat 8.0.32 as a windows service?

Update:
Solved by setting CATALiNA_HOME=C:\Liferay\liferay-ce-portal-7.0-ga3\tomcat-8.0.32 in system environment variable which was not necessary with previous version.