1. problem with using JPA stackoverflow.comI am getting following exception while i try to execute simple jpa code. What may be the casue?
|
2. Error when creating EntityManager in JPA2 stackoverflow.comI'm trying to create a simple JPA2 app that persists something to a database using the OpenJPA implementation. I'm running Derby and using the default Embedded JDBC Driver. I've been scratching ... |
3. "Couldn't create EntityManager" with OpenJPA-based Kodo. java.net=== [#|2007-01-29T10:47:46.710+0900|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=20;_ThreadName=p: thread-pool-1; w: 1517;_RequestID=2136de08-555f-40db-afd5-bd2a4eb90c2d;|create ejblocal object exception javax.ejb.EJBException: Couldn't create EntityManager for refName: company.wombat.cdms.control.audit.MySessionBeanImpl/entityManager; unitname: null at com.sun.ejb.containers.StatefulSessionContainer.createExtendedEMs(StatefulSessionContainer.java:1065) at com.sun.ejb.containers.StatefulSessionContainer.createBeanInstance(StatefulSessionContainer.java:895) at com.sun.ejb.containers.StatefulSessionContainer.createEJBLocalBusinessObjectImpl(StatefulSessionContainer.java:809) at com.sun.ejb.containers.EJBLocalHomeImpl.createEJBLocalBusinessObjectImpl(EJBLocalHomeImpl.java:103) at com.sun.ejb.containers.EJBLocalHomeInvocationHandler.invoke(EJBLocalHomeInvocationHandler.java:154) at $Proxy107.create(Unknown Source) at com.sun.ejb.EJBUtils.resolveEjbRefObject(EJBUtils.java:283) at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:868) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:160) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:313) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274) at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193) at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:114) at com.sun.ejb.containers.StatefulSessionContainer.createBeanInstance(StatefulSessionContainer.java:935) at com.sun.ejb.containers.StatefulSessionContainer.createRemoteBusinessObjectImpl(StatefulSessionContainer.java:673) at com.sun.ejb.containers.EJBHomeImpl.createRemoteBusinessObjectImpl(EJBHomeImpl.java:110) at com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:176) at $Proxy100.create(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ... |