Sender File channel error

Hi Experts,
We are getting the below error in the File sender channel.
Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException:24
This error we are getting for one specific File Channel. Other File channels are working fine. 1 message is also picked up by this channel but everytime it shows the same message id and the error.
Please let me know how to fix this.
Regards,
Shaibayan

Hi Shaibayan,
Kindly check for detailed logs in NWA for this channel.
Also if possible try to collect logs from XPI Inspector tool, more details can be found in below OSS note:
1514898 - XPI Inspector for troubleshooting XI
Regards
VJ

Similar Messages

  • Error in Sender File Channel

    Dear all,
    I'm trying to execute a File to File scenario.But I'm getting this error in the sender file channel.
    "Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException: Message ID a0ff7230-8793-11dc-a4d5-001558e4827d(OUTBOUND) already exists in database: com.sap.sql.DuplicateKeyException: NWMssSQLServer JDBC DriverSQLServerViolation of PRIMARY KEY constraint 'PK__XI_AF_MSG__2B090089'. Cannot insert duplicate key in object 'dbo.XI_AF_MSG'.."
    The file is not getting picked, the processing mode is set to "Delete". Please help me out in resolving it.
    Any hep would be rewarded.
    Regards,
    Younus

    Hi,
    Check whether you have given the filename to other communication channel as well. Because it seems to execute another interface where you have a JDBC been used.
    If so change the file name in CC and in your file and check it once again.
    Regards,
    Nithiyanandam

  • Sender File Channel unable to process

    Hi,
    I have a scenario where we are using a sender file channel. It polls every 1 hour at the source directory.
    Suddenly yesterday the channel stopped processing and never polled again automatically.
    It started the processing but did not finish the processing. (There is no error)
    Now when I manually restart the channel it directly goes to the polling interval and gives the log :
    "Polling interval started. Length: 3600.0 seconds" every 1 hour. It does not start the processing of channel.
    As an additional information I checked that the Server to which it is polling had some error at the time when it stop processing.
    Please help how could I start the channel processing now? Is there some kind of lock issue or anything else.
    Thanks,
    Vikas

    Hello Vikas,
    In addition to the previous posts, check the following as well.
    1)
    As I donu2019t know which SP level your system is on, please check the note below and apply the patch accordingly.
    > 1317686 - Adapter Framework Scheduler may fail to remove a job
    2)
    Check whether you have deployed on your system the patches described in this note (as as mentioned in the post above).
    > 1083488u2013 XI FTP/JDBC sender channel stop polling indefinitely
    3)
    Please check if there are locks (as as mentioned in the post above) for this channel according to section u201CHow to manually delete hanging Enqueue-Locksu201C in note:
    > 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter
    Follow the instructions and delete the lock related to the stopped communication channel.
    For the 7.1 versions, please note that the Lock Manager is under the /nwa/locks, or on the location "Availability and Performance Management -> Locks".
    4)
    Configure a timeout for the FTP connection.
    In more recent support packages you can set the "Timeout" parameter available in the "FTP Connection Parameters" section.
    Alternatively, please enable the "Advanced Mode" for the respective FTP communication channel in the Integration Directory and add an entry "ftp.timeout"=timeoutSecs (without any quotation marks) to the "Additional Parameters" section, where timeoutSecs is the desired FTP timeout in seconds.
    Please refer to the note below for further details on this.
    > 849089 - XI 3.0 / PI 7.0 File Adapter: FTP Timeout Handling
    Cheers,
    Jorge Eidelwein

  • Multiple Archive directories in Sender file channel

    Hi Experts,
    My requirment is to have multipple archive direcotories in Sender file channel.
    We have multiple source dirs  e.g.
    c:/abc/
    c:/bcd/
    c:/cde/
    and we want to archive the files from these source dirs to corresponding archive directories e.g.
    c:/abc/archive
    c:/bcd/archive
    c:/cde/archive
    I can see that we can have only 1 archive directory when the processing mode is kept as  "Archive"
    How can we achive the same , Please help
    Thanks in Advance,
    Jyoti

    Hello,
    I guess you don't have option to archive files in different directories using single CC.
    You can archive the files in 1 directory and then run a OS script, which will place the files in different directories (using NFS as protocol).
    Some reference:
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10392. [original link is broken] [original link is broken] [original link is broken]
    -Rahul

  • How to raise Alerts for Sender File Channel

    Hi All,
    For Sender File Channels , we can find out the status of the adapter through RWB as to whether it is Content Conversion related exception or Folder path not found exception & etc .
    I wanted to know as to whether there is any way where can rasie alerts for Sender File Channels (similar to what we do for Reciever File Channels) as well.
    Regards
    Vinay P.

    I found it myself .
    In Alert Configuration while we are adding alerts for a particular aler category , the following parameters needs to be checked .
    Connected to Message : Not Relevant
    Sender Service/Party/Interface/Namespace needs to be mentioned.
    Adapter Type should be selected as File

  • Sender file channel in DLNG mode when ICO used

    Hello All,
    I am working on SAP PI 7.4 version Dual stack installation.
    As part of Inbound Interface development, Operation mapping has been included in Integrated Configuration Object (ICO). But when tried to execute the Interface the sender File communication channel always into Delivering mode DLNG and it never went to DLVD mode while reading input file.
    Hence I have followed the traditional approach of by creating all configuration objects RD,ID,SA,RA in place of ICO. Now the communication channel is able to read the input file successfully.
    Can any one please tell me the reason behind this issue
    Note : There were no changes/corrections made to the sender file channel.
    Thnx&Regards,
    Moorthy

    Hi naresh,
    Check the communication channel montiring tab ,give the channel name and see whether able to ping the destination and down you can see logs as well.
    Regards,
    Loordh.

  • .csv file Vs .txt file Content conversion sender file channel

    Hi Experts,
                     I have a file with filename say input.csv.I want to do content conversion for these .CSV file.Is it same like we have to do for .txt file say input.txt.
    when i open my .csv file in notepad, i get multiple rows with each field separated by ';'.what are the content conversion parameters we have to define for .csv file and can we mention input.csv as the file name as a source file name.
    Thanks
    Deepak

    Hi,
    Use the following parameters for Sender file channel in case of reading .csv file
    Recordset Structure.fieldSeparator -
    Recordset Structure.endSeparator -
    'nl'
    Recordset Structure.fieldNames -
    provide field names separated with ,
    Regards
    Seshagiri

  • TWO SENDER FILE CHANNELS POLLING SAME DIRECTORY

    I have a requirement to send a single file from a single FTP location to two different Target FTP locations as a passthrough interfaces. PI version 7.31
    I thought of doing it through two different interfaces, both FTP to FTP keeping source same and destination differently
    For First target (T1)Created dummy interfaces(Out/inbound) in ESR, created a configuration scenarion ,Sender and reciver FILE channels in ID, created an ICO.
    For the second Target(T2) : can i use the same dummy interfaces as used in first while creating Sender channel?
    can i use the same Sender channel as in first scenario to the ICO of  Interface for second Target(T2)--> it gave error, same sender channel(IF FILE) channel can't be used to different Sender Agreements/Integrated Configuration Objects. So i copied the sender channel with a different name and used it in second Interface.
    Reciever File channel obviously different for both cases with different server details and direcories.
    My fear is, if i can go with this set up as we have two sender FTP channels polling on the same FTP directory, so possibility of lock issue and channel are operational on a mapping of one hour(first one 8to10 and second one 9to12, so 9 to 10 both channles poll simultaneously).
    Please suggest any better way of handling this, or to resolve the lock issue ?could clusterSyncMode=lock help here?

    Hello,
    I think u are getting confused.
    >>My query was, if we could use two recievers(service) inside a single ICO, without giving any condition. Answer it please in YES or NO?
    Yes, indeed u can do it.
    IF YES, then how would  the message dynamically determine the correct/specific reciever out of the two recievers configured in ICO?
    >>Since u want to send same message to two different FTP servers so u don't have to worry about dynamically determining receivers. As soon as file sender adapter picks the file it will route the message to both the receivers and eventually send the same request message to two different FTP servers.
    Hence i assume, for every file kept on source direcory, there would be two messages( 2 files) going to be created on two different targets? YES or NO?
    >>YES
    Thanks
    Amit Srivastava

  • Sender File adapter - Error after upgrade to SP16 !!

    Hi ,
    After upgrade from SP14 to SP16 , i see this error in Adapter monitor in rwb. The file does not get picked up. Any ideas on how to troubleshoot this ?
    Configured at 2006-04-20 06:50:27 GMT
    History:
    - 2006-04-20 09:55:00 GMT: Retry interval started. Length: 30.000 s
    - 2006-04-20 09:55:00 GMT: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    - 2006-04-20 09:55:00 GMT: Processing started
    - 2006-04-20 09:54:36 GMT: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    - 2006-04-20 09:54:33 GMT: Processing started
    Is there a patch that will fix this issue ?
    Regards
    matthias isenburg

    thanks for yours tipps...
    here the output of the defaultTrace.trc:
    [EXCEPTION]
    com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:118)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java(Compiled Code))
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.send(File2XI.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java(Compiled Code))
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sap.engine.lib.jaxp.TransformerFactoryImpl not found
         at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
         at com.euh.FileModule.GetFileNameBean.process(GetFileNameBean.java:76)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:103)
         ... 11 more
    Error during processing local bean localejbs/sap.com/com.euh.FileModule/GetFileNameBean
    Module Exception 'com.sap.aii.af.mp.processor.ModuleProcessorException: Processing Error caused by: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.' found, cause: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    Channel Orders_ftp_sender: Sending file failed with com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback. - continue processing
    Should this traces give me more information?
    mfg,
    matthias

  • Sender Communication Channel Error

    Hi all,
    iam working on JDBC scenario.For this iam using party and business service.
    iam getting following error at jdbc sender communication channel.
    Error occurred while sending message: com.sap.aii.af.ra.ms.api.ConfigException: SLDAccess set to true, but not available.
    Erlier it worked fine.But now iam getting this problem.
    We are having some other channels which r working fine.
    any ideas......?
    Thanks,
    Sreedhar Goud.

    1. If you know the user, who having admin rights;
    1.Open the VA tool; ex: C:\usr\sap\X67\JC01\j2ee\admin --> click on "go.bat"
    2. Click on "New" button ( this is on Logon Dialog box)
    3. Enter "Display name"; and select "Direct Connection To a Dispatcher Node".
    4. Say "Next"
    5. Enter "User Name","Host" and "Port" and Save the data.
    6. Select User and click on "Connect"
    2. Did you forget the J2EE_ADMIN password? Just follow below steps:
    Just follow below steps:
    1.Start the Config Tool C:\usr\sap\<SID>\<engine-instance>\j2ee\configtool\configtool.bat
    Ex: D:\usr\sap\F02\JC00\j2ee\configtool --> configtool.bat
    2. "Switch to configuration mode" for that Click on "Pencil" icon;
    3. Click on "Pencil" icon means "Swith to Configuration Edit mode" then say "YES"
    4. cluster_data --> server --> cfg --> services -->
    click on "Propertysheet com.sap.security.core.ume.service
    select properties:
    ume.superadmin.activated = True
    ume.superadmin.password = <enter password >
    then say "OK"
    Click on "Pencial ICON.
    5. Save & restart Java Engine.
    Login with "Administrator"
    1. http://<host>:<Port>/useradmin/index.jsp
    2. Enter userid / Password as "Administrator / <password>
    3. it will ask change password just change it.
    Please follow steps one by one. it should resolve your issue.

  • JMS sender communicaton channel error

    Hi,
    The JMS sender communication channel throws the following error in Communication Channel monitoring in RWB.
    <b>Channel started but Inactive</b>
    <b>"Channel removed; check whether channel was deleted or moved to another Adapter Engine"</b>
    But the channel is active and a copy object of the same channel works succesfully.
    Has anyone faced such an issue?
    Thanks,
    Ambili

    Hi Abhishek,
    Thanks for ur reply.
    1. Already tried it, but still the same status.
    2. Yes, i can see the channel in sxi_cache.
    3. Tried this several times, same message.
    The issue is just for this channel and as I mentioned before, a copy object of the same channel works perfectly fine.
    Thanks,
    Ambili
    Edited by: Ambili Jose on Jan 19, 2010 7:30 AM

  • Sender JMS Channel Error

    Hi all,
    I have been facing with this problem with sender JMS channel, any pointers as to where can be the solution for it
    The error details are as follows
    JMS and XI identifiers for the message are ID:414d512056515933444e41575445202048aa8802235bad01 and a2d32e30-7aae-11dd-ae1c-001125cc0c0c respectively. The JMS adapter will rollback the database and JMS session transactions. If the session is transacted, the message is not lost and will be retried later. The exception stack trace is java.lang.Exception
    at com.sap.aii.af.service.jms.WorkerJMSReceiver.onMessage(WorkerJMSReceiver.java:963)
    at com.ibm.mq.jms.MQMessageConsumer.receiveAsyncQ(MQMessageConsumer.java:2539)
    at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4262)
    Messages are not being placed in the Queue. the Queues are newly created is there something which has been missed out during the creation of the Queues
    Rgds
    Aditya

    Hi Aditya
    Try this way:
    1. uncheck JMS transactional session check box in JMS sender communication channel.
    2. Once it is done, insert new message in JMS queue.
    Thanks
    Sai

  • Can we schedule sender file channel for every 2 hrs??

    Hi all,
    I want to run sender channel for every 2hrs. i searched in Availability Timings but there is no such facility to schedule the channel for every 2 hrs
    There is an option to schedule the channel on daily basis and for how much duration time it should run.
    This won't work in my case
    please share your thoughts...
    Regards

    Hi RP,
    >>in the configuration of CC sender file --> poll interval(secs) = 7200. this value is equals to 2hs
    problem solved right?
    Good Idea, but the problem here is a i explained above this is combination of 2 interfaces
    1) Idocs will be triggered every 2 hrs in ECC and records will be appended to single file on XI Shared drive.This is one interface
    2) Another Interface is to pick up the appended big file From XI Shared drive to FTP Server.
    EX:
    If all Idocs triggered at 1:30pm from ECC----all records will be appended to single file suppose by 1:31pm
    Now in second interface i gave poll interval as 7200 and activated at 1:40pm, so the file will be picked up at 1:40pm
    So this frame of time interval continues smoothly like next job is ecc will run at 3:30pm and appends to file by 3:31pm there by second interface will pick up at 3:40pm. This is the correct way of execution
    PROBLEM: In this process, If my PI server is down at 2:00pm and is up at 4:11pm, there won't be any problem with first interface.my second interface starts from 4:11pm(server up time) onwards and keep polling for every 2 hrs from there onwards. so my total time frame is collapsed .
    Regards

  • Sender file channel issue

    Hello All,
    Here I have a problem with sender file communication channel. THe channel is not able to pick a file as the file format is not correct andf throwing exception in the channel which is expected. But Its not allowing to go and pick the other files with correct format till I remove the bad file from the Source dir location.
    How to get out of this issue Pls help me
    Regards,
    Moorthy

    Hi,
    Maybe you can delete or archive the erroneus file and then all the other files are processed?
    Set checkbox Archive Faulty Source Files and give directory where the erroneus files are moved.
    Also under module tab add new row  int the Processing Sequence table like this:
    AF_Modules/MessageTransformBean ............. 1
    And in under Module Configuration:
    Module Key ........ Parameter Name ...........................Parameter value
    1 ......................... Transform.PermanentErrors .........true
    If this won't help, please check the No[Note 1265534 - Archive faulty files does not work with add time stamp mode|https://service.sap.com/sap/support/notes/1265534]. Basically this means that archiving does not work if you have set the 'Add timestamp' option so check that too.
    More about the Me[MessageTransformBean Fauty Source files |http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
    Please remember that empty files are handled with their own settings.
    Regards,
    Mika

  • Sender File Channel Cluster Node issue in CC monitoring

    Hi,
    I have a issue in Sender File CC. The channel is active and polling every 1 min. The issue is in the CC monitoring it is just showing one single line i.e "Polling interval started.Length: 60.0 seconds" the other two lines Processing started and Processing Finished Successfully are not visible...
    Please let me know the solution if you have faced a similar issue.
    http://i50.tinypic.com/28sv4vr.jpg This is the refrence to the screen shot from CC monitoring...

    Deepak,
    Please let me know the solution if you have faced a similar issue.
    Delete the Enqueue-lock related to the stopped Communication Channel. Refer SAP Note 821267.
    For the 7.1 versions, please note that the Lock Manager is under the /nwa/locks, or on the location "Availability and Performance Management -> Locks".
    @ Ramg
    If no files are placed in the source directory and the channel will keep try polling l!!! Place files in the source and check.
    Even if there are no files in the source directory, the 3 steps of - polling interval started, processing started and processing finished - should take place by the file channel.
    Regards,
    Neetesh

Maybe you are looking for

  • Writing in between a text File

    Hi all, During a task, I am facing an interesting problem, this came first time since my 2 years development in Java. In always use BufferedReader in = new BufferedReader(new FileReader("/home/oracle/init1.txt")); to read from file and, PrintWriter o

  • How long should it take to download Mountain Lion?

    How long should it take to download and install Mountain Lion?  I have been downloading it for about 5 hours and it still has 1 gig to go.  My current OS X is 10.7.4

  • Importing via network connection

    I have hundreds of albums that were saved to DVDs many years ago using iTunes version 4 or 5. These files were saved as mp4a files. My new iMac seems to have difficulty reading these DVD's so I've begun loading them onto my son's ext. HDD (via Window

  • Problem with Elster Kommunikation

    Hello all, we have install SAP XI on NetWeaver2004s with Elster. To check the settings we execute the following report RPUTX7D0. Elster is working in the DEV and QAS system. In our productive system elster works the last time too. But since two days

  • Inser Update Problem

    Hi Experts,                This is the repost as i was unable to get answer in Abap dictionary forum. I have two RFCs 1. Create 2. Search , Now from web dynpro user will call first Create RFCs but at this point it should not insert record in ZTABLE a