About GlassFish

release

2.4.3

... Added support for using ObjectDB with GlassFish 3.1.2 . Added handling missing classes in agent ... . Fixed undeploying Glassfish 3.1.1 web application (by catching unexpected exception). ... Fixed a ClassLoader conflict when using GlassFish. Version 2.1.1 Fixed an  Explorer ...

 
forum_thread

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application. Currently, to avoid multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious. ... current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to ... multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb ...

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... ; // in ExtProjectBuilder AND you restart Glassfish and Clean and Build and Deploy/Run, the web app runs and will ...

 
release

2.5.0

... Fixed a regression problem of version 2.4.5 in running in GlassFish. Fixed a bug in retrieving primary key fields in ... Added support for using ObjectDB with GlassFish 3.1.2 . Added handling missing classes in agent ...

 
issue

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

I have marked this as CRITICAL because although there probably is no database integrity problem, the inability to robustly query relationship fields in a web application renders the ObjectDB system seemingly useless. objectdb-2.2.5_10 NetbeansIDE6.9.1 Glassfish3.01 client-server mode. odb file written to db-files/greendesk/greendesk.odb (see persistence.xml), copy of odb output attached. ... simpler to understand with careful output logging to the Glassfish logs, and also with a diagnostic table showing the query result in ... running the attached JavaEE Web App and viewing both the Glassfish output log and the single served JSF page indexTest.xthml. For a ...

 
forum_thread

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: ... running on jboss as7 (7.1.1.Final)  or running on glassfish 3.1.2 I get similar exception when using createNamedQuery glassfish stack trace Caused by: java.lang.IllegalArgumentException: ...

 
release

2.5.1

... Fixed a regression problem of version 2.4.5 in running in GlassFish. Fixed a bug in retrieving primary key fields in ... Added support for using ObjectDB with GlassFish 3.1.2 . Added handling missing classes in agent ...

 
release

2.4.4

... Added support for using ObjectDB with GlassFish 3.1.2 . Added handling missing classes in agent ... . Fixed undeploying Glassfish 3.1.1 web application (by catching unexpected exception). ... Fixed a ClassLoader conflict when using GlassFish. Version 2.1.1 Fixed an  Explorer ...

 
forum_thread

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext EntityManager injection, using the undeploy feature under the Glassfish server node  of Netbeans7.1, I get the following otherwise harmless error: ... injection, using the undeploy feature under the Glassfish server node  of Netbeans7.1, I get the following otherwise ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. ... closed I would recommend filing an enhancement request in GlassFish. The upshot for ObjectDB users is that you may have to ... like accessing lazy relationships when combined with Glassfish. From http://en.wikiquote.org/wiki/Albert_Einstein: ...