I got message "can't looking for object..." when I restart ozone
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
I working on metBroker project. I use metBroker to store all metadata.
I can shutdown my application and reconnect database. It work very well until
I shutdown ozone by control+c
I got message "can't looking for object..." when I restart ozone and try to
connect it again.
what's wrong?
this is my connecting code
String dbDir = "/java/testozone/ozon";
System.out.println("Opening database at "+ dbDir);
LocalDatabase database = new LocalDatabase();
if (!database.exists(dbDir)){
database.create(dbDir);
}
database.open(dbDir, OzoneDebugLevel.ERROR_STR);
database.reloadClasses();
obj = database.objectForName("met50");
metc = (MetCollection)obj;
it return null to me :(
Thank you.
Apirak Pantkool
http://hpcc.nectec.or.th/窶セbank
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click