• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI excetion...help!!!

 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any idea why this could be happening?

I checked the permissions on db.db and its got all kind of permissions. Request is my Server side class that basically initializes the security manager and then does the rebind. there are method calls in this class that in-turn call methods of the data class.

java.security.AccessControlException: access denied (java.io.FilePermission db.d
b write)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at suncertify.db.Request_Stub.lock(Unknown Source)
at clientside.Client.main(Client.java:31)
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I mean db.db is got all kind of permissions, I mean that its got read-write permissions.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just remove the Security Manager and policy files. You don't need them
Mark
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure...let me try that
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still get the same exception. I need to give it one more try. But, I wont be able to do it for some time now, at least 2-3 weeks.
I am getting married next week and would not be able to concentrate on the assignment. But I shall come back with questions when I try it.Thank you so much for your help...
But I shall be back soon.
bye and thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats on getting married Prakash
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic