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
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
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