The previous subsidiary made a maritime project, which needs to call the .so class library under Linux, and use the LoadLibrary method in the Java file to load this class. But after the call is called. But in java.policy
Permission java.net.socketpermission "*", "connect, accept, resolve";
Permission java.lang.RuntimePermission "loadLibrary. *";
But there is a problem that we load this class through the EJB container, running normally in the container, once we re-deploy the program, load this class again, then report the exception. There is still no good solution to find a good solution.