Re: RMI/JNI problem
MOHAMMED GOONI <[email protected]> Fri, 27 Oct 2006 03:00:37 -0700
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Thanx for the reply Remi Actually i am new to JAVA.So can u plz tekk me how to pre-load the library while the server is booting..... Plz reply me as soon as possible. Thanking u in advance... On 10/27/06, Rémi Bastide <[email protected]> wrote: > > Have you tried preloading the library (making the loadLibrary call) while > the server is booting, instead of loading it during an answer to a RMI call > ? This should not cause any noticeable problem on the applet's side. > Maybe the RMI thread on the server side as some limitations for loading > libraries. > > On 10/27/06, Mohammed Gooni < [email protected]> wrote: > > > I already had signed the Applet.My RMI does not give any problem.It is > > connected properly to the server.The problem is coming while executing > > the > > Load library.Might be the applet is checking for the permisssion to load > > the > > library. > > > > My project is to make a JNI call from a remote method..... > > Client is invoking a method on server through RMI and that method is > > making > > a JNI call.. > > > > The library is on the server and should be executed on the server > > itself. > > > > As i said u earlier that my project is being executed properly through > > applet viewer. > > RMI is not creating any problem but the problem is when the library is > > loaded. > > The applet gives this error: > > java.security.AccessControlException : access denied> > > (java.lang.RuntimePermission loadLibrary.myLib) > > > > Plz do reply me as soon as possible. > > I will be thankful if u help me as soon as possible.. > > > > > > =========================================================================== > > To unsubscribe, send email to [email protected] and include in the > > body > > of the message "signoff RMI-USERS". For general help, send email to > > [email protected] and include in the body of the message "help". > > > > For a list of frequently asked RMI questions please refer to: > > http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html > > > > To view past RMI-USERS postings, please see: > > http://archives.java.sun.com/archives/rmi-users.html > > > > > > -- > Rémi Bastide > LIIHS - IRIT - Université Toulouse 1 > http://liihs.irit.fr/bastide =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html