Error in configuring Mail Adapter

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=[email protected]
namespace1.MailClient.to=[email protected]
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

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

Similar Messages

  • Error in reciever mail adapter

    Hi all,
           I am testing my reciever mail adapter by sending message from runtime workbench.
    In sxmb_moni i get successfull status.But it is giving following error in reciever mail adapter :
    Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.net.UnknownHostException:XYZ
    failed to send mail: java.net.UnknownHostException: XYZ
    where xyz = My microsoft exchange server name  taken from tools->options->mail setups ->Email Accounts -->email tab  here we get microsoft exchange server name.
    Thanks
    Deepak

    Hi  Deepak ,
    Please refer this forum post .. if this helps.
    Reg:Receiver Mail Adapter
    Regards,
    srinivas

  • Configuring Mail Adapter

    Hi All,
    Please can u say the steps for Configuring MAIL Adapter.
    some weblogs are not getting opened.
    what is the Datatype for Mail Adapter?
    Thanks in Advance,
    Sriram

    Hi ;
    Refer this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    If you can send your mail id i can forward you one step by step documentation
    Mudit
    Award points if it helps

  • Error while using mail adapter

    Dear All,
    We have recently transported a scenario from XI 3.0 to PI 7.1.
    In this scenario a BPM is configured which on getting any error triggers an alert mail (Mail adapter configured).
    Now while testing in PI 7.1, mail message is getting generated but mail are not received and following error is coming:
    "Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0"
    If anybody has faced this type of error kindly guide me in resolving this error.
    Regards,
    NJ
    Edited by: nishu jain on Jul 13, 2009 9:08 AM

    Failed to call the endpoint
    Check if you have given the correct details of the mail-server in your receiver mail CC.....also confirm that the mail server is up and running....
    Regards,
    Abhishek.

  • Error in receiver Mail Adapter of PI 7.1

    Hi Team,
    I had configured Mail Receiver Adapter in PI 7.1 with the following Parameters.
    I had imported the XSD given & Mapped only Subject, From, To, Content fields.
    In Receiver Communication Channel parameters are
    *Transport Protocol = SMTP
    Message Protocol = XIALL
    URL = SMTP url given
    Authentication Method = Plain
    User/ Password given for my id only
    MAIL Attributes
    From, To = my own company id
    Content Encoding = base64*
    These are the seeing i had done for Mail Receiver Communication Channel
    When I test by HTTP, i am getting Succesful in Moni & in Adapter i am finding this error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error: invalid XIMailAdapter channel 'b7b80e17d9e336b38354f663c01aed68'
    Mail Settings have been done in System, got even Test mails from System.
    Thanks in Advance,
    Sriram

    See, the XSD that you are referring or the blog is referring needs to be imported under External Definitions and directly use it in message interface & message mapping ....you dont again need to create a DT based on that XSD!......you will need a DT & MT just on the sender side (in your particular case)
    So just create the DT for sender (you seem to have done this part).....import the XSD into IR from this location
    https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
    use it on the receiver side.....The only thing that i wanted to mention is that when you enter the Subject, To, From details in CC you can even design your own DT for receiver side
    I hope that you are entering the URl in this format --> smtp://<the url>
    Check this thread :invalid XIMailAdapter
    and this blog to confirm your settings: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards,
    Abhishek.

  • Error in a Mail Adapter

    Hi,
    I am trying to configure mail sender adapter with imaps.
    Adapter status in a adapter monitor has a "red" status with following error message : "error occured: exception caught during processing mail message; java.io.EOFException: Connection closed by remote host."
    When I display a mailbox by Outlook the inbox is empty.
    Any help is appreciated.
    Thanks.
    Marian

    Hi Michal,
    thanks for pointing me to your weblog.
    I will use it for sure in future. However when I do a step 2 in your weblog I get still a same error message.
    Something in a configuration of my e-mail sender adapter is wrong but what ?
    Transport Protocol : IMAP4
    Message Protocol : XIPayload
    URL : imaps:<host>:<port>/<account>
    Content Encoding : base64
    Keep Attachments : checked
    Default Interface Namespace : http://sap.com/xi/XI/Mail/30
    Default Interface Name : ORDRSP_2_IDOC_I
    Quality of Service : Exactly Once
    and my adapter is still not picking an e-mails and has a red icon status.
    Thanks for any help.
    Marian

  • Error at Receiver Mail adapter modules

    Hi,
    We have implemented a receiver mail adapter for producing Excel file as attachment.
    It is giving the error as follows:
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of MessageTransformBean.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MessageTransformBean..
    This configuration has worked well earlier, and suddenly it is throwing this error.
    Please let me know what might be the reson for this.
    Thank you.
    Regards
    Bhanu.
    Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AM
    Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AM

    Hi,
    I didn't use the fullstop.
    Can anybody help me in resolving this issue?
    Thanks.

  • Error on Receiver Mail Adapter (SMTP)

    Hi All,
    I'm going to exchange message within mail to mail scenario like synchronous one. Sender Mail Adapter is running well, it can take any email in inbox. but when I want to send the email back to the sender, the receiver adapter doesn't work. here is my config :
    Receiver :
    Transport Protocol   : SMTP
    Message Protocol    : XIPAYLOAD
    Adapter Engine        : Central Adapter Engine
    URL : smtps://[outgoing_mail] (use smtps because it use SSL)
    Tick 'Configure User Authentication'
    Authentication Method : Plain
    User : [Username]
    Password : [Password]
    Tick 'Use Mail Package'
    Content Encoding : Base64
    Tick 'Keep Attachment'
    The error Message in RWB :
    - failed to send mail: java.io.IOException: unable to create a socket
    - Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: unable to create a socket
    I was config and run successfully in Outlook Express.
    There was something wrong with my config in PI? Please Help me..
    Regards,
    Glenn

    Hi Nunes,
    I already test this mail account using microsoft outlook express. smtp port with ssl is 25 or port 587 work fine.
    my basis team had already investigate and do some config such as, install cryptolib, config sapconnect, etc, but no luck.
    here is some error log from our server:
    #2.0 #3 20:15:00:748#+0700#Error#com.sap.aii.af.sdk.xi.net.SMTPClientConnection#
    #BC-XI-CON-AFW#com.sap.aii.af.lib#00215ACD468400E200000001000009B4#2170350000001401#sap.com/com.sap.aii.adapter.mail.app#com.sap.aii.af.sdk.xi.net.SMTPClientConnection.send(Object)#J2EE_GUEST#0#SAP J2EE Engine JTA Transaction : [0211dffffffee0023ffffff94]#101B37B806B611E0A2CF00215ACD4684#101b37b806b611e0a2cf00215acd4684#101b37b806b611e0a2cf00215acd4684#0#MS Queue Worker [Mail_http://sap.com/xi/XI/SystemRecv]#Plain##
    additional info ssl_debug(44): Starting handshake (iSaSiLk 4.31)...
    ssl_debug(44): Sending v3 client_hello message to <outgoing_mail_server>:25, requesting version 3.2...
    ssl_debug(44): SSLException while handshaking: Invalid SSL message, peer seems to be talking plain!
    ssl_debug(44): Sending alert: Alert Fatal: handshake failure
    ssl_debug(44): Shutting down SSL layer...
    any other suggestion?
    Edited by: Glenn Prasetya on Dec 15, 2010 4:40 AM

  • Error while configuring B2B adapter in Jdev 11.1.1.6

    Hi All,
    While configuring B2B adapter in jdev 11.1.1.6, i'm getting the following error at the Document definition step,
    Unable to connect to URL: https://ip address:port no/integration/services/b2b/B2BMetadataWSPort due to javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Violated path length constraints
    please let me know if anyone of you faced this issue and has a resolution. We have SSL configured and using Rosettanet protocol.
    Thanks,
    Terry

    Terry,
    It seems like a SSL issue related to the certificate. Can you make sure that certificate being presented by the server (hosting URL https://ip address:port no/integration/services/b2b/B2BMetadataWSPort) is valid and you have complete cert chain in the keystore of SOA server?
    Regards,
    Anuj

  • Configuring Mail Adapter as sender

    Hello,
    I'd like to ask for some help with configuration of SAP XI mail adapter as sender. I made a communication chanel with mail adapter type and specified transport protocol POP3, URL (pop3://localhost), user, password and poll interval. The problem is that XI doesn't trigger the
    process, in other words it doesn't connect to my email server to receive the mail. What could be wrong? To test the environment, I made a test case withmail adapter as a receiver - and it works ok - it sends mail via my email server - so SMTP is working fine.
    Thank you,
    Igor

    > I'd like to ask for some help with configuration of
    > SAP XI mail adapter as sender. I made a communication
    > chanel with mail adapter type and specified transport
    > protocol POP3, URL (pop3://localhost), user, password
    > and poll interval.
    The correct URL is: pop://localhost
    Which Mail-Server do you use?
    Regards
    Stefan

  • Error in receiver Mail adapter: Client was not authenticated

    Hi.
    My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same.
    Tramsport Protocol: SMTP
    Message Protocol: XIPAYLOAD
    URL: To get the value of URL, execute transaction SCOT in PI system. Double click on SMTP and get the Mail host from there (name). So the URL has been specified as smtp://name
    Comfigure User authentication - Checked
    User: My outlook email address
    Password: My outlook email password
    From:  My outlook email address
    To: External address to which the email needs to be sent
    Content encoding: base64
    But the email is not getting sent. when I check the adapter engine I see the errors:
    Mail: error occured: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException
    MP: exception caught with cause com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Adapter Framework caught exception: Failed to call the endpoint
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated.
    Can anyone please suggest what changes are needed to make this work?
    Any help is greatly appreciated.
    Thanks.
    Anuradha.

    HI Anuradha,
    Check the below link for receiver mail configuration and follow the steps accordingly.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    Regards,
    Naveen

  • Error in E-mail Adapter - Message protocol XIALL

    Hi,
    when I set a message protocol XIPAYLOAD ... everything is OK
    when I set a message protocol XIALL an error message : "error occured: exception caught during processing mail message; java.net.ConnectException: Connection refused: connect" is raised in adapter monitoring.
    Any help is highly appreciated.
    Thanks.
    Marian

    Hi,
    you was right. There was a configuration error.
    But anyway if configuration is set correctly I get this error in case message protocol "XIALL" :
    "error occured: [2006-06-13T06:41:25Z] 1 new messages found among 19 messages in total; processing message 19exception caught during processing mail message [19]com.sap.aii.messaging.mo.MalformedMessageException: java.lang.NullPointerException; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 2d, 2d(:main:, row:2, col:3)(:main:, row=2, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 2d, 2d(:main:, row:2, col:3); action[s] takenexception caught during processing mail message; java.io.IOException: unexpected close response; read FLAGS (\Seen \Recent))"
    Any help is very appreciated.
    Thanks.
    Marian

  • Error in Recever Mail Adapter (Communication Channel)

    Hello Experts,
    I am getting below error in recever Adapter Communication Channel. I have given SMTP, XIALL,PLAIN parameters, i have given proper: SMTP://compnay.com & correct user id and password, i browse throug all most all related links.
    Exception caught by adapter framework: java.io.IOException: server does not support PLAIN or LOGIN authentication
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication.
    Thanks,
    Siva

    HI Siva
    Are you trying to send Email from any file send by system or Read by PI and send as Email.
    Please describe your Scenario.
    If your email is generated from the content provided by Integraton engine use Message protocol XI PAYLOAD instead of XIALL.
    Using Authentication you change from Plain to CRAM-MD5. then it might not give any error
    Your URL should be SMTP://mailhost.company.com
    For reference check Help URL
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Thanks
    Gaurav Bhargava

  • Error in configuring soap adapter

    Hai!
    Iam working with rfc to webservice scenario.
    In that while configuring the soap adapter, the following errors have occured.
    SOAP: failed to sign the message due to java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: WS-Security privileged action exception [null "null"]; nested exception caused by: java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    Please! help me in sorting it out.
    Regards,
    Saritha.

    try this link
    check with  all settings
    http://www.****************/Tutorials/XI/RFCtoSOAP/page1.htm

  • Error in configuring JDBC Adapter

    Hi All,
    I have configured a sender JDBC Adapter with the following parameters.
    JDBC Drivers: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB
    But in Runtime, I am getting error as follows...
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running.'
    It has been confirmed that JDBC Drivers are properly deployed.
    Any suggestions to resolve this issue?
    Regards
    Pavan

    Hi Pavan,
    I think Port is missing and also it should be look like this. (microsoft not required for SQL SERVER 2000).
    Make sure msbase.jar, msutil.jar, mssqlserver.jar are the driver files and deployment.
    Connection: jdbc:sqlserver://MIS-SERVER\MIS_DEV_SVR<b>:PORT</b>;DatabaseName=SEPG_NEWDB
    Regards,
    Sarvesh

Maybe you are looking for

  • When I open my camera app, the camera doesn't open. I got told to restore my iPhone and I have done but it still doesn't work? What should I do?

    When I open my camera app it doesn't seem to open the actual camera. I went into an apple store and got told to restore it so I have done but it still doesn't open. What should I so about it?

  • Impossible to launch Flash CC 2014 - and worst CC experience ever

    Hello, Let me explain the process here : I launched Flash CC (not 2014), which I haven't launched since a long time. Then I opened a new AS3 document. And tried to use the brush tool. I selected a brush size. And then it crashed. Yes only that... Ado

  • Can not use all these apps

    Creative Cloud is a terrific service, but, I can't use all these apps because I either don't need or want them, or, I can't understand how to do things with them. The only app I am able to make any use of is the Premiere program with Encoder and Enco

  • [SOLVED] Removing MATE fully

    I tried out MATE on my netbook, but found Enlightenment17 to be better.  I used pacman to remove mate-extras and mate, but still get [joe@eee ~]$ sudo pacman -Syu [sudo] password for joe: :: Synchronising package databases... core is up to date extra

  • Error replacing vote disk

    Hi all, I've created an Oracle 11g R2 RAC with two nodes on OEL 5.6 (VMWare ESX). So, I want to replace the vote disk (into ASM) to other device. We've added five shared disks, and I've created five partitions by using fdisk to the following: /dev/sd