> Hi, > When I am running a servlet in a remote machine which uses socket in Frames(in an applet) I am getting the following error:"exception:com.ms.security.SecurityExceptionEx[XXXXFrame.]:cannot access XXXX. I also have a Firewall running in the environment.
You have to use -Djava.security.policy=java.policy, when compiling the servlet class,where java.policy is the security file where u give access permission. This link might be helpful http://java.sun.com/docs/books/tutorial/rmi/running.html