Placing notepad in FTP server

Dear All,
I sceduling one program in sm37 once the job is succesfully finished,  that intimation need to store in FTP server by creating notepad. In that notepad need to display that particular job completed sucessfully. can you please help on this.

Hi Chinna,
Do u think it is a good idea to create a separate interface just for transferring the files from 1 directory to other.
I feel it isnt required and also if file size is high, u know the impact on performance.
Fine, Regarding writing a script to move file from one location to other.. just google it or search in SDN .. u will get a lot of materials.
Also dont go for the OS commmands... because OS commands are executed only after the file is pickes.
Babu.

Similar Messages

  • Records are missing in the File which XI has placed in Target FTP server

    Hi All,
    I have a scenario where in XI is transfering the files from ECC to Target System . No transformation required here . I am using AAE to run this scenario.
    Issue i am facing here is that i can see few records missing in the File  which XI had placed in the Target system FTP server . Same file if i check it in archive folder of ECC (which XI has archived after picking the file), complete set of records are present for the same file.
    Need your inputs please....
    Note : XI is using AAE to transfer the files and no mapping . Also i tried to check out the audit logs in the channel monitoring . Unforutanely i was not able to see the logs to check the bytes that was transferred while readng and writing the file . Sometimes i have faced audit logs issue in PI 7.1
    Regards
    Vinay P.

    Please use temporary name scheme
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
    hope this helps
    regards
    Ninad

  • Placing the File in ISeries AS400 FTP Server

    Hi,
    I am working in IDOC to file Scenario and trying to append the Records in the flat file in AS400 FTP Server Directory.
    I am unable to place to file in the FTP Server and getting the error message as below.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xx.xx.xxx.xxx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501  File identifier not valid in MKD subcommand.'. For details, contact your FTP server vendor
    Please provide your valuable suggestion on this.

    Now I am getting the error message as below
    Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server xx.xx.xxx.xx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 426 Unable to open or create target file SPD3INTMCD.txt in library FTPLIB. Data transfer ended.'. For details, contact your FTP server vendor..
    Please suggest on this.

  • Output to an ftp server via Destinations or Applescript

    In Compressor, you can set the Destination of a compression batch to be a remote server, such as an ftp server.
    When you start a batch, if the destination is not available or reachable then the documentation (p.230) says: "When there is a problem with your destination, a yellow warning triangle appears. You must resolve this problem before you can successfully transcode."
    Although I have not tried it, it implies that if your remote ftp server is not accessible when you drop a file on a created droplet with the Destination set to an ftp server, it won't be able to begin encoding until the destination is available: "As soon as you resolve the problem, the warning triangle disappears and you can continue to transcode." (p.230)
    For a lot of people, this is OK.
    Some people need to compress and then tranfer the output to a distant location, and they may not have continuous, reliable access to the remote location. They may need to make a temporary connection via modem dial-up, satellite phone or third-world Internet connections. Think news reporters in remote locations.
    So, for those people, the option of Applescript should allow them to have their output files saved to a local destination, and then staged up to the ftp server using the built-in commands. But, the problem is that a small file is created at the Destination when the compression is started, and Compressor is not Applescript aware (apart from being able to call an Applescript). This means that any Applescript called as a post processing activity knows nothing about the files Compressor just processed and outputted. It has to glean information about them from the Destination folder where the output files are placed, and then sort out the completed output files from the ones that have just been started, then ftp the completed files up to an ftp server and delete sent files from the Destination folder.
    What I would like to see is either
    1) a Staged Destination where files are created on the first Destination then staged to a secondary Destination, with an option of keeping these files on the first destination, and/or
    2) Applescript support in Compressor which will allow information about the files that have just been compressed to be passed to another Applescript aware application or script.
    I would be happy even with some sample Applescript to do the transfer or files from Destination to an ftp server that avoids copying files that haven't been fully processed.
    Has anyone else run into these issues?
    Bill Lee

    Oh, trust me, I do know about Apple and the fact this discussion site is not an official contact point for Apple. I'll be escalating this Request for Enhancement through my contacts at Apple.
    There is a reason I have not posted before in this forum (and relates to the above).
    There seems to be few people who are using the Applescript post-processing feature, and I was trying to gauge any support for enhancements in this area (and maybe stir up some villagers with pitchforks and burning torches).
    Apple will listen to normal users input, but it needs to have a business case that justifies any resources devoted to this. The more people affected, and the greater the impact on your business, and the size/importance of your business has an effect on whether you will get what you want, and when.
    Sorry if I was not clear on what I wanted: information as whether this was important for other (non-Apple) people, and whether people had scripts that solved the problem of staging output files to an ftp server that was not consistently connected during the compression process.
    Thanks for your reply,
    Bill Lee

  • Problem with downloading file from FTP server

    Hello all
    I have uploaded a file from an application i developed and i want to download this file from another application. The code is
    public static void FTPcon() throws FtpException{
       String hostname = "my.ftp.server";
       String username = "myusername";
       String password = "mypass";
       Ftp ftp = new Ftp(hostname,username,password);
       ftp.setHostname(hostname);
            ftp.setUsername(username);
            ftp.setPassword(password);
            ftp.connect();
            ftp.setBinary();
            ftp.download("file.dat");
            ftp.disconnect();
    }The error i receive is java.io.FileNotFoundException: public.dat (The system cannot find the file specified) but the file is on the server.
    Thanks in advance for any help

    Cotton thank you for your reply
    Any other sugestions please?The server disagrees. So...
    - the file does not existThe file exists.I checked it with an FTP client program.
    - the file has a different nameThe file name is correct
    - you are connected to the wrong serverI am connecting to the correct server
    - you are in the wrong ftp directoryThe file is placed in the home directory
    - the ftp library you are using is broken (less
    likely)I am using the library from jscape.I dont think is broken because i can upload the file from the first application.
    >
    FTP isn't somehow broken in Java. I use it all the
    time. The problem is something listed above. I would
    check all of the first four if I were you because
    that's most likely where the problem is.Message was edited by:
    flightcaptain

  • Read File From FTP Server

    Hi all,
    I have to read a file from FTP server, manipulate it and then create another file at the same location.
    Currently, I am able to write a file onto FTP server ..but how do I read the file?
    Any help will be greatly appreciated.
    Thanks,
    Haritha

    can i know how do u placing the file in FTP?
    ( default path specified in the FTP server, it might be Pre. server address)

  • Can't copy file from SAP-directory to FTP server

    Hello,
    I can't copy files from the SAP server to the FTP server. The file is created with OPEN DATASET and CLOSE DATASET commands and is placed in the SAP-directory S:\usr\sap\DEV\DVEBMBGS00\work.
    I can see and read the file with transaction al11, so I know it's there.
    But the FTP command always gives the same error:
    S:\usr\sap\DEV\DVEBMBGS00\work\[FILENAME] errno 22: invalid argument
    I can connect to the FTP, but the put command keeps failing. Somehow, the file in the SAP directory can't be read, it seems, even when
    Any ideas?
    Thanks in advance.
    Dave

    Ok, I found out that I have to use SAPFTPA as RFC destination type, instead of SAPFTP, otherwise the folders can't be located.
    But with SAPFTPA I can't seem to connect to the FTP server. I've tested the connection with sm59 and it works, but for the FTP it doesn't work. When I use SAPFTP as destination type, it still works.
    What can I do?
    Thanks.

  • Files from FTP server to Application server

    Hi All,
    I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface. Actually the process is already established at clientsite for placing master data files like product, plant etc from FTP server to App server through FTP adapter. Now my requirement is to move transaction data file with completely different structure as master data to App server. If we place these trasaction data file in same folder/directory as master data files does SAP XI pick this file also. If not what are the steps I need to follow to achieve this. I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
    Right now our process for master data files is SAP XI picks the files and deletes the file from FTP server folder. The master data file names are plant_attr.csv, product_attr.csv etc and transcation data file name is salestrasactiondata.csv. I need to move these files to application server on daily bases.
    I appreciate your help .
    Regards
    Bob.

    > I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface.
    Hello Bob,
    Yes it is possible.
    There can be two ways of doing it.
    1. N:1 mapping, BPM will require for this.
    N:1 Mapping refer this blog
    IDOCs (Multiple Types) Collection in BPM
    BpmPatterns CollectMerge
    part1  BPM with Patterns explained Part-1
    part2  BPM with Patterns explained Part-2
    Second option
    Create 3 scanarios in integration directory and correspondingly in integration repositoy create different data types, message types, mappings & interface mappings and then in each of scenario us different message interface and interface mapping.
    > I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
    >
    If you are using N:1 scenario then use *.csv in your sender adapter under file name parameter and then all the files will be picked up from same directory.
    If you are using second option (3 different scenarios) then also you can pick the different files from same directory. You will be having 3 sender adapters in this case, So, one for picking master data, and another for product data and the last one for transaction data.
    So, in case of master data use "plant_*.csv" as a file name and directory name.
    In case of product data, use "product_*.csv " as a file name and source directory will remain same.
    similarly do it for transaction data.
    So by this way all 3 sender adapters will perform their job to pick the different files from same source directory.
    Regards,
    Sarvesh

  • Can a directory to be created if it does not exist on FTP server?

    Hello SOA experts,
    We are good with most common usage of all Adapters. But recently, I am facing a challenge when archive files on FTP server.
    Archive files need to be placed into different folders for each month. For instance, ./archive/201308 for files archived in August. Next month, a new directory ./archive/201309 should be created, ideally automatically.
    My question is, can I do through some configuration and properties setting to let SOA create a remote target directory when it does NOT exist?
    We maintained multiple archive folders for different typr of documents. It is really a hassle to create them manually. And if the target directory does not exist, it would throw errors.
    Thank you very much in advance.
    Alena Li
    CGI

    Hi, After reading your post, I myself wanted to test this out. I thought that by configuring the following in the Adapter Wizard it would create the remote directory for me:
    <adapter-config name="FW" adapter="File Adapter" wsdlLocation="FW.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="Write_ptt" operation="Write">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
          <property name="PhysicalDirectory" value="C:\Archive"/>
          <property name="Append" value="false"/>
          <property name="FileNamingConvention" value="%SEQ%\test.txt"/>
          <property name="NumberMessages" value="1"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    It failed on my BPEL instance however I could see that it was trying to create the file. When I created all destinations it was able to create it.
    This is my recommendation from what I understand you'd like to accomplish:
    Create the different Year&Month folders on your destination from Jan to Dec:
    201301
    201302
    201303
    201304
    201305
    201306
    201307
    201308
    201309
    201310
    201311
    201312
    (You can actually create as many as you want going to 2090 if you want...
    Add the below config to your JCA File:
    <adapter-config name="FW" adapter="File Adapter" wsdlLocation="FW.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="Write_ptt" operation="Write">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
          <property name="PhysicalDirectory" value="C:\Archive"/>
          <property name="Append" value="false"/>
          <property name="FileNamingConvention" value="%yyyy.MM%\filename"/>
          <property name="NumberMessages" value="1"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    This will allow the files to be dynamically created in the correct directories.
    This is a work-around and I hope this works for you.

  • Urzent: Delete files in FTP server using FTP receiver adapter

    Hi Experts,
    We are doing 2 asyncronous scenarios. frst scenario should delete existing file and place the request file. Second scenario should pick(delete) response file and delete request file it placed also.
    Scenario 1 : File(NFS) to FTP  (Asynchronous)
    Scenario 2: FTP to NFS  (Asynchronous)
    Scenario 1: (Receiver FTP Adapter )
    step-1: PI has to delete all existing files in FTP server
    step-2: PI has to place Request file in FTP
    Scenario-2: ( Sender FTP Adapter)
    step-1: PI has to Delete request file i FTP server
    Step-2: PI has to pick and delete response file in FTP server
    Doubts:
    How can we do above steps in PI
    Thanks,
    Murali

    Hi Krish - For scenario -1 You have to make use of the OS commands to delete the files on FTP server before placing the request file.
              -> write some script which wil connect to the FTP server and delete the files.
              -> call that script from the file adapter "using execute OS commands" option
    For scenario -2 :
    pick both the files(request and response) and set the processing mode to delete..
    during the receiver determination, process only request files(based on filename/content)

  • Trigger aler or send a mail if target ftp server is down

    Hi,
    I am sending file from source to target using XI.
    Here my target is FTP. If the FTP server is down on the target side while placing the file we need to trigger an alert or send an email to the sender.
    Thanks & Regards
    Sowmya.

    Once the adapter engine tries for the standard retry time and interval, it will change the message status to System Error.
    Create Alert Rule for the Adapter Engine errorrs. SelectAdapter Engine and make the adapter type as All. Rest is same
    The specified item was not found.
    Regards,
    Prateek

  • Failure to connect to FTP server using FTP Adapter?

    Attempting to setup a SOA 11g composite app to demo the use of a FTP Adapter. Composite used a File Adapter (Read, opaque schema) wired to a mediator which was wired to a FTPAdapter (ASCII-Put, opaque schema). The routing rule in the mediator maps the File-Read opaque schema to the FTP ASCII-Put opaque schema.
    In the document "+User's Guide for Technology Adapters 11g Release 1 (11.1.1)+" I followed the steps in 4.2.21 Securing Enterprise Information System Credentials to set username/password (ftpuser/oracle) for the eis/Ftp/FtpAdapter connection. This is the default JNDI name for the FTP Adapter.
    For the FTP server installed Filezilla server. Configured the home directory to appropriate folder.
    Installed Filezilla client to test the server using ftpuser/oracle - as the created user on the server. No problem here – can see the appropriate folders and ftp files to/from the folders.
    Used a similar composite using a File Adapter-Write (opaque schema) instead of the FTPAdapter (ASCII-Put - opaque schema). This composite works with no issues. FYI – using JDev 11.1.1.1, SOA Suite 11g.
    Was not using VPN.
    When placed the required file in its directory (for the File-Read) it was read but the ASCII-Put file from Filezilla server did not appear.
    Based on error/fault messages seems to be a login issue. However, have no idea as to where the issue as all usernames/passwords are correct. But then - isn't that always the case?
    After having worked on this for a couple of days - need some help - please.
    The following error messages appeared:
    Filezilla Server:
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.37 beta+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse ([email protected])+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> USER+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 501 Syntax error+
    +(000004)11/3/2010 14:07:53 PM - (not logged in) (127.0.0.1)> disconnected.+
    Fault message from WLS enterprise manager for the composite
    onMessage
    Nov 3, 2010 2:06:54 PMonCase "FTPPut.Put"
    Nov 3, 2010 2:06:54 PMTransformed message part "opaque" using "xsl/opaqueElement_To_opaqueElement_3.xsl"
    Nov 3, 2010 2:06:54 PMError during invoking 1-way operation "Put" on target service "FTPPut"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in. Error in logging in. Unable to log in to the server. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Output from SOA Server console window
    Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=>  FileR FileRAdapter Service FileR was unable to perform delivery of inbound message to the composite default/Project1!1
    +.0*03f979cb-4a66-4c89-8a68-cce43fcdef88 due to: BINDING.JCA-12563+
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1 InboundTranslatorDelegate caught Generic Exception , the Resource Adapter will ignore this+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1+
    +BINDING.JCA-12509+
    +Unable to post inbound message.+
    +Unable to post inbound message to Composite.+
    +The JCA Listener of the JCA Binding Component was unsuccessful in delivering an inbound message from the endpoint FileR due to the following+
    +reason: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Please examine the log file for any reasons. Make sure the inbound XML messages sent by the Resource Adapter comply to the XML schema defini+
    +tion of the corresponding inbound WSDL message element.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:552)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:376)+
    +at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:377)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:455)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:116)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:252)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:157)+
    +at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)+
    +at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)+
    +at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)+
    +at java.lang.Thread.run(Thread.java:619)+
    +Caused by: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteracti+
    +onException.java:75)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:294)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:281)+
    +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:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +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:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:870)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)+
    +at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:47)+
    +at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)+
    +at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:121)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:467)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:366)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:272)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:138)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:655)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:481)+
    +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:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +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:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:509)+
    +... 10 more+
    +Caused by: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:427)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:530)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:49+
    +4)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteractio+
    +n.java:463)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:244)+
    +... 52 more+
    +Caused by: BINDING.JCA-11439+
    +Error in logging in.+
    +Error in logging in.+
    +Unable to log in to the server.+
    +Please ensure userid and password specified to login to the server is correct.+
    +at oracle.tip.adapter.ftp.FTPClient.regularLogin(FTPClient.java:1614)+
    +at oracle.tip.adapter.ftp.FTPClient.login(FTPClient.java:1561)+
    +at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:1094)+
    +at oracle.tip.adapter.ftp.FTPAgent.preCall(FTPAgent.java:1515)+
    +at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1154)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.validateDirectory(FileInteraction.java:2726)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:548)+
    +at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:238)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:297)+
    +... 56 more+

    I've an ftp adapter configured to read from windows server(SOA server running on IBM AIX, filezila on Windows server). I've provided the hostname,username,password, accountname,ftpAbsolutePathBegin as /, port as 21.
    I've set listParserKey to WIN.
    Still FTPAdapter is unable to read from Windows server.
    I'm able to get, delete etc from ftp commands through putty.Port 21 is open.
    Any clue?

  • Trigger alert for file not existing in sender FTP server

    Hi all,
    I have a scenario file to file.In the sender FTP server a file is placed every 3hours.If file is present it will work in the normal file to file procedure.But when no file exists it should trigger an alert.
    Scripts on FTP server is not accepted as a solution.
    Can anyone let me know how this requirement can be achieved.
    Points will be awarded generously.
    regards,
    padma

    Hi
    But when no file exists it should trigger an alert.
    EMAIL can be used : assign an EMAIL ID to the corresponding user in the transaction SU01 and then set up SCOT and you can send emails when the ALERT is triggered.
    Once you have configure Alerts, you will get the Alerts into ALERT INBOX in RWB of the user. To also get the email, the following needs to be done,
    1. In SU01 -- Assign the Email ID for the Recipient of the ALERT.
    2. In , RWB>ALERT INBOX> PERSONALIZATION--> Time Independent Delivery and Email are selected.
    3. Finally, SCOT needs to be set up to send Emails. Check this for the same. You can ask your BASIS team to do this step.
    http://help.sap.com/saphelp_nw04/helpdata/en/23/1edf098ea211d2b47300609419ed29/frameset.htm
    Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
    Also, to test your Alerts, execute the report RSALERTTEST in SE38.
    Also go throuh the following links...
    The specified item was not found.
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part u2013 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1
    Regard's
    Chetan Ahuja

  • File not picking up in FTP server

    Hi SAP-XI experts,
    2 different files are send to same FTP server but one file was picked but other was not picking.
    Error that came while monitoring CC is as below:
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration / structure 'row.': More elements in file csv structure than field names specified!".
    Seeing the error we cross check the content of file present at FTP server. But everything was fine,it contain same no.of fields present in Content conversion and even same length.
    Solution: I added a extra row in Content conversion "row.additionalLastFields   ignore".After that i stop and restart the Communication channel it start picking the file but the Communication channel is still in red.
    Can u please tell me ASAP the reason why the file was not picked first and then after adding extra row it started picking.
    Thanks & Regards
    Vijji

    Hi,
       it is related to some problem with the data only...because i too faced the same issue...i was also not able to see the new line when i try to open the same in notepad++ ... may be some other paramters or data of excel/CSV which is avoiding to display the same..in notepad++
    also try one more thing...enable the new line characters and see if there is any difference...between the processes and failed files...
    HTH
    Rajesh

  • Some files never getting transferred to our FTP Server

    We are moving configuration changes from one instance to another using 'Manage Implementation Projects' functionality. This PeopleTools functionality creates DM scripts to transfer functionality like Billing, Contracts, etc to another instance when you click 'Export'
    It is supposed to send the scripts to 'FTP Server > psdata > PSFILEDIR' on a Windows system in Financials 9.1 using PT 8.53.04. We constantly get a 'Permission Denied' from this process when trying to do this.
    This problem happens in all DEV instances, yet the process works fine  in the Prod instance. I have examined the permissions in the PSFILEDIR and compared them in DEV and PROD and find no differences

    I guess you didn't like my last answer.  So I'll try again.  First off, forget FTP.  We don't even care about FTP and adding it to the Title of the question just confuses things and maybe gets you less responses.  In production, does this open a Dialog box/Save window when the  export finishes?
    My assumption is that you have the variable PS_FILEDIR set to \\s-wpstbftp1\s$\psdata\PSFILEDIR for the app server.  Is that true?
    You are failing on line 10 which is
    &PROJECT_FILE = GetFile(&FILENAME, "W", %FilePath_Relative);
    The PSAPPSRV process is trying to open a file in write mode.  It's using Relative Path which appends &FILENAME to the path which is determined by either PS_FILEDIR or PS_SERVDIR.  This part of the code is not even the part where the file is supposed to be placed at a final destination.  This is very initial step in creating the file, nothing is being written yet.  The PSAPPSRV process at this point knows nothing about FTP or other network transfer protocols, it simply knows that it should use \\s-wpstbftp1\s$\psdata\PSFILEDIR as the path. To the PSAPPSRV process this is a path that is locally available on the server,wWhen the system call comes through to the OS to attempt to open this file, the operating system is what allows this to seamlessly connect to a network resource.
    There are two potential points where for this and they both relate to the user running the PSAPPSRV process.
    You are using the Admin share for the S: drive on s-wpstbftp1.  This means any connection to this PATH must be made as a user that is an Administrator on server s-wpstbftp1.
    The PSAPPSRV processes must be running as a user that is an Administrator on the other server.  This requires configuring the Oracle ProcMGR Windows service to run as a user that has access to the resources in question.
    So to fix this you need to look at the ProcMGR service and set it to run as an Administrator user from s-wpstbftp1.  This may require additional tasks such as setting up that user on the PeopleSoft server.  Use task manager to look at what user is running the PSAPPSRV processes and make sure it's the user you need it to be.
    In my humble opinion though, this is bad configuration:
    You shouldn't be using Admin shares
    I don't like relying on remote server paths that aren't redundant storage devices (NAS or SAN).  What if this server is down and other processes need to use this path?
    You appear to be expecting this file at a location where it is created for further processing by the code, not the final destination.  The file is intended to be downloaded by the user.  I don't know why the developer decided to leave the file on the file system, but they may decide to clean up after themselves or change how this works in the future.  The file is created, inserted into the database, then read from the database, sent to the user, and deleted from the database.  The code calls DetachAttachment which the PeopleCode Language Reference book says:
    Use the DetachAttachment function to download a file from its source storage location and save it locally on the end-user machine. The file is sent to the browser with appropriate HTTP headers to cause the browser to display a save dialog box to the user.

Maybe you are looking for