About Application Server

forum_thread

Multi-tenant setup

Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or schema. There are lot of discussions on how to do it with hibernate Thanks     ... path). It is more tricky when using ObjectDB within an application server as automatic injection of entity managers in Java EE and JPA is static. ...

 
issue

Integration with Java EE (JPA 1.0)

ObjectDB can be used in both Java EE and Java SE by using application managed EntityManager. Support of container managed EntityManager and integration with the JTA (Java Transaction API) is not implemented yet.... ObjectDB can be used in both Java EE and Java SE by using application managed EntityManager javax.persistence.EntityManager ... API (JTA) and running ObjectDB in Java EE containers (application servers) has been added in version 2.0.4. ...

 
forum_thread

app.jelastic.eapps.com and objectdb

It seems that this web hosting service doesn't support objectdb and that is frustrating. Does anyone know a way around this? pls help a brother... ... Hi! Jelastic is a Java server Container enviroment. ... would be as usual, as demonstrated in the ObjectDB web application tutorials. Note that in embedded mode using ObjectDB is like using ...

 
forum_thread

"No Persistence provider for EntityManager" in OSGI bundle.

Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essentially it builds an OSGI bundle with an embedded instance of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below error. ... of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below ...

 
issue

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

Hi, ... being thrown from ObjectDb on our production server.  These are being written to a log by a server wrapper which runs ObjectDb as a service.  It looks like ObjectDb ... are terminating abnormally, I'm not sure how our application is reacting to these failures, as there are no timestamps that I ...

 
issue

Can't open replicated database

I have a database running in server mode on port 6136 on server1 and server2. Each server has a replicated copy of the other servers database. I try to open the replicated on one database for a query (just read, no update) but it fails with the error below. The code I'm using is (user & password has been deliberately removed): ... I have a database running in server mode on port 6136 on server1 and server2. Each server has a replicated ... error but when I restarted the objectdb servers and the application clients it seems to be working ok. ...

 
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 ...

 
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 ...