tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Pierazzini <>
Subject Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes
Date Wed, 01 Dec 2004 15:35:20 GMT
> > Hi,
> > I use URLClassLoader to create class loaders that manage jars in WEB-
> > INF/classes
> > In WEB-INF/classes I have many jars that are incompatible each other
> > (they have different classes with the same name inside).
> >
> Wouldn't it be much easier to unjar and re-jar with only the classes you
> need for each of your jar files?

those jar contains xml:db database drivers. these drivers implement an
interface. my app uses that interface so it can be deployed using
different databases.

when the application uses just one kind of database I don't need (and
don't use), and I don't have jar in

when the application uses two kind of database at the same time and
their drivers are not
compatible with each other, I've to create driver instances inside
different class loaders


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message