Hello, Unfortunatelly the problem is still open. In details test works well on one of my two computers. I checked everything (eclipse configuration, paths, lib versions etc) but on the second pc first test always generate error (log bellow). Second, third and next tests are fine. I'm sure the problem is configuration, but I have checked everything and I have not idea what can I do more.
INFO - ******************************************************************************** INFO - OpenEJB http://openejb.apache.org/ INFO - Startup: Mon Nov 17 09:49:44 CET 2014 INFO - Copyright 1999-2013 (C) Apache OpenEJB Project, All Rights Reserved. INFO - Version: 4.7.1 INFO - Build date: 20140912 INFO - Build time: 01:43 INFO - ******************************************************************************** INFO - openejb.home = D:\drk\workspace\my_fin_prog_ejb_test INFO - openejb.base = D:\drk\workspace\my_fin_prog_ejb_test INFO - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@1b0620c INFO - Succeeded in installing singleton service INFO - Using 'javax.ejb.embeddable.EJBContainer=true' INFO - Cannot find the configuration file [conf/openejb.xml]. Will attempt to create one for the beans deployed. INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) INFO - Configuring Service(id=playr, type=Resource, provider-id=Default JDBC Database) INFO - Inspecting classpath for applications: 48 urls. Consider adjusting your exclude/include. Current settings: openejb.deployments.classpath.exclude='', openejb.deployments.classpath.include='.*' INFO - Found PersistenceModule in classpath: d:\drk\workspace\my_fin_prog_ejb_test\build\classes INFO - Found EjbModule in classpath: d:\drk\workspace\my_fin_prog\build\classes WARN - Searched 48 classpath urls in 5252 milliseconds. Average 109 milliseconds per url. WARN - Consider adjusting your openejb.deployments.classpath.exclude and openejb.deployments.classpath.include settings. Current settings: exclude='', include='.*' INFO - Beginning load: d:\drk\workspace\my_fin_prog_ejb_test\build\classes INFO - Beginning load: d:\drk\workspace\my_fin_prog\build\classes INFO - Configuring enterprise application: D:\drk\workspace\my_fin_prog_ejb_test INFO - Auto-deploying ejb Log4jStartupBean: EjbDeployment(deployment-id=Log4jStartupBean) INFO - Auto-deploying ejb Services: EjbDeployment(deployment-id=Services) INFO - Auto-deploying ejb Payments: EjbDeployment(deployment-id=Payments) INFO - Configuring Service(id=Default Singleton Container, type=Container, provider-id=Default Singleton Container) INFO - Auto-creating a container for bean Log4jStartupBean: Container(type=SINGLETON, id=Default Singleton Container) INFO - Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container) INFO - Auto-creating a container for bean Services: Container(type=STATELESS, id=Default Stateless Container) INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container) INFO - Auto-creating a container for bean pl.test.fin.test.ServicesTest: Container(type=MANAGED, id=Default Managed Container) INFO - Using directory C:\Users\SWOJCI~1\AppData\Local\Temp for stateful session passivation INFO - Configuring PersistenceUnit(name=playr, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) INFO - Auto-creating a Resource with id 'playrNonJta' of type 'DataSource for 'playr'. INFO - Configuring Service(id=playrNonJta, type=Resource, provider-id=playr) INFO - Adjusting PersistenceUnit playr <non-jta-data-source> to Resource ID 'playrNonJta' from 'null' INFO - Configuring PersistenceUnit(name=fms_slacin) INFO - Adjusting PersistenceUnit fms_slacin <jta-data-source> to Resource ID 'playr' from 'fms' INFO - Adjusting PersistenceUnit fms_slacin <non-jta-data-source> to Resource ID 'playrNonJta' from 'null' INFO - Configuring PersistenceUnit(name=seda) INFO - Adjusting PersistenceUnit seda <jta-data-source> to Resource ID 'playr' from 'seda' INFO - Adjusting PersistenceUnit seda <non-jta-data-source> to Resource ID 'playrNonJta' from 'null' INFO - Configuring PersistenceUnit(name=racles) INFO - Adjusting PersistenceUnit racles <jta-data-source> to Resource ID 'playr' from 'null' INFO - Adjusting PersistenceUnit racles <non-jta-data-source> to Resource ID 'playrNonJta' from 'racles' INFO - Using 'openejb.validation.output.level=VERBOSE' INFO - Enterprise application "D:\drk\workspace\my_fin_prog_ejb_test" loaded. INFO - Assembling app: D:\drk\workspace\my_fin_prog_ejb_test WARN - JAVA AGENT NOT INSTALLED. The JPA Persistence Provider requested installation of a ClassFileTransformer which requires a JavaAgent. See http://tomee.apache.org/javaagent.html INFO - PersistenceUnit(name=playr, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 212ms INFO - PersistenceUnit(name=fms_slacin, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 7ms INFO - PersistenceUnit(name=seda, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 5ms INFO - PersistenceUnit(name=racles, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 5ms INFO - Jndi(name="java:global/my_fin_prog/Services!pl.test.fin.ejb.Services") INFO - Jndi(name="java:global/my_fin_prog/Services") INFO - Jndi(name="java:global/my_fin_prog/Payments!pl.test.fin.ejb.Payments") INFO - Jndi(name="java:global/my_fin_prog/Payments") INFO - Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@1b0620c INFO - OpenWebBeans Container is starting... INFO - Adding OpenWebBeansPlugin : [CdiPlugin] INFO - Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] INFO - All injection points were validated successfully. INFO - OpenWebBeans Container has started, it took 54 ms. INFO - Created Ejb(deployment-id=Services, ejb-name=Services, container=Default Stateless Container) INFO - Created Ejb(deployment-id=Payments, ejb-name=Payments, container=Default Stateless Container) INFO - Created Ejb(deployment-id=Log4jStartupBean, ejb-name=Log4jStartupBean, container=Default Singleton Container) INFO - Started Ejb(deployment-id=Services, ejb-name=Services, container=Default Stateless Container) INFO - Started Ejb(deployment-id=Payments, ejb-name=Payments, container=Default Stateless Container) [INFO];2014-11-17 09:49:54,784;OpenEJB.startup;org.apache.openejb.util.Log4jLogStream.info(Log4jLogStream.java:71);Deployed Application(path=D:\drk\workspace\my_fin_prog_ejb_test) [INFO];2014-11-17 09:49:54,809;pl.test.fin.ejb.ServicesImp;pl.test.fin.ejb.ServicesImp.<init>(ServicesImp.java:110);zglasza sie pl.test.fin.ejb.ServicesImp [INFO];2014-11-17 09:49:54,837;pl.test.fin.ejb.ServicesImp;pl.test.fin.ejb.ServicesImp.pobierzNaPoczatek(ServicesImp.java:116);PostConstruct pl.test.fin.ejb.ServicesImp [WARN];2014-11-17 09:49:55,908;openjpa.Enhance;org.apache.openjpa.lib.log.Log4JLogFactory$LogAdapter.warn(Log4JLogFactory.java:89);Detected the following possible violations of the restrictions placed on property access persistent types: "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpCi" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "dataRaportu" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpLac" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "imei" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "imei" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "msisdnB" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasCtypContType" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "dataRaportu" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasServedMsisdn" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpCi" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "imei" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpLac" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpLac" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasCtypContType" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpLac" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpCi" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasServedMsisdn" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasServedMsisdn" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "msisdnB" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "msisdnB" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "dataRaportu" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasCtypContType" is accessed directly in method "equals" defined in "pl.test.fin.domain.Fin13DetailPK". "pl.test.fin.domain.Fin13DetailPK" uses property access, but its field "ytasUsrpCi" is accessed directly in method "hashCode" defined in "pl.test.fin.domain.Fin13DetailPK". [ERROR];2014-11-17 09:49:55,942;OpenEJB;org.apache.openejb.util.Log4jLogStream.error(Log4jLogStream.java:51);EjbTransactionUtil.handleSystemException: null <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null at org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:96) at org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176) at org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:311) at org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:235) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:211) at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59) at org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:160) at org.apache.openejb.persistence.JtaEntityManagerRegistry.getEntityManager(JtaEntityManagerRegistry.java:119) at org.apache.openejb.persistence.JtaEntityManager.getEntityManager(JtaEntityManager.java:96) at org.apache.openejb.persistence.JtaEntityManager.typedProxyIfNoTx(JtaEntityManager.java:331) at org.apache.openejb.persistence.JtaEntityManager.createQuery(JtaEntityManager.java:405) at pl.test.fin.ejb.ServicesImp.pobierzNaPoczatek(ServicesImp.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$LifecycleInvocation.invoke(ReflectionInvocationContext.java:223) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181) at org.apache.openejb.monitoring.StatsInterceptor.PostConstruct(StatsInterceptor.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) at org.apache.openejb.BeanContext.newInstance(BeanContext.java:1590) at org.apache.openejb.core.stateless.StatelessInstanceManager.createInstance(StatelessInstanceManager.java:207) at org.apache.openejb.core.stateless.StatelessInstanceManager.getInstance(StatelessInstanceManager.java:199) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:186) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:308) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:303) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:308) at com.sun.proxy.$Proxy51.przywitajSie(Unknown Source) at pl.test.fin.test.ServicesTest.przywitajSieTest(ServicesTest.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:85) ... 63 more Caused by: java.lang.VerifyError at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) ... 68 more [ERROR];2014-11-17 09:49:55,946;OpenEJB;org.apache.openejb.util.Log4jLogStream.error(Log4jLogStream.java:51);The bean instance Services threw a system exception:org.apache.openejb.InvalidateReferenceException: java.rmi.RemoteException: The bean encountered a non-application exception; nested exception is: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null: The bean encountered a non-application exception; nested exception is: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null org.apache.openejb.InvalidateReferenceException: java.rmi.RemoteException: The bean encountered a non-application exception; nested exception is: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null: The bean encountered a non-application exception; nested exception is: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:156) at org.apache.openejb.BeanContext.newInstance(BeanContext.java:1593) at org.apache.openejb.core.stateless.StatelessInstanceManager.createInstance(StatelessInstanceManager.java:207) at org.apache.openejb.core.stateless.StatelessInstanceManager.getInstance(StatelessInstanceManager.java:199) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:186) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:308) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:303) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:308) at com.sun.proxy.$Proxy51.przywitajSie(Unknown Source) at pl.test.fin.test.ServicesTest.przywitajSieTest(ServicesTest.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.rmi.RemoteException: The bean encountered a non-application exception; nested exception is: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null at org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:155) ... 34 more Caused by: <openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error> org.apache.openjpa.persistence.PersistenceException: null at org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:96) at org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176) at org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:311) at org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:235) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:211) at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59) at org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:160) at org.apache.openejb.persistence.JtaEntityManagerRegistry.getEntityManager(JtaEntityManagerRegistry.java:119) at org.apache.openejb.persistence.JtaEntityManager.getEntityManager(JtaEntityManager.java:96) at org.apache.openejb.persistence.JtaEntityManager.typedProxyIfNoTx(JtaEntityManager.java:331) at org.apache.openejb.persistence.JtaEntityManager.createQuery(JtaEntityManager.java:405) at pl.test.fin.ejb.ServicesImp.pobierzNaPoczatek(ServicesImp.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$LifecycleInvocation.invoke(ReflectionInvocationContext.java:223) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181) at org.apache.openejb.monitoring.StatsInterceptor.PostConstruct(StatsInterceptor.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) at org.apache.openejb.BeanContext.newInstance(BeanContext.java:1590) ... 33 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:85) ... 63 more Caused by: java.lang.VerifyError at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) ... 68 more [INFO];2014-11-17 09:49:55,951;OpenEJB.startup;org.apache.openejb.util.Log4jLogStream.info(Log4jLogStream.java:71);Undeploying app: D:\drk\workspace\my_fin_prog_ejb_test [INFO];2014-11-17 09:49:55,965;OpenEJB.startup;org.apache.openejb.util.Log4jLogStream.info(Log4jLogStream.java:71);Destroying OpenEJB container [INFO];2014-11-17 09:49:55,970;OpenEJB.startup;org.apache.openejb.util.Log4jLogStream.info(Log4jLogStream.java:71);Closing DataSource: playr [INFO];2014-11-17 09:49:55,974;OpenEJB.startup;org.apache.openejb.util.Log4jLogStream.info(Log4jLogStream.java:71);Closing DataSource: playrNonJta ----- Best Regards sw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/EJBContainer-and-tests-tp4672761p4672905.html Sent from the TomEE Users mailing list archive at Nabble.com.
