cancel
Showing results for 
Search instead for 
Did you mean: 

database open problem

Occasional Contributor

database open problem

Hi,

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

oRoot=mdb.open();   //the program sometimes hangs-up here