Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Multiple instance detection doesn't work #423

Open
kparal opened this issue May 24, 2015 · 1 comment
Open

Multiple instance detection doesn't work #423

kparal opened this issue May 24, 2015 · 1 comment

Comments

@kparal
Copy link
Owner

kparal commented May 24, 2015

Detection of second Esmska instance startup through file locking doesn't work anymore.
But it did.

The related code is in PersistenceManager.isFirstInstance().

It seems that file locking now works only inside one Java VM, but not between more
VM instances.

Doesn't work on Fedora 15 and Ubuntu 11.04. Sun Java 1.6.0_26 and OpenJDK 1.6.0_22.

Doesn't concern Windows probably, because we use Launch4J for that there.

Original issue reported on code.google.com by kamil.paral on 2011-08-15 15:27:05

@kparal
Copy link
Owner Author

kparal commented May 24, 2015

confirmed


java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
OpenJDK Server VM (build 19.0-b09, mixed mode)

Original issue reported on code.google.com by [email protected] on 2012-06-20 09:28:50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant