----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


I don't have the spec in front of me, but my recollection is that only 
classes from the System classloader
can make arbitrary net connections; if your RMI client is in a JServ 
adaptive classloader, its security
priveleges (I think) will be insufficient to open a socket.  Try putting 
your servlet class files
in the system CLASSPATH, as opposed to a JServ repository.

- Fernando

At 03:27 PM 1/17/00 -0800, you wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Hello,
>
>We are trying to have a servlet talk to another java program using RMI.
>(using apache 1.3.1 & jserv 1.0)
>We are getting a security exception while doing this from the RMI
>security sand box, as follows,
>
>[12/01/2000 18:38:59:841] (ERROR) ajp11: Servlet Error:
>java.security.AccessCont
>rolException: access denied (java.net.SocketPermission localhost:1099
>connect,re
>solve): access denied (java.net.SocketPermission localhost:1099
>connect,resolve)
>[12/01/2000 18:38:59:842] (ERROR) an error returned handling request via
>
>protoco
>l "ajpv11"
>
>Looks like we need to define the appropriate security policies in the
>policy file
>and pass it to the JVM.
>
>But we are not too sure how to specify this(may be in the
>jserv.properties file).
>
>Does anybody have any idea of how to pass the right parameters to the
>servelet
>engine.
>
>Thanks verymuch
>
>Radhakrishna
>
>
>
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to