ObjectDB ObjectDB

Undeploying Glassfish web application does not disconnect from ObjectDB



ObjectDB 2.3.7_19

If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer, the explorer claims the database file is being accessed by another process. If I restart Glassfish I can open the database file in the ObjectDB explorer ok.

--- Webel IT Australia, "The Elements of the Web", Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, https://www.webel.com.au

Are you using ObjectDB in embedded mode?

Apparently undeploying a web application from GlassFish doesn't close the EntityManagerFactory, and consequently the ObjectDB database remains in use (and in embedded mode - no one else can use it).

It is unclear what can be done (if at all) on ObjectDB side in order to solve this problem.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)


To post on this website please sign in.