About URL

forum_thread

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7). Thanks! ... does one obtain this build?  Is there a SVN/CVS/GIT URL somewhere? edit ...

 
forum_thread

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2.0 The application works with 256MB heap size with objectdb 1.0  But on 2.0 even with max heap size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new odb file and inserts 200 records at a time. ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... = "$objectdb/db" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

locks on pure query activities

analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries show locks like these (question is: why there are locks and how could we get rid of that):   log1:   ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... enabled = "true" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Speed of queries that return many objects

Hi, I have a DB of 146MB - with 1_000_000 elements. Loading the contents (objectDB query in java) takes about 10sec. I am using a recent MacBook (SSD blabla - disk I/O speed is about 400MB/sec - according to blackMagicTest app for mac) - so I was expecting the query to take less than one sec (146/400 = 0.35sec.. + some overhead). I was wondering if this kind of speed is "normal", or if this is something I should investigate. Thanks EKK ... http://localhost:8080/hello - Run query with URL:  http://localhost:8080/1/age => If you try this on ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ... />   <!--   <replication url="objectdb://localhost/test.odb;user=admin;password=admin" />   ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ...