Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with reggie, lease expires after 5 min  RSS feed

 
kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have downloaded the latest starter kit on Jini and using the default reggie lookup service. My problem is when I register my service, its lease expires after 5 minutes even if I specify the Lease.Forever flag. I think the problem is that reggie allows lease for 5 minutes. Is there any way to change this duration. I checked some tutorial that refer to RegistrarAdmin interface to change the max time but it is not currently supported in the new version. Please help how can I change the max lease time.
Thanks,
Kapil
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the documentation on Join Manager. You can set the lease value to whatever you want. This is done in your configuration file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!