About Application Server

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

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

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

 
forum_thread

JBoss 7 startup fails

Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as IDE The "src" folder contains the pachake guest and within the classes: Guest.java, GuestListener.java and GuestServlet.java The WebContent/META-INF dir contains: context.xml ... entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as ... default provider ) org.hibernate dependency to application deployment ( since 1 PU ( s ) didn't specify ...

 
forum_thread

Adding EntityListener Throws Unexpected Internal Exception

I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: ... time I persist or update. [ error ] application - message= Unexpected internal exception, cause= [ ObjectDB ... Generated by Java HotSpot ( TM ) 64-Bit Server VM 1.8.0 ( on Linux 3.2.0-57-generic ) . Please report this ...

 
forum_thread

Cannot catch a PersistenceException and continue the transaction

I try to create a factory that creates new objects just in case it doesn't find the relevant one in the DB. but because query.getSingleResult() fires NoResultException in that case it marks the transaction as one that need to be rolled back. I understood that I can overcome it in several ways but those don't work for me. 1. Begin a new (nested) transaction in another method that will be rolled back instead of the first one- doesn't work. I got a message that it couldn't begin a new transaction when another is active. ... BMT- it doesn't let me commit and rollback because the server is also trying to do so. How can I do so?   ... in the method. If the exception is caught by the application and not thrown to the application server, the transaction is not ...

 
forum_thread

ObjectDB shuts down

Hi, we have a problem with OBjectDB shuts down every few days, sometimes every day. It always happens in the morning ie. after several hours of inactivity although we are not sure if this is the reason. Last night we maintained constant activity during the whole night (user were frequently using the application) and DB was OK. ... during the whole night (user were frequently using the application) and DB was OK. Is it possible that DB shuts down if the ... for itself. I experienced something similar when my app server (Tomcat/Tomee) was using too much memory (out of the total available), ...