Hi Carl,
Is your servlet in this case the server or the client? If it is the client, as your
mail seems to indicate,
then setting the policy file on your Java App, the SERVER, is not going to help
your servlet, which is the CLIENT.
Try to set the policy file of your servlet container so it allows your servlet
(CLIENT)to perform this lookup.
After being successful, I'd recommend not to use the "AllPermissions" approach as
it renders the whole
Java2 security mechanism useless ;).
I hope this helps,
Dan

"Rustic, Carl" escribi�:

> Has anyone gotten a servlet to work with RMI?
> I set my policy file for my Java App rmi based server to "AllPermissions"
> but my servlet still chokes on security and access exceptions when i try to
> do the RMI lookup to the rmi registry.  My current RMI server communicates
> successfully with applets i've written, but no dice with the servlet.
>
> Any suggestions?
>
> Thanks.
>
> ___________________________
> Carl A. Rustic
>
> Technician III
> Web Developer
>
> Information Technology Group
> Weatherhead School of Management  http://weatherhead.cwru.edu
> Case Western Reserve University  http://www.cwru.edu
> Class of 2000
>
> http://wiz.cwru.edu/~car2/resume/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to