• 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

ejb-jboss

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I tried running a client application from another machine other than that of the server.

In this process i am getting the following error

java.security.AccessControlException: access denied (java.net.SocketPermission 230.0.0.4 connect,accept,resolve)

The client code runs fine upto lookup, but fails when trying to lookup the jndi name.

i have done the following on the server side

1. Changed the jndi.properties file
2. Set the credentials in the client code
3. Set the principal in the client code.
4. Set the security manager to new RMISecurity Manager
5. Server machine has .java.policy file which grants java.allPermission

Can any one help me out in this???


Mathi
 
reply
    Bookmark Topic Watch Topic
  • New Topic