File CC not picking file after module is added

Hi Experts,
I am trying to develop an sample adapter module just to pick the name of the file and put it in the payload. I managed to deploy the module through SDM and it is showing as active in the visual admin. But when I run the interace it doesn't pick the file at all. The communication channel is working fine without module as it is picking the file processing it.
The module configured in the communcaiton channel is as below:
1       localejbs/AddFileNameToPayloadEJBBean  Local Enterprise Bean    0
2       CallSapAdapter                                            Local Enterprise Bean    0
Nothing esle is configured. Please advise I am missing some thing in the configuration or is there any other issue.
Regards,
SS

The issue is resolved. For me, deleting the additional Jars did n't work, as it caused in deployment error. The clue is to create a java class under a EJB project in NWDS, rather than creating EJB. If we create EJB, the additional HOME, REMOTE,LOCAL HOME interfaces are created. XI explicitly tries to cast them into ModuleHome,ModuleRemote etc, which results in Class Cast exception. If we are just creating a class without these additional Interfaces,XI manages it internally.
But we MUST have the ejbcreate() methods implemented/present in our Module-Class.
If we don't create EJB under EJB Project, then the ejb-jar.xml will not have the representation for Home,Remote, Local Home etc.
So we need to edit the ejb-jar.xml as follows.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
                         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
    <description>EJB JAR description</description>
    <display-name>EJB JAR</display-name>
    <enterprise-beans>
        <session>
            <ejb-name>The class name(ex- Myclass)</ejb-name>
            <home>com.sap.aii.af.mp.module.ModuleHome</home>
            <remote>com.sap.aii.af.mp.module.ModuleRemote</remote>
            <local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
            <local>com.sap.aii.af.mp.module.ModuleLocal</local>
            <ejb-class>The class name  with the package defn(ex- com.xyz.Myclass</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
        </session>
    </enterprise-beans>
</ejb-jar>
For more info, pls follow [http://tleterme.developpez.com/bw/how/HowToCreateAdapterModules.pdf  ]
Regards,
SS

Similar Messages

  • File is not picked up through NFS.

    hi guruz ,
    iam doing a simple file to file scenerio .
    sender file (.txt file tab delimeted) NFS  file adapter.
    reciver file (.txt file tab delimeted) NFS  file adapter.
    i putted the file in xi  server  c:\sender\file.txt.
    and for reciever i made c:\reciver.
    but the file is not picked up .
    i checked in (RWB).mssges showing sucess ,but no mssg id.
    pls guide me .
    warm regards

    Hi Pawan,
    As you are using Transport protocol as File System(NFS) in the comm channel you need to upload your local file in the XI server, just execute SE37 in your XI server then put the module name : ARCHIVFILE_CLIENT_TO_SERVER and execute it. there you give your local file path\name and the target server path(e.g /usr,/tmp etc.)
    after successfully executing you can see the uploaded file by going to AL11 transaction.
    in the sender comm channel give the server path where you uploaded the file as the source directory. activate.
    now start your sender comm channel in RWB.
    --Sankar Choudhury

  • File Adapetr: File is not picking from File directory

    Hello,
    Issue: we are facing issue with file sender adapter like file is not picking from source file directory.
    Scenario: FTP1>PI>FTP2
    1. SAP PI sender communication channel will pick the file from FTP1 and process to PI file server (NFS)
    2. from PI file server (NFS), file will process again to FTP2
    So while picking the file, it shows following error:
    Could not process due to error: java.lang.IllegalStateException: Error during RETR epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 451 Transfer aborted. Broken pipe
    Conversion of file content to XML failed at position 0: sun.io.MalformedInputException
    Processing started
    this issue occur after we migrate the PI server from hpunix to aixunix.
    Best Regards,SARAN

    Hi,
    check the FCC parameters, fieldfixedlength option would be used when the exact length of field is constant in the Sender, In the FCC the fieldfixedlength parameter carries the length of the each.
    Check out Michal's blog on content conversion for all your doubts :The specified item was not found.
    Kindly check the below links for further assistance.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    regards,
    ganesh.

  • Text File is not picking with data

    Hi Experts,
    I am doing file to file scenario without IR as file will be generated by the ECC system and places in SAP FTP App Server.
    My job is to pick up the file and send it to the Third Party Application Server.
    But when i am picking up the Text file the data in the file is converting into special characters like below format.
    ÅÁÄÅÙ@ððððððâÖÕÄÅçöôðð@@@@@@òððùð÷ñ÷ðñ%@@@@@@@@@@@@@@òððùð÷ñ÷%ÄÅãÁÉÓ@ðððð
    I have tested with other Application server with same file its working fine, but when i send the file from SAP FTP Appl server the data is converting in the above format.
    Right now when i open file zilla it is opening with 3 FTP Appl Server in that suppose lets say the FTP are APP1, APP2, APP3.
    1.When i send the file from APP1 through Transport Protocol NFS System the file is picking up and  placing successfully in the Third Party APP3 App Server fiolder but the data in the file is converting into special charaters.
    2.when i send the same file from APP2 through Transport Protocal FTP the file is picking up and placing successfully in the third party APP3 App server and here the same data is coming in the text file, there is no data conversion.
    I am not getting here, when i send the file from APP1 the data is converting but when i send the same file from APP2 App srever the data is posting correctly.
    And also i can give you one more info.. if i try with puting the Transport Protocal as FTP in APP1 then i am getting error in sender comm channel as 'log on attempt by User JOHN rejected' : contact your FTP server vendor.
    But i think for sending the file from SAP Appl Server we can use TP as NFS rather than FTP.
    And also i can give one more info: The Version is the ECC system is using the 4.6c for which there is no compatability for unicodes.
    Can anyone please advise what would be the wrong.
    Appreciate your inputs
    Thanks,
    Bhaskar

    Hi,
    Reason because file is not picked up.
    >'log on attempt by User JOHN rejected' : contact your FTP server vendor.
    clearly user/password for this FTP server or system is not correct. Get correct userid/password for your Application server where you are trying to poll.
    >The Version is the ECC system is using the 4.6c for which there is no compatability for unicodes
    File transfer is nothing to unicode here.
    Regards,
    Gourav

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

  • File is not picking from the source location.

    Hi all,
    File is not picking from the source location. FTP is working properly and file is also placed in source location. I am new the XI, if anybody can give me the solution it would be really helpfull.
    Thanks to all.
    Korean

    Hi Majin,
      Check the folder path properly, check the file name( file name is case sensitive) you have given correct or not. See that your communication channel is active. Also check the cache status and check adapter status also by that you will come to know wht is the problem.
    Thanks,
    Ranjeeth.

  • File is not picking in delete mode.

    Hi All,
    I have created a file to BAPI scenario using content conversion parameters .
    my file is getting picked and successfull when i give processing mode to test and archive.
    It is failing if i give the processing mode to delete.
    Can you please suggest.
    Thanks in advance,
    Radhika.

    Hi Radhika,
    Please check the same Thread replies in the Morning which is raised By U
    File is not picking in delete mode.
    Regards
    Seshagiri

  • Files were not picked by channel

    Hi experts,
    Some files are not picked by communication channel , generally restarting the channel in channel monitoring is also not use full in this case.
    Communication channel is stating as green color and in adapter setting  archive path also correct , file name also matched with coming files from sender system..but files are not processed by channel and file adapter.
    we requested basis people to restart the services....
    why it happens some time....like this way..any specific reason behind this types errors..
    can some one proved description about this .

    Hi,
        1. Did you try stopping and starting the communication channel from runtime workbench--> adapter monitoring --> communication     cahnnel monitoring for your sender communication channel.
    Also you can give a try by inactivating and activating the file sender communication channel in ID.
        2. The File Service alone can be restarted from Visual Admin or Netweaver Administrator. It could be done in seconds.
                to start and stop the service in visual administration. Login into visual administrator --> system id --> services --> SAP XI Adapter File --> right click on it and you have stop and start options. Stop it from there and restart it.
            PI 7.1 AF Messaging System successful asynchronous message audit log persistence
         3.your communication channel might be locked and which needs to be unlocked. thatu2019s why it is showing polling but not actually picking any file..
    in your case also it might be the same case try to check that there is no communication channel locked. you may need to contact basis or PI administrator..
    if any lock .. remove the lock then stop and start your communication channel and it should work properly.
    regards,
    ganesh.

  • HT3275 Is it possible to delete older backups manually? I have tried and the files will not delete (Files remain in trash when emptied)

    Is it possible to delete older backups manually? I have tried and the files will not delete (Files remain in trash when emptied)
    I am Backing up to a Lacie HD 1tb.
    I also use the drive to store Current work on as well as my Time Machine Backup.
    Thanks!

    Read the following link to get a clearer idea on how to approach trash problems.
    Solving Trash Problems    and this is a link to download Trash it. 
    Download Trash It! for Mac

  • Sender File adapter_MessageTransformBean_File not picked up

    Hello SDN,
                   While simulating a jms testing scenario i am using a file adapter with MeassageTransformBean but my issue is that the file is not getting picked up from AL11.
    Here is my settings:-
    Number    Module Name                                       Module Type     Key
    1             AF_Modules/MessagesTransformBean         L                Plain2xml
    2             CallSapAdapter                                           L                   0
    Module Configuration:-
    MessageBody.fieldFixedLenghts               1,1,.......
    MessageBody.fieldNames                         AA,BB,CCC,....
    MessageHeader.fieldFixedLengths             9,2,2,8,8,7
    MessageHeader.fieldNames                       DD,EE,GG,HH....
    keyFieldName                                           XXXXX
    recordsetStructure                                     MessageHeader,1,MessageBody,*
    can anyone suggest why my file is not getting picked from AL11 ?
    Regards,
    Anirban.

    Hello Stefan/Aaron,
                               The file is read and i can see in cc monitor now.
    But i get the error that :-
    Transform: failed to configure the transformation object com.sap.aii.messaging.adapter.Conversion; com.sap.aii.messaging.adapter.trans.TransformException: Error initializing conversion routine: conversionType not set
    But in my module configuration i have given them as
    xml.conversionType  SimplePlain2XML
    Any ideas on it please.
    Regards,
    Anirban.

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

  • File Port Not Picking Up File

    Hello All,
    I'm trying to get a file sent from an external system to SAP. I created a file port. The inbound tab of the port has the full path of where the file will be after it's sent from the external system. The external system is a PC server and is sending the file to the folder no problem. However, the SAP file port is not picking up the file. This is an IDOC file I'm trying to send to SAP. In the file port I click "test connection" and I get a positive result showing "access is possible".
    I went into WE16 to manually bring the file in. I use the full path as in the file port plus the file name. I also enter the port name and try to execute. An error comes back saying "error opening file".
    In WE16 I use...
    <pc server>\directory\filename
    Any help as to why I can't get the file through the port or manually in WE16 would be greatly appreciated.
    Thank you.

    hi,
    have you seen below threads :
    Steps to create port in WE21?
    Steps for creating file port for inbound process!
    thanks,
    Edited by: bhavanisankar.solasu on Dec 21, 2011 6:02 AM

  • Sender File Adapter not picking up the file

    Hello Experts,
    I have configured a sender file (FTP) adapter. All the configurations are right. The name of the file is given exactly as it is. The processing mode is Delete.
    The scenario was running fine till today. I only made changes to the path from which it has to pick the file. I have checked the path numerously and it is correct.
    But the file is not being picked up.
    Monitoring the communication channel shows no errors. It has the green indicator. No idea what is happening.
    Please Help,
    Regards,
    Merrilly

    Hi
    try to make some changes anf then again save and cativte the adapter. may be the adapter is not being activated.
    also check whether the cache is refreshed or not.
    or u can also check in the communication channel monitoring the channel is start or stop. if stop then start the channel and then try again.
    if u still face the problem please reply me back.
    Thanks
    Rinku

  • 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

  • JMS Adapter not picking file in PI7.0

    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. ports and protocals are correct.
    I checked all parameters of JMS Adapter. no mistake in parameters. What is the problem. Please suggest as soon as possible.
    Thanks
    venkat

    Hi San ,
    Please checke the status of JMS communication channel. In Runtime work bench , U will get the adapter monitoring there if any activity happens it shows the event details .
    I hope picking the file is initial event so you can get some idea with those event log for Communication channel .
    Cheers,
    Reddy

Maybe you are looking for