File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes configuring Tomcat 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "configuring Tomcat 5.0" Watch "configuring Tomcat 5.0" New topic
Author

configuring Tomcat 5.0

mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
hi all,

I have just downloaded Tomcat 5.0 from the net & didn't know how to configure it (i.e. to make it map the jre environment)

Friends your help in this regard is very much appreciated!

cheers,
arrgem.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17256
    
    6

First I recommend Tomcat 5.5.

Second, have you set the JAVA_HOME or CATALINA_HOME? THat is pretty much all that would be needed.

Also, we have a Tomcat forum, so I am going to move this to that forum.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Setting the environment variable JAVA_HOME is all that should be required.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lucky Chawla
Greenhorn

Joined: Aug 08, 2006
Posts: 22
I think this would help you
set the path as follows in environment variables

C:\Tomcat 5.0\common\lib\jsp-api.jar;
C:\j2sdk1.4.0_01\bin;C:\Tomcat 5.0\common\lib\servlet-api.jar;
catalina_home:--C:\Tomcat 5.0
java_home:-C:\j2sdk1.4.0_01
thanks
Lucky
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Lucky Chawla:
I think this would help you
set the path as follows in environment variables

C:\Tomcat 5.0\common\lib\jsp-api.jar;
C:\j2sdk1.4.0_01\bin;C:\Tomcat 5.0\common\lib\servlet-api.jar;
catalina_home:--C:\Tomcat 5.0
java_home:-C:\j2sdk1.4.0_01
thanks
Lucky


You don't ever need to add jar files to your PATH environment variable.
PATH is used by the system to find command line executables.

CLASSPATH is used by Java to find Java class files.

Also note that in Unix type systems, environment varaibles are case sensitive. Both of these should be spelled with upper case letters.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Originally posted by Lucky Chawla:

catalina_home:--C:\Tomcat 5.0


Also, you should not set the CATALINA_HOME environment variable. The Tomcat shell scripts will figure it out for themselves.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: configuring Tomcat 5.0