This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Server shutdown for URLyBird

 
Cathal Mullan
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I'm wondering what happens if I shutdown my RMI server while there are threads waiting on my DB?

1. I have several requests on 1 record so there are threads waiting on this record
2. I shutdown the server from my GUI
3. Threads will still be waiting on the record but I have shutdown my server
4. RemoteException will occur to clients which were waiting on results
5. What happens the server threads which have not completed their DB requests?

cheers
 
Jonathan Elkharrat
Ranch Hand
Posts: 170
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RemoteException, i think...
 
Cathal Mullan
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Jonathan,

RemoteException per thread?
 
Roel De Nijs
Sheriff
Posts: 9929
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you can run a few tests, see what happens and let us know
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic