• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

AccessControlException

 
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
 
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
 
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!