0 Replies Latest reply on Apr 10, 2008 5:13 AM by Lukasz Kolodziejek

    EJB 2.0 and JBoss 4.05 - object key not previously generated

    Lukasz Kolodziejek Newbie

      Hi,

      During retrieving remote EJB stub sometimes I get an error:

      ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
       at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:199)
       at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
       at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:150)
       at pl.touk.jainslee.jee2slee.bean.slee._SleeBeanRemote_Stub.sendResponse(Unknown Source)
       at pl.touk.jainslee.jee2slee.sbb.Jee2SleeSbb.onJ2SResponseEvent(Jee2SleeSbb.java:249)
       at com.opencloud.rhino.deployed.sbb.TouK.Jee2Slee_SBB_1_0.SbbEJBBean.sbbDeliverEvent(SbbEJBBean.java:378)
       at com.opencloud.deployed.Service_Jee2Slee_Service_1_0__TouK__1321.SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.sbbDeliverEvent(SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.java:961)
       at com.opencloud.ob.RhinoSDK.apy.b(5134)
       at com.opencloud.ob.RhinoSDK.apy.a(5134)
       at com.opencloud.ob.RhinoSDK.apy.a(5134)
       at com.opencloud.ob.RhinoSDK.aps.b(5134)
       at com.opencloud.ob.RhinoSDK.aps.a(5134)
       at com.opencloud.ob.RhinoSDK.u0.a(5134)
       at com.opencloud.ob.RhinoSDK.uz.a(5134)
       at com.opencloud.ob.RhinoSDK.nl.b(5134)
       at com.opencloud.ob.RhinoSDK.nl.run(5134)
      Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: ----------BEGIN server-side stack trace----------
      unknown oid
      ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
       at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
       at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
       at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
       at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
       at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
       at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
       at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:125)
       ... 13 more


      And at JBOSS side:


      13:45:22,625 WARN [poa] POA EJBObject&%SleeBeanHome rid: 5 opname: sendResponse _invoke: object key not previously generated!


      The strange thing is that this error occurs rarely. Most of the time everything works fine, so configuration is OK.

      Thanks in advance,
      Luke