CLASPATH Order

2001-03-16 Thread Denny Chambers

Does anyone know if there is an option in Tomcat that would allow me to
specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes)
loaded before Tomcat's classpath?

Thanks,
-- 
Denny Chambers
Linux Java Engineer
Connex, Inc
Voice: 770-455-7653
Fax: 770-455-7325



RE: CLASPATH Order

2001-03-16 Thread Aksel Schmidt

I've read that this is done in tomcat 4.0, but not possible in 3.2?

-Original Message-
From: Denny Chambers [mailto:[EMAIL PROTECTED]]
Sent: 16. marts 2001 14:22
To: [EMAIL PROTECTED]
Subject: CLASPATH Order


Does anyone know if there is an option in Tomcat that would allow me to
specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes)
loaded before Tomcat's classpath?

Thanks,
-- 
Denny Chambers
Linux Java Engineer
Connex, Inc
Voice: 770-455-7653
Fax: 770-455-7325



Re: CLASPATH Order

2001-03-16 Thread Arnaud Vandyck

Denny Chambers wrote:
 
 Does anyone know if there is an option in Tomcat that would allow me to
 specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes)
 loaded before Tomcat's classpath?

Change the $TOMCAT_HOME/bin/tomcat.sh script... or I did not understand
the question...

-- 
Arnaud Vandyck http://www.ressource-toi.org/



Re: CLASPATH Order

2001-03-16 Thread Denny Chambers

I don't want to hard code classpaths in my tomcat.sh. It would be nice
if I could specify this option as part of my web.xml file or atlease
part of the context for my app. When I WAR up the application and deploy
it I don't want the client recieving it to have to hack up his/her
configuration just form my app. My problem is that I am using some
packages from the w3c group. Tomcat also uses some these packages. The
version that I have is newer than the one Tomcat uses, So I need mine to
load on the classpath first, or I need Tomcat to catch up.

Thanks for the response,
Denny

Arnaud Vandyck wrote:
 
 Denny Chambers wrote:
 
  Does anyone know if there is an option in Tomcat that would allow me to
  specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes)
  loaded before Tomcat's classpath?
 
 Change the $TOMCAT_HOME/bin/tomcat.sh script... or I did not understand
 the question...
 
 --
 Arnaud Vandyck http://www.ressource-toi.org/

-- 
Denny Chambers
Linux Java Engineer
Connex, Inc
Voice: 770-455-7653
Fax: 770-455-7325



Re: CLASPATH Order

2001-03-16 Thread Arnaud Vandyck

Denny Chambers wrote:
 
 I don't want to hard code classpaths in my tomcat.sh. It would be nice
 if I could specify this option as part of my web.xml file or atlease
 part of the context for my app. When I WAR up the application and deploy
 it I don't want the client recieving it to have to hack up his/her
 configuration just form my app. My problem is that I am using some
 packages from the w3c group. Tomcat also uses some these packages. The
 version that I have is newer than the one Tomcat uses, So I need mine to
 load on the classpath first, or I need Tomcat to catch up.

OK, sorry, now I understand... but don't know how to do that! :(

-- 
Arnaud Vandyck http://www.ressource-toi.org/



RE: CLASPATH Order

2001-03-16 Thread Ignacio J. Ortega

You can use Tomcat 3.3 too, it's right now is next M2 release, and it's
pretty solid.., nd solves enterely your problems, because 3.3 has a
separated classloader for Container classes..., and 4.0 Beta implements
separated classloaders for internal classes and a workaround for the
Webapps to use his own XML parser.. 

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: dchambers [mailto:dchambers]En nombre de Denny Chambers
 Enviado el: viernes 16 de marzo de 2001 17:44
 Para: [EMAIL PROTECTED]
 Asunto: Re: CLASPATH Order
 
 
 I don't want to hard code classpaths in my tomcat.sh. It would be nice
 if I could specify this option as part of my web.xml file or atlease
 part of the context for my app. When I WAR up the application 
 and deploy
 it I don't want the client recieving it to have to hack up his/her
 configuration just form my app. My problem is that I am using some
 packages from the w3c group. Tomcat also uses some these packages. The
 version that I have is newer than the one Tomcat uses, So I 
 need mine to
 load on the classpath first, or I need Tomcat to catch up.
 
 Thanks for the response,
 Denny
 
 Arnaud Vandyck wrote:
  
  Denny Chambers wrote:
  
   Does anyone know if there is an option in Tomcat that 
 would allow me to
   specify if I want my projects classpath 
 (/WEB-INF/lib;/WEB-INF/classes)
   loaded before Tomcat's classpath?
  
  Change the $TOMCAT_HOME/bin/tomcat.sh script... or I did 
 not understand
  the question...
  
  --
  Arnaud Vandyck http://www.ressource-toi.org/
 
 -- 
 Denny Chambers
 Linux Java Engineer
 Connex, Inc
 Voice: 770-455-7653
 Fax: 770-455-7325