----- Original Message -----
> >They are.  However, if you have classes in a shared classloader used
> >by
> both webapps, and such a class is coded badly, references can leak
> from
> one webapp to another.
> >
> >BTW, jcifs.http.NtlmHttpFilter hasn't been viable for some years (no
> possibility of supporting NTLMv2), so you might want to use something
> that actually works, such as waffle or Jespa.
> >
> > - Chuck
> 
> We don't intentionally use any shared classloader magic... Both of
> these
> apps use the Spring framework 3.x. I *guess* that linking to a shared
> classloader would have to be something designed into both of these
> apps,
> or could it happen accidentally?

You would be using a shared class loader if you are placing JAR files used by 
multiple deployed web applications into the $CATALINA_BASE/lib or 
$CATALINA_HOME/lib directory.  Are you placing any JAR files into those 
folders?  

 
> So either tomcat has a bug leaking class references between apps, or
> our
> two separate apps (from a developer and design standpoint) somehow
> elect
> to use the same classloader by default. Any thoughts on how to
> determine
> which of these it is?

Maybe try adding the JVM option "-verbose:class" to "bin/setenv.sh".  This 
option will cause the JVM to log when a class is loaded and from where it was 
loaded.

Dan


> 
> I admit to be surprized to see jcifs in there myself, I didn't write
> this app, just have to support it.
> 
> Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to