Example
public class
BeanClass
implements
javax.ejb.EntityBean {
public void
load(){
//..
System.load(
"path to native library"
);
}
//other methods that must implement the interface
}
Solution
Do not load native libraries.