About start

issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... Tomee as app server. The moment the errors mentioned above start to happen, after a short while, I have to restart Tomee, because none of ... of all the managed types) from the load test, i.e. start the multithreaded load test with a database that already has all the ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... (WorkerThread#0[127.0.0.1:53209]) Error installing to Start: name=persistence.unit:unitName=test.war#testUnit state=Create: ... Just drop it in the JBoss's deploy directory, start JBoss ( run ) and open the browser at  ...

 
forum_thread

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application. Then suddenly I was getting the following error "Error: missing 'server' at 'C:\Program Files\Java\jre7\bin\server\jvm.dll' on a client machine. It worked in embedded mode but not client server mode. #1 2013-05-01 11:33 Hi I had client server mode working with no problems with my application. Then suddenly I was getting the ...

 
forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: #1 2015-06-17 16:02 Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange prob ...

 
forum_thread

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: ... (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."Guestbook.war".INSTALL: ... org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) ... org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) ...

 
forum_thread

Activation Issue

Hi! We now reached the 10 class limit of ObjectDB. Our license is activated and if I run objectdb activation I get true back. When I start our webapp although I get the following error: ... if I run objectdb activation I get true back. When I start our webapp although I get the following error: Caused by: ...

 
forum_thread

Tutorial issue

Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create the project in Step 1; Here's the output; ... Remove one of them from your project and start with a new empty database. ObjectDB Support ...

 
forum_thread

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy attribute) 2- Retrieve only 10 000 for testing 3- Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. ... createEntityManager ( ) ;   Long start = new Date ( ) . getTime ( ) ; ... ;   Long duration = ( end - start ) / 1000 ; System. out . println ( ...

 
manual

Paths and Types in JPQL and Criteria API

Explains how to use object expressions (path navigation, type) in JPA/JPQL. Instances of user defined persistable classes (entity classes, mapped super classes and embeddable classes) are represented in JPQL by the following types of expressions: Variables - FROM identification variables and SELECT re ...