FTP Adapter not writing the file in FTP directory

We have desiged BPEL Process which will get data from Oracle and write in txt file in FTP directory.
For last few days, we are getting following error when we invoke the BPEL Process:
file:/u102/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_XXADS_INT033_DEL_EBS_OUT_1.0_0be42a99260084d9bd5104929a8ac1b2.tmp/DELFTPservice.
wsdl [ Put_ptt::Put(opaque) ] - WSIF JCA Execute of operation 'Put' failed due
to: Error saving control file.
Error saving control file: "/u102/product/10.1.3.1/OracleAS_1/j2ee/home/fileftp/controlFiles/ZmbNdvlpVkaee+
OddQzH2Q==/outbound/controlFile_ob.properties"
; nested exception is:
ORABPEL-11080
Error saving control file.
Error saving control file: "/u102/product/10.1.3.1/OracleAS_1/j2ee/home/fileftp/controlFiles/ZmbNdvlpVkaee+
OddQzH2Q==/outbound/controlFile_ob.properties"
Please make sure that a valid control file exists.
Can anyone help me to resolve this?
Thanks,
Hariharan Ramakrishnan

I tried to redo the config objects but still the same issue is there. anyone has any idea

Similar Messages

  • 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.

  • File adapter not writing the file correctly

    Hi,
    I am facing an issue where the file created on the destination is not with the correct data. eventhough the payload that was sent out from XI to the adapter is correct.
    Issue was with a mltiple element which was written once eventhough the payload shows multiple existance.
    we had changed the occurance of that element from 1 to unbounded.
    If anyone has any idea do let me know
    Regards
    Nikhil

    I tried to redo the config objects but still the same issue is there. anyone has any idea

  • Sender file adapter not polling the file

    hi all,
    i have configured a filexifile scenario....
    but the file sender adapter is not polling the file at all....
    i dont c any message either in RWB or in SXMB_MONI
    i checked the adapter framework url at <i>http://<ximachine>;<port>/AdapterFramework</i>....and the status for the file adapter is green...
    but the message it gives there is
    <i>Sender Adapter v1014 for Party '', Service 'TASL_FILE_SENDER':
    Configured at 03:07:24 2006-02-02
    Up and running - no message processing until now
      last poll interval started 04:01:24 2006-02-02
      length 60,000 secs</i>
    y is the sender adapter not polling the file..
    i am using NFS as my File System....i gave the source directory as <i>d:/test_dir/</i>
    is this way of specifying the source directory on a windows machine correct...
    thanks
    pavan

    There is probably something wrong with the File Adapter.  You will need to go to the RunTime Workbench >> Component Monitoring >> Display >> Click on the Adapter Engine >> More information will display and click on the button 'Adapter Monitoring' >> A new window will display and click on the arrow next to your adapter engine.  This displays a list of adapters running on your system.  Green light means good; Red, you have a configuration problem.  Look at the error and try and resolve it.

  • Setting the UNIX file permissions after writing the file to a directory

    Hi Experts,
    Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
    Thanks in Advance.
    Regards,
    Jyoti

    Hi
    you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
    Thanks
    Rinku Gangwani

  • FTP adapter --- Not picking up files

    Hi,
    I have set up an FTP adapter in archive mode to read files from FTP server and process it while archiving a copy of it. I have set up Poll interval at 40 secs and retry interval also set up. It works great the first time . Processes the file and archives it. But when the same files comes in again in the FTP server, I see the foll. message in the adapter monitor "Error: Stopped due to error: com.sap.aii.adapter.file.ftp.FTPEx: inputdat.txt: No such file or directory: No such file or directory."..The file exists in the FTP server but its not processed..I am not sure what I am missing...
    -Teresa

    Hi Michal,
      I have timestamp set up for archive directory..So every run will create an archive file with timestamp..But the input filename remains the same..Archive functionality would remove the file inthe FTP server..So when the file comes again into the FTP server, the FTP adapter doesn't trigger automatically. Everytime I had to activate the IB for FTP adapter to trigger the process. I know this is not how XI-FTP adapter should work..Our scenario is we would receive weekly files into the FTP adpater with the same name. We need to archive each weekly file and also send it for further processing..I can't be activating the process manually ....I know something is going wrong but can't figure it out...:(..Any help is appreciated...:)
    -Teresa

  • FTP Adapter to read multiple files from a directory. Not through polling.

    Dear Friends,
    I would like to know is it possible to configure the FTP adapter in Oracle BPEL 10.1.3.4 to read multiple files (different names, same structure) from a given directory. I do not want the BPEL to do a polling. Instead when I submit the BPEL process it should read all files from the directory.
    I was looking at the option of Synchronous read but I am not able to specify wild card in the file name field. I do not know the file names at the time of reading.
    Thanks for your help!

    Hi,
    While you read the file, you can configure an adapter property in 'Receive'. This will store the filename, this filename can be used for sync read as the input parameter.
    1. Create a message type variable called 'fileheader'. This should be of type Inboundheader_msg (whatever relevant Receive activity).
    2. This variable will contain three parts - filename, FTPhost, FTPPort
    3. Copy this fileheader to 'Syncheader'.
    4. syncheader can be passed as an adapter proerty during sync read of the file.
    During Receive and Invoke, you need to navigate to 'Adapter' tab to choose the created message type variable.
    Let me know if you have further questions.
    regards,
    Rev

  • Sender File adapter not picking the file ABCD.PRN extension file

    Hi
    Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
    My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
    I have configured the Sender File adapter with Message Protocol -  Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
    What are the parameters that I have to consider with the file extension .PRN using File adapter?
    Thanks.
    S.

    Hi Swarna,
    You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
    Regards,
    ---Satish

  • File Adapter Not picking the files

    Hi All,
    We have a process wherein the file adapter picks up the file from a particular location and it processed thereafter. We get the files once every month. We noticed that if the files that are being dazzled are of the same, i.e if the same nomenclature is there for the file that was dazzled the previous month, the adapter does not pick up the file. Only after renaming the file, it picks the file and processed them.
    Any idea why the files that are dazzled with the same name are not being picked up.
    Thanks in Advance...!!

    Hi,
    While configuring file adapter to pick up the files cross verify with file name putting in the directory location against the
    "Includes files with name pattern" "Excludes file with name pattern" file name..
    let say if u kept .*txt if picks the files txt with any name and one more think once after picking up the file from particular location are u enabling (delete file once read) option in configuration(It all depends on ur req)..
    cross check the schema element of the file pattern.

  • FTP-adapter not picking all files

    Hi,
    We have scenario, where FTP should pick a file and post it as a idoc to SAP. Now it happens that FTP pick's some files and leaves some out.
    The parameters are:
    File name = *
    Connection mode = Per file transfer
    Quality of service = Exactly once
    Poll interval (secs) = 3000
    If I look at the adapter monitoring the last polling interval was done yesterday morning. How's that possible if interval is 3000 seconds?

    Hi Tapio,
        We also faced the same problem but it was with NFS protocol. Can you pls check with the help of your System Administrator, after putting some more new files into the relevant folder and see what all are the privileges that is coming to each file and also the user group its saying for the files, especially the ones which are not picked.
    There is a chance that the one which is not picked can be of a different user group and your FTP user is belonging to different user group.
       We are in XI 3.0 SP15..
    Pls check the same.
    Cheers
    JK

  • FTP Adapter not picking flat file

    Hi,
    I am trying to upload a simple flat file using FTP adapter
    I have done all the configuraion setings & mapping program as well. But when i used the tcode SXMB_MONI for monitoring, it says "no message available".
    Plz help.
    Ragards,
    Rajat

    Hi,
    Check these~
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Mark Helpful Answers
    Hope this helps,
    Regards,
    Moorthy

  • File Receiver Adapter is not writing the file?

    Hi All,
    I am having a file to file scenario using NFS as both the source and destination are on server.
    File is getting picked up from server but not reaching the destination.
    In RWB for Receiver channel it only shows <b>Channel active and started correctly.</b>
    In SXMB_MONI  it shows the message scheduled for some later time.
    On reaching that time it tries again and reschedules :(.
    Please guide.
    Regards,
    Sumit

    Sumit,
    Now do one thing, just for check the directory for read/write permission by putting the test file manually on your target directory.
    The porcedure to put a file on server is as shown below:
    1. Save your file in your local machine.
    2. In <b>XI server</b>, enter the tranaction code "<b>SXDA_TOOLS</b>".
    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 source 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.
    Example: suppose file name in your Comm Chanel is "<b>demo.xml</b>" and directory path is <b>"/abc/testfiles/XML/</b>", then in step 8 write <b>"/abc/testfiles/XML/demo.xml</b>".
    Note: need not to do any thing in 3rd block.
    After doing all the above, let me know the results.
    Regards,
    Sarvesh
    ****Reward points, if it helpd you.

  • File Adapter not picking the file

    Hi Experts,
      I am trying to create a Legacy-XI-R/3 scenario. I am using a file adapter as the sender communication channel and a ABAP proxy at the receiver end. I have given the path of my input file in the legacy system, but the file is not picked up by the adapter. Can any one tell me where I might have gone wrong?

    Hi,
       Just want to add one more suggestion.
    Check the Host name, where the File is kept and try to use the directory path as
    <HostName>\<DirName>.
    Hope this help.
    Aj.

  • JMS adapter not picking the file

    Hello,
    I am working jms to jms scenario on PI7.0 Service Pack13. file is not able to pick up sendar JMS Channel. I am using WebSphereMQ Transport Protocol. JMS drivers are installed.
    I checked all parameters of JMS Adapter. no mistake in parameters. What is the problem. Please suggest as soon as possible.
    Thanks

    Hi,
    Whether the Driver file has been mentioned in Provider XML  file and check  the messages  are in the right sender Queue.
    Check the Port and Protocol are right one.
    Regards
    Agasthuri Doss

  • Not writing the file second time

    hi Experts
    can anybody tell me after executing this code on windows the value is not written second time to file
    the code goes like this
    import java.util.*;
    import java.io.*;
    import java.net.*;
    public class Agent
         public static void main(String args[])
              File script=null;
              File outputFile=null;
              BufferedReader check=null;
              try
                   check = new BufferedReader(new FileReader("checkThreshold.txt"));
                   String checkStr;
                   while((checkStr=check.readLine())!=null)
                        checkStr=checkStr.trim();
                        //System.out.println(checkStr);
                        StringTokenizer st=new StringTokenizer(checkStr);
                        String commandStr=st.nextToken();
                        String paramStr=st.nextToken();
                        //String wThresholdStr=st.nextToken();
                        float wThreshold=Float.parseFloat(st.nextToken());
                        //String mThresholdStr=st.nextToken();
                        float mThreshold=Float.parseFloat(st.nextToken());
                        //String cThresholdStr=st.nextToken();
                        float cThreshold=Float.parseFloat(st.nextToken());
                        script= new File(System.getProperty("java.io.tempdir"),"script.vbs");
                        outputFile= new File(System.getProperty("java.io.tempdir"),"outputFile.txt");
                        PrintWriter writer=new PrintWriter(new FileWriter(script,false));
                        //System.out.println("command is:"+commandStr+" paramis:"+paramStr+"wThresholdStr:="+wThresholdStr+" mThresholdStr:"+mThresholdStr+"cThresholdStr:"+cThresholdStr);
                             writing a script for getting value and then comparing then
                        writer.println("Dim Wsh,cmd\n"+
                             "Set Wsh = Wscript.CreateObject(\"Wscript.Shell\")\n"+
                             "Wsh.Run(\"cmd.exe\")\n"+
                             "WScript.Sleep 1000\n"+
                             "Wsh.SendKeys \"wmic /output:"+outputFile+" path "+commandStr+" get/value{ENTER}\"\n"+
                             "WScript.Sleep 1500\n"+
                             "Wsh.SendKeys \"exit{ENTER}\"\n");     
                        writer.close();
                        /***********executing the script************/
                        Process p=Runtime.getRuntime().exec(new String[] {"cmd.exe", "/c", "\""+script+"\""});
                        int exitValue=p.waitFor();
                           BufferedReader in = new BufferedReader(new FileReader(outputFile));
                        String str;
                        int cnt=0;
                        while((str=in.readLine())!=null)
                             str=str.trim();
                             String tempStr="";
                             StringBuffer buffer=new StringBuffer();
                             for(int i=0;i<str.length();i+=2)
                                  buffer.append(str.charAt(i));
                             tempStr=buffer.toString();
                             if(tempStr.startsWith(paramStr))
                                  StringTokenizer token=new StringTokenizer(tempStr,"=");
                                  token.nextToken();
                                  float value=Float.parseFloat(token.nextToken());
                                  if(value>=cThreshold)
                                       System.out.println("critical");
                                  else if(value<cThreshold && value>=mThreshold)
                                       System.out.println("major"+value);
                                  else if(value<mThreshold && value>=wThreshold)
                                       System.out.println("warning"+value);
                                  else
                                       System.out.println("normal"+value);                         
                        cnt++;
                        System.out.println(cnt);
                        script.delete();
              }catch(Exception e)
                        System.out.println(e);
    }

    I tried to redo the config objects but still the same issue is there. anyone has any idea

Maybe you are looking for

  • Scheduling Crystal Report in BO Enterprise -- running Failed with an error

    Hi all,        I have scheduled a crystal reprt which is published in BO Enterprise. I have scheduled such that it should run right now. when i choose schedule, in the History screen of that particular Report Document, it  is showing the status as Fa

  • HP Laserjet 1012 -- suddenly stopped printing; gives cryptic message

    I have an HP Laserjet 1012 hooked up to my iMac. The driver is already installed on the system, and there is no updated driver available from HP. It's been performing wonderfully until today. Now, everytime I attempt to print, it just prints a page w

  • Problem with printing txt file

    I have a problem with printing txt file. My code looks like : String filename = something.txt"; DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE; PrintService[] services = PrintServiceLookup.lookupPrintServices(           flavor, null); PrintReque

  • Java: How can one check for index out of bound?

    simple while loop while (something [ i ] ==k) i+=1; document.write(save [ i ]); Thanks everyone :o) Edited by: bvc on Sep 21, 2007 3:33 PM Edited by: bvc on Sep 21, 2007 3:34 PM Edited by: bvc on Sep 21, 2007 3:34 PM

  • Determine database character set

    How do I determine the database character set? Can look into v$parameter and v$system_parameter for NLS settings, but need to know the database character set. I am following other DBAs so I don't have the creation scripts. Am supporting databases fro