|
|
Browse by Tags
All Tags » exceptions (RSS)
Showing page 1 of 2 (13 total posts)
-
Hi,
I had some time this week to look into the problem again, and I have managed to find what has caused the problem, or at least found a way to fix it for me...
When I create the configuration, I call cfg.freespace().useRamSystem(); (just because I read that it would improve commit performance, and I expect my software to have many commits). ...
-
Hi Graham and Carl, Thanks for your help so far.
I now removed all the code that used the ObjectContainer and its Configuration object. I also rewrote my stored objects so that they now store time in a java.util.Date instead of Calendar.
Still, I get an error, immediately after the defrag method is called:SEVERE: Failed to defragment db4o file: ...
-
Hi,
I tried using the db4o defrag functionality on my database file, but sadly it failed. I can't make any sense from the exception. My log file looks like this: 06-Oct-2008 18:07:18 tvadb.database.Db4oFileDefrag openDatabaseINFO: Getting default db4o Configuration...06-Oct-2008 18:07:18 tvadb.database.Db4oFileDefrag openDatabaseINFO: ...
-
Hi,
I've been evaluating db4o for a client-server environment for the last few weeks. I've been running into a few problems, but could solve most of them using the tutorial, the db4o reference or by looking up in the forum. But I now have an issue that may or may not be a bug, so I thought I'd ask directly for some advice. Of course it could very ...
-
I tried it with
permission java.util.PropertyPermission ''java.fullversion'', ''read''; permission java.io.FilePermission ''/path/to/database/*'', ''read, write'';
but then I get a DatabaseFileLockedException
with
permission java.security.AllPermission;
it works of course...
-
Hi I regulary get this exception:Db4objects.Db4o.DatabaseClosedException was unhandled Message=''Une exception de type 'Db4objects.Db4o.DatabaseClosedException' a été levée.'' Source=''Db4objects.Db4o'' StackTrace: à ...
-
Mmm... ahí no puedo opinar mucho, pero db4o hasta donde sé, es novedad que empieze a tirar excepciones, antes se las tragaba. Pero la excepción la debería arrojar.
Podrias postear el codigo donde catch'eas la excepcion ?
Probá primero capturando una Db4oException y luego otro catch con una excepción de tipo ...
-
Ok, managed to solve this. A property in the stored class contained a raft of non-persistent objects (java.util.Date etc) and was not set to transient, causing the exception.
-
Hi
I'm facing a problem where an object is sporadically not storable. Occasionally, I get this stack trace when calling ObjectContainer.set:
com.db4o.ext.ObjectNotStorableException: java.lang.Object@1d7089e at com.db4o.internal.ClassMetadata.forObject(Unknown Source) at ...
-
Hi Maik,
The test case I provided works well in embedded mode, but in a c/s configuration the exceptions are thrown. I filed the bug under http://tracker.db4o.com/browse/COR-767.
Cheers,
Andreas
1
|
|
|