Logging option on file adapter based JNDI

Hello,
While setting up a file adapter based JNDI, I notice under outbound connection, we have logging option where we have rotate logs based on size/time. Could someone please help me understand what does this refers to and how we can use that.
its under - Deployment -> File adapter -> Outbound connection -->"Select a JNDI created by you" -> Logging.
my JNDI, represent to a location where I am writing few specific log content in a text file. Can we handle(rotate) that based on this.
Pls advice.

Hi,
you need to create 40 channels if you have users
as dynamically you can only create:
File Name
Directory
File Type
File Encoding
Temporary Name Scheme for Target File Name
with FTP adapter
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • How to add do not read file content option inside File Adapter (Synch Read)

    Hi,
    Is there any way, that I can skip reading the file content inside file adapter with operation as Synchronous Read ( I just want to read the file name and directory and if the file name matches with the input variables then I have to delete the files, for this i am using FA with synch read operation, everything is fine like deletion, but it is reading the file content and storing it in DB, i dont want this) .

    This will solve your problem.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CHDHIEBI
    HTH.
    Puneet.

  • Multiple communication channels for file adapter based on user name

    I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC.  Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
    Thanks,
    Dehra

    Hi,
    you need to create 40 channels if you have users
    as dynamically you can only create:
    File Name
    Directory
    File Type
    File Encoding
    Temporary Name Scheme for Target File Name
    with FTP adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File adapter - Write - Elapsed Time based batching not working.

    We are creating an asynchronous BPEL process that creates a file every 2 mins with the messages the BPEL process received in the last 2 minutes. We are using a file adapter with only "elapsed time" set to 2 minutes (Number of Messages and File size disabled) . If we deploy this into BPEL console and use bpel console's stress test feature, it doesnt create any file at all. If we use a file adapter based on Number of messages, it works fine. Can any one of you suggest what could be the problem ?

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • (File-)Adapter Logging

    Hi,
    I configured the file adapter as sender (polling on a ftp server on my local machine).
    The log of the ftp server shows, that the adapter logged in and downloaded the specified file.
    But I can't find the message in any monitoring components, neither in end-to-end monitoring, nor in the xml message monitor.
    I can't find any logs concerning the file adapter on the J2EE Server. Is there any possibility to control the function of the file adapter ?
    Thanks and best regards,
    Linus

    Hello,
    There is an OSS Note (761921) that describes how to create a trace file for the XI Adapters (on the J2EE).
    No need to explain it here. Let em know if you have problem with this note.
    Regards,
    Mustapha Zehana.

  • Problem with FIle Adapter

    Hi
    We r facing typical problem with file adapter.
    Lets say there are 30 files to be processed  by placing an copy in arichive folder by file adapter  based on pooling 
    parameters.
    All the 30  files are picked up and we can see the copies in archive folder.
    But when we go to RWB and check the audit log,
    there we could see only 25 files , the 5 files are missing.
    no trace found therre about the 5 files.
    This is happening only some times and not to all the files placed in the FTP. Later when the same file is placed back from the Archive folder to the Source folder, the file is being picked and processed succesfully.
    unfortunately this is happening on Production server
    Any pointers which could trouble shoot this issue.
    Regards
    shekar chandra

    Hi,
    Couple of thing which you can try....
    1. Use EOIO QoS and check if you still face the issue.
    Is some program or application writing files to the directory? If yes I would recommend the use of a temporary name to write the files and then rename them.
    Sometimes when an external application connects via FTP and transfers the files...
    The file could be picked up by the adapter poll even before the transfer of data is done.
    Which is why you will find that the file is archived but there is no xml message created for the same in the Integration engine.
    Try increasing the poll interval. This helps sometimes.
    Regards,
    Sidharth

  • File Adapter using NFS

    Hi all
    I am using the NFS option in File adapter.The file is being placed in C:\TEMP folder and in the directory path i have specified
    ipaddress\TEMP but when i watch it in Adapter Monitoring it shows me a error C:\TEMP does not exist.
    Please suggest if any settings need to be done.

    You need to put the file on application server by TCode SXDA_TOOLS. I guess you are putting the file on your local machine.
    First of all into XI goto AL11 and chose one source directory, and give this dierectory name in your CC as it is, no need to put ip address as you have done.
    Just see the below example to put the file on application server (XI) directory.
    The porcedure to put a file on server is as shown below:
    1. Save your file in your local machine.
    2. In XI server, enter the tranaction code "SXDA_TOOLS".
    3. In the input screen, enter:
    i) Object Type "DXPROJECT".
    ii) Program Type "BAPI".
    iii) Program "CREATE".
    4. Press Copy (Ctrl+F5) button.
    5. Now, you will get another screen in which you will see 3 blocks called as "Source", "Target" and "Copy with/without conversion".
    6. In Source block, choose the radio button "Presentation Server" and then take F4 help to select your source file. (file which you have saved on your local machine)
    7. In Target block select the radio button "Application Server", check the box "Remote server" and take F4 help to select your application server.
    8. In the same block under "File Type" select "P physical file name" and under "File Name" write the path/directory name which you have mentioned in your communication channel along with the file name.
    <b>Example:</b> suppose file name in your Comm Chanel is "demo.xml" and directory path is "/abc/testfiles/XML/", then in step 8 write "/abc/testfiles/XML/demo.xml".
    <b>Note:</b> need not to do any thing in 3rd block.
    Regards,
    Sarvesh

  • Receiver File Adapter - Content Conversion

    Hi,
    I don't quite get this:
    I have a structure
    <?xml version="1.0" encoding="UTF-8"?>
    <AnElement1>
       <AnElement2>
          Bla bla bla
       </AnElement2>
    </AnElement1>
    I want to convert this to a flat file with a line containing
    Bla bla bla
    In te receiver file adapter I define the following:
    In the 'Content Conversion Parameters'
      Recordset Structure : AnElement2
      Name                         Value
    AnElement2.addHeaderLine         0
    AnElement2.fieldSeparator        'nl'
    AnElement2.endSeparator          'nl'
    This results in an Empty file each time indicating some error somewhere.
    What am I missing?
    Thanks
    Andre

    Hi Andre,
    Just check the link <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm">File content conversion</a>
    Also check out this web log <a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 to TXT</a>
    Is there any error log shown in File adapter ?
    Regards,
    Keith
    Message was edited by: keith thompson

  • OS commands in File adapter

    Hi Experts,
    I have a requirement to move the xml file(size 2GB)  across the FTP server. I thought of zipping the file due to huge size before picking it up and unzip before dropping at the receiver FTP.
    I know we can use Run Operating System command before and after message processing option in File adapter, but can you please guide me how can really use this option.
    Thanks in advance,
    MK

    hi mk
    check the below blogs
    *OS COMMAND     *                    
    Executing Unix shell script using Operating System Command in XI                         
    Executing Unix shell script using Operating System Command in XI                                   
    Performing FTP Commands From ABAP                                   
    Performing FTP Commands From ABAP          
    regards
    kummari

  • Problem With Receiver Communication (File Adapter)

    Hi,
    My SAP XI Version is 3.0 with Service Pack 7,I have a strange problem,
    I have a flat file coming from Unix system,I need to convert this into  XML and put a copy in the Archive mode and send the XML file,getting it converted into flat file format send it to the receiver.Here I have to do the content Conversion,So,I have done content conversion while configuring Sender and Receiver Communication Channel.
    I am using NFS as Transport Proctocol.So, everthing was fine when i run the scenario,after activating.The Sender communication Channel is Archiving the files.But I am unable to see any file with receiver communication channel.
    So,for this I have checked up with Adapter monitoring in Runtime Workbench. In my File Adapter My Sender as well as Receiver Communication Channels are in Green.They are mentioning that Sender Communction is sucessful and
    RECEIVER COMMUNICATION IS Sucessful but no messages processed.
    Can any one suggest what to do now.Everything is fine with Content conversion and Unix System.But my receiver is not receiving any messages.
    Should any OSS notice or patch work needs to be applied.
    Thank You,
    KishoreJ.

    Hi Kishore,
    I Guess you should first see if the file is being picked......for that do the following.
    While configuring your Sender File Adapter, let the mode be DELETE. This way, we will know if the file is being picked by the File adapter. The file will be deleted and you can be sure that it has been picked up.
    Next, look into the RWB--> FILE ADAPTER and see the log of the file adapter
    and also, you can see the flow of your message in the integration engine in SXMB_MONI.
    Ans still if your message is not showing up in SXMB_MONI, please do as explained below.
    Increase logging and trace level in:
    SXMB_ADM -> Integration Engine Configuration -> Specific Configuration
    Also create entries as follows in it:
    LOGGING = 1
    LOGGING_SYNC = 1
    TRACE_LEVEL = 3
    TRACE_LEVEL_PROPAGATION = 1
    Also refer XI: I cannot see some of my messages in the SXMB_MONI
    Regards,
    Abhy

  • Cannot send file to XI ,and File Adapter Error in RWB- Adapter Monitor

    i develop the file to file scenario, and everything in Integration Builder is right, and the configuration is no problem
    but it cannot send file to XI, so the whole process
    cannot start. The file adapter seems not work
    how can i solve the problem?
    Thank you for your reply

    Hi Leo,
    I Guess you should first see if the file is being picked... for that do the following.
    While configuring your Sender File Adapter, let the mode be DELETE. This way, we will know if the file is being picked by the File adapter. The file will be deleted and you can be sure that it has been picked up.
    In your runtime workbench home, there will be a tab, Component Monitoring, click on it. Select status as all, and click on display. The components will be displayed on ur screen. In that, under Integration Server, there will be a link for Adapter Engine. Click on it. Now, scroll down, and u will see a link to adapter monitoring, there under FILE ADAPTER see the log of the file adapter
    and also, you can see the flow of your message in the integration engine in SXMB_MONI.
    <b>Do this and let us know what is happening...</b>
    Meanwhile i would also suggest you to go through the explanation of a simmilar scenario that i have explained below and compare it with what you have done..
    Please go thru the following links and clear all your doubts.
    Communication channel:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/b11c409ce22402e10000000a1550b0/frameset.htm">Assigning Communication Channels</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/d5653fd1d3b81ae10000000a114084/content.htm">Communication Channel</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">Configuring the Sender File/FTP Adapter</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring the Receiver File/FTP Adapter</a>
    Receiver agreement:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/56/02e63f48e58f15e10000000a155106/frameset.htm">Receiver Agreement</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c1/5194426b44c56ae10000000a155106/frameset.htm">Creating a Receiver Agreement</a>
    Sender agreement:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/73e03fc2269615e10000000a155106/frameset.htm">Sender Agreement</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/522041cfb7f423e10000000a155106/frameset.htm">Creating a Sender Agreement</a>
    For detailed info, I would suggest that you go through these weblogs:
    <a href="/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1">Introduction to simple(File-XI-File)scenario for Starters</a>
    <a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2">Introduction to simple (File-XI-File)scenario for starters part2</a>
    I hope it helps.
    Regards,
    Abhy

  • XI 3.0 - Receiver File Adapter fails to initialize

    Hello,
    In the log of the file adapter I see an error that the
    parameter 'Shopping_List.fieldSeparator' is missing (Shopping_List is my recordset structure). But I have defined this parameter in the 'Content Conversion Parameters' box In the communication channel definition screen and activated.

    Hi!
    Make sure: Shopping_List must be one of the nodes in Recordset structure, and not the Recordset name itself.
    If this does not help, try without the underscore?
    Hope this helps!
    Regards,
    Oeystein

  • How to zip all the files generated using file adapter

    Hello Everyone,
    I have a scenario in place where i split a message into multiple messages. I used to generate multiple file using the file name present in the payload of the splitted message using variable substitution.
    This is working fine.
    Now the requirement has changed and i want to zip all these file and create a single zip file.
    I think it could be done using run OS command option in file adapter, but have no clue how to do it.
    Please help me.
    Regards
    Rahul Nawale

    Hi,
    you can use on of the command line ZIP utilities:
    http://www.winzip.com/prodpagecl.htm
    http://www.7-zip.org/
    then when your file adapter puts the file
    you can use commnad line to zip the files
    Regards,
    michal

  • Soap or File Adapter

    Hi Experts,
    My scenario ECC......>PI........>FILE
                    RFC       SOAP
    We are signing and encrypting xml files ,in order to do this we need soap adapter because we get security parameters options but now instead of sending this signed and encrypted file to webservice can we send it to file directory of the receiving system
    If i use RFC to file scenario ,i dont get any security paramter option for file adapter,so I ahve to use soap adapter but how to send it to file directory of the receiving system
    But if I use file adapter then how xml will convert to soap meeesage
    I want to send a soap message from PI to file system of receiving system(not to web service)
    Please Advise

    Hi Bhaskar
    As per expert suggestion ,i am following the link
    Please answer my queries
    as per document :BAPI - BAPI_COMPANY_GETDETAIL. The scenario works like this- XI receives the file ,do the request mapping send the request to BAPI get back the response from BAPI do the response mapping and write it to the file.
    In my scenario: the scenario works like this- XI receives the Rfc data,do the request mapping send the request to Ecc(RFC)get back the response from RFC do the response mapping and write it to the file.
    Question:
    How is the payload sent to file system,do soap adapter have any option like file adapter to specify the target directory and path,if not how the soap paylod is sent to file system

  • Error4050 in File adapter

    I am trying to send a file to XI engine at port 8080 and I am getting this log in my File adapter.
    13:51:06 (4023): File adapter initialized successfully
    13:51:06 (4007): File adapter started
    13:51:31 (4050): ERROR: Unexpected exception "java.lang.NullPointerException" occurred
    Please let me know how I can overcome the error 4050. I could see the service active in SMICM transaction. Please let me know.
    Thanks
    Here is my adapter config info.
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://doiweb03:8080/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=XD1
    XMB.SenderInterfaceNamespace=http://www.doi.gov/FBMS/FileTOFile
    XMB.SenderInterfaceName=OutMI
    XMB.ReceiverBusinessSystem=RD1_CUA
    XMB.Client=100
    XMB.Language=English
    XMB.User=ZFILEADPTR
    XMB.Password=***********
    XMB.ContentKind=T
    XMB.ContentType=text/plain
    XMB.QualityOfService=EO
    ftp.host=10.192.32.200
    ftp.port=21
    ftp.user=XIDEMO
    ftp.password=*****
    ftp.connection=perFileTransfer
    ftp.mode=Text
    ##File Adapter specific parameters (example, see docu)
    file.sourceDir=/data
    file.sourceFilename=.
    file.processingMode=archiveWithTimestamp
    file.archiveDir=c:/temp
    file.pollInterval=10
    file.processingLocked=YES

    Hi Ramesh,
    Are you sure the XI port is 8080 instead of 8000 (check it in xi config)?
    Since you are sending a file to XI, the sender system is the business system name defined in SLD for your file adapter, not the XI name (XD1).
    Hope this helps.
    Hart

Maybe you are looking for