yep but seems you are the only once getting it since David and JL ran it on mac os too i think
I'm not familiar with macos jdk but any idea what could be the diff with win or linux jdk? both works - Romain 2012/7/30 Mark Struberg <strub...@yahoo.de> > nope, clean 7up on openejb svn trunk... > > I'm using OSX-10.7 with jdk-1.6. It seems to be a classloader issue. > It doesn't happen if I debug it in idea, but breaks if I start mvn test > -Dtest=.. > > > Is there some temp-classloader or other classloader magic involved? > > > LieGrue, > strub > > >________________________________ > > From: Romain Manni-Bucau <rmannibu...@gmail.com> > >To: dev@openejb.apache.org; Mark Struberg <strub...@yahoo.de> > >Sent: Monday, July 30, 2012 9:56 AM > >Subject: Re: stochastic test errors > > > > > >Hey Mark, > > > >JL got this error too but David fixed it weeks ago...is it possible your > are not sync? (do you use github proxy?) > > > >- Romain > > > > > > > >2012/7/28 Mark Struberg <strub...@yahoo.de> > > > >I digged a bit deeper: > >> > >>Caused by: java.lang.LinkageError: loader (instance of > sun/misc/Launcher$ExtClassLoader): attempted duplicate class definition > for name: "sun/security/pkcs11/SunPKCS11" > >> at java.lang.ClassLoader.defineClass1(Native Method) > >> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > >> at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > >>... > >> at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source) > >> at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source) > >> at > org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) > >>... > >> at > org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156) > >> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227) > >> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154) > >> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60) > >> at > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:114) > >> at > org.apache.openejb.persistence.ResourceLocalCdiEmTest$EMFProducer.em(ResourceLocalCdiEmTest.java:97) > >> > >> > >>LieGrue, > >>strub > >> > >> > >> > >> > >> > >>----- Original Message ----- > >>> From: Mark Struberg <strub...@yahoo.de> > >>> To: openejb-dev <dev@openejb.apache.org> > >>> Cc: > >>> Sent: Saturday, July 28, 2012 7:48 PM > >>> Subject: stochastic test errors > >>> > >>> Hi folks! > >>> > >>> When doing a full build of the container module, I get the following > Exception: > >>> > >>> Test set: org.apache.openejb.persistence.ResourceLocalCdiEmTest > >>> > ------------------------------------------------------------------------------- > >>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.192 > sec > >>> <<< FAILURE! > >>> injection(org.apache.openejb.persistence.ResourceLocalCdiEmTest) Time > elapsed: > >>> 2.097 sec <<< FAILURE! > >>> junit.framework.AssertionFailedError > >>> at junit.framework.Assert.fail(Assert.java:48) > >>> at junit.framework.Assert.assertTrue(Assert.java:20) > >>> at junit.framework.Assert.assertNotNull(Assert.java:218) > >>> at junit.framework.Assert.assertNotNull(Assert.java:211) > >>> at > >>> > org.apache.openejb.persistence.ResourceLocalCdiEmTest.injection(ResourceLocalCdiEmTest.java:50) > >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>> at > >>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >>> at > >>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >>> > >>> > >>> If I start the test in the debugger, all works fine! > >>> > >>> It seems the injection doesn't work. > >>> > >>> Any tips? > >>> > >>> LieGrue, > >>> strub > >>> > >> > > > > > > >