tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
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)

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html


> -----Urspr√ľngliche Nachricht-----
> Von: Software AG [mailto:sag@stark-verlag.de]
> 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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message