MalformedInputException Error in Adapter module for SFTP channel

Dear All,
I am using MessageTransformBean in adapter module for Plain to XML conversion. The channel works fine in all the cases but when I recieve     "  ì " or few more special characters in the file my channel does not pick file and show below error.
Error: com.aedaptive.adapter.sftp.SFTPException : Aborting processing: com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
I am using below parameter value in adapter module.
Transform.Class : com.sap.aii.messaging.adapter.Conversion
Transform.ContentType : text/xml;charset=ISO-8859-1
Please help me if any of you have faces such error in your developments.
Avanish

Hi Grzegorg,
I have tried using UTF-8 encoding in my channel but this doesn't work. Communication cahnnel is still giving same problem.
Error: com.aedaptive.adapter.sftp.SFTPException : Aborting processing: com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
The file which we are trying to process have character  Ì and as far as my serach is concerned i think this belongs to charset ISO-8859-1.
Any more suggestion Guys to solve this problem.
Thanks and Regards
Avanish

Similar Messages

  • Need Help in Creating adapter module for SFTP Sender in NWDS

    Hi experts,
    I have a scenario where i should write an adapter module for SFTP sender in NWDS.. need your help in achieving this..

    Hello,
    >>i have followed the procedure of FTP but, adapter is not picking the file
    Make sure u have written proper expression to pick file.
    >>do we have any different adapter parameters for SFTP... the input file is .csv..
    I don't think there are any specific parameters needed for SFTP (but in case u are reading file name in AM then u might have to adjust SFTP namespace)
    Thanks
    Amit Srivastava

  • Regd. Error in Adapter module for IDOCxml to flat file conversion

    Hi Champs!
    I am using PI 7.1 and i am trying out the blog for direct conversion of IDOC xml to flat file and vice versa.
    /people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats
    has anyone tried this in Pi7.1
    i am getting the following error:
    Message processing failed.
    Cause: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException:
    Path to object does not exist at SAP_XI_IDOC, the whole lookup
    name is localejbs/SAP_XI_IDOC/IDOCFlatToXmlConvertor.
    I have done all the setting required .. as per the blog.Is it srictly for PI7.11?
    Regards,
    Abhi

    Hi Abhi,
    This feature is a part of PI 7.11  new features , as it is mentioned in the begining of the Blog itself.
    So i feel , yes its strictly PI7.11 feature which may not be available in PI7.1 version which you are using currently.
    There may be workarounds...lets c  fellow SDNer's replys:)...
    Regards,
    Srinivas

  • No adapter registered for this channel (JDBC)

    Hi guys!
    I want to create a JDBC adapter, but when I check it in the CC monitoring, I get following "error" No adapter registered for this channel. What is missing in this installation? Or, what is wrong?
    Thank you!
    Olain

    Hi guys!
    version Service pack:10 Release: NW04S
    Sarvesh, I don't know, what's done, cos' these thing are done by our basis team. But all adapter metadata seem to be there, cos' I'm able to create JDBC channel.
    But in Adapter monitoring I can't select JDBC while others I can.
    If I switch the combobox (Adapter monitoring) to "Only installed and started adapters", JDBC disappears.
    But why are then metadata of JDBC visible? Why I am able to create communication channel of JDBC type?
    So, what to do now to make JDBC work?
    Thank you!
    Olian

  • Adapter Module for File Adapter

    I have a scenario where I have 2 related files (text file and a pdf file) for the message. I need to enhance the payload (content conversion from text file) with the size of the pdf file. I have developed a adapter module for this and it is working fine if there is 1 set of text and pdf file. But if there are more than 1 set of files, it is processing the first set and giving the below error for other files.
    "Error: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback."
    Regards
    Yogesh

    check this thread :
    BaseTransactionRolledbackLocalException in custom adapter module
    Exceptions in Recievr Communication Channel with Adapter Module

  • Communication channel not working -- No Adapter Registered for this channel

    Hi Experts,
    I see the status of one of my Communication Channels (In RWB Communication Channel Monitoring) as
    "No Adapter Registered for this channel".
    I saw one of the threads related to this but could not fins a suitable reason for it as our issue seems to be different here.
    We have recently deployed the SFTP adapter and PI team is testing this communication channel and they got this error.
    I checked and found that SFTP adapter (in the JAVA EE applications) was not working and when I tried to start ,its giving error
    failed to start.
    additional status message as
    Status Details: Cannot load class "com.advantco.pi.af.adapter.sftp.SPIManagedConnectionFactory". Possible reasons: 1) class file cannot be found in the JARs located in the RAR file,
    2) class file cannot be found in referenced loaders,
    3) failed to initialize some static block(due to unhandled exception),
    4) failed to load or there is incompatibility with some native parts, or
    5) cannot load a class related to it, due to some reasons above.
    Could you guys suggest from where exactly is it trying to pick up the files.
    is it u201Cu2026/j2ee/cluster/apps/xxxxxxx/SFTP Adapteru201D  ????
    Can anyone suggest the possible reasons and the root cause of it
    Regards,
    Yogi

    Hi Yogi,
    i am glad you solved the problem.
    If you have any issue with the Advantco SFTP adapter, best is to send an email to "support at advantco.com" directly.
    Peter Ha * SAP NetWeaver PI Architect * Advantco International LLC
    www.advantco.com

  • Parameter name in module configuration of adapter module in comm channel

    Hi Experts,
    I have developed an adapter module to read a excel file , have used the module in the sender file adapter.
    What entrie should i put in parameter name and parameter value  in module configuration of adapter module in comm channel.
    Im too confused,,pls help

    Hi Ivan,
    The code is basically to read the all colums add em under xml tags and read from second row on wards the data
    please find below the module data code
    public ModuleData process(ModuleContext mc, ModuleData imd)throws ModuleException
                             Object obj = null;
                             Message msg = null;
                             MessageKey amk = null ;
                        amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
                        Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"Module called");
                        try {
                                  obj = imd.getPrincipalData();
                                  msg = (Message) obj;
                                  XMLPayload xp = msg.getDocument();
                                  if (xp != null)
                                        byte by[] = convert(xp.getContent());
                                             xp.setContent(by);
                                       imd.setPrincipalData(msg);
                              catch (Exception e)
                    return imd;
                   public byte[] convert(byte src[]) throws Exception
                        String xmldata = "";
                   try
                             ByteArrayInputStream byteArr = new ByteArrayInputStream(src);
                             Workbook w = Workbook.getWorkbook(byteArr);
                             xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:""MT_ExcelFiles"" ""xmlns:ns0=\"""urn:xyz:abc"+"\"> \n";
                               int a = w.getSheet(0).getRows();
                               int b = w.getSheet(0).getColumns();
                        for(int j=1;j<a;j++)
                                   for(int i=0;i<b;i++)
                                                  xmldata = xmldata + "<"w.getSheet(0).getCell(i,0).getContents().toString()">"w.getSheet(0).getCell(i,j).getContents().toString()"</"w.getSheet(0).getCell(i,0).getContents().toString()">";
                        xmldata = xmldata"</ns0:""MT_ExcelFiles"+">";
                        w.close();
              catch (Exception e)
           return xmldata.getBytes();

  • SOAP channels in rwb showing error "No Adapters registered for this channel

    SOAP channels in rwb is showing error "No Adapters registered for this channel",
    what is the problem?
    i tried to locate and restart the SOAP adapter from Visual admin, but couldnt find it in visual admin, pls help in locating it in visual admin

    Hi,
    In Visual Admin, Cluster tab --> Server -> Services -> Deploy --> Radiobutton Application
    --> sap.com/com.sap.aii.af.soapadapter --> Press start / stop
    This way youmay restart the SOAP adapter.
    Also Please check if there is any cahce problem, Try to refresh it. & SAP Note- 856597
    Thanks
    Swarup

  • SOAP : No adapter registered for this channel

    hello everybody,
    i'm working with a PI 7.1
    i have a interface RFC - PI - SOAP.
    when i look on Communication Channel Monitor i see this error on my soap CC
    No adapter registered for this channel
    i restart J2ee and applicate CPA cache refresh.
    i tryed to create a new soap cc but no result. still to have this problem.
    Any suggestion?
    thanks
    Alex

    HI Alex,
    Edit the channel and do some dummy changes and activate again. also go to  ID -> Menu Environment -> Clear SLD Data Cache. Also check the cache notifications.
    Then perform CPACache refresh using PIDIRUSER and this url.
    http://XIHost:JavaPort/CPACache/refresh?mode=delta
    http://XIHost:JavaPort/CPACache/refresh?mode=full
    If this does not work then you may check Visual Admin -> Soap Adapter service and restart it....
    Thanks,
    Naveen

  • RWB - No adapter registered for this channel (JDBC)

    Hi Experts,
    All my JDBC communication channels have the following log in RWB:
    No adapter registered for this channel
    When executing an interface, SXMB_MONI shows:
    Object not found in lookup of SapXIJDBCAdapterService
    We have aready performed a CPACache refresh as mentioned on another threads but the problem persists.
    I performed dummy changes in the CC and even created a new one but the log still remains the same.
    Please advise what else can be done to solve the issue. We are using PI 7.1.
    Regards,
    Daniela

    Hello,
    Try checking in the Netweaver Administrator if the JDBC service is running?                                               
    There is also a dependency of modules in between the SapXIJDBCAdapterService and SapXIFileAdapterService. Please check that the File Adapter service is started also.      
    Regards,
    Sarah

  • No Adapter Registered for this channel

    Hi,
    I see the status of one of my Communication Channels (In RWB Mail Communication Channel Monitoring) as
    "No Adapter Registered for this channel". Below is the error log.
    com.sap.aii.af.service.administration.api.AdminException: No adapter registered for channel 3ee106ca190c3e259e9d8c203a602fee
    at com.sap.aii.af.service.administration.impl.AdminManagerImpl.notifyChannelActivationStateChanged(AdminManagerImpl.java:851)
    at com.sap.aii.af.service.administration.impl.cluster.ClusterManager.eventReceivedSync(ClusterManager.java:426)
    at com.sap.aii.af.service.event.impl.worker.sync.SyncLocalWorker.work(SyncLocalWorker.java:52)
    at com.sap.aii.af.service.event.impl.worker.sync.AbstractSyncWorker.startWork(AbstractSyncWorker.java:40)
    at com.sap.aii.af.service.event.impl.EventManagerImpl.sendEventAndWaitForAnswer(EventManagerImpl.java:484)
    at com.sap.aii.af.service.event.impl.EventManagerImpl.sendEventAndWaitForAnswer(EventManagerImpl.java:348)
    at com.sap.aii.af.service.administration.impl.cluster.ClusterManager.notifyChannelActivationStateChanged(ClusterManager.java:280)
    at com.sap.aii.af.service.administration.impl.AdminManagerImpl.setChannelActivationState(AdminManagerImpl.java:699)
    at com.sap.aii.af.service.administration.impl.AdminManagerImpl.setChannelActivationState(AdminManagerImpl.java:625)
    at com.sap.aii.af.service.administration.impl.AdminManagerImpl.setChannelActivationState(AdminManagerImpl.java:618)
    at com.sap.aii.mdt.amt.channelmonitoring.SummaryChannelList.setChannelsActivationState(SummaryChannelList.java:1041)
    at com.sap.aii.mdt.amt.channelmonitoring.ChannelMonitoringDynPage.process_activate(ChannelMonitoringDynPage.java:1621)
    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:585)
    at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:102)
    at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
    at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Thanks
    Vijaya

    Hi,
    First check if you have imported the ESR content according to the note below (Apply the one
    that corresponds to your XI/PI version:
    PI 7.1X:
    #1152640 - SAP NetWeaver 7.1 including EHP 1: Importing ESR content
    XI 7.0:
    #836200 - SAP NetWeaver 7.0: Importing Process Integration Content
    XI 3.0:
    #705541 - XI 3.0 (SP1 and higher): Importing XI Content
    You can check the components in your SLD for the correct associations.
    Also, if not solved, please clarify which adapter are you using for that (JMS, JDBC, ...).
    Regards,
    Caio Cagnani

  • Adapter Module for SOAP Sender

    Hi,
    Any alternative way to create adapter module for soap sender?
    Regards,
    Farooq

    But I just trying to know weather it will work for simple soap or not.
    Unfortunately it wont work for the normal SOAP protocol.
    Let me try my luck.
    If you are successful, then I would waiting for a blog
    Regards,
    Abhishek.

  • Adapter Module for receiver IDOC adapter?

    Hi,
    I have a scenario where i need to do some custom logging in the receiver adapters. For all receiver file adapters, i have written an adapter module which fulfills this custom requirement but how will i do this in the receiver IDOC adapter as its on the ABAP stack? I cannot write a java adapter module for this.
    Is there anyway by which i can write a ABAP adapter mosule and deploy it in the IDOC adapter? Or any other way to achive it. the scenario is such that i need to do the logging before the idoc is posted into R/3 system by the idoc adapter.
    Please advice.
    Regards,
    Yash

    Hi Chirag,
    Yes i have seen that the module tab is disabled for idoc adapter. I have a fin interface where i need to split a incoming file into an idoc and a file. For this purpose i need to log how many records are received by each adapter and the sum of the line items for audit perspose.
    any othr way to do it apart from doing it in message mapping. The req is to do in the adapter engine.

  • SuccessFactors adapter "No adapter registered for this channel" issue

    Hi Experts,
    Scenario - SAP PO 7.4
    Success Factor -> (SFSF Adaptor) PO (File Adaptor) -> File Share on PO server (Folder Name: SFSF/SFReceiver)
    I am getting "No adapter registered for this channel" in the communication channel monitor.
    Appreciate your help.
    Srinu

    Hi Srinivasulu,
    Please can you go to NWA and have a look under Application Resources: Overview.
    Search for the SuccessFactors adapter and make sure that the status on it is green.
    This will always tell you if it was installed successfully.
    Regards,
    Jannus Botha

  • No adapter registered for this channel FOR JDBC COMM CHANNEL

    Hi Friends,
    We installed JDBC driver(for Oracle) and it works correctly from Visual Administrator.
    We have created comm channel 'jdbc_receiver'.
    However, when we check in "Adapter Monitoring", it is not active (Green color) and short text says 'No adapter registered for this channel'. Where should we look further to resolve the issue ? How do we test this comm channel from XI box ?
    Thanks.
    Niranjan

    Hi Niranjan,
    How you solved the problem?
    I have deployed JDBC driver (sqljdbc4.jar) according tohttp://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?QuickLink=index&… .
    Driver deployed successfully and I have checked it in folder \usr\sap\xxx\DVEBMGS30\j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib and it's found ok. But this adapter type  not showing in Communication Channel only RFC and SOAP are showing there. I have restarted the server also.

Maybe you are looking for

  • Macbook Pro dark screen after disconnecting from Cinema Display

    Dear all, the issue I am having: - after disconnecting from Cinema display (having first put my Macbook Pro in "sleep" mode) I just ca't make the Macbook pro scren show anything....black display - but is it really asleep? NO!!! It just STILL believes

  • I keep getting "iTunes was not installed correctly please reinstall iTunes.Error 7 (Windows error 193)  Please help me fix.

    After atempting to update to iTunes 11.something (.3 or .4 which I had been avoiding because of past experiences) I get this message when  I try & open iTuunes.  ITunes was not installed correctly please reinstall iTunes. Error 7 (Windows error 193).

  • Query takes long time to execute.

    Hi All, I have one query that takes 5 minutes to execute. The query depends on four tables. The table IBS_WORK_BANKDATA and IBS_ORG_BANKDATA contains 25 lack records. Table IBS_CURRENCYMASTER have 250 records and IBS_CURRENCYEEXCHANGERATE have 50 rec

  • PR form R3 to SRM - ANORETRY

    Dear all, We are trying to transfer an indirect PR form R3 to SRM, using BBP_EXTREQ_TRANSFER report. We an entry in table eprtrans. After we run the report, we check in trx. SMQ1 (in R/3) but the qRFC has an error: ANORETRY. We have read all the topi

  • Putting text on top of image

    I'm sure I've done this before but I just can't remember how. What I want to do is have an image with text over the top of it. However, the image can not be a background image because it needs to print. How do I do this?