File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Storm Applied this week in the Other Open Source APIs 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

Deploying EJB in WSAD 5.0

Pankaj Tendulkar

Joined: Jan 11, 2005
Posts: 5
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:

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(
at com.bnsf.mech.fw.server.RDBLogger.persistTraceData(
at com.bnsf.mech.fw.common.GenericLogger.flushBuffer(
at com.bnsf.mech.fw.common.GenericLogger.log(
at com.bnsf.mech.fw.server.RDBLogger.log(
at com.bnsf.mech.fw.server.BNSFServerContextController.log(
at com.bnsf.mech.fw.server.BNSFServiceHandler.performService(
at com.bnsf.mech.fw.server.BNSFEnterpriseBean.handleSingleRequest(
at com.bnsf.mech.fw.server.BNSFEnterpriseBean.handleRequest(
at com.bnsf.mech.wcm.ejbs.LocomotiveBean.doGet(
at com.bnsf.mech.wcm.ejbs.EJSRemoteStatelessLocomotive_ffc51f7a.doGet(
at com.bnsf.mech.wcm.ejbs._EJSRemoteStatelessLocomotive_ffc51f7a_Tie.doGet(
at com.bnsf.mech.wcm.ejbs._EJSRemoteStatelessLocomotive_ffc51f7a_Tie._invoke(
<< END server: 1198777258 at host localhost
I agree. Here's the link:
subject: Deploying EJB in WSAD 5.0