top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Java: I have synchronized some local objects when I try make them remote my application hangs?

0 votes
487 views

I have synchronized some local objects when I try make them remote my application hangs? What could be the problem?

posted Sep 27, 2013 by Manish Negi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
show your code please, looks like your homework.

1 Answer

+3 votes

You encountered was distributed deadlock. In the local VM case, the VM can tell that the calling object A owns the lock and 'ill allow the call back to A to proceed. In the distributed case no such determination can be made so the result is deadlock.
Distributed objects behave differently than local objects. If you simply reuse a local implementation without handling locking and failure you 'ill probably get unpredictable results.

answer Sep 28, 2013 by Arvind Singh
Similar Questions
+3 votes

I am using bugzilla version 4.4.2 and I need some additional fields in when I try to Change Several Bugs at Once.

At the moment i need the fields "Tags" and "Deadline " when I try to Change Several Bugs at Once. But the fields are not available.

...