I have a java application and when two instances of the application trying to start at once, i get the following error.This is mainly because both are accessing the same rec