• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

configuring Tomcat 5.0

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Setting the environment variable JAVA_HOME is all that should be required.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic