tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject AW: Native library cannot be loaded twice
Date Tue, 25 Jun 2002 11:41:24 GMT
Depends on which classloader finds the class.

If you have a classloader hierarchy as tomcat, you can
have either one instance of the class (the class is only
found through the parent class loader) or several 
instances of the class (some or all context class loader 
find the class on their own and have their own instance)

> -----Urspr√ľngliche Nachricht-----
> Von: Software AG []
> Gesendet: Dienstag, 25. Juni 2002 13:14
> An: 'Tomcat Users List'
> Betreff: AW: Native library cannot be loaded twice
> Static classes/members are instantiated once. But what 
> happens if multiple classloaders are used? Such as you 
> have this one class static but use it in several web 
> applications? 

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

View raw message