• Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessControlException

 
Farouk Mohamed1
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im running Sun's ComputePi example locally on a NT machine
When I was trying to run the RMI Server, I got an error message like java.security.AccessControlException: access denied(java.net.socketpermission 127.0.0.1:1099 etc...). Could someone please help me out...
I m using jdk1.1.8, i believe there is no policy file
Please help i m confused
Farouk
 
RobT
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that the rmiregistry is started? The error sounds like it is not running.
 
Farouk Mohamed1
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by RobT:
Are you sure that the rmiregistry is started? The error sounds like it is not running.

Hi I think what is happening is after investigation. RMI registry is definitely running and when one applciation is run on one of the doswindow to bind server object to rmiregistry it binds the object and runs successfully and when next window is opened and when it is used to run the client or bind another server object we get the exception. I dont know why and i think it is able to support only one application to connect to the registry
Please help
Farouk
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!