Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web Service Exception from EJB

Hello,

I have one weird problem in my program. I am calling SAP Service from EJB. Everything is fine. It runs for some records and suddenly throw below exception.

Any clue on this.

<u><b>Exception</b></u>

Caused by: java.rmi.RemoteException: Service call exception; nested exception is: java.lang.ClassNotFoundException: com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReader

java.lang.RuntimeException: com.chep.portfolio.commons.exception.BusinessException: FAILURE
at com.chep.portfolio.admin.businessdelegates.BaseBD.handleAppException(BaseBD.java:24)
at com.chep.portfolio.bus.businessdelegates.MovementBD.postTransactionsToSAP(MovementBD.java:608)
at com.chep.portfolio.bus.app.PostTransactions.postMovements(PostTransactions.java:64)
at com.chep.portfolio.bus.app.PostTransactions.main(PostTransactions.java:43)
Caused by: com.chep.portfolio.commons.exception.BusinessException: FAILURE
at com.chep.portfolio.bus.ejb.facade.FacadeBaseBean.handleException(FacadeBaseBean.java:48)
at com.chep.portfolio.bus.ejb.facade.interfaces.PortfolioInterfaceFacadeBean.postDataToSAP(PortfolioInterfaceFacadeBean.java:1289)
at com.chep.portfolio.bus.ejb.facade.interfaces.PortfolioInterfaceFacadeObjectImpl1_0.postDataToSAP(PortfolioInterfaceFacadeObjectImpl1_0.java:3715)
at com.chep.portfolio.bus.ejb.facade.interfaces.PortfolioInterfaceFacadeObjectImpl1_0p4_Skel.dispatch(PortfolioInterfaceFacadeObjectImpl1_0p4_Skel.java:637)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.rmi.RemoteException: Service call exception; nested exception is: java.lang.ClassNotFoundException: com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReader

Regards,

Sridhar

Former Member
Not what you were looking for? View more on this topic or Ask a question