wood burning stoves 2.0*
The moose likes Tomcat and the fly likes The CATALINA_HOME environment variable is not defined correctly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "The CATALINA_HOME environment variable is not defined correctly" Watch "The CATALINA_HOME environment variable is not defined correctly" New topic
Author

The CATALINA_HOME environment variable is not defined correctly

Janu Rani
Greenhorn

Joined: Nov 30, 2013
Posts: 1
Hi All,

I am trying to configure Tomcat, even though I have set below paths. Still am getting

"The CATALINA_HOME environment variable is not defined correctly" error, unable to start the tomcat.

PATH: C:\Program Files (x86)\Java\jdk1.6.0_07\bin;
CATALINA_HOME:C:\apache-tomcat-6.0.37-windows-x64\apache-tomcat-6.0.37;
CLASSPATH:C:\Program Files (x86)\Java\jre1.6.0_07\bin;

could any one please provide suggestion to correct above error.

Thanks in advance,
Janu
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

Welcome to the JavaRanch, Jani!

It looks like you are putting "CATALINA_HOME" in your command shell path.

That is not how it works.

CATALINA_HOME is an environment variable. You set it like this, when running Tomcat in Windows:


Adjust these values as needed to point to your actual Tomcat and JDK directories.

Your PATH does not need to define or reference either CATALINA_HOME or the JDK, since the CATALINA_HOME\startup.bat script and its related scripts use whatever values were set in the environment variables.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: The CATALINA_HOME environment variable is not defined correctly
 
Similar Threads
ben..............tomcat is not installing
JSP project with sqlserver database
Problem while staring the Tomcat 7.0.37 ?
Problem starting TOMCAT version 5
Problem with Tomcat: says CATALINA_HOME not defined correctly.