Some times you may see,
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; .NET CLR 3.0.30618; .NET CLR 3.5.30729)
Timestamp: Fri, 19 Nov 2010 21:30:15 UTC
Message: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:5000 connect,resolve)
Line: 53
Char: 9
Code: 0
URI: http://localhost/asg4/javascript/tttgame.js
Solution:
Add following line to java.policy file jre/lib/
I added permission line to c:\program files\java\jre\lib\security \ java.policy file
permission java.net.SocketPermission "localhost:1024-", "listen,connect,accept,resolve";
No comments:
Post a Comment