|
From: Gabe J. <joh...@cs...> - 2000-09-01 07:16:43
|
I have a fairly simple client/server system that should be communicating via RMI. We have apache running on mds.colorado.edu, which hands out a jar 'mds.jar' to clients. The applet runs okay until there is any RMI usage. I have a debugging statement that System.outs the server it's looking for, rmi://mds.colorado.edu/server, which is correct. However, communicator (4.74 on Linux) throws an exception: java.rmi.UnexpectedException: Unexpected exception; nested exception is: netscape.security.AppletSecurityException: security.Couldn't connect to '127.0.0.1' with origin from 'mds.colorado.edu'. I'm actually not entirely sure how to interperet this. I'm assuming that it realizes that the code came from mds.colorado.edu, but that it is being asked to talk to the localhost. It behaves correctly when the server and client are running on the same host, and it behaves correctly through appletviewer. Any ideas? If you want to look, the apache URL at the moment is http://mds.colorado.edu/testing/ and our code is at http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/mds/?cvsroot=mds . -- -gabe http://www.cs.colorado.edu/~johnsogg/ |