I am using JNI in an web application running on Tomcat 5.19 Unfortunately tomcat have a problem while loading the same Library for a second time, and I must ensure that the System.loadLibrary() is called only once.
Is there any opportunity to recognize if an library have already been loaded into current JVM instance??
Something like:
If("myLib" is not loaded) {
System.loadLibrary("myLib");
}
Thank you in advance.
Nermin B.