----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hi All,

I have been studying the problem regarding
the exception I am getting when I try to
start my Apache/JServ/RMI servlet client, and it
tries to connect to a machine that is on 
my lan. I am using Linux RH5.2, plus a late
version of JServ and a jdk 1.1.7. 

The exception that I am getting is this:
java.rmi.RMISecurityException: security.checkConnect:
To 192.168.0.11:1099

I understand that this means that the installed
SecurityManager is being used (by something like
getlocalhost()) to check the address and port
for access permissions. And is failing. 

I have seen this query asked a number of times
on various lists and archives, but have not
seen a good or even partially complete answer.
When I run an application version of an RMI
client to the machine with the remote registry,
it works fine! No problem. When the same code
is included in the servlet, the exception arises.

Why am I getting a permission failure? 

Thanks for any suggestions.
Regards
Fred


--
--------------------------------------------------------------
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