java.rmi.RemoteException: EJB Exception:nested exception is: jav

Discussions

EJB programming & troubleshooting: java.rmi.RemoteException: EJB Exception:nested exception is: jav

  1. Hi All, Please some out help me out, i have a written a stateless session bean, which is compiled with out errors, and i deployed it in wblogic server. when i run my client program, i get this exceptions. please some one help me how to tackle this, Thanks in advance, java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: secure/SDK/SAPIAgent Start server side stack trace: java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: SDK/SAPIAgent java.lang.NoClassDefFoundError: SDK/SAPIAgent at SAPI.SAPIBean.(SAPIBean.java:18) at SAPI.SAPIBean_163r2w_Impl.(SAPIBean_163r2w_Impl.java:31) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232) at weblogic.ejb20.manager.BaseEJBManager.allocateBean (BaseEJBManager.java:129) at weblogic.ejb20.manager.StatelessManager.createBean (StatelessManager.java:266) at weblogic.ejb20.pool.StatelessSessionPool.createBean (StatelessSessionPool.java:148) at weblogic.ejb20.pool.StatelessSessionPool.getBean (StatelessSessionPool.java:101) at weblogic.ejb20.manager.StatelessManager.preInvoke (StatelessManager.java:142) at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:138) at weblogic.ejb20.internal.StatelessEJBObject.preInvoke (StatelessEJBObject.java:70) at valyd.SAPI.SAPIBean_163r2w_EOImpl.getSession (SAPIBean_163r2w_EOImpl.java:234) at valyd.SAPI.SAPIBean_163r2w_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:455) at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke (ReplicaAwareServerRef.java:114) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:396) at weblogic.security.service.SecurityServiceManager.runAs (SecurityServiceManager.java:731) at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.java:391) at weblogic.rmi.internal.BasicExecuteRequest.execute (BasicExecuteRequest.java:30) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:261) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:223) End server side stack trace ; nested exception is: java.lang.NoClassDefFoundError: SDK/SAPIAgent Murali
  2. The server is not able to find the SAPIAgent class your bean is refering to.Post the package structure of your app, cheers, http://www.javaicillusion.blogspot.com/