on 11-21-2007 5:26 PM
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
Does any have any clue about this.
I tried with Hard Reference and adding XMLTokenReader as external lib to the project. but no use. Weird thing is , it just runs fine for few records and it throws this exception. I don't think...even the probelm with Data, bcz...when i run with few records it just runs fine. If i run with batch as 500, it just blows up.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.