Hi Kevin,
thanks for spotting this. I’ve added skip for this test on a server: #8847.
-Adrian
From: Kevin Yuan [mailto:kevin.yuan@xxxxxxxxxx]
Sent: Mittwoch, 19. Januar 2011 16:32
To: Goerler, Adrian
Cc: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] bug 330755
Hi Adrian,
The one new test case (org.eclipse.persistence.testing.tests.wdf.jpa2.embeddable.TestNestedEmbeddedIds.testInsert) that you enabled failed on both JBoss and WLS server. The following are stack trace from JBoss (actually it failed to deploy on JBoss):
javax.naming.NameNotFoundException: jpa2testmodel_rl not bound
java.lang.RuntimeException: javax.naming.NameNotFoundException: jpa2testmodel_rl not bound
at org.eclipse.persistence.testing.framework.server.JEEPlatform.getEntityManagerFactory(JEEPlatform.java:162)
at org.eclipse.persistence.testing.framework.wdf.AbstractBaseTest.getEntityManagerFactory(AbstractBaseTest.java:531)
at org.eclipse.persistence.testing.framework.wdf.AbstractBaseTest$ResourceLocalEnvironment.getEntityManagerFactory(AbstractBaseTest.java:156)
at org.eclipse.persistence.testing.framework.wdf.AbstractBaseTest$ResourceLocalEnvironment.getEntityManager(AbstractBaseTest.java:149)
at org.eclipse.persistence.testing.tests.wdf.jpa2.embeddable.TestNestedEmbeddedIds.testInsert(TestNestedEmbeddedIds.java:22)
at org.eclipse.persistence.testing.framework.wdf.SkipBugzillaTestRunner.runChild(SkipBugzillaTestRunner.java:178)
at org.eclipse.persistence.testing.framework.wdf.SkipBugzillaTestRunner.runChild(SkipBugzillaTestRunner.java:38)
at org.eclipse.persistence.testing.framework.wdf.SkipBugzillaTestRunner.run(SkipBugzillaTestRunner.java:50)
at org.eclipse.persistence.testing.framework.wdf.server.ServerTestRunnerImpl.runTestClass(ServerTestRunnerImpl.java:49)
at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
Caused by: javax.naming.NameNotFoundException: jpa2testmodel_rl not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:833)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.eclipse.persistence.testing.framework.server.JEEPlatform.getEntityManagerFactory(JEEPlatform.java:160)
Could you take a look at it?
Thanks,
Kevin
On 17/01/2011 12:37 PM, Goerler, Adrian wrote:
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev