wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes why this exception? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "why this exception?" Watch "why this exception?" New topic
Author

why this exception?

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear Ranchar when i am running server code for RMI then i am getting this exception as

java.security.AccessControleException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)

code for server is



Regard

Arun
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
RMISecurityManager is meant to be used by RMI clients, not the RMI server (which I think is what this code is).


Ping & DNS - my free Android networking tools app
Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Oh fine i have solved the problem for abov query.Anhow thanks for javaranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why this exception?
 
Similar Threads
Can we pass this object on wire?
JNDI
accessing a server using socket connection
How can i look up a EJB residing in different machine from client side?
Constructor with a parameter