Can anybody please explain me what exactly happens when i add the line
permission java.net.SocketPermission "localhost:1024-","listen";in the java.policy file of my jre installation.
Thanks in advance
Noopur
Hi, if you are new to using forums they are generally setup to provide help for speicic questions/problems that users can not resolve on their own. It is gernerally expected that a person has made a resonable effort to resolve the problem/question on their own before posting. So posts like this, where it seems clear no effort was made before hand, are not going to get many responses.
The documentation explains what these options do and Google and provide a wealth of examples, but you have to acutally look.
http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html#SocketPermission
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/rzahajgssjavapoly.htm
The policy string is pretty straight forward. It is allowing a listener to be accessed on port 1024 on the localhost.