About database

forum_thread

Failover from Master to Slave

Good morning! I am interested in ObjectDB for a client project I am currently working on. In order to evaluate your tool I would like to know if your product has the ability to failover from a Master Database to a Slave Database and then recover back to the master when the master comes back online. I don't see any documentation about automatic failover.   Thanks Rich   ... if your product has the ability to failover from a Master Database to a Slave Database and then recover back to the master when the master comes back ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... problem arose when different code was run against the same database. ie: it appears to be related to some state change to the database ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. ... the ToleranceDefinition entities exist already in the database. The transaction starts. All ResolverMapping entities are ... again. The ResolverMapping entities are retrieved from database by a query with a result and after that a ToleranceDefinition entity ...

 
forum_thread

Objectdb Server Mode set up with glassfish

Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set up objectdb in server mode. I have run the server.exe but I don't know what to do next ?!  Which jar far do I need to include in my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish ?   Thanks Paul Newman ... same ObjectDB JAR. The only difference is the database connection url . If specified in the persistence.xml a ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is ...

 
issue

Incorrect entity returned by query

Hello, during the analysis of a bug in our program we found an issue with a query that does not return the expected entity. We have attached the corresponding database. The query is: SELECT dep FROM UsedInDependency AS dep WHERE dep.sheet.uid == '317j' AND dep.source.row.q + dep.source.row.offsetEntry.offset >= 1 AND dep.source.row.q + dep.source.row.offsetEntry.offset <= 1 AND dep.target.row.q + dep.target.row.offsetEntry.offset > 1   ... the expected entity. We have attached the corresponding database. The query is: SELECT dep FROM UsedInDependency AS dep ... BTC-ES team   Database used for query edit ...

 
forum_thread

ObjectDB 2.x is working without any activation code

Hi, I downloaded the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I used the default objectdb.conf file present in the objectdb.jar file and it is working without any activation code.. Is it is bug in objectdb or it works without actionvation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, ... the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... 19:53:24 #22 store] Database 'F:\calculationservice\objectdb\db-files\WorkflowHistory.odb' ... 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
release

2.6.4

... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ... . Added an option to disable reuse of database page objects . Improved release of query resources. ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url > ... Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" ) ...