commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfredo Ledezma Melendez <alfredo.melen...@mail.telcel.com>
Subject RE: [logging] Any takers ? (Placing "commons-logging-1.1.jar"into"${JAVA_HOME}/jre/lib/endorsed" o.k.?
Date Tue, 07 Nov 2006 15:35:54 GMT
Hi,

I agree with Simon, isolation is the word to consider. From my point of
view, the best approach is to have a common repository to all the libs you
need, and just set the CLASSPATH according to your particular needs.

AFAIK no problems might happen with your approach, though.

Regards,
Alfredo

> -----Original Message-----
> From: Simon Kitching [mailto:skitching@apache.org]
> Sent: Martes, 07 de Noviembre de 2006 03:23 a.m.
> To: Jakarta Commons Users List
> Subject: Re: [logging] Any takers ? (Placing "commons-logging-
> 1.1.jar"into"${JAVA_HOME}/jre/lib/endorsed" o.k.?
> 
> Hi,
> 
> I don't know of any issues that might occur.
> 
> I think putting libs into the java install is a pretty ugly thing to do
> though. Applications should stand alone. I'm also against putting webapp
> libs into appserver shared directories, etc. though the whole world
> appears to disagree with me on that one.
> 
> Regards,
> 
> Simon
> 
> On Mon, 2006-11-06 at 19:40 +0100, Rony G. Flatscher wrote:
> > Hi there,
> >
> > so far no answer has arrived via the common-user list. I would
> > appreciate *any* comments anyone would have to the idea to put the
> > commons-logging jar into the "${JAVA_HOME}/jre/lib/endorsed" directory
> > to solve incompatibility issues, if other packages have their own
> > commons-logging.jar, but stumble over one that may have been installed
> > into the Java extension directory  "${JAVA_HOME}/jre/lib/ext".
> >
> > Preliminary tests show the problem to be solved by installing the
> > commons-logging.jar into the "endorsed" directory, but before changing
> > the installation routine to do that for a special BSF package, I would
> > like to learn about potential pitfalls from the experts...
> >
> > Regards,
> >
> > ---rony
> >
> > P.S.: The original message of last week was (path issue corrected):
> >
> > >> Hi there,
> > >>
> > >> creating an installer for Jakarta's BSF to be placed into
> > >> "${JAVA_HOME}/jre/lib/ext" to make it available to all Java apps,
> also
> > >> had me put "commons-logging-1.1.jar" to the
> "${JAVA_HOME}/jre/lib/ext" directory.
> > >>
> > >> But because of reports of users of Eclipse's help system and Geronimo
> > >> (both apps won't run afterwards) I moved the "commons-logging-
> 1.1.jar"
> > >> to the "endorsed" directory which remedied the situation.
> > >>
> > >> Would there be situations where this could cause problems elsewhere?
> > >>
> > >> Thanks for any hints/insights in advance!
> > >>
> > >> ---rony
> > >>
> > >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org

Mime
View raw message