This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

unreferenced works strange  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a server that is bound the rmiregistry. The server has a method getBlah witch returns a reference to a Blah object to a client. Blah extends UnicastRemoteObject. I can start and kill many clients that call getBlah and everything works fine. The server doesn't ever finish...
But now I wanted to do some cleanup in Blah and implemented the Unreferenced interface. I noticed that the unreferenced method is suddenly called on all Blah objects, also on those that still are used by a client!!? And even worse, after that the server process finishes without any exception or error or core dump message!
Does anybody know what's going wrong?
Thanks in advance
Eru
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!