• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Server problem  RSS feed

Richard Thatch
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im trying to do a load test on a message server (developed by our company) that uses an RMI interface...

the load test client sends an RMI request to the server with an RMI "callback" object.

the server uses this "callback" object to send data packets to the client and when done will call its "done" method.

everything works hunky dory until the main client thread is done... I guess because the "callback" object is a server, the client won't end... is there a way to close this rmi server callback object?

I have tried UnicastRemoteObject.unexport(callback, true);
but that doesn't work.

any info would be appreciated!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!