Inbound File Adapter

The requirement to trasfer a file from one location to another location after removing some of colomns from source file using Trasform activity. Simple process contain step; File Inbound, Transform, File Outbound but problem with the file size.
I have created File Inbound adapter partner link that polls on a directory for every 30 min for new files. We have one file , size 400 MB containing 960,000 records.
The process is thorwing errors , outofmemory error JVM heap memory error.
First of all, is anyone dealing with this size of data ? can Transform (XSLT) activity handle 960,000 records, each record has 10 columns.
We are using Oracle SOA 10.1.3.3 latest patch on Windows 2003 server.
Please advise ...

Hi.
bpel.xml only applies to BPEL Process Manager. If this is the case, you can configure a logical name, and set its value it in the descriptor page of your BPEL process in the BPEL Console.
Now, when we talk about ESB, when you define a logical name, you set its value using the endpoint properties of the adapter. If you're using JDev 10.1.3.3 (or 10.1.3.1/10.1.3.2 in preview mode) you can set the endpoint property at design time in JDev. At runtime, you set the value of the logical name in the properties tab of the adapter located in the ESB console.
Denis

Similar Messages

  • Error in Inbound File Adapter

    Hello,
    The scenario :
    Flat File => XI => Enterprise (4.7)
    I'm getting the following error in the Adapter Engine at time of Reloading the new inbound file adapter.
    ==========
    <i>***** Tue Jul 06 11:46:54 EDT 2004 *****
    11:46:59 (4023): File adapter initialized successfully
    11:46:59 (4007): File adapter started
    11:47:03 (4050): ERROR: Unexpected exception "com.sap.aii.messaging.adapter.ftp.FTPEx: Unknown extension in database file name." occurred</i>
    ==========
    The inbound file adapter is as below ... :
    ==========
    <i>classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    XMB.TargetURL=http://host123:8001/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=Sender_System
    XMB.SenderInterfaceNamespace=http://abc.com/xi/
    XMB.SenderInterfaceName=DataFile_Out
    XMB.User=xisuper
    XMB.Password=xipass
    XMB.ReceiverBusinessSystem=ENT
    XMB.ContentType=text/plain
    XMB.ContentKind=T
    XMB.QualityOfService=EO
    file.sourceDir=
    file.sourceFilename=DATAFILE
    file.processingMode=test
    file.pollInterval=060
    ftp.host=100.200.300.400
    ftp.port=21
    ftp.user=userid
    ftp.password=passwd
    ftp.mode=Text</i>
    ==========
    Any help is greatly appreciated.
    Thanx in advance.
    Homiar.

    All,
    Problem is solved. I changed the value for the Source directory & the adapter started to poll.
    Thanx,
    Homiar.

  • XI3.0  Inbound File Adapter  Error on ModuleSLDAccessir.

    Greeting,
    I have just installed the technical Adapter for XI.3 I tried to use the Inbound File adapter, unfortunately I had two big issues:
    1- I was able to execute run_adapter.bat but nothing was reaching the XI system.
    When I checked the Log File: I found the following error:
    Oct 13, 2004 1:22:08 PM  ...aii.messaging.adapter.ModuleSLDaccess [Thread-9] Error: Initializing ModuleSLDaccessor failed with 'java.lang.NoClassDefFoundError: com/tssap/dtr/client/lib/protocol/HTTPException'
    2- Second issue: when I try to access the adapter via the browser, the HTML page are not correct ! there is no text displayed. I just got code like :  {!%5124_G_XMIT%!}
    is there other setting to do ? I followed exactly the install book !
    Thanks for your help.
    Regards.
    M. Zehana
    Any help is more than welcome.

    Check that you are using XI 3.0. You dont have to use the run_adapter.bat unless you are using the J2SE adapter ( which is 2.0 ) to communicate with an XI3.0 IS.  If you have XI3.0 the adapters are configured in the integration directory which are now called communication channels. Therefore an inbound file adapter will be called a sender communication channel.  You can create a communication channel either within a scenario or directly in the objects area for the Service ( business system etc ).
    Mark

  • Inbound file adapter error

    Hi,
    I have inbound file adapter and when i run the test, the XML message displays the following error
    HTTP_STATUS_CODE_NEQ_OK
    HTTP status code 401 : Unauthorized
    please do help me .
    thankx

    Hi,
    Yes, i m using standalone xi2.0 , the configuration code is as below
    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://<host:port>/sap/xi/engine?type=entry
    XMB.User=XIAPPLUSER
    XMB.Password=XIPASS
    #XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderBusinessSystem=b2
    #XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceNamespace=int1
    XMB.SenderInterfaceName=FILEINBOUND
    XMB.ReceiverBusinessSystem=b1
    #XMB.ContentKind=B
    XMB.ContentKind=T
    XMB.ContentType=text/xml
    XMB.QualityOfService=EO
    ##File Adapter specific parameters (example, see docu)
    file.sourceDir=c:/temp
    file.sourceFilename=test.txt
    file.processingMode=archive
    file.archiveDir=c:/temp_archive
    file.pollInterval=0
    ##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
    #xml.fieldFixedLengths=15,25
    #xml.processFieldNames=notAvailable
    xml.fieldSeparator=~
    Please let me whether this is correct or im missing some configuration.
    thankx

  • Inbound file adapter error - Guarenteed delivery...

    Hi,
    I am configuring inbound file adapter and I get an error:
    "Guarenteed delivery - operation for 1 file pending"
    The adapter does not work for the files pending.
    Can anyone help?
    Oded.

    Hay guys , I am realy stuck,can anybody share his experience with me?
    Oded

  • XI 2.0 Inbound file adapter : Connection reset by peer

    I am using XI 2.0 and have an inbound file adapter. It polls every 5 minutes. But at least 1 or twice a day the file adapter stops with the following error message.
    "java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read" occurred \par
    There have been times when this runs for days or weeks without any problems.
    Has anyone else seen this issue and how do your correct it?
    Currently I have to go into the file adpaters and restart them manually. It would be nice if there was some way to automate this function. Any ideas?
    Regards,
    Jim

    With JDK 5.0 use ojdbc5.jar instead of ojdbc14.jar.

  • Inbound File Adapter Error - NullPointerException

    Hi,
    We are on XI 3.0.  We have a scenario of input file via inbound file adpater to R/3 using proxies.
    When activating the communication channel (file adapter), an error is raised in the adapter monitor.  The error states, "Error: Module Exception 'com.sap.aii.af.mp.processor.ModuleProcessorException' found, cause: java.lang.NullPointerException".
    Does anyone have any ideas on this error?
    Thanks in advance.
    Best Regards,
    Doo

    Hi,
    Can you check the communication channel - "Module" tab. A module processor has to be specified here. For the File Adapter the default value for the Module Processor should be "localejbs/CallSapAdapter" and the Type will be "Local Enterprise Bean".
    Warm regards,
    Venki.

  • Archive dir path in inbound file adapter

    I run in an XI2.0 system with a central (on our XI system) inbound fileadapter.
    We need to retrieve inbound interface files from a BW SEM system. I specified the fpt settings and am able to retrieve the file from the specified ftp directory.
    In my file.archiveDir I specified /tmp. What happens now, is that I retrieve the file from the BW SEM system, path, file.sourceDir=/ftpbw/inbound, but that the archived files get stored on the XI system /tmp, and NOT on the BW SEM system /tmp.
    Is there a way I can use the Archive directory on the BW SEM system via FTP ?

    Hi Jan,
    The archiveDir cannot use ftp to archive the files, and it takes the directory on the local drive where the file adapter resides.
    You may try to map the BW system drive from xi system so that BW file system can be accessed directly, or you need to install the file adapter on BW machine.
    In XI2.0, it is recommended to install the adapters close to the business systems (in this case BW system) other than the xi system.
    Regards,
    Hart

  • Inbound File Adapter problem

    Can someone tell me why my message is not processed by XI. I use a File Adapter. The File Adapter is "active" with the following configuration.
    Adapter type = File
    transport protocal = Filesystem
    message protocol = File
    adapter engine = integration server
    Source directory = "e:/XIprocessFiles"
    File name = *.xml
    File type = text

    Edward,
    What do you exactly meant with not processed? Is the file adapter not processing/sending your xml file to the XI system? Or
    is your interface defined in XI not doing anything with the input message?
    Assuming your situation is the first one; Then you should start by checking the source file name, source directory name, contentType (you have text, this should be text/xml), ContentKind (this should be T) and PollingInterval...
    In the second situation you should then look at adapter config settings like: namespace, sender interface name, sender business name etc...
    Cheers,
    Rob

  • 'lastFieldsOptional' parameter in Inbound File adapter ?

    Hi there,
    Im getting the following error from the adapter engine when trying to process a flat file.
    At The same time the adapter recommends to use the 'lastFieldsOptional' parameter, however,this parameter cannot be found in the provided documentation. can someone tell me what's exactly the problem here? How can I specify this 'lastFieldsOptional' parameter in the IB file configuration file? I have try to put this parameter in the config file, but the results are the same.
    xml.lastFieldsOptional
    Tue Nov 02 11:14:35 CET 2004 *****
    11:14:35 (4023): File adapter initialized successfully
    11:14:35 (4007): File adapter started
    11:14:35 (4051): Process 1 file(s):
    11:14:35 : /tmp/TF20041024.txt
    11:14:35 (4052): Start processing "TXT" file "/tmp/TF20041024.txt" size 264324 in "EO mode
    11:14:35 (4058): Start converting to XML format 
    11:14:35 (4060): ERROR: Stop processing file "/tmp/TF20041024.txt" (exception "java.lang.Exception: ERROR converting document line no. 1 : java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this" in XML renderer)
    11:14:35 (4077): Retry  mode -  wait 1200 sec, 0 msec interval before retry

    HI there,
    I just found the solution, the correct syntax of this "unknown" parameter from the file adapter is:
    xml.lastFieldsOptional=YES
    After this change in the config file the adapter is able to process the file.
    Cheers,
    Rob.

  • Inbound File Adapter - Multiple End points

    Hi,
    My scenario is File-> XI -> SAP.
    While doing so I have to pass the same message to SAP multiple times with different end points. Is it possible ?
    Thanks
    Satinder

    Hi Venki,
    Good to see you
    I sometimes miss the days in RNIF and CIDX.
    I needed a clarification on this:
    Is there any special configuration required for achieving multicast transmission?
    Is there any documentation available on SDN that can provide more info on the same.
    Regards,
    Siddharth

  • Dynamic update to Inbound Directory for File Adapter Read

    I've seen references to others asking similar questions but never a good answer.
    I have a process that outputs files into daily dated directories. In other words, my Inbound Direct name is dynamic. I would like BPEL to be able to pick up these files but the Directory Spec for the inbound file adapter seems to be set at design time (or in the case of a Logical Directory Deployment time).
    The directory names are in YYYMMDD format. So it would be:
    importdir/YYYMMDD
    for each day.
    Is there a way I can monitor an entire subtree, or have some event that triggers the directory name to be updated (for instance, a process watches the parent directory and kicks off when a new directory is created), or any other method I can inform the FileAdapter to begin polling a different directory.
    Thanks.

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • File Adapter Transactional in SOA and OSb

    Hi All,
    Is file adapter transactional in SOA and OSB. I have a requirement where a inbound file adapter polls for a file and it is consumed by a topic.If topic is down,how can I know that the same file will goes to topic when is up(how can I make it transactional).I want to do this both in SOA ans OSB.
    Any help would be appreciated.
    Thanks,
    Kumar.

    Hi Kumar,
    File Adapter itself is NON TRANSACTIONAL...
    4.2.9 Nontransactional
    The Oracle File Adapter picks up a file from an inbound directory, processes the file, and sends the processed file to an output directory. However, during this process if a failover occurs in the Oracle RAC back end or in an SOA managed server, then the file is processed twice because of the nontransactional nature of Oracle File Adapter. As a result, there can be duplicate files in the output directory.
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_file.htm#BABIEBJF
    Cheers,
    Vlad

  • Dynamic file names in outbound file adapter

    I have to configure a flow in XI system wich takes an input file from one machine and after mapping process leaves the output file in target machine with the same name of input file.
    Name of input file won't be always the same (*.dat) so i cannot hardcode this name in outbound file adapter.
    Does anyone know how to transfer input filename from inbound file adapter to XI message and then to outbound file adapter?
    I know there is an option to create dynamic file names in file adapter but i think it isn't enought to solve my problem.

    I have to configure a flow in XI system wich takes an input file from one machine and after mapping process leaves the output file in target machine with the same name of input file.
    Name of input file won't be always the same (*.dat) so i cannot hardcode this name in outbound file adapter.
    Does anyone know how to transfer input filename from inbound file adapter to XI message and then to outbound file adapter?
    I know there is an option to create dynamic file names in file adapter but i think it isn't enought to solve my problem.

Maybe you are looking for