• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AccessControlException

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic