Internal Website Search

1-50 of 98 results

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached ... ) at org. glassfish .ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working ... - The requested resource () is not available. I tried it on Glassfish server 3.1.2 and 3.1.2.2. Sometimes I get no execptions in server log and sometimes yes like here: Launching GlassFish on Felix platform

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

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 ... ; Compile and deploy the WebApplication to an remote Glassfish server. Don't forget to set an admin password on the Glassfish server and enable "secure admin". Now, log in remotely to the Glassfish

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 ... .java:597) at org. glassfish .ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org. glassfish .ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager

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

Externalising persistence.xml properties in Glassfish?

on JNDI lookups). I am using Glassfish . Basically, what I am trying to get at: E.g. persistence.xml ... either with Glassfish /JBoss and having environment specific datastore properties being build independent ... to the database - aka a managed pool. In Glassfish , setting up this pool is like this (domain.xml):  

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 ... a closed EntityManagerFactory   I have tried Open source and Oracle Glassfish server

Guestbook Tutorial (Eclipse/Glassfish)

have found one problem. The database file (C:\glassfish3.1\glassfishv3\ glassfish \domains\domain1 ... 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

Issue deploying EJB project to Jboss/Glassfish

I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish .  The error I get with Glassfish is cannot Deploy HappyThought Deployment Error for module ... while invoking class org. glassfish .persistence.jpa.JPADeployer prepare method : java.lang.RuntimeException

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ... , the explorer claims the database file is being accessed by another process. If I restart Glassfish ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

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 ... my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

; On Glassfish it does the same thing but the app dies with "OutOfMemoryError" but the underlying condition is hard to see - Glassfish doesn't report any objectdb errors.  In glassfish I run client

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

Glassfish REALM objectdb...

hello , i ve made some research implementing objectdb to glassfish realm. Do you have realm for glassfish ? Here is some sample here: developers.sun.com/appserver/reference/techart/as8_authentication/index.html kadirbasol Kadir BASOL We don't, but if you implement it and you can make it public it would be nice. support Support

Glassfish , OpenEJB Realm

    Hello , i'm developing EJB Application. I was in dilemma using OpenEJB and Glassfish . They all support JDBC Realm but i want to use only ObjectDB solution. So , there is no JPA Realm for any application server.Thats big minus for objectdb.   I will try to integrate for glassfish

Java EE JPA (GLassfish) tutorial throws ClassCastException

something? - Java 1.7.0_03 - ObjectDB 2.4.5_06 - GlassFish Server Open Source Edition 3.1.2.2 dassie

Which version to use with Glassfish ?

Hi Should I use objectdb.jar or objectdb-jee.jar with glassfish ? THanks Paul Newman pnewman Paul Newman objectdb-jee.jar is preferred. support Support

Glassfish 4 JTA Data Source Support

I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server ( Glassfish 4 in my case).  My application already uses a number of JDBC data sources for Oracle etc., that are configured in

ObjectDB Object Database Features

integration with Tomcat, Jetty, GlassFish , WildFly, Spring MVC and Spring Boot. Operating Modes ... Tutorial (Tomcat/Jetty). Java EE Web Tutorial ( GlassFish /JBoss). Spring MVC Framework Web Tutorial

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

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 ... when I try to deploy: SEVERE:   Exception while invoking class org. glassfish .persistence ... :3014) at org. glassfish .persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:161

ObjectDB Overview

, GlassFish , JBoss and Spring. See the  ObjectDB Object Database Features  for more details.

system exception occurred during an invocation on EJB GuestDao

Hi, I am new to ObjectDB I was trying your eclipse/jee6/ glassfish tutorial. Eclipse Luna, Glassfish 4. I am getting the following exception (see below) just after deploying the project ... ) at org. glassfish .grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org. glassfish

UTF Error

.services.impl.ContainerMapper.service(ContainerMapper.java:217) at org. glassfish .grizzly.http.server.HttpHandler.runService(HttpHandler.java:182) at org. glassfish .grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:156) at org. glassfish .grizzly.http.server.HttpServerFilter.handleRead

Database is erased after deploying a new web application version

:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org. glassfish .hk2 ... :368) at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471) at org. glassfish ... (ServiceLocatorImpl.java:653) at org. glassfish .jersey.internal.inject.Injections.getOrCreate(Injections.java

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 ... : file:/usr/local/ glassfish / glassfish /domains/dex/applications/metamodel-ear-1.0-SNAPSHOT/lib/commons-beanutils-1.8.3.jar, URLEntry : file:/usr/local/ glassfish / glassfish /domains/dex/applications

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

:160) at com.objectdb.JEnhancerAgent.transform(JEnhancerAgent.java:155) at org. glassfish .persistence ... ) at org. glassfish .web.loader.WebappClassLoader$3.preprocess(WebappClassLoader.java:3465) at org. glassfish ... (StatelessContainerFactory.java:61) at org. glassfish .ejb.startup.EjbApplication.loadContainers(EjbApplication.java:221

2.5.3_02: java.lang.UnsupportedOperationException

Hello! I use Glassfish 4.0.0 and ObjectDB 2.5.3_02. When I do entityManager.createQuery I ... .reflect.Method.invoke(Method.java:606) at org. glassfish .ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org. glassfish .ejb.security.application.EJBSecurityManager

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6

Eclipse/JPA Java EE Tutorial

GlassFish , ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... above). Eclipse IDE for Java EE Developers. GlassFish Server 3.0.1 (or above). The last version of ObjectDB (just ... would be the same). Note: ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 (or later) is used

Regression bug in using version 2.4.5 with GlassFish 3.1.2

Can't deploy objectDB ver 2.4.5 or later using GlassFish 3.1.2, NetBeans 7.2.1 Win 7 & 8. ObjectDB ... .EMF.createEntityManager(EMF.java:250) at org. glassfish .persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211) at org. glassfish .persistence.jpa.PersistenceUnitLoader

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

.Method.invoke(Method.java:597) at org. glassfish .ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org. glassfish .ejb.security.application.EJBSecurityManager.invoke ... Luc Have you tried 2.4.5 or 2.4.5_03? Because 2.4.5_03 fixes a GlassFish integration issue . support

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

AND you restart Glassfish and Clean and Build and Deploy/Run, the web app runs and will display ... (AbstractSingletonContainer.java:389) at org. glassfish .ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:219) at org. glassfish .ejb.startup.SingletonLifeCycleManager

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3.0.1, with a small change in the  ... ( javaagent:objectdb.jar). When using GlassFish - on the fly enhancement (weaving) is automatically enabled

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  ... . You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven

JPA Tutorials

on full application servers (such as Oracle GlassFish , Red Hat JBoss, IBM WebSphere and Oracle ... , such as GlassFish 3.0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework

Step 6: Run the Java EE 6 Application

- the database file is created under the GlassFish directory (e.g. at domains\domain1\eclipseApps\Guestbook\WEB-INF ). You can stop the GlassFish server and open the database file in ObjectDB Explorer

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish , ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6

Step 6: Run the Java EE 6 Application

under the GlassFish directory (e.g. at domains\domain1\eclipseApps\Guestbook\WEB-INF ). You can stop the GlassFish

NetBeans/JPA Java EE Tutorial

NetBeans - using GlassFish , ObjectDB and JPA. The demo web application manages a basic guestbook page ... : ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps:

Step 7: Run the Spring Web App

/Guestbook/. This tutorial should also run with GlassFish 3.0.1, with a small change in ... the server node and select Restart. When using GlassFish - on the fly enhancement (weaving) is automatically

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish ) and Maven. The demo web application manages

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish ), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Step 3: Define an EJB Session Bean

application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat

NetBeans/JPA Spring MVC Web Tutorial

This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in NetBeans - using JPA, ObjectDB, Tomcat (or GlassFish ) and Maven. The demo web application

Step 1: Create a Java EE Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select GlassFish Server 3 (or above) 

Step 3: Define an EJB Session Bean

are only supported by Java EE application servers such as GlassFish and JBoss, and not by servlet containers

Spring MVC JPA Tutorial - NetBeans Project

Tomcat as a server and click  OK . Note: To run the application on GlassFish - change

Unexpected exception (Error 990) - NullPointerException

.reflect.Method.invoke(Method.java:606) at org. glassfish .ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org. glassfish .ejb.security.application.EJBSecurityManager ... ) at org. glassfish .cdi.transaction.TransactionalInterceptorBase.proceed(TransactionalInterceptorBase