[jboss-user] [EJB 3.0] - Corba and Stateful Session Bean problem

ollka do-not-reply at jboss.com
Thu Apr 5 06:33:45 EDT 2007


Hi all,

I trying to develop some ejbs and corba client.
If I work with Stateless session beans, it's work fine, but if i try to use Stateful session bean, i have an error, when i resolve my stateful bean from client.

Using jndi works fine too - when i lookup a bean, the session is created.

But with corba i get following exception:
javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: null
	at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
 	at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.SessionContainer.invoke(SessionContainer.java:303)
at org.jboss.ejb3.iiop.BeanCorbaServant.invoke(BeanCorbaServant.java:227)
at org.jboss.ejb3.iiop.BeanCorbaServant.invoke(BeanCorbaServant.java:233)
at org.jboss.ejb3.iiop.BeanCorbaServant._invoke(BeanCorbaServant.java:195)
at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:297)
at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:596)
at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:739)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034949#4034949

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034949



More information about the jboss-user mailing list