Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
| Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 1st, 2015, 09:52 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting up Tomcat with eclipse and CATALINA_HOME setup

1) I have downloaded Apache Tomcat zip file in "C:\Users\nirjari\Desktop\Apache Tomcat\" When I extracted files from it , new dir structure where binary and lib files are is
"C:\Users\nirjari\Desktop\Apache Tomcat\apache-tomcat-6.0.43-windows-x64\apache-tomcat-6.0.43\lib"

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 "C:\Users\nirjari\Desktop\Apache Tomcat\apache-tomcat-6.0.43-windows-x64\apache-tomcat-6.0.43\lib", I am 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
"C:\Users\nirjari>"Desktop\Apache Tomcat\apache-tomcat-6.0.43-windows-x64\apache-tomcat-6.0.43\bin\version.bat"
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 "C:\Users\nirjari\Desktop\Apache Tomcat\apache-tomcat-6.0.43-windows-x64\apache-tomcat-6.0.4", "C:\Users\nirjari\Desktop\Apache 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 CATALINA_HOME ?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck in Eclipse setup bhucker BOOK: Professional Android 2 Application Development 1 October 6th, 2011 12:31 AM
http://localhost from Eclipse Tomcat start alving Apache Tomcat 1 October 12th, 2010 04:25 PM
404 Error's Code on Tomcat/Eclipse unodellacombriccola Apache Tomcat 1 March 5th, 2009 03:24 AM
Debug tomcat + eclipse !!! nobitavn94 Apache Tomcat 1 September 27th, 2007 12:02 PM
Problems with BoxOffice / Eclipse / Tomcat-Sysdeo oops BOOK: Professional Java Development with the Spring Framework 0 October 26th, 2005 11:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.