Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 37158 invoked from network); 15 Jan 2002 14:44:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Jan 2002 14:44:13 -0000 Received: (qmail 17690 invoked by uid 97); 15 Jan 2002 14:43:13 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 17648 invoked by uid 97); 15 Jan 2002 14:43:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 17625 invoked from network); 15 Jan 2002 14:43:08 -0000 Subject: Re: AccessControlException with Applet To: "Tomcat Users List" X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: RSEQUEIRA@TRANSENTRIC.COM Date: Tue, 15 Jan 2002 08:34:38 -0600 X-MIMETrack: Serialize by Router on TransSMTP01/Transentric(Release 5.0.6a |January 17, 2001) at 01/15/2002 08:26:38 AM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If your RMI server is on the same machine as the web server, then I don= 't see why you are facing a problem. You might need to make sure that you = have granted access to applets (socket connections) to connect to port 2113 (Ofcourse you would need to start Tomcat with the -security option. If = you have a firewall in between, make sure port 2113 is open) A better solution would be to use ***HTTP Tunneling***. This way you ha= ve only one port (80) open to the internet. If you are unable to start Tomcat with the -security option, check your= catalina.sh (or tomcat.sh or the appropriate .bat files). You might fin= d some clue in there on why it doesn't start with the "-security". Hope this helps. Thanks. RS "Olivier BILLIARD" on 11/15/2= 001 01:45:49 AM Please respond to "Tomcat Users List" To: Tomcat Users List cc: Subject: Re: AccessControlException with Applet yes i'm trying to connect to the same machine that i download the apple= t. The probleme is there. I don't understand why it doesn't want to work fine Stuart Stephen a =E9crit : > Were you trying to connect to the same machine that you were download= ing to > or to another? Without a certificate you can only connect to a remote= > machine that the applet was originally downloaded from. The JSP stuff= is > server side though so you wouldn't encounter the problem. > > Certificates can be obtained from places such as http://www.thawte.co= m/, > http://www.ignite.com/application-services/products/verisign/ or > http://www.verisign.com etc... > > Stuart Stephen > > -----Original Message----- > From: Olivier BILLIARD [mailto:olivier.billiard@idatys.thalesgroup.co= m] > Sent: 14 November 2001 16:07 > To: tomcat-user@jakarta.apache.org > Subject: AccessControlException with Applet > > Hi, > > I tried to established a communication between an applet and another > server by RMI. I also did it with some JSPs and it work fine. But wit= h > the applet i have a problem. > I can do a lookup to get the interface but when i try to call a metho= d i > get a > java.security.AccessControlException: access denied > (java.net.SocketPermission XXX:2113 connect, resolve) > > I immediatly thinking about the policy and the catalina.policy file. > First i don't think that i use the security of Tomcat (because when i= > want to put -security it refuses to start) but i modified the file to= > set all permissions but it still refuse to work. > I don't see where is the probleme, i need some help. > > NB. I already try to remove the spaces of the directory of Tomcat but= i > didn"t solve my probleme > > Thx in advance > Olivier > > -- > To unsubscribe: = > For additional commands: = > Troubles with the list: = -- To unsubscribe: For additional commands: Troubles with the list: = -- To unsubscribe: For additional commands: Troubles with the list: