cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy a adapter module at PI 7.1

former_member301120
Active Participant
0 Kudos

Hello to all,

is there a guide, which describes deploying a adapter module.

I've tried with NWDS. Deployment was successful.

In communication channel monitoring I get following error:

exception caught during processing mail message [1]com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/MailAttachmentReader_V2

"MailAttachmentReader_V2" is the jndi-name of the module.

Best regards

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
former_member301120
Active Participant
0 Kudos

Hello Rajesh,

I know this sites. But we're on PI 7.1.

Is there any guide how to deploy the component?

Regards Christian

Answers (6)

Answers (6)

former_member301120
Active Participant
0 Kudos

Hello,

I've found the error.

Following files were not configuered completely:

application.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                             "http://java.sun.com/dtd/application_1_3.dtd">
<application>
    <display-name>EAR_MailAttachmentReader_V2</display-name>
    <description>EAR description</description>
    <module>
        <ejb>MailAttachmentReader_V2.jar</ejb>
    </module>
</application>

application-j2ee-engine.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="service">engine.security.facade</reference-target>
	</reference>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="library">engine.j2ee14.facade</reference-target>
	</reference>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="service">com.sap.aii.af.svc.facade</reference-target>
	</reference>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="interface">com.sap.aii.af.ifc.facade</reference-target>
	</reference>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="library">com.sap.aii.af.lib.facade</reference-target>
	</reference>
	<reference reference-type="hard">
		<reference-target provider-name="sap.com" target-type="library">com.sap.base.technology.facade</reference-target>
	</reference>
	<fail-over-enable mode="disable" />
</application-j2ee-engine>

Best Regards,

Christian

former_member301120
Active Participant
0 Kudos

Yes, thats the only entry.

I changed the bean name in intergration directory to a dummy name (which is certainly not deployed) and the message was the same, except the different bean name.

So my conclusion is, that it must be a deployment problem.

Regards

former_member301120
Active Participant
0 Kudos

Hello Stefan,

please let me understand.

I have deployed the bean and I get the same error after undeploying.

-


10.12.08 16:27:39 exception caught during processing mail message [1]com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/MailAttachmentReader_V2

-


I 've deployed / undeployed the bean with the NWDS using the deployment view.

Might this be the problem?

Best Regards

stefan_grube
Active Contributor
0 Kudos

Is this the only entry you get in the audit log?

stefan_grube
Active Contributor
0 Kudos

From the error message I think the module is deployed correctly.

The error seems to be inside the module.

Regards

Stefan

former_member301120
Active Participant
0 Kudos

Hello Stefan,

I don't think so, because the same error occurs if the bean is undeployed.

Any other idea?

Regards,

Christian

stefan_grube
Active Contributor
0 Kudos

I get message:

Adapter Framework caught exception: Object not found in lookup of <Modulename>.

when the Module is not deployed and

Errors occurred during <Module name> processing

when there is an error inside the bean.

So your module is deployed correctly. The error is inside.

Regards

Stefan

former_member301120
Active Participant
0 Kudos

Hello Stefan,

in NWA the module is running and the name is correct too. (Copy and Paste).

I followed your guide from sap skills converence 2008.

Best regards

Christian

stefan_grube
Active Contributor
0 Kudos

Check with NWA if the module is running and the JNDI name is correct.