Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Problem and doubt in setting classpaths for Apache Tomat Server

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I installed apache Tomcat, but I don't know how to set the classpath,environment variables JAVA_HOME etc etc.Can anyone guide me ?
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set CATALINA_HOME to point the servers root directory
as C:\Program Files\apache-tomcat-5.5.17.

set JAVA_HOME to point the jdk root directory
as C:\Program Files\java\jdk6.0

set CLASSPATH to point all jar files(jsp-api.jar,servlet-api.jar etc) other than those belongs to jdk directory.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Annoying buzzer sound!

set CLASSPATH to point all jar files(jsp-api.jar,servlet-api.jar etc) other than those belongs to jdk directory.



The java compiler will pay attenion to CLASSPATH but Tomcat ignores it completely. See the class-loader-howto.html file that is normally part of a Tomcat installation for details on how Tomcat locates libraries.

Bill
 
Abhijit Ghatnekar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sir,
Thank you so much for all your replies,My TomCat is working great!!!
Regards,
Abhijit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic