Showing results for 
Show  only  | Search instead for 
Did you mean: 

database open problem

Occasional Contributor

database open problem


I have a scheduled java program that opens a database of a specific environment.

The open sometimes remains waiting forever.

Is there a way to unlock the process ?

Do you have any other suggestion / example to implement the database open ?

Thanks a lot in advance.


The code:

MegaDatabase mdb=myenv.databases().get(d);
String dbn=mdb.getName();
System.out.println(("db "+dbn);  // this shows the db name correctly;   //the program sometimes hangs-up here