0 Replies Latest reply on Apr 5, 2007 6:33 AM by ollka

    Corba and Stateful Session Bean problem

    ollka

      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)