About Application Server

forum_thread

Java 6/7 Performance Comparison

Hey, I've been using ObjectDB for a small scale home project to gain some familiarity before proposing it in a commercial project at work. What I've noticed though is that when using objectdb in embedded mode based on the console tutorial, there seems to be a bit of a performance gap running the same code between Java 6 & 7 Tracing it through I can see the bottle neck seems to be at the creation of the entity manager and I was wondering if there are any additional configuration options I may have missed while running under java 7. ... ) Java HotSpot ( TM ) 64-Bit Server VM ( build 24.51-b03, mixed mode ) andrews-mbp:Desktop ... slightly to include a modal JDialog which would stop the application so I could attach the profiler, aside from that test case remained ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... crashed leaving this on console screen: ObjectDB Server started on port 7136. Exception in thread "ODB-StoreHandler-29" ... of #9 cannot be integrated. If you can provide an application (not necessarily an isolated test, and no source is required) that ...

 
forum_thread

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... java .lang.ExceptionInInitializerError at org.jppf.server.node.NodeTaskWrapper.run ( NodeTaskWrapper. java :150 ) ... in the first post is that I am simulating a server-client application in local mode. Therefore the server and the node have permission to ...

 
forum_thread

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck ... do with the number of threads that you are using in your application). You cannot compare it to Tomcat. In ObjectDB sharing of resources ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... exception (Error 990) Generated by Java HotSpot(TM) Server VM 1.6.0_27 (on Linux 2.6.35.14-95.38.amzn1.i686). Please report this ... anything that you think may be related (a change in your application or in the ObjectDB version)? How often does it happen? If ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... by Java HotSpot ( TM ) 64 - Bit Server VM 1.8.0_74 ( on Windows 10 10.0 ) . Please ... be a bug which corrupts the database file. I shutdown the application by closing all EntityManager instances. Please check again ...

 
tutorial

Java EE 6 JPA Tutorial - NetBeans Project

Opening a Java EE 6 JPA Maven web application project in the NetBeans IDE. To open and run the  Java EE 6 Web Application tutorial project in NetBeans: Download ... Project... (or  F6 ). Choose or define the server and click  OK . If  a browser is not opened - ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... the object). The following error message from my application monitor seems to be related but unfortunately I dont have a full ... 1) The problem is re-producable but only at the application level at the moment. I will try to put together a test that ... (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_26 (on Windows 2003 5.2). Please report this error on ...

 
forum_thread

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities from the database. ... Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities ... creates, reads and updates these entities in multithreaded application it sometimes fails to read them from the DB with "No matching ... (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_27 (on Windows 7 6.1). Please report this error on ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... web app it fails; the collection is null! In the application (web app), I create the readings in one call and I try to read them ... make any difference. Also, each of my calls to the server is made in a transaction (the entry point in the servlet is annotated ...