top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

0 votes
82 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.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...