About getting started

issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): ... today. Is it just a coincidence that both issues started now? Maybe the other issue is the cause of this server problem? Maybe ... (from 2.3.something).  The issue I reported as #206 started within a few days, and occurred in clusters, but its occurrence never ...

 
forum_thread

Composite indexes

Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/index), but I still have some problems understanding how and when should I use them.   Let's start with some example then. Assume we have an entity that represents an interior design image, called Inspiration : #1 2012-12-20 17:55 Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/i ...

 
issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... to create a simple producer-consumer queue scenario but am getting the followin exception: Caused by: ... with a file containing the full stack trace that I'm getting. Let me know if you need any further information or if I'm ...

 
page

ObjectDB - Object Database for Java (JPA/JDO)

Fast Object Database for Java with JPA 2 and JDO 2 support.... how easy it is. Download ObjectDB and follow the Getting Stated Tutorial , and in minutes you will be able to run your first ...

 
forum_thread

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  ... active   I don't know why am I getting this.. Thank you very much! ... Apparently the transaction is started automatically by the application server, and as the error message ...

 
forum_thread

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) My objectdb.conf: #1 2012-07-02 09:06 Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following ...

 
forum_thread

Mysterious "Attempt to persist a reference to a non managed instance" error

I've been working with ObjectDB for the past several months, and it's behaved pretty much as expected. I made a few modifications to a working set of classes today, and it's started throwing exceptions at commit time. I've stripped it down to a  set of files that seem to be of trivial complexity, but it's still failing. It involves two entities, Index and Ostrich. The thing to note is that the Index structure is recursive through maps; but that's never caused any problem for me in the past. ... to a working set of classes today, and it's started throwing exceptions at commit time. I've stripped it down to ... ) ; } } I had started with the expectation that the cascading annotations would be sufficient ... persisted in the transaction---and I'm still getting an exception: Exception in thread "main" [ObjectDB 2.2.6_03] ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); #1 2014-06-15 12:19 My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory ou ...

 
forum_thread

Deploying objectdb.jar to karaf 4.0.7 seems to fail

Hello, I'm evaluating ObjectDB for a future use in an OSGi project using Apache Karaf 4.0.7 (and later) as OSGi container. When I try to deploy the objectdb.jar file to Karaf (copy the jar file to the deploy folder in Karaf) I get a stacktrace in the Karaf log file with the following message: ... | 4 - org.apache.felix.fileinstall - 3.5.4 | Started bundle: ...

 
forum_thread

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

I might also be seeing a failure of my OEM license when using ObjectDB 2.7.2_03. [ObjectDB 2.7.2_03] javax.jdo.JDODataStoreException Too many persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb/com.objectdb.jdo.JdoQuery.compile(JdoQuery.java:734) I will have to investigate more tomorrow (but I want to submit this now due to timezone differences and weekend for perhaps faster response/resolution if it is an ObjectDB issue). #1 2017-11-03 13:08 I might also be seeing a failure of my OEM license when using ObjectDB 2.7.2_03. [ ObjectDB 2.7.2_0 ...