[JBoss-dev] [JBoss JIRA] Commented: (HIBERNATE-13) testEjbInterception Unit Test failure
[ http://jira.jboss.com/jira/browse/HIBERNATE-13?page=comments#action_12316776 ] Ryan Campbell commented on HIBERNATE-13: I'm still seeing this after applying Steve's fix from yesterday. The root exception is: Caused by: javax.naming.NameNotFoundException: hibernate not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) at org.jnp.server.NamingServer.getBinding(NamingServer.java:499) at org.jnp.server.NamingServer.getObject(NamingServer.java:505) at org.jnp.server.NamingServer.lookup(NamingServer.java:249) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.hibernate.session.HibernateContext.locateSessionFactory(HibernateContext.java:241) Looking at hibernate/src/etc/hibernate-service.xml it looks as though the session factory name may have changed from java:/hibernate/SessionFactory to java:/hibernate/HibernateFactory? Of course, the error is with hibernate not being bound, but I'm just wondering if the test is broken due to a config change w/ hibernate? testEjbInterception Unit Test failure - Key: HIBERNATE-13 URL: http://jira.jboss.com/jira/browse/HIBERNATE-13 Project: Hibernate Type: Bug Environment: win xp sp2 Reporter: Pushkala Iyer Assignee: Steve Ebersole The following test is failing in the 4.0 branch and needs to be resolved before the 4.0.2 Final release. We've tested this in multiple environments and received the same error. Test Case: org.jboss.test.hibernate.test.HibernateIntgUnitTestCase Test : testEjbInterception Stack Trace: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy2.storeUser(Unknown Source) at org.jboss.test.hibernate.test.HibernateIntgUnitTestCase.testEjbInterception(HibernateIntgUnitTestCase.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23) Caused by: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name
[JBoss-dev] [JBoss JIRA] Commented: (HIBERNATE-13) testEjbInterception Unit Test failure
[ http://jira.jboss.com/jira/browse/HIBERNATE-13?page=comments#action_12316779 ] Steve Ebersole commented on HIBERNATE-13: - No the real issue happens (or was happening) well before that. The service fails to start, hence nothing is ever put into JNDI and thus never found ;) I'll just (try to) do a clean checkout of 4.0 tonight and look at it myself. I'm not able to simply update because I have a *lot* of pending changes waiting for 4.0.2 to be released. Note, I've not been able to grab a full checkout from CVS using my dev login for almost 4 weeks of trying now; I always end up having to use Clebert's trick of doing an anon checkout and manually updating the local CVS meta files. Ryan, maybe I could just do a anon checkout and do the fix and send you the patch to apply (if I am unable to get a developer checkout)? testEjbInterception Unit Test failure - Key: HIBERNATE-13 URL: http://jira.jboss.com/jira/browse/HIBERNATE-13 Project: Hibernate Type: Bug Environment: win xp sp2 Reporter: Pushkala Iyer Assignee: Steve Ebersole The following test is failing in the 4.0 branch and needs to be resolved before the 4.0.2 Final release. We've tested this in multiple environments and received the same error. Test Case: org.jboss.test.hibernate.test.HibernateIntgUnitTestCase Test : testEjbInterception Stack Trace: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy2.storeUser(Unknown Source) at org.jboss.test.hibernate.test.HibernateIntgUnitTestCase.testEjbInterception(HibernateIntgUnitTestCase.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23) Caused by: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
[JBoss-dev] [JBoss JIRA] Commented: (HIBERNATE-13) testEjbInterception Unit Test failure
[ http://jira.jboss.com/jira/browse/HIBERNATE-13?page=comments#action_12316783 ] Steve Ebersole commented on HIBERNATE-13: - So did somebody change something? I finally was able to get a clean check out (yaay!). I built and ran the tests (sans any cheanges other than the ones from yesterday that Ryan mentions) and it ran fine. testEjbInterception Unit Test failure - Key: HIBERNATE-13 URL: http://jira.jboss.com/jira/browse/HIBERNATE-13 Project: Hibernate Type: Bug Environment: win xp sp2 Reporter: Pushkala Iyer Assignee: Steve Ebersole The following test is failing in the 4.0 branch and needs to be resolved before the 4.0.2 Final release. We've tested this in multiple environments and received the same error. Test Case: org.jboss.test.hibernate.test.HibernateIntgUnitTestCase Test : testEjbInterception Stack Trace: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy2.storeUser(Unknown Source) at org.jboss.test.hibernate.test.HibernateIntgUnitTestCase.testEjbInterception(HibernateIntgUnitTestCase.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23) Caused by: java.rmi.ServerException: RuntimeException; nested exception is: org.jboss.util.NestedRuntimeException: Unable to retreive Session; - nested throwable: (net.sf.hibernate.HibernateException: Unable to locate SessionFactory in JNDI under name [java:/hibernate/SessionFactory]) at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:873) at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at