Link to home
Start Free TrialLog in
Avatar of malich1
malich1

asked on

access denied (java.net.SocketPermission [MyServer] resolve)

This class file runs fine when its a windowed app or console app but i get this error when I try to run it from IE as an applet. Is there a fix and if so what is it?
Avatar of Mick Barry
Mick Barry
Flag of Australia image

the default applet permissions only allow it to coneect to the same machine it was loaded from.
what does your applet try to connect to?
yyou may need to sign your applet to remove restrictions:
http://www.mindprod.com/jgloss/signedapplets.html
Avatar of malich1
malich1

ASKER

it is trying to connect to a central server in our datacenter.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of malich1

ASKER

Ok signing the applet seems to be a real pain. The webserver and the server that the applet connects to are different servers. So I guess i have no choice but to sign it. Have you done this before?
yes, i use ant to do the signing as part of the deployment process.