ObjectDB ObjectDB

Your Glassfish example on the web



I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans".

When I try to run the example and add an entry in the guestbook, it throws this exception:

com.objectdb.o._PersistenceException: Attempt to obtain a connection from a closed EntityManagerFactory


I have tried Open source and Oracle Glassfish server with the same result.

I'm using 64-bit jdk1.7.0_03


Do you have any suggestion how to solve the exception ?

Best regards

// Par


This is a duplicate of a problem that was reported in a previous forum thread.

ObjectDB 2.3.7_03 was not compatible with GlassFish 3.1.2 that was released a few days ago.

A new build (2.3.7_04) was just released that is compatible with GlassFish 3.1.2.


ObjectDB Support


To post on this website please sign in.