Connection to a server from an applet
From: Terrion (terrion_at_metal-gateway.com)
Date: 12/09/03
- Next message: Alberto.V : "Re: Simple Animation Question"
- Previous message: Eray Ozkural exa: "Re: What IS Intelligence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Dec 2003 06:02:56 -0800
Hi, I have an applet that I want to connect to a server. To do this
I've had to sign the applet, by following this process:
makecert -sk claveCCliente -n CN=CCliente CCliente.cert
cert2spc CCliente.cert CCliente.spc
cabarc n CCliente.cab CCliente.cert CCliente.class
signcode -spc CCliente.spc CCliente.cab -k claveCCliente
It works just when I run the client on the same computer where the
server is running, and when I have the computer connected to the LAN
too.
If I connect the LAN I get the following error message when trying to
connect from the same computer:
excepción: java.security.AccessControlException: access denied
(java.net.SocketPermission xxx.xxx.xxx.xxx:23 connect,resolve)
And if I try to access from other computer of the LAN, I get the
following error message, once accepted the security certificate:
Load: class CCliente not found
Any idea of what am I doing wrong?
- Next message: Alberto.V : "Re: Simple Animation Question"
- Previous message: Eray Ozkural exa: "Re: What IS Intelligence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|