tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subir Sengupta" <ssengu...@walmart.com>
Subject RE: JNI & loadLibrary
Date Mon, 12 Jan 2004 18:06:14 GMT
Put the class in common/lib

-----Original Message-----
From: Maxime Colas des Francs [mailto:maxime@sts.ca] 
Sent: Monday, January 12, 2004 9:38 AM
To: Tomcat Users List
Subject: JNI & loadLibrary


Hi

Tomcat 5.0.16 release-note says :

"... the application must also ensure that the library is
not loaded more than once.  If the above code were placed in a class
inside the web application (i.e. under /WEB-INF/classes or
/WEB-INF/lib), and the application were reloaded, the loadLibrary() call
would be attempted a second time.

To avoid this problem, place classes that load native libraries outside
of the web application, and ensure that the loadLibrary() call is
executed only once during the lifetime of a particular JVM."

How can i do that ?

thks for help 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message