You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pelenur, Matias" <pe...@amazon.com> on 2006/07/21 02:27:21 UTC
Adding jars to common classloader via system property?
Hi,
In Tomcat 5.5, is there any way to add JARs to the common classloader via a system property at startup, instead of having to physically place the JARs under TOMCAT_HOME/common/lib?
Like most everyone else, I need to put the JDBC driver JAR(s) under common/lib for the DBCP libraries to have access to it. However, I am using a shared installation of Tomcat and so cannot alter the contents of TOMCAT_HOME.
It seems that in previous versions of Tomcat, there was a system property "org.apache.tomcat.common.classpath" that could be used to achieve this, but it doesn't seem to be in use anymore in version 5.5.
Thanks,
Matias
---------------------------------------------------------------------
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
Re: Adding jars to common classloader via system property?
Posted by Raju Balugu <ra...@gmail.com>.
Add those jar files to catalina.properties under conf directory and try..
On 7/21/06, Pelenur, Matias <pe...@amazon.com> wrote:
>
> Hi,
> In Tomcat 5.5, is there any way to add JARs to the common classloader via
> a system property at startup, instead of having to physically place the JARs
> under TOMCAT_HOME/common/lib?
>
> Like most everyone else, I need to put the JDBC driver JAR(s) under
> common/lib for the DBCP libraries to have access to it. However, I am using
> a shared installation of Tomcat and so cannot alter the contents of
> TOMCAT_HOME.
>
> It seems that in previous versions of Tomcat, there was a system property
> "org.apache.tomcat.common.classpath" that could be used to achieve this,
> but it doesn't seem to be in use anymore in version 5.5.
>
> Thanks,
> Matias
>
> ---------------------------------------------------------------------
> 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
>
>