In a stateless session bean, I need to load native library by using
System.loadLibrary("SWEOJNI") in setSessionContext. I got the following
error:Could not create stateless EJB: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.SWEOJNI) at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(Stateles sSessionContainer.java:358) at com.sun.ejb.containers.StatelessSessionContainer.getContext(StatelessSession Container.java:285) at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:365) at fsu.ais.jstew.ejb.ItemListGatewayBean_EJBObjectImpl.prepareForLogin(ItemList GatewayBean_EJBObjectImpl.java:230) ------------------------------------------ How do I set up permission to allow container to load native libraries? Any help is highly appriciated. Jim =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
