aditya kurhade
aditya kurhade

Reputation: 21

unable to start tomcat server with liferay bundle

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

Answers (3)

Eoin
Eoin

Reputation: 147

I too had this problem(for liferay ce portal tomcat 7.4.0 ga1)

  • If your system is 64 bit you should downlod 64 bit jdk version.
  • Only set JAVA_HOME variable path(Don't need to add CATALINA_HOME or JRE_HOME).

Upvotes: 0

Irshad ck
Irshad ck

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

Haris
Haris

Reputation: 1141

  • Open command prompt.
  • cd /bin
  • catalina.bat start

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

Related Questions