[opencms-dev] OC5 - Jakarta-commons-httpclient

Jack Bakker jbakker at iable.ca
Mon Jan 31 14:18:21 CET 2005


/server/lib/* is only seen by tomcat not webapps
/common/*/... is seen by tomcat and all web apps
/shared/lib/* is seen by all web apps but not tomcat
and of course app/WEB-INF/lib is seen by the one web app 

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html

Jack 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of James
> Sent: Monday, January 31, 2005 7:56 AM
> To: 'The OpenCms mailing list'
> Subject: RE: [opencms-dev] OC5 - Jakarta-commons-httpclient
> 
> 
> 
> I put the jar in the $TOMCAT_HOME/server/lib folder but 
> nothing happened so I tried $TOMCAT_HOME/common/lib which works!
> 
> Hope this is o.k.
> 
> Cheers for your help, now I can crack on with the JSP cookbook book :)
> 
> Ta......
> 
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Joachim Arrasz
> Sent: 31 January 2005 12:09
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] OC5 - Jakarta-commons-httpclient
> 
> Hi,
> 
> > I've referenced the jar files (including the 
> commons-logging jars) in
> > the CLASSPATH and restarted Linux, but nothing happens.
> 
> you have to ensure that the commons-httpclient.jar is also in 
> Classpath 
> for Tomcat or your webapp. For Tomcat wide usage use the 
> $TOMCAT_HOME/endorsed/lib or /server/lib folder, for webapp 
> wide usage 
> use /WEB_INF/lib folder...
> 
> we use this and it works perfectly from a module ...
> 
> hth
> 
> Achim
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.841 / Virus Database: 572 - Release Date: 21/01/2005
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.841 / Virus Database: 572 - Release Date: 21/01/2005
>  
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 





More information about the opencms-dev mailing list