tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarun Garg" <tar...@induslogic.com>
Subject Re: Jar files fro classpath variable
Date Wed, 04 Jul 2001 14:07:45 GMT
Jar files fro classpath variableYou can modify your tomcat.sh ( or tomcat.bat on windows) file
to have your jars in the classpath variable.
I myself work on a windows machine, but I guess yours is some unix thing. I guess what I am
saying should work for you, though I can't verify it.
In your tomcat.sh, just before this line
export CLASSPATH

you can add your own jars to the classpath. Which should look something like,

CLASSPATH=${CLASSPATH}:../myjars/app.jar
export CLASSPATH

  ----- Original Message ----- 
  From: Nino Uziel 
  To: 'tomcat-user@jakarta.apache.org' 
  Sent: Wednesday, July 04, 2001 6:54 PM
  Subject: Jar files fro classpath variable


  Hi, 

  I wanted to ask if there is a way to add more jars to the classpath 
  environment when Tomcat starts ? 
  Currently I am linking jar files to the lib directory. Is there 
  a way to tell Tomcat to load jars from carious directories ? 

  N. 


Mime
View raw message