• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying EJB in WSAD 5.0

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have deployed EJB in WSAD.But when i use my java code to acess the EJB server i am getting an exception which says StaleConnectionException class not found.I have set the neccecary class paths which also include the path of StaleException class.
But inspite of this getting an error.Could anyone throw light on why this is happening.

Exception is as follows.....
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException:

Trace from server: 1198777258 at host localhost >>
java.rmi.RemoteException: ; nested exception is:
java.lang.NoClassDefFoundError: com/ibm/ejs/cm/portability/StaleConnectionException
java.lang.NoClassDefFoundError: com/ibm/ejs/cm/portability/StaleConnectionException
at com.bnsf.mech.fw.server.RDBLoggerDataBroker.performRequest(RDBLoggerDataBroker.java:76)
at com.bnsf.mech.fw.server.RDBLogger.persistTraceData(RDBLogger.java:129)
at com.bnsf.mech.fw.common.GenericLogger.flushBuffer(GenericLogger.java:55)
at com.bnsf.mech.fw.common.GenericLogger.log(GenericLogger.java:111)
at com.bnsf.mech.fw.server.RDBLogger.log(RDBLogger.java:110)
at com.bnsf.mech.fw.server.BNSFServerContextController.log(BNSFServerContextController.java:108)
at com.bnsf.mech.fw.server.BNSFServiceHandler.performService(BNSFServiceHandler.java:189)
at com.bnsf.mech.fw.server.BNSFEnterpriseBean.handleSingleRequest(BNSFEnterpriseBean.java:259)
at com.bnsf.mech.fw.server.BNSFEnterpriseBean.handleRequest(BNSFEnterpriseBean.java:216)
at com.bnsf.mech.wcm.ejbs.LocomotiveBean.doGet(LocomotiveBean.java:55)
at com.bnsf.mech.wcm.ejbs.EJSRemoteStatelessLocomotive_ffc51f7a.doGet(EJSRemoteStatelessLocomotive_ffc51f7a.java:40)
at com.bnsf.mech.wcm.ejbs._EJSRemoteStatelessLocomotive_ffc51f7a_Tie.doGet(_EJSRemoteStatelessLocomotive_ffc51f7a_Tie.java:163)
at com.bnsf.mech.wcm.ejbs._EJSRemoteStatelessLocomotive_ffc51f7a_Tie._invoke(_EJSRemoteStatelessLocomotive_ffc51f7a_Tie.java:82)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
<< END server: 1198777258 at host localhost
reply
    Bookmark Topic Watch Topic
  • New Topic