cancel
Showing results for 
Search instead for 
Did you mean: 

Error during processing local bean?

Former Member
0 Kudos

exception caught during processing mail message [1]com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/PayloadSwapBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/PayloadSwapBean.

I am getting this error, please help me to resolve this ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

aashish_sinha
Active Contributor
0 Kudos

Hi,

There is some possibility of PayloadSwapBean error,

it may come

1. XI 3.0 Adapter Framework provides a standard module for replacing the

application payload with one of the other payloads in the message. The

new application payload can be selected based on its payload attributes

(payload-name, payload-description) or its content attributes

(content-type, content-disposition, content-description, etc).

2. The payload swapping module (PayloadSwapBean) in the XI 3.0 Adapter Framework may not find the new main payload if this payload is placed at the first entry (assuming the old main payload is placed not at the first entry).

This problem occurs, when one uses two swapping modules to switch back and forth the main payload. For example, when the first swapping module is used to switch the main payload typically placed at the first entry to another one, this new main payload is processed using another module, and then the second swapping module is used to switch back the main payload to the original payload placed at the first entry.

When this problem occurs, the message monitor shows

Swap: no matching payload found

So please check or set

1. Module Name

AF_Modules/PayloadSwapBean

Module Parameters

The following parameters are used for this module

swap.keyName the name of a supported attribute.

swap.keyValue the value of a partial string that is required

to appear.

The supported attributes (swap.keyName) include the payload attributes

such as payload-name, payload-description and any content attributes

such as content-type, content-disposition, content-description, etc.

2. Import the appropriate archive for SAP Exchange Infrastructure XI 3.0 as described in the NetWeaver 04 Support Package stack guide.

The archive and the guide are available on the SAP Service Marketplace

under the link "SP-stacks -> SAP NetWeaver -> SAP NetWeaver 04" ie

Apply patch

XI ADAPTER FRAMEWORK 3.0

Support Package 12, patch Level 3 (SAPXIAF12P_3.SCA)

or

Support Package 13, patch Level 1 (SAPXIAF13P_1.SCA)

if you are using higher, then check out for the first solution.

Also refer this sap note for other details. SAP Note 746393.

Hope this will help you.

regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

I am also getting similar error, neone plz suggest :

exception caught during processing mail message [2]com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/PayloadSwapBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/PayloadSwapBean.