About GlassFish

forum_thread

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help, please?... Thanks! Here it is the persistence.xml config: ... I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into ... SEVERE : Exception while invoking class org. glassfish . persistence . jpa . JPADeployer prepare method SEVERE : ...

 
forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: ... System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple ... Compile and deploy the WebApplication to an remote Glassfish server. Don't forget to set an admin password on the ...

 
forum_thread

GlassFish 3.1.2.2/JBoss 7.1.1

Good day, We have few troubles with GlassFish on @remote. When we wants to get entity from remote interface, but in the result we have null in all entity fields. As I see there is a GlassFish problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb). May be you have some ideas?  When we just try JBoss 7.1.1 nothing works at all. When I get a real world objectdb deployment example?    Thanks.  ... Good day, We have few troubles with GlassFish on @remote. When we wants to get entity from remote interface, but in ... we have null in all entity fields. As I see there is a GlassFish problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb). May be you have some ...

 
forum_thread

Your Glassfish example on the web

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

 
forum_thread

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time emhancement, but GlassFish invokes it automatically. Currently there is no setting in ObjectDB to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level).     ... Enhancer agent, since you use build time emhancement, but GlassFish invokes it automatically. Currently there is no setting in ObjectDB ... agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced ...

 
forum_thread

Guestbook Tutorial (Eclipse/Glassfish)

I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have found one problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset on occasions; I am not sure what set of events causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be when restarting Glassfish or re-publishing the application, the database is empty. Any help would be much appreciated. ... problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset ... causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... appear to be relying on JNDI lookups). I am using Glassfish. Basically, what I am trying to get at: E.g. persistence.xml ... deployments with ObjectDB as the datastore either with Glassfish/JBoss and having environment specific datastore properties being ...

 
forum_thread

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy the application. it is very troublesome during development.... a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after ...

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: ... in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an ...

 
forum_thread

Objectdb Server Mode set up with glassfish

Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set up objectdb in server mode. I have run the server.exe but I don't know what to do next ?!  Which jar far do I need to include in my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish ?   Thanks Paul Newman ... Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set ...