• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help !! rmiregistry  RSS feed

 
Gopinath Rajgopal
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !!
I'm getting this exception when I start the server:
Hello Server failed: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
What could be worng ??
Somebody please help !!
 
a ali
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the java.security file in your
<JDK Installation Directory>\jre\lib\security directory. Check the socket permission in the file. Set it to "accept,listen,connect,resolve". This will make it work. I do not have experience to know whether this will cause any security problem. Check with experts.
 
aseem kapoor
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go to jdk1.2\jre\lib\security and change the policy (java.policy)file
ie inside 2nd grant
grant {
permission java.security.AllPermission;
}
it will work then
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!