Re: I got message "can't looking for object..." when I restart ozone
Per Nyfelt <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Hi, I guess you are not creating the object right. How is the MetCollection created in the first place? What is the metBroker project? Regards, Per fredagen den 26 mars 2004 08.19 skrev [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 > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- 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