tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Rosenberger" <c...@db4o.com>
Subject Re: ***ANOTHER TOMCAT CLASSPATH BUG***
Date Sun, 24 Jun 2001 17:08:13 GMT

Geir Magnusson wrote:
> > > > > When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH
> > > > > Tomcat is loosing the jars in my
c:\java\my-web-app-dir\web-inf\lib
> > > >
> > > > Two workarounds were possible:
> > > > - ..\project-dir\web-inf\classes added to the CLASSPATH
> > > > - placing all Jars in ..\project-dir\web-inf\lib
>
> The reason is that you want to be able to partition your applications in
> the servlet runner, to avoid classname clashes (each webapp can have
> their own classes w/o worrying if another webapp uses the same
> classname).  It also means that support packages, like jdbc drivers and
> other utilities your webapp may use can be upgraded or changed for one
> webapp w/o affecting any others.

Thanks a lot for this excellent explanation. You changed my opinion. It's
not a bug, it's a feature. :-)

Kind regards,
Carl
---
Carl Rosenberger
db4o - database for objects - http://www.db4o.com



Mime
View raw message