Hi all,
i have configured the following scenario in NWDS for testing a message flow in PO:
SOAP request comes into PI -> map Request to RFC -> send request to ERP Test System -> wait for RFC Response -> send to PI -> map Response to SOAP -> send to File
Therefore i have, amongst others, created a RFC Channel for sending the RFC response to the mapping operation.When i run the scenario for the first time everything worked pretty well without any error messages. But after testing it the second time the message got stuck in the ERP Test System and couln't be forwarded anymore. It turned out that whenever i deployed the channel with some config changes, the message flow worked for the first time, but crashed after every following.
In the error log i get the following message:
java.lang.RuntimeException: Bean Z_PP_PDES_RESPONSE not found on host xxx, ProgId =RFC_HMC100_POD: Object not found in lookup of Z_PP_PDES_RESPONSE.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:121)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:267)
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:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Caused by: com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of Z_PP_PDES_RESPONSE.
When i look in the message log at the same position of a successful message, the log says...
MP: processing local module localejbs/RfcAFBean
... which is actually the module defined in the channel.
So for me it looks like that after the first run something in the module config crashes and the channel tries to use Z_PP_PDES_RESPONSE instead of the RfcAFBean.
Any help very much appreciated!!!
Thanks,
Maurice