About log

forum_thread

Degrading performance overtime

hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chunks and grow at 50 megs a time. as the files become larger between 1 and 2 gigs we start to see considerable degrade in performance caused internal objectdb locking: ... = "true" password = "true" /> <log path = "$objectdb/log/" max = "8mb" stdout = "false" stderr = "false" /> ...

 
forum_thread

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars at the beginning of the file, which lead to an error). Yet I still get the error thrown. Nothing in my configuration changed except the version. What could possibly be the problem with that? ... it help if it is shown on the server tray icon? In the log file? ObjectDB Support ObjectDB - Fast Object ... it help if it is shown on the server tray icon? In the log file? For me, I am on a headless server, so in the log file would ...

 
forum_thread

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values in updated entity. There is a problem however with accessing "old" version of object stored in database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity which contains ... new object. What I want to accomplish is to log difference between new and old values for every change in database. ... ) ; if ( LOG. isDebugEnabled ( ) ) { ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... = "true" password = "true" /> <log path = "$objectdb/log/" max = "8mb" stdout = "false" stderr = "false" /> ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... a new report.  This created an error in the Error Log.  I've captured the error log output here.  I confirmed that the directory ... is empty... Log dump: eclipse.buildId=4.5.2.M20160212-1500 ...

 
forum_thread

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta ... enhancement I get this error (as reported in the odb log file): [ObjectDB 2.6.3_04] Failed to process class file of type ... If you have a longer stack trace in the log it may help. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

NullPointerException while setting a new property value

Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: java.lang.NullPointerException at com.objectdb.o.ENT.beforeModifyMember(ENT.java:1099) at model.PluginMetaData.__odbSet_maxAllowedDownloads(PluginMetaData.java:1) at model.PluginMetaData.setMaxAllowedDownloads(PluginMetaData.java:268) at model.PluginMetaData.setPluginDescriptor(PluginMetaData.java:94) PluginMetaData looks like this (nothing extraordinary, no relationship to other @entities): ... Please check your ObjectDB log file (mainly on the client side, but server side as well) for more details. ... made successfully without any error. Here is the log file in DEBUG mode, but there is nothing special or detailed error ...

 
forum_thread

Exceeding max connections and crashing

Hi, we have severe problems with ObjectDB crashing frequently. We can’t find the exact cause but we suspect several things. We use 2.5.3_03 version and we use it in production. The same setup in test environment hasn’t have these kind of problems First crash occurred when network went down and database lost connection with the JBOSS AS, several restarts got it up and running finally.  It seems when the database loses network connection it shutdowns but we cant be sure. Usualy database stops once a day with no apperent reason. ... on ObjectDB. When we set logging to one of logging levels log doesn’t show anything. 2. We increased hype size to 6GB and since ...

 
forum_thread

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c.employeeEntity = e) ORDER BY e.name with Hibernate, there was no problem with this query, but ObjectDB throws exception: ... complete query string (you should be able to see it in the log, if you enable logging as explained in this forum thread , or by ... but the problem with criteria query is still there. Log shows that this query: <queryRequest query = "SELECT ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... ( InterruptedException e ) { log. debug ( "Thread interruped during join the ... ( InterruptedException e ) { log. debug ( "Thread interruped during join the ... ; } } else { log. debug ( "Thread ODB IndexActivation not running. Fallback wait ...