• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Activation setup problem

tom phan
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am currently trying to use the RMI activation libraries, and I started with the tutorial at
The problem is, that I'd like to include this setup in a bigger program, and this implies not calling the System.exit(0) at the end of it. In that case, the program doesn't exit because threads are creating during the RMI server registration, and are still running (sample follows).
Thread[Signal dispatcher,5,system]
Thread[Reference Handler,10,system]
Thread[RMI ConnectionExpiration-[bishop:1098],5,system]
Thread[RMI RenewClean-[],5,system]
Thread[GC Daemon,2,system]
Thread[RMI ConnectionExpiration-[],5,system]
Thread[RMI TCP Accept-1,5,system]
Thread[RMI Reaper,5,system]
Thread[RMI LeaseChecker,5,system]
Thread[RMI ConnectionExpiration-[bishop:1099],5,system]
Thread[RMI RenewClean-[],5,system]
Thread[RMI ConnectionExpiration-[],5,system]
java.lang.ThreadGroup[name=RMI Runtime,maxpri=10]
Thread[RMI TCP Connection(2)-,5,RMI Runtime]
Thread[RMI TCP Connection(3)-,5,RMI Runtime]
My question is: Is there a way to make the setup program exit without using System.exit()?
I checked other tutorials, and they all end up with that call.
Thank you for any suggestion.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic