Hello all
How do you load native libraries in servlets and avoid
UnsatisfiedLinkError</a><br><br>Detailed Question: How do you load native
libraries in servlets and avoid UnsatisfiedLinkError?
Basically, it appears that many people have the problem in which one
classloader loads a shared object which then fails when another servlet
instance tries to load it.
For example, the following code is trouble in a servlet.
try {
System.loadLibrary("native")
} catch(UnsatisfiedLinkError e) {
// now all calls will fail for this servlet
}
How can you handle the mulitple instances of a servlet and
native libraries?
Environment:
Solaris 5.8
iPlanet
BEA WebLogic
Regards
Ramesh Kesavanarayanan
Electronic Data Systems
Steeple Reach,
25, Cathedral Road,
91-44-811 3801 to 15 ext :2186
91-44-233 0380 (res)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets