ESB- FTP adapter unable to poll a file

I have a FTP adapter it has to poll files, with diff naming convention.(like "asd", 'wer',"jkl","AVC"). But the adapter was unable to poll a file which name start with AVC
reamining files are polled successfully.At ftp location ftp adapter will poll file and place all records into DB through ESB,for ESB we can set adapters as inbound.Plz give me any suggessions to solve this problem(10.1.3.4).Thq.

I checked the error logs and it informed it was not able to create the stage directory where as i am only creating the stage directory and providing the path to it.so i could not really understand the exact error.
Does a stage directory get created automatically anywhere else?

Similar Messages

  • FTP Adapter - Filename of archived XML File

    Hi All,
    We are trying to poll Files from Remote Servers using FTP Adapter, after its polled we are keeping the archived file in a directory. Files are archived but its with other name eg: XXXXX.XML is archived as XXXXX.XML_HmuUJDA1qKj2btjp_y1JUeLmgZsJcqhyCnrdlgB6sgU=_20110112_220537_0567.
    I want to archive the XML file as it is like XXXXX.XML name only.
    Thanks,
    Ra

    Hi Vinit,
    Did you look into the logs? What does it say?
    How frequent it happens?
    Enable detailed logs by navigating to right click soa-infra > Logs > Log Configuration > Log Levels tab > Search oracle.soa.adapter > Set Trace 32 and see if ther'es anything of interest.
    Regards,
    Neeraj Sehgal

  • FTP Adapter Configuration For End Of File

    Hi Team,
    i'm doing DB polling and writing that contents to on file using FTP Adapter, DB poller will poll each line @ a time and writes to remote Server
    in my FTP adapter usage, after writing the whole contents which i pass from my bpel,
    i need to use some hardcoded values at the end of the file
    Eg.
    test1|test2|test3|test4
    test1|test2|test3|test4
    test1|test2|test3|test4
    test1|test2|test3|test4
    @@Thanks@@
    Like shown above after writing some contents
    i need to add @@Thanks@@ then one ENTER
    Thanks in advance

    Ok, now I'm understanding you are using "Append existing file" option checked... The approach won't work with appending on...
    If you know when it is the end of the file you can do something like this...
    At the first line file will be like this...
    line1|line1
    Second line...
    line1|line1
    line2|line2
    When you receive the third line and you know that's the last line you write firstly this...
    line1|line1
    line2|line2
    line3|line3
    And then you write the @@Thanks@@ at the end using a different translation schema... Possibly a different FTP Adapter writing on the same file...
    line1|line1
    line2|line2
    line3|line3
    @@Thanks@@
    However, if you don't know when you are receiving the last line and/or you need the @@Thanks@@ always there it won't work with append option... You'll possibly need a sync read FTP adapter to read the file and rewrite it again at every iteration...
    Cheers,
    Vlad

  • Sender file adapter is not polling the file.

    Dear all,
       Sender file adapter is not polling the file.(But Receiver file adapter is getting the file)
    we have installed SP15.
    It was worked fine for previous SP14.
    I have cheked in Adapter monioring also.
    Can you help me out of this problem
    Regards
    Dhanabal

    Hi Dhanabal,
    Is the XI system running on a unix machine ?
    If yes, from the OS level for the folder you are using in the file comm. channel, execute the command
    <b>chmod 777 <folder_name></b>
    The reason for the file to show up in receiver side and not get deleted might be that the xi user mighht be having only read access to the folder...
    Thanks,
    Renjith.

  • Unable to poll for files in FTP server using Proxy Service (in OSB Project)

    Here are the stepd followed for creating proxy service that should poll ftp server to retrieve files but polling is not happening and unable to see any errors in logs.
    1. Created service account by selecting resource type as static and providing the ftp user and password details.
    2. Created a New Proxy Service in eclipse
         Tab General - service type as Messaging Service
         Tab Messaging - Request Message Type as Text, Response message type as None
         Tab Transport - Protocol selected as "ftp"
              - Endpoint uri entered in the format - ftp://hostname:port/directory
    FTP Transport -Selected "external user" as User Authentication
              - Selected the Service Account thats created in step1/
                   - File mMask - *.*
                   - Polling Interval 60
                   - Read Limit 10
                   - Post Read Action - Delete
                   - Transfer mode - binary
                   - Download Directory - "some local directoy"
                   - Error Directory - "some local error directory"
    Could any one please help here to trouble shoot the polling issue and correct me if this is wrong approach.
    Thanks

    Did you configure the FTP adapter which is present in Weblogic server?I think he's using FTP transport in OSB and not the JCA adapter, if that's the case FtpAdapter configuration wouldn't help...
    unable to see any errors in logsThat's odd, try to mess up the hostname and see if you get a connection refused on the logs...
    It may be a permissions issue, the user you're connecting may not even "see" the files you place there... Try using the same user to create and to poll files...
    Cheers,
    Vlad

  • 10.1.3.4 - ESB FTP adapter not processing the files in the input directory

    I created a process that reads from a logical inputDir. I migrated the ESB service to another box and created the same adapter connection etc. however nothing really happens in this new environment. In the opmn.log i see the following statements and no other info.
    2008-12-16 14:03:41,994> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    <AdapterFramework::Inbound> Instantiating inbound part of Adapter Framework instance: OraESB
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - endpointActivation for portType=Get_ptt, operation=Get
    <AdapterFramework::Inbound> Creating new instance of Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - starting Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
    <FTP Adapter::Inbound> File/FTP Adapter started successfully.
    <FTP Adapter::Inbound> ENDPOINT ACTIVATION CALLED IN FTP ADAPTER
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - successfully completed endpointActivation for portType=Get_ptt, operation=Get
    <FTP Adapter::Inbound> Connection Created
    <FTP Adapter::Inbound> Connection Created
    The last message "Connection Created" keeps repeating, but no processing occurs. I tried increasing all the loggers to finest. but still nothing happens.
    any idea how to troubleshoot this ? the only difference in the environment is that the new environment has 10.1.3.4 MLR2 and the first one is just plain 10.1.3.4

    Make sure that you modified the oc4j-ra.xml file in the FtpAdapter directory and have put the correct hostname and username and password. The directory structure looks like this //some-directory/oc4j_soa/application-deployments/default/FtpAdapter/oc4j-ra.xml.

  • FTP Adapter unable to deliver inbound Msg to mediator - NullPointerExceptio

    Hi All,
    I am trying to Poll a XML fIle in remote server thru FTP ADapter, i am getting below error while polling, at server its faulted and can see error message as java.lang.NullPointerException.
    FTP Adapter Project2 Failed to send message {home/XXXXMLFiles/XXXXXX9.XML} to Adapter Framework
    XXXXFTPAdapter Service PollFTP was unable to perform delivery of inbound message to the composite default/Project2!1.0*soa_46421085-96df-4a3a-8a36-026007fac848 due to: java.lang.NullPointerException
    ORAMED-01362:[Runtime Error] Unexpected runtime error occured while processing the message.Possible Fix:Check log file for any exceptions and contact Oracle Support Services for further help.[[
    java.lang.NullPointerException
         at oracle.tip.mediator.dispatch.CaseExecutionPlan.getEffectiveExecutableCases(CaseExecutionPlan.java:146)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNormalCases(InitialMessageDispatcher.java:271)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:250)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:148)
         at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:860)
         at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:631)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215)
         at sun.reflect.GeneratedMethodAccessor1320.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.post(Unknown Source)
         at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:606)
         at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:462)
         at oracle.tip.adapter.file.inbound.Publisher.onMessageDelegate(Publisher.java:460)
         at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:397)
         at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:476)
         at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:118)
         at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:377)
         at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:175)
         at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Thanks usr1

    Linux usually has ftp disabled, try using ssh
    if you are on 10.1.3.3 this has been enabled.
    I would tend to do all my modification in the Enterprise Manger console, not the xml as you are able to get more meaning around the filed names and what they are used for.
    To enable ssh you need to perform the following
    change the port to 22
    set ssh encryption = true
    cheers
    James

  • File(FTP) Adapter doesn't pick any file from FTP server

    Hi All,
    This is a strange problem. I am trying to pick all the file from a FTP server using File Name: . . But the file adapter doesn't pick any file from the directory. When  I change it to a specific file name eg. ABC.txt then it picks up the file ABC.txt only.
    My requirement is to pick up all files in the directory and I just do not seem to understand what is wrong. I have used this wildcard option several times earlier and it always worked fine. But in this case, this does not work.
    I changed the FTP server to point to an internal FTP server and it works fine.
    I have checked all my parameters and everything looks okay. Like I mentioned earlier, if you specify exact file name, it picks up the file.
    Any guess as to what is going on here?

    Transport Protocol: FTP
    Message Protocol: File
    source directory: /test or test ( <b>either one works</b>)
    file name: * or . or *.txt <b>nothing works</b>
    server: ftp server name
    port: 21
    data connection: passive
    user: ******
    pass: ******
    connect mode: permanently
    transfer mode: text
    QOS: exactly once
    poll: 10 secs
    processing mode: archive ( <b>changed to test and delete as well, but made no difference</b>.)
    archive dir: dir path
    file type: text
    adapter specific attributes:
    checked: set adapter specific attributes
    and file name.
    status: active.

  • ESB FTP Adapter Help

    Hi
    I am switch from TIBCO products to Oracle so I am kinda lost. Sorry if these questions are too newbie.
    1. Is it possible to configure multiple FTP adapters polling files from various FTP sites? I think it s a YES. Can you tell me how? I need to perform polling of files from 3 different FTP sites and interval of x mins then to trigger other processes
    2. If I were to create a manager sitting in front of these adapters to specify how these adapters works, how do I that? Meaning instead of specifying what is the host etc.. It can be done at front end application
    Thank you

    Hi,
    1) with respect to how, check out the SOA Suite Adapters guide that is available here: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994.pdf (assuming you use version 10.1.3.1).
    Basically:
    - Define the FTP Adapter services using a wizard
    - Specify connection data for your FTP services in a config file
    Hth, Sjoerd

  • ESB FTP adapter tutorials

    I seen Oracle has many tutorials and this i like :) However im trying to setup a FTP adapter version of ESB and cant seem to find any tutorials on this specfically. If anyone could help me or maybe explain how i could edit a file adapter tutorial in which they have so that and FTP adapter could work that would be great

    Sorry I haven't tried it with ESB, but I do have a blog about "advanced use of FTP adapter" in BPEL: http://darwin-it.blogspot.com/2008/03/configuration-of-ftp-synchronous-get.html.
    I do think though that it should not be a very big problem to translate this to ESB, since it is actually the same adapter.
    Regards,
    Martien

  • FTP Adapter Read without Polling

    Hi,
    Can we use FTP Adapter to read the files without polling. My requirement is to read the file from a location only once at a specific time. So I don't want my starting BPEL process to be a Adapter which polls rather I want to internally invoke the Read process without specifying a specfic file name.
    The file name is not fixed and so I think Sync Read will not work.
    Can we achieve this?
    Thanks
    Sanjay

    Hi,
    Can we use FTP Adapter to read the files without polling. My requirement is to read the file from a location only once at a specific time. So I don't want my starting BPEL process to be a Adapter which polls rather I want to internally invoke the Read process without specifying a specfic file name.
    The file name is not fixed and so I think Sync Read will not work.
    Can we achieve this?
    Thanks
    Sanjay

  • Need to get ESB FTP adapter going

    I was set on a project over the weekend and so far im pretty sure i have completely failed :) I need to just specify routing rules for server to server connection. We are doing this through FTP, the routing rules will specify certain files to look for, and we have a default account to connect to each server with. Well so far i got two FTP connections in place a read and write one. I am not sure what else i need to implement in order to complete this. My task was to use ESB to do this proces. I have a couple questions however besides creating two FTP connects one read one write what else do i need in this? The routing rules will come after i get this all put together i would assume. Anyway do i need a file adapter in the ESB setup ? It never ask me to specify a username and password but i think that would be specified under integration connections where my connection to the specfic server is? How do i tell me FTP connections to connect to one of my integration connections? I have a development one and a production one, obviously im working on the DEV

    No i think my wording was wrong i apologize, not that it will neccessarily use the connection username and password located under integration connection. But it will use this to connect to? Ok tell me if im wrong but it will use this connection under integration connection to connect to some kind of SOA "somewhere"?
    And maybe not SOA im not sure if you need SOA but some kind of ESB server. Hence the option to register with ESB when right clicking the project?
    Message was edited by:
    vande
    ok i was reading in some of the older forms and came accross this
    Re: Simple Questions about ESB and ftp adapter.
    Posted: Apr 8, 2008 4:20 PM in response to: user629857 Reply
    I assume you are using ESB. Your ESB service will look as follows:
    FTP inbound adapter -> Routing Service -> FTP outbound adapter
    In your FTP inbound and outbound adapters, specify the logical directory name in the end point properties.
    The bpel.xml file is only specific if you are using Oracle BPEL Process Manager.
    <---------- this is the exact setup i have right now, does this sound correct?
    Message was edited by:
    vande

  • FTP Adapter: double quotes in csv file

    Hello,
    I have a BPEL (10.1.3.3) process in polling with the FTP Adapter on a CSV (with a ; as separator) file with native format translation. In the following the xsd generated:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://namespace1.com/bpel/LoadRivenditoriAdapter"
    xmlns:tns="http://namespace1.com/bpel/LoadRivenditoriAdapter"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="Cp1252" nxsd:hasHeader="false" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="Accounts">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Account" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="DITTA" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";">
    </xsd:element>
    <xsd:element name="VIA" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";">
    </xsd:element>
    <xsd:element name="CAP" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";">
    </xsd:element>
    <xsd:element name="CITTA" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";">
    </xsd:element>
    <xsd:element name="PROV" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";">
    </xsd:element>
    <xsd:element name="REGIONE" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Some fields in the CSV file can have double quotes (") inside the values like:
    "value1""";value2;value3";value4
    When this happens, the adapter reject the file. How can i solve this issue? There is some option to set inside the XSD?
    Thank you in advance.
    Riccardo

    Thank you for your help, but I've already tried with the quotedBy atribute and it doesn't work. The double quote character can occur multiple times inside the single value and it's not representing a delimiter: it's a part of the field value. For me it's not important, it could be ignored, but the problem is that I don't know how, since the adapter fails to read the file rejecting it.
    Riccardo

  • 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

  • FTP Adapter only picking up one file

    I have a FTP Adapter configured to pick files (hoping to get multiple files).  The file name is set to *, which should mean any files in the directory will get processed.  The data connection is Passive.  No connection security.  Connect Mode is per file transfer.  And QOS is EO.
    Only one file is being picked up every time the Adapter is run, which is set to 30 minutes.  Does anyone know why only one file would be picked up at a time?  Is there a setting somewhere that I can't locate?
    I appreciate any help.

    Hi Larry,
    When you want use transport protocol FTP,
    we have to specify
    Adapter Type: File
    1)the source directory( which is name of the shared folder you have given in ftp server: eg /Test)
    2)here since you want to pick up all the files in that directory, File Name has to be given as .
    3)FTP Server Name
    4)Port(default 21)
    5)The login name n password.
    6)Connection Security: None
    7)Connect Mode : Per File Transfer
    8) Transfer mode : Binary
    Also please go through this link
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Hope this helps.
    Regards,
    Soumya

Maybe you are looking for

  • Labview 6 xmathtypes.dll missing

    Hi,      I am trying to run Matlab script (Matlab version I think it is the latest one) from Labview 6.1. Initially it wasn't running. Then I came across this thread http://digital.ni.com/public.nsf/websearch/CE309627064A3D5686256A9C005B0A5F?OpenDocu

  • Two mac laptops, one iPhone and an iPod touch. Sync apps?

    Hi there, between my wife and I, we have two Mac laptops, one iPhone and an iPod touch.  The iPod touch is new- is it possible to get the apps that have already been purchased for the iPhone, onto the iTouch?

  • Problems with SAPUSER Table / ORA-1403 during PI 7.1 EHP1 Installation

    Hello, as I have currently problems creating a customer message with the customer provided S-User and I need a solution after the easter weekend, I'll try my luck here... We currently perform a SAP Netweaver PI 7.1 EHP1 installation on Windows 2008 (

  • Macbook display malfunction

    Hello Late last week while merely surfing the web, I noticed some flickers on my macbook display. I had never seen those before. I've read about flickers on discussions here. Then over the weekend, I would start the computer only to have the display

  • Purchase Order Workflow event trigered when i create the Schedule Agrrement using ME31l.

    Hi expert,      When i create Schedule agreement using me31l it will raise the PO workflow instead of SA  Workflows. ?  where is the configuration mismatch happen ?