java - Checking if application is already running -


i have java application uses jpa on file db.

i want 1 instance of application running (note db gets locked first instance of application).

how check if db locked or not, , present message user?

telnet db ip , port number.


Comments