tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Can I install own JAR-Files of my application outside WEB-INF/lib with Tomcat 6?
Date Mon, 05 Nov 2007 14:06:51 GMT
Ingolf-

If you desire to load your own XML Parser you can use the *endorsed*
mechanism by starting TOMCAT specifying the new endorsed dir e.g
-Djava.endorsed.dirs=$CATALINA_HOME/endorsed

*Other list members will be able to provide more assistance*

Martin-

---- Original Message -----
From: "Ingolf Knopf" <ingolf@csc-dd.de>
To: <users@tomcat.apache.org>
Sent: Monday, November 05, 2007 8:28 AM
Subject: Can I install own JAR-Files of my application outside WEB-INF/lib
with Tomcat 6?


> Problem: Up to 50% of my war file contains of constant libraries (JDBC,
Axis
> an so on), and theese libraries blow up my application more than 8 MByte.
It
> takes much time to send such applications to our customers - and time is
> something that none of our customers have in a case of a fault.
>
> With Tomcat 5.x came a "shared classloader" where I could put my "constant
> libraries" into. Tomcat 6 has only the "common classloader", and the
> documentation
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
> discourages me to install my own libraries inside the common classloader's
> path.
>
> Is there an "official" way to keep constant libraries away from war files?
> ( I myself would prefer a refernce in 'web.xml' or 'context.xml' e.g.,
even if
> this is not compatible with other J2EE application servers. )
>
> Ingolf.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message