GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Doubt about automatic failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Doubt about automatic failure" Watch "Doubt about automatic failure" New topic
Author

Doubt about automatic failure

Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
Hello all,
After i have submitted my assignment i have discovered that i have submitted
an older version of the assignment.With this version there is a problem and here it is :
In the record locking,when a client locks a record, and deleted this record,the lock on this record is not removed from the hash table.This leads to the following case :
Client A locks a record.Client B tries to lock the same record.Client B will be waiting until the record locked by record A is unlocked.Client A deletes the record.In this case Client B will be waiting for the lock on that record for ever.
Will this problem cause an automatic failure.And if it does not,will i lose so much marks because of this issue???

I need advice??
Either resubmit a new version for the assignment, or wait the results and if this will make the assignment fail and then resubmit the assignment.

And in case i failed the assignment,do i have to retake the essay exam.


SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
Mark Smyth
Ranch Hand

Joined: Feb 04, 2004
Posts: 288
Originally posted by Khaled Mahmoud:
Hello all,
After i have submitted my assignment i have discovered that i have submitted
an older version of the assignment.With this version there is a problem and here it is :
In the record locking,when a client locks a record, and deleted this record,the lock on this record is not removed from the hash table.This leads to the following case :
Client A locks a record.Client B tries to lock the same record.Client B will be waiting until the record locked by record A is unlocked.Client A deletes the record.In this case Client B will be waiting for the lock on that record for ever.
Will this problem cause an automatic failure.And if it does not,will i lose so much marks because of this issue???

I need advice??
Either resubmit a new version for the assignment, or wait the results and if this will make the assignment fail and then resubmit the assignment.

And in case i failed the assignment,do i have to retake the essay exam.


You will not be able to resubmit the assignment until you recieve a fail and purchase a new exam voucher. You do not need to take the essay exam again. I would like to be able to give you some reassurance but if the version you submitted does what you described then it does not look to good for you I'm afraid . While not an automatic failure locking makes up a large proportion of the assignment 80 out of 400. I think that not releasing the lock on a record will result in a large loss of points in this section. If you get a score of zero for this section, This would mean you will need full marks in every other section to pass.

All you can do is wait and see what happens maybe make the apropriate changes in the meantime for your next submission. And triple check everything the next time before you submit.

Best of Luck,
Mark.


SCJP<br />SCJD
Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
Hello,
I have to add something
I have thread that removes the records that have been locked for more than ten minutes, which means the client will not have to wait forever and after this period ends, the client trying to lock the record will receive a notification that the record they are trying to lock has been deleted.I hope this will make the situation better.
In the lock manager class, i have method called informDelete that will remove the lock on a deleted record.But the file version i supplied does not call this method when a delete operation happens.

[ January 19, 2007: Message edited by: Khaled Mahmoud ]
 
GeeCON Prague 2014
 
subject: Doubt about automatic failure