• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Question: long startup time  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Developers,
I have the following problem with RMI:
During development i used the following policy file:
grant {
// Allow everything for now
permission java.security.AllPermission;
Everything works fine and is fast.
But for the submission i want to use a more restrictive policy file:
grant {
permission java.net.SocketPermission "*:1024-65535",
permission java.io.FilePermission
"d:\\scjd\\-", "read,write";
Now, when i run my server and client it waits a long time (5-10 minutes) and then starts. The server hangs at the line:
and the client at the line:
I'm running Windows.
Has anybody the same problem or any suggestions? Thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!