Mike Matrigali wrote: > great, sounds like the sync part is a non-issue. I was stuck trying > to come up with something specific to the db shared across both > classloaders that we could sync on. Using this will single thread > opens of different dbs, but I think that is ok.
Then I think you would want something like:
String syncDB = file.getCanonicalPath().intern();
synchronized (syncDB)
{
}
Dan.
