[ http://jira.jboss.com/jira/browse/HIBERNATE-13?page=history ]
Ryan Campbell resolved HIBERNATE-13:
------------------------------------
Resolution: Done
Well, it works now. Thanks, Steve.
> 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: Ryan Campbell
>
>
> 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
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
> at
> org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
> at
> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
> at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development