cancel
Showing results for 
Search instead for 
Did you mean: 

Error in configuring Mail Adapter

Former Member
0 Kudos

Hello Friends,

I am working in XI 2.0

I am trying to configure the Outbound file adapter for sending the Mail.

and i configure my adapter as

    1. File adapter java class

classname=com.sap.aii.messaging.adapter.ModuleXMB2File

mode=XMB2FILE

##Adress for XMB endpoint

XMB.httpPort=8220

XMB.httpService=/mailSender

##File Adapter specific parameters

file.createDir=1

file.targetDir=e:/oraclejdbc/mail

file.targetFilename=mail.txt

#file.writeMode=append

file.writeMode=overwrite

  1. uncomment and adjust parameters for using a dispatcher ***

Dispatcher.class=com.sap.aii.messaging.adapter.ConversionDispatcher

Dispatcher.namespace=namespace1

namespace1.ConversionDispatcher.logPayload=true

##namespace1.MailClient.contentType=text/html

namespace1.Service.1=MailClient

namespace1.MailClient.class=MailSender

namespace1.MailClient.smtpHost=POWAI

namespace1.MailClient.smtpPort=25

namespace1.MailClient.from=XI_Message@sap.com

namespace1.MailClient.to=g.jain@lntinfotech.com

namespace1.MailClient.subject=NewXI Message

namespace1.MailClient.contentType=text/html

And when I am trying to start the adapter engine it gives me error as

          • Tue Nov 23 10:46:47 IST 2004 *****

10:46:47 (4115): File adapter listener initialized successfully

10:46:47 (8200): Conversion dispatcher 2.0.0904 initializing

10:46:47 (4024): Attempt to initialize file adapter failed with

java.lang.NullPointerException

10:46:47 : Error(s) in adapter configuration parameters found:

10:46:47 (4108): Unable to start file adapter (not initialized)

If any one know please help me to solve this problem.

Thanks & Regards,

Gaurav Jain

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I have the same problem, could you resolve it?

Cheers,

Adam

stefan_grube
Active Contributor
0 Kudos

Could you check, if the file Mail.jar is installed correctly in your Adapter Framework folder and the starting program of the Adapter Framework (e.g. runadapter.bat or install_service.bat) is enhanced with this library file?

Regards

Stefan