wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Deploying EJB in WSAD 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Deploying EJB in WSAD 5.0" Watch "Deploying EJB in WSAD 5.0" New topic
Author

Deploying EJB in WSAD 5.0

Pankaj Tendulkar
Greenhorn

Joined: Jan 11, 2005
Posts: 5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying EJB in WSAD 5.0
 
Similar Threads
EJB calls across app. servers
Problem creating a new method in existing EJB in RAD 7
TRANSACTION_ROLLEDBACK during create() on remote ejb
calling ejb through standalone client program
Error calling EJB from client