Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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 ?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:24 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.