Skip to content
Advertisement

java RMI – unexpected error

I have been working on to create a sample RMI project for a while and having difficulty with the following error for a few hours now. If anyone of you can point me towards my mistake, I will be grateful. I will be posting the trimmed code with the error.

Thanks in advance for your time.

PrimeFinder.java

JavaScript

PrimeFinderService.java

JavaScript

.policy

JavaScript

The error that is killing me :

JavaScript

Edit 1:

The error line that I’m trying to overcome is:

JavaScript

I have tried at least 10 different approaches in my .policy file – all of which ended up with the same problem. I have tried anything in the tutorials I have found and it’s I believe safe to say that the problem doesn’t lie in .policy file.

I have also meddled with the codebase, giving the codebase wrong ends up with different errors so that can’t be it either.

Still looking for ideas ^^

Cheers !

Advertisement

Answer

The problem was regarding linux file system permissions, altering permissions fixes the problem.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement