Reputation: 21
I have previously installed tomcat as windows service. I want to run now tomcat from liferay bundle. but when I am double-clicking startup.bat
or catalina.bat
, the window is closing just as it opens. I created CATALINA_HOME
environment variable to give path till tomcat folder. Help me
Upvotes: 2
Views: 5573
Reputation: 147
I too had this problem(for liferay ce portal tomcat 7.4.0 ga1)
Upvotes: 0
Reputation: 11
Check your JRE_Home path is proper
Liferay portal folder/bin/setenv.bat
Eg: set "JRE_HOME=C:/Program Files/Java/jre7"
Note : Use latest JRE, Your command window will close automatically is your JRE version is old or incompatible. i use jre7 for tomcat 8. its working fine.
Upvotes: 1
Reputation: 1141
It should display some JVM error here.
Set CATALINA_HOME folder till liferay-tomcat only.
Example value E:\liferay-portal-6.1.30-ee-ga2\tomcat-7.0.27
Upvotes: 1