Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
John Byrne
Setting up the environmental variables
May 10, 2012 7:31 AM
Answer

John Byrne

Rank: New Member

Posts: 14

Join Date: April 24, 2012

Recent Posts

Hi

Am obtaining following error when attempting to start tomcat

error message

The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

windows 7
Tomcat -7.0.23
Liferay-portlet-6.1.0-ce-gal

Kind Regards

John Byrne
Hiral Ramavat
RE: Setting up the environmental variables
May 10, 2012 7:34 AM
Answer

Hiral Ramavat

Rank: Junior Member

Posts: 98

Join Date: February 13, 2012

Recent Posts

Make sure you have your JAVA_HOME environment variable set correctly.

Thanks,
Hiral
John Byrne
RE: Setting up the environmental variables
May 10, 2012 8:53 AM
Answer

John Byrne

Rank: New Member

Posts: 14

Join Date: April 24, 2012

Recent Posts

Hi

I get a response using Java and Javac at DOS prompt.

Kind Regards

John
John Byrne
RE: Setting up the environmental variables
May 11, 2012 3:10 AM
Answer

John Byrne

Rank: New Member

Posts: 14

Join Date: April 24, 2012

Recent Posts

Hiral Ramavat:
Make sure you have your JAVA_HOME environment variable set correctly.

Thanks,
Hiral


I get a response using Java and Javac at DOS prompt.

Kind Regards

John
Priyanka Dhingra
RE: Setting up the environmental variables
May 11, 2012 8:24 PM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

Hi John,
please check, if you have set Catalina home for some other installed server of yours??
Hitoshi Ozawa
RE: Setting up the environmental variables
May 12, 2012 5:06 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Are you using the 64 bit version of Windows and a Tomcat bundle of Liferay.
Try modifying the config file in Tomcat's bin directory and explicitly set JAVA_HOME there.
Jitendra Rajput
RE: Setting up the environmental variables
May 14, 2012 5:56 AM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 740

Join Date: January 7, 2011

Recent Posts

Modify setenv.bat file inside tomcat bin directory to explicitly set JAVA_HOME.
John Byrne
RE: Setting up the environmental variables
May 14, 2012 8:24 AM
Answer

John Byrne

Rank: New Member

Posts: 14

Join Date: April 24, 2012

Recent Posts

Jitendra Rajput:
Modify setenv.bat file inside tomcat bin directory to explicitly set JAVA_HOME.


Have altered setenv.bat
set JAVA_HOME=C:\PROGRAM FILES\JDK1.6.0.21


Kind Regards

John
Jitendra Rajput
RE: Setting up the environmental variables
May 14, 2012 10:17 PM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 740

Join Date: January 7, 2011

Recent Posts

Are you still facing issue or its resolved ?
John Byrne
RE: Setting up the environmental variables
May 15, 2012 1:09 AM
Answer

John Byrne

Rank: New Member

Posts: 14

Join Date: April 24, 2012

Recent Posts

Jitendra Rajput:
Are you still facing issue or its resolved ?


Hi Jitendra

No the server is loading.

There may have been a problem responding to messages in this thread. Have not used forums for some time and was responding via email which were returned unsent..

I will be playing around with the installation for a few days. I have no doubt I will be in touch shortly.

many thanks

John


John
Manas Ranjan Jena
RE: Setting up the environmental variables
March 6, 2013 9:41 PM
Answer

Manas Ranjan Jena

Rank: New Member

Posts: 6

Join Date: January 26, 2011

Recent Posts

I think it's too late to comment on this.
But for the developers who might visit this for the same issue, remove the following line from catalina.bat
set "CATALINA_HOME=C:\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27"

Regards,
Manas Ranjan