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

Daniella asked:

>i have a Servlet which is a RMI Client, but it doesn' work:
> security.checkConnect: To 10.10.10.223:1099
> java.rmi.RMISecurityException: security.checkConnect: To
>10.10.10.223:1099
>If i implement the code in an application, which is an rmi >client, the
>rmi connection works fine.
>Maybe anyone can tell me, if and what do I have to configure >in jserv,
>to run a servlet as a RMI Client.
>Server is an apache 1.3.6 with SuSe 6.0 and jserv 1.0
>thanks
>ds

Ah yes! :) This is a "gotcha" for those of us using
JServ. The problem is this, JServ already has its
own builtin security manager, so adding another one creates
a problem. I know this is a pain because _every_ book
on the subject and _every_ article I have read tells
us to "first implement a security manager". Okay advice,
but NOT for JServ. (I suppose JServ folks don't read books
on how to do it :) )

Simply delete or comment out the code that starts
the security manager in your servlet and things should
be fine.

Regards
Freddo








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