About EJB

11-20 of 74Refresh
Forum
33

How to package orm.xml when using EJB in WAR?

when the (EJB) project is built. When that EJB is deployed to e.g. GlassFish 3.1.1 all apperar to be OK ... to the database EJB is built and deployed, this error message pops up: Caused by: com.objectdb.o ... project that depends on the EJB .. but it's not great to have duplicate copies of the file, and this isn't
Forum
30

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: HappyThought: Error occurred during deployment: Exception while preparing the app : java.lang
Issue
27

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

.1 and then: Set DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test.mini.ejb ... class ExtConfigBean extends All_ { @EJB private ExtProjectBuilder builder ... { ... Warning: A system exception occurred during an invocation on EJB ExtProjectBuilder, method
Tutorial
27

JPA Tutorials

with a Servlet and a JSP: JPA Web Application Tutorial This web application does not use EJB ... Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server
Forum
22

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

). Thanks! WARNING:   EJB5184:A system exception occurred during an invocation on EJB UserC, method: public void com.mirq.controller.UserC.findUser(java.lang.Long) WARNING:   javax.ejb ... /EntityManager; at com.sun.ejb.containers.EJBContainerTransactionManager.checkExceptionClientTx
Tutorial
19

Step 2: Entity Class and Persistence Unit

provider with the specified database url. The next step is adding an EJB Session Bean that will manage Guest entity objects.
Tutorial
19

Step 2: Entity Class and Persistence Unit

database url. The next step is adding an EJB Session Bean that will manage Guest entity objects.
Issue
13

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

.ejb; import com.greensoft.objectdb.test.mini.entity.Source; import com.greensoft.objectdb.test ... @Startup public class ConfigBean extends All_ { @EJB private Builder builder ... :437) at com.greensoft.objectdb.test.mini.ejb.BuilderCommon.persist(BuilderCommon.java:50) at com
Forum
13

newbie - lots of exeptions

.Method.invoke(Method.java:601) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun.ejb.containers.BaseContainer
Forum
12

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

during an invocation on EJB GuestDao, method: public void guest.GuestDao.persist(guest.Guest) WARNING: javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun.ejb