|Re: Setting up Tomcat with eclipse anf CATALINA_HOME setup [message #1694202 is a reply to message #1694157]
||Sat, 02 May 2015 02:31
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 04/30/2015 11:34 PM, jignesh soni wrote:|
> 1) I have downloaded Apache Tomcat zip file in
> "C:\Users\sonij3\Desktop\Apache Tomcat\" When I extracted files from it
> , new dir structure where binary and lib files are is
> Then I clicked on WIndows Service Installer and Tomcat got installed in
> "C:\Program Files\Apache Software Foundation\". what should be
> CATALINA_HOME ?
> 2) Is it required to download Apache Tomcat zip file (8 MB size) OR can
> I directly use Windows Service Installer from
> ''https://tomcat.apache.org/download-60.cgi" website to install Tomcat
> without downloading it ?
> When I am trying to setup eclipse wuth Tomcat Installation Dir as
> "C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib" OR
> Tomcat\apache-tomcat-6.0.43-windows-x64\apache-tomcat-6.0.43\lib", I ma
> getting error message "The Tomcat installation directory is not valid.
> It is missing expected file or folder lib/jasper-el.jar" While jasper~el
> jar is available in both locations.
> Why am I getting such an error ? How do I set up correct path here ?
> 3) I have setup CATALINA_HOME as "C:\Program Files\Apache Software
> Foundation" Then I am trying to check version of Tomcat as
>> The CATALINA_HOME environment variable is not defined correctlyThis
>> environment variable is needed to run this program
> I don't see version.bat in Tomcat Installation path "C:\Program
> Files\Apache Software Foundation\Tomcat 6.0\bin"
> Then I also tried setting CATALINA_HOME as
> Tomcat\apache-tomcat-6.0.43-windows-x64" AND
> "C:\Users\nirjari\Desktop\Apache Tomcat", But I am getting same error.
> So whats wrong with CATALINA_HOME in here ? What should be correct
> CATlALINA_HOME ?
Unless you're planning on really serving up Java pages from your Windows
desktop, you don't need to install Tomcat. Just point Eclipse at it
(Window -> Preferences -> Server -> Runtime Environment -> Add -> Apache
Tomcat v6.0 -> Next -> Browse to
Then just launch your web application, to run or to debug, and Eclipse
will launch Tomcat for you.
You do not need to touch CATALINA_HOME.
Powered by FUDForum
. Page generated in 0.03181 seconds