JDBC Sender Communication channel stop working

Hi all,
I'm facing with a strange problem: I have a db to db scenario (SQL server to Oracle) that has been tested and that was working properly.
But when we started again our tests after some days, without doing any change, the flow didn't start anymore. The problem is in the sender jdbc communication channel:
creating it again with a NEW NAME, and changing the configuration the flow starts again. I try to explain the checks that I did:
- from the runtime workbench the adapter looks ok: green and making polling to the db (obviously without select any record even if we were sure that the select condition was satisfied by some records).
- I tried to simulate some changes re-activating the communication channel.
- clear cache
Nothing was working,the only solution was to re-create the cc with a new name (deleting the old one and creating a new one with the same name is not working as well). But we cannot consider this solution in a production system.
I have several scenarios like this and this problem happened three times in some months and every time with the jdbc sender from SQL server (never with the sender from Oracle).
There is someone that has any suggestion?
Thanks in advance,
Luciana Agostini

Hi Luciana,
There is nothing that you could do in PI that could help because most of the places where there could be a problem like cache or with adapter statuses you have already looked into . For the sake of a second opinion see what prateek srivastava has to say.
Basically a n/w connection problem or at the SQL db level.
Rgds
joel

Similar Messages

  • File sender communication channel stop working

    Hi Guru,
    I have a file sender communication channel. It usually works good. But sometimes it just stop working. And In RWB, it shows no error. If I stop it and restart it in RWB, it immediately works again. This happens once a while. Any ideas?
    Thanks,
    Meiying

    Hi,
    option 1--
    Do some dummy changes and activate channel and try and perform cache refresh.
    If still not working then  stop and restart SFTP service,if still no luck then restart JAVA stack
    option 2
    try to put timeout value in the channel.
    Regards.
    Mastan

  • JDBC Sender Communication Channel Problem

    Hello everybody,
    I have a sender communication channel, it is with green Functioning status in channel monitor in runtime workbench, and the log says "Process started" for every pool as configured, but it doesn't return any data to XI, and there's data to be taken, the problem started a few hours cause it was working fine, I've already executed a Complete refresh cache in SXI_CACHE, and changed the channel from Active to Inactive in ID, and Stopped and Started it again in RW, it doesn't give any errors, but it doesn't bring back any data that should be, any suggestions or maybe any information on how to refresh totally those channels????, thanks in advance.
    Regard's
    Paul

    Hi Paul
    Check for JDBC adapter locks. cpa cache locks are not relevant to your problem.
    Moreover check with the visual admin logs as well. if you can get info about the issue you have
    Thanks
    Gaurav

  • Sender communication channel stopped after error "Connection Timed Out"

    Hi experts,
    in our scenario we have an asyncronous sender communication channel with polling every 6 seconds to an external FTP server.
    Yesterday evening a "Connection Timed Out" error came.
    After this error the polling stopped but channel in communication channel monitoring still remains green.
    So status green but no polling.
    To solve this problem we stopped and then restarted channel from CC monitoring.
    The channel is configured "manually".
    The question is: Is it possible to avoid this problem? Maybe there's a parameter in configuration to set?
    After a time out error the channel must go on polling, it should not stop. Or it must shows red status.
    Thanks
    Fabio Boni

    HI,
    I think PI level is "SAP J2EE Engine 7.00 PatchLevel 109886.44"
    Thanks
    Fabio

  • Update query not working in the JDBC sender Communication channel

    Hi,
    We are working on JDBC to File scenario. As per the configuration, XI should pick the data from SQL database every 20 secs and should update the corresponding flag. We are using subquery in the select and update statement as both header and detail tables are involved.
    Now the issue is, select query is working fine but update statement is not working as expected. It is somehow updating some other records rather than doing for the ones selected by the adapter.
    Moreover logSQLstatement is also not working. Hence we are unable to identify the records which are getting updated.
    Please advise.

    Hi Rumi,
    See Question 8. Transaction Handling (Sender) in [SAP Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=831162].
    8.  Transaction Handling (Sender)
    Q: If I have the following configured in a JDBC Sender:
    Select Query:
    SELECT column FROM TABLENAME WHERE FLAG = "TRUE"
    Update Query:
    UPDATE TABLENAME SET FLAG = "FALSE" WHERE FLAG = "TRUE"
    How do I know that the JDBC adapter will not update newly added rows (rows that were
    added between the time that the SELECT and UPDATE queries were executed) that were
    not read in the initial SELECT query?
    A: The SELECT and the UPDATE are run in the same DB transaction, i.e. both statements
    have the same view on the database.
    Make sure that both statements use the same WHERE clause. An additional
    requirement for the correct operation of this scenario is the configuration of
    an appropriate transaction isolation level on the database
    (i.e., repeatable_read or serializable). You might also consider using a
    "SELECT FOR UPDATE" statement instead of a plain SELECT statement to
    ensure proper locking on the database. "SELECT FOR UPDATE"
    is not supported in MS SQL database. In this case please make use of an
    appropriate transaction isolation level on the database. For more details
    please contact your DB vendors.
    After, see Transaction Handling Issues in [SAP Note 1039779 - JDBC Adapter issues(Escape character,Transaction handling)|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1039779].
    Best Regards.
    Pedro Baroni

  • JDBC Sender Communication Channel Error

    Hi,
    We are facing the below error in Sender JDBC communication channels:
    The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]No ResultSet set was produced.'
    We are getting this error in channels which are using stored procedures but not in channels using direct sql query statements.
    The database is not having any data currently.
    So is the above error because of no data or some other issue?
    Any ideas?
    I have searched the sdn but didnt find anything appropriate.so posting a new thread.
    Thanks,
    Anu.

    Can you try again after filling in few records in the DB? I am suspecting the way SP has been written ... check if it is required to return value from SP?

  • File Sender Communication Channel not working

    Hi All,
    We have one file sender channel which sends file after every 3 hours.
    But currently it has stopped the processing of file.
    If we see in RWB it shows that "Correctly configured and started",but if we start and stop the chanel it doesnt show any processing started message.
    File is there in the folder but the channel doesnt poll the folder to pick up the file.
    We have refreshed the cache and activated the channel again.
    But still no luck,does anybody have any idea?

    Hi Shweta,
    Please check the parameters of your File adapter. There can be following  possibility if File adapter is not picking the file :
    1. File adapter is not active
    2. Incorrect File name, Directory name or path,
    3. File does not exist in the source directory.
    4. If you are accessing file from other server (use FTP protocol) check you have READ and WRITE access.
    Thanks
    Farooq.
    <b>*Rewards points if you find it useful*</b>

  • Sender Communication Channel Error

    Hi all,
    iam working on JDBC scenario.For this iam using party and business service.
    iam getting following error at jdbc sender communication channel.
    Error occurred while sending message: com.sap.aii.af.ra.ms.api.ConfigException: SLDAccess set to true, but not available.
    Erlier it worked fine.But now iam getting this problem.
    We are having some other channels which r working fine.
    any ideas......?
    Thanks,
    Sreedhar Goud.

    1. If you know the user, who having admin rights;
    1.Open the VA tool; ex: C:\usr\sap\X67\JC01\j2ee\admin --> click on "go.bat"
    2. Click on "New" button ( this is on Logon Dialog box)
    3. Enter "Display name"; and select "Direct Connection To a Dispatcher Node".
    4. Say "Next"
    5. Enter "User Name","Host" and "Port" and Save the data.
    6. Select User and click on "Connect"
    2. Did you forget the J2EE_ADMIN password? Just follow below steps:
    Just follow below steps:
    1.Start the Config Tool C:\usr\sap\<SID>\<engine-instance>\j2ee\configtool\configtool.bat
    Ex: D:\usr\sap\F02\JC00\j2ee\configtool --> configtool.bat
    2. "Switch to configuration mode" for that Click on "Pencil" icon;
    3. Click on "Pencil" icon means "Swith to Configuration Edit mode" then say "YES"
    4. cluster_data --> server --> cfg --> services -->
    click on "Propertysheet com.sap.security.core.ume.service
    select properties:
    ume.superadmin.activated = True
    ume.superadmin.password = <enter password >
    then say "OK"
    Click on "Pencial ICON.
    5. Save & restart Java Engine.
    Login with "Administrator"
    1. http://<host>:<Port>/useradmin/index.jsp
    2. Enter userid / Password as "Administrator / <password>
    3. it will ask change password just change it.
    Please follow steps one by one. it should resolve your issue.

  • Files not getting picked up using Sender Communication Channel frm MDM sy

    Hi Experts,
    XI sender communication channel is configured to pick up any files coming from MDM system from the following path
    /XXX/XXX/mdm/mds/XXX/XXX/Material_Master/Outbound/P33/P33_R3_PORT/Ready
    Earlier we had the scenario working properly that created idocs in R3 system.(MDM>XI>R3)
    Currently i tried to test the scenario again but i don't see an entry in the sxmb_moni or tried checking whether the sender communication channel is working properly it showed polling correctly in RWB.The files are already sitting in the the above path.XI should be picking it up but don't know what the problem is?
    I also tried a test in RWB>Integration Engine>Test Message  put the payload and it was able to create idocs in R3.So i concluded there is an error in picking up message from MDM.
    Is there any log available for the commmunication channel where i can see error info of whether any files picked up or not.
    Please suggest me what all can be done to to ensure the CC is picking up the files.
    Earlier responses highly appreciated.
    B'Rgds,
    Sudhansu

    Hi,
    In addition to the RWB channel check suggested by Aamir, you should also check if the channel is
    1) Active in ID
    2) Channel is not locked in VA, if it is locked then your status in RWB will show processing started but the files wont be picked up...for more details check the unlocking procedure mentioned in this thread:
    JDBC Sender Adapter -  NOT FETCHING RECORDS -PROCESSING STARTED
    The unlocking procedure is the same for FILE and JDBC....
    Regards,
    Abhishek.

  • Adapter Module not working in Sender Communication Channel working in recie

    Hi
    I have written one adapter module. IF i give that Adapter Module in Sender Communication channel its not working. If i give that in Reciever Communication Channel its working. If i mention in both the channels then its working in sender communication channel also.But in only sender communication channel its not working in only reciever communication channel its working Can any one tell me why its happening
    Thanks & Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    hi
    if its problem with my code why its working if i give the adapter module in both the communication channels?If i give in only sender communication channel the module is not invoking. its not showing any auditlogs.Can any one please help me
    OUTBOUND is for sender
    INBOUND is for reciever right.?
    the following code i have written
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              String SIGNATURE =
                   "process(ModuleContext moduleContext, ModuleData inputModuleData)";
              Object obj = null;
              Message msg = null;
              String filename = null;
              AuditMessageKey amk = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   System.out.println("&&&&&&&&&&&&&&&&&" + msg);
                   if (msg.getMessageDirection().equals(MessageDirection.OUTBOUND)){
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.OUTBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   }else{
                        File filename1 = new File("
    10.7.1.43
    XI
    source","text.txt");
                        filename1.createNewFile();
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   System.out.println("**************" + amk + "***********");
              } catch (Exception e) {
                   Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> GetHostName: Error Module called");
                   e.printStackTrace(System.err);
                   ModuleException me = new ModuleException(e);
                   throw me;
              // Read the channel ID, channel and the module configuration
              try {
                   Hashtable mp = (Hashtable)inputModuleData.getSupplementalData("module.parameters");
                   if(mp != null){
                        filename = (String)mp.get("FileName");
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"Host >>>  Element Name is set to {0}"+filename );
                   }else{               
                        Audit.addAuditLogEntry(amk,AuditLogStatus.WARNING,"HostElementName parameter is not set. Default used: HostName.");
                        filename = "FileName";
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              try {
                   XMLPayload xmlpayload = msg.getDocument();
                   DocumentBuilderFactory factory;
                   factory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   Document document =
                        builder.parse((InputStream) xmlpayload.getInputStream());
                   Element rootNode = document.getDocumentElement();
                   if (rootNode != null) {
                        Element childElement = document.createElement("filename");
                        childElement.appendChild(document.createTextNode(filename));
                        rootNode.appendChild(childElement);
                   // Transforming the DOM object to Stream object.
                   TransformerFactory tfactory = TransformerFactory.newInstance();
                   Transformer transformer = tfactory.newTransformer();
                   Source src = new DOMSource(document);
                   ByteArrayOutputStream myBytes = new ByteArrayOutputStream();
                   Result dest = new StreamResult(myBytes);
                   transformer.transform(src, dest);
                   byte[] docContent = myBytes.toByteArray();
                   if (docContent != null) {
                        xmlpayload.setContent(docContent);
                        inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              return inputModuleData;
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

  • File sender Communication Channel is not working

    Hi friends
    we  Created File sender Communication Channel and Activated but It is not picking up file
    1.  0 messages in Message Monitoring
    2. My Communication Channel not appearing in Communication Channel Monitoring also
    3. We have refreshed the cache and activated the channel.
    we chack with File name, Directory name and  path ....
    Friends have any idea
    Regards
       Viswanadh Vadde

    Perosnally, I would recommend setting a trace and letting the system telling you exactly why.
    Traces are used to analyze runtime errors.  By setting a specific trace level for specific locations, you can analyze the behavior of individual code segments at class and method level.  This is done with the help of the log configurator service:
    Log onto the Java Admin Console
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
    &#61680;     Root Location > com > sap > aii > File
    &#61680;     Set the severity and choose Copy Severity to Subtree

  • How to execute data base view in sender communication channel  ?

    hi experts
    how execute data base view in sender communication channel.?
    when i execute select * from data base . ( Its working)
    When i execute select * from dbo.view (its showing error )
    My Question is there any procedure or syntax execute the views in sender side . ?
    Thanks and Regards
    G.Praveen Kumar

    The Error showing
    Database-level error reported by JDBC driver while executing statement 'select * from  View_abcMap'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'View_abcMap'.'. For details, contact your database server vendor

  • BIC Module Error in Sender Communication channel for EDI to File scenario.

    Hi Experts,
    We are working on the EDI based scenarion where EDI files come to SAP PI from partner and then through Split 997 Adapter Func Ack is sent back to the Partner . But we are facing a issue in our sender Communication Channel which is a File Adapter Channel and uses BIC Module for the conversion of EDI to XML .Request if any one can provide any guidance on the below issue coming in sender CC.
    Error: Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: 2 errors occured. First error: EdiSegmentData read(): Edifact Format not correct : segment must end with \"segment delimiter\" (Segment : ISA). DESCRIPTION: EdiSegmentData Error: Your Edifact Format is incorrect the segment must end with \"segment delimiter\". check segment [not specified]. Last error: InhouseDocReader moveNext(): com.seeburger.jucon.dochandler.AnsiX12DocReader, offset[92(read Segment : ISA)]: could not parse segment (wrong format): EdiSegmentData: Edifact Format not correct : segment must end with "segment delimiter" (Segment : ISA) DESCRIPTION: InhouseDocReader Error: [not specified] at position [not specified] could not parse the segment [not specified] Error while reading description - wrong format.
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Is there any special character present in the EDI file?
    the parser is not able to parse the data.
    you can check the BIC conversion log for more information.
    Regards,
    Harish

  • Regarding the JDBC Receiver Communication Channel error

    Hi All,
    While executing Jdbc to Jdbc interface, i am getting error in jdbc receiver communication channel. please see below message for error description..
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel 'JDBC_AccntStatements_Receiver', Service 'BS_BusinessSystem', Party '': JDBC Adapter configuration not activated
    Note: the channel status is active and activated(not in change mode).
    Any idea on this error.
    thanks,
    Madhusudhan.

    Hi
    According to your Error Message,
    Saying that JDBC Configuration is not Active.
    Once again cross check all the config is Activated & also Test your Config Using Config Test Tool in ID
    And also check in RWB-Adapter Engine-Adapter monitoring ---select the option instaled & Started. whether the JDBC Adapter is working fine or not

  • Error in Mail Sender communicational channel

    Hello!
    We have an XI scenario, which should take emails from the mail server and transfer them to SAP. For this purpose the configuration channel has been configured with the following params:
    Transport protocol: IMAP:
    Message protocol: XIPAYLOAD
    Configure user authentification: checked.
    This channel stopped working about two weeks ago after a kernal patch (notes 1436917, 1441654, 1424397 and 1443925). The error is the following:
    exception caught during processing mail message [44]java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    Application log gives only this information:
    1.5 #16F1003D6202007C00003680001470F4000484907936C6A6#1271655950632#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK##com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl.invoke()#J2EE_GUEST#0##bxp45ci_BXP_505494050##91fa4cf04b6e11dfae4616f1003d6202#XI Mail[Mail_Sender_MailFIBeleg/S36_SECURITAS/]_800280##0#0#Error#1#com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl#Plain###exception caught during processing mail message; java.io.IOException: unexpected list response;
    I don't have an access to the Adminiatraion Viewr by now and can't activate any other traces. What is the most interesting - the error is occured only for definite sender, if the email is sent from another address, the processing works without errors.
    Do you have any suppositions why could it be so and where should we search the reason of problem?
    Your help will be very appreciated.

    Dear Bond,
    Please follow the below useful doc:
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario
    Thanks,
    Satya Kumar

Maybe you are looking for