tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Ignacio Garzón" <juanignaciogar...@gmail.com>
Subject Classloader question
Date Tue, 17 Jul 2007 20:18:08 GMT
Hi,
I'm working with Tomcat 4.1.

I have a library that has to be shared between all the applications,
but it has singletons that should have one instance per application.

In a normal situation, each application could have the .jar in it's
WEB-INF/lib directory, but there is a requirement saying that this is
not possible.

So, is there a way for making a .jar available to all the
applications, but using each application's class loader, so that
static fields are not shared between applications?

Thanks in advance!

---------------------------------------------------------------------
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