JDBC Adapter caching details

Hi,
We have a JDBC receiver which is configured to use a DNS alias. This is supposed to mean that if the receiver application site switches we don't have to re-configure the JDBC adapter.
The application site switched but the JDBC adapter didn't pick up the new DNS resolution. This appears to be a SAP problem as pinging the DNS alias from the server itself worked.
Is there any way to force the JDBC adapter to refresh the DNS alias?
We are using PI7.0 SP9
Thanks,
Gareth

This might be due to the DNS cashing at JVM. You might need to restart the java engine. Have a look at the below blog for a permanent solution.
/people/dagfinn.parnas/blog/2005/06/20/controlling-dns-caching-in-the-java-virtual-machine-ie-j2ee-was
Regards
TK

Similar Messages

  • JDBC Adapter Connection Issue

    Hi Experts,
    The scenario is file to JDBC, the messages are getting failed in XI MDT with the following error "JDBC Message processing failed ,reason when attempting to get processing resources: com.sap.aii.af.service.utill.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL<JDBC Connection details maintained in CC>: SQLException: Io exception: The Network Adapter could not establish the connection".
    We got this error after changing the IP addreass of the Oralce system. we did maintained in all the communication channels with new IP Address, previously the data is updating to the Oralce table with old IP addreass.
    IP address is also maintained in XI Host file. We are able to ping the Oralce from XI with new IP.
    Can any body suggest how to rectify the issue.
    Thanks in Advance
    Bhaskar

    Hi,
    have you checked cache status. It is possbile that the change hasn't been applied yet. That would explain, why the database can't be reached.
    Stop/Start of communication channel might also help. Sometimes it si necessary to restart the whole JDBC Adapter.
    If all this fails, you should get yourself a free copy of DBVisualizer, use the same database driver as is installed on PI, provide credentials and try to reach database. Might also be a driver issue.
    Regards
    Sven

  • JDBC Adapter not active

    Dear All,
    In Adapter Monitoring, i am not able to see the JDBC adapter in the Onlly Installed and Started Adapters, but i am able to see the JDBC Adapter in the All Adapters.
    When i tried to restart the JDBC adapter service in the Visual Administration, there it not giving option for either stopping or starting the JDBC adapter.
    DefaultTrace log is as shown below.
    #1.5 #0018FE28105C00710000101400002D7A0004554CA8859398#1219687640044#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##4065565072d011dd95800018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@483756c4_185020##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver::|Interface:mi_vendor:http://file2idoc|MsgID:null#3#http://sap.com/xi/XI/System#File#39b1b7a3830a32978c0ebde7d7b6a672#
    #1.5 #0018FE28105C005900000F8200002D7A0004554CA8D15AE3#1219687645010#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.invoke()#J2EE_GUEST#0##n/a##32b5c44072d011ddcbc00018fe28105c#XI File2XI[CC_File_Sender_to_ABAP/BS_File_Sender/]_185029##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Channel CC_File_Sender_to_ABAP: No suitable sender agreement found#
    #1.5 #0018FE28105C005800000F4900002D7A0004554CA8D16217#1219687645012#com.sap.aii.af.service.alerting.Connection##com.sap.aii.af.service.alerting.Connection.newJcoClientForCentralMonitoringServer()#J2EE_GUEST#0##n/a##8cafa8c072cc11ddbc6f0018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@3f72187f_185030##0#0#Error##Plain###Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=srpidev.srhouse.com SYSNR=00 GWHOST=srpidev.srhouse.com GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       hostname 'srpidev.srhouse.com' unknown
    TIME        Mon Aug 25 23:37:25 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -2
    MODULE      nixxhsl.cpp
    LINE        223
    DETAIL      NiHsLGetNodeAddr: hostname cached as unknown
    COUNTER     959
    #1.5 #0018FE28105C005800000F4A00002D7A0004554CA8D16B2D#1219687645014#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##8cafa8c072cc11ddbc6f0018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@3f72187f_185030##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver:null:null|Interface:null:null|MsgID:null#3#http://sap.com/xi/XI/System#File#e07325c431493887a7288ca7bb4c0318#
    #1.5 #0018FE28105C005400000F1500002D7A0004554CA8E111AE#1219687646040#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.invoke()#J2EE_GUEST#0##n/a##39dafd8072d011dda2450018fe28105c#XI File2XI[comc_sender/BS_File_Sender/]_185023##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Channel comc_sender: Error connecting to ftp server '150.0.150.76': com.sap.aii.adapter.file.ftp.FTPEx: 530 Login incorrect.#
    #1.5 #0018FE28105C005000000FC800002D7A0004554CA8E11AB4#1219687646042#com.sap.aii.af.service.alerting.Connection##com.sap.aii.af.service.alerting.Connection.newJcoClientForCentralMonitoringServer()#J2EE_GUEST#0##n/a##347b1af072d011dd88d10018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@6784897_185031##0#0#Error##Plain###Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=srpidev.srhouse.com SYSNR=00 GWHOST=srpidev.srhouse.com GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       hostname 'srpidev.srhouse.com' unknown
    TIME        Mon Aug 25 23:37:26 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -2
    MODULE      nixxhsl.cpp
    LINE        223
    DETAIL      NiHsLGetNodeAddr: hostname cached as unknown
    COUNTER     991
    #1.5 #0018FE28105C005000000FC900002D7A0004554CA8E1239A#1219687646044#com.sap.aii.af.service.administration.impl.AlertingStatusListener##com.sap.aii.af.service.administration.impl.AlertingStatusListener.run()#J2EE_GUEST#0##n/a##347b1af072d011dd88d10018fe28105c#XI AF AAM AlertingStatusListener$AsyncAlerter@6784897_185031##0#0#Error##Java###Unable to raise alert for fatal process status (adapter :, channel ): com.sap.aii.af.service.alerting.AlertingException: JCoClient connection missingHost:srpidev_SPD_00|AdapterType:File|Sender::BS_File_Sender|Receiver::|Interface:mi_vendor:http://file2idoc|MsgID:null#3#http://sap.com/xi/XI/System#File#39b1b7a3830a32978c0ebde7d7b6a672#
    Please help me to resolve this issue.
    Regards,
    Ranjith

    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

  • JDBC adapter - not initialized after error

    Hi,
    While doing maintenance on the DB2 server we get the following error:
    com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'XXXXXXXXXXXX': com.ibm.db2.jcc.b.SQLException: IO Exception opening socket to server XXXXX on port XXXXX.  The DB2 Server may be down.
    This is expected.  But, after this error occurs the JDBC receiver adapter becomes unknown or not registered.  Even after the DB2 server is brought back up when we process a mesasge through the adapter we get the following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    Doing a cache refresh resolves the issue, but is this expected?  Should a DB2 connection issue cause the JDBC adapter to no longer be registered?
    Thanks.
    Best Regards,
    Duke

    Hi Duke,
    Doing a cache refresh resolves the issue, but is this expected? Should a DB2 connection issue cause the JDBC adapter to no longer be registered?
    -->yes, adapter framework is designed like that.
    based on your cache refresh settings Adapter engine will update the details and register the service again. i think the cache refresh settings were not defined properly for your server that is the reason it gave you that error and manually refresh is required.
    Regards,
    Sukarna.Chirumamilla

  • XI idoc-jdbc  scenario in details

    Hi Experts,
    Please provide me this scenario pn detail.
    Cheers
    Aman

    Hi,
    For IDOC to JDBC scenario:
    Refer the below weblog for help:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    1) First you need to install the JDBC drivers on XI server refer the below link for installation process.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    2) You need to do the IDOC configuration at R3 as well as at Xi end:
    Refer the below configuration steps:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    Configuration required at Xi side:
    Go to IDX2: load the DOC metadata.
    3) For updating the table you need to write the stored procedure:
    Refer the below link for stored prcedure.
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    Thnx
    Chirag
    Reward points if it helps and close the threads.

  • Reg: How to Stop Polling of JDBC Adapter without Scheduling the adapter

    Dear Gurus,
    Here I am having one requirement. My clients wants to send data from JDBC adapter (ORcale System table) to R3 system via RFC.
    His Requirement::
    1. He is not telling the time of data flow from Oracle server so that based on that we can schedule the adapter in the Communication Channel monitoring (Availablitiy Time Planning) or Else we can Schedule by deciding the setting of the polling interval time.
    2. He is telling that When ever he waants to send the data he will place one dummy file in the File Adapter FTP location so that it will became an Indication for u to poll the jdbc adapter and to transfer the data to R3.
    3. Untill he keeps the file or gives indication he doesn;t want to communicate with Oracle server due to some security and it s a most important data base he doesn't want to disturb that Oracle Server as so many business are running  on that.....
    We Proposed::
    1. Atleast you need to tell the scheduling time or poll interval time so that we can schedule our adapter.
    but he s not accepting for this
    2. Atleast U need to give access for Data base to enter one more extra field like STATUS CODE so that we will add one number and we keep on Update in the Update table and based on that Update table statement it will poll.
    but he s not even accepting for this
    3. Finally we prposed that to create another table in the Oracle SYstem as Dulplicate Table which is similar to Standard Orginal table when ever he wants to pick the data please keep that data in this Duplicate TABle so that JDBC adapter will pick the data from thsi TABLE instead of picking the data from that standard table so that it will not effect any standard table data in the table.
    but he s not even accepting for this
    We have done some R & D:::
    1. WE approached even through BPM and via switch conditions is one scenario
       FILE RECEIVE >SWITCH CONDITION> RECEIVE AND SEND or else EXIT
    2. Using correlation in anotehr scenario means correlating File adapter and JDBC and based on one dynamica value it will goes to SEND STEP ( RECE IVE --> RECEIVE --> SEND STEPS )
    Even though we know this...concept that...we jsut tried::
    In BPM we can control the flow in XI 3.0 but we cannot Stop the Polling of JDBC adapter at backend because one the data comes from FILE adapter it will keep on HOLD untill it receives the JDBC from Oracle then based on the condition or Correlation it will goes futher SEND step means after that file adapter is picking file or not ...what ever it may be JDBC will polls at backend and brings that data to BPM"
    Hence sugest me How to Stop Polling of JDBC Adapter without Scheduling the adapter or else using STATUS CODE Update statements in JDBC Tables 
    Regards:
    Amar Srinivas Eli

    Hi! All,
    Finally I decided to do the scenario in two steps:
    1: FILE REQ --> JDBC REQ -->JDBC RES --> FILE RECV
    2: FILE RECV --> RFC
    But I am getting issue while doing first scenario
    Desgn :
    I have created 2 Synchronous interfaces :
    1) FILE 2 JDBC REQ
    In this a) out put message is FILE  Req
              b) Input msage:; FILE RES
    2} JDBC2FILE RECV
            a) Output mesage;; JDBC REQ
            b) Input Msge :: JDBC Response
    Mappings:
    1) File REQ-->JDBC REQ
    2) JDBC RES-->FILE RES
    Interface mappings:
    1: FILE 2 JDBC REQ--> JDBC 2 FLE RECV
    CONFIGURATION ::
    1: One Seder File CC
    2: Two reciever CC's one is for JDBC RECEIVER and other s FILE RECEIVER
    3; One Sender Agreement
    4: 2 Recver agreements
    5: One Interface Determination and
    6: One RECCV Determination
    My Question;;
    1. First let confirm whether my development steps are right or not ?
    2: Another thing s I am not sure reg Configuration Steps means
    whetehr one interface determination and one Receiver Determinations are required or not as these are synchronous Interfaces
    3: main Issue is::::
    If my scenario s FILE2RFC2FILE then I will get RFC response automatically but here issue is this is JDBC
    My reqquirement is By sending one Field from fILE to JDBC REQ it needs to send entire TAbLE records as a Response to file as XML
    without having Sender JDBC how can I send the JDBC Res to FILE and If that is the case then again JDBC adapter is polling which is contradict to the client requuirement which i explained above.
    pleas suggest me the Detailed steps mainly Colloboration agreements and logical routings and
    also explain in detail if i can  go for BPM
    Also give cleear blogs but before giving make sure that it contains detailed screen shots because aIready gone thorugh
    Scenario File-JDBC-RFC
    File<-->JDBC Sync coomunication.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    Regards::
    Amar Srinivas Eli

  • Error while executing the stored procedure through sender JDBC adapter

    Hi All,
    I am getting below error while executing the stored procedure through sender JDBC adapter.
    Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
    what is the problem? any idea to anyone...
    regards
    Ramesh

    hi Dharamveer,
    I am not getting below statement for your reply
    Try to use Refrence Cursor it will return u reference of resultset.
    I mention SP like this
    exec SapgetNextEntity 'SalesOrder'
    SapgetNextEntity -
    > SP Name
    SalesOrder----
    > Parameter I am passing...
    regards
    Ramesh

  • Need to connect to Oracle 11g using PI 7.1 JDBC adapter

    Hi All,
    I am trying to configure a JDBC adapter to connect Oracle 11g. For this I need to know the driver,jar and connection URL details.
    Can anyone please provide the above information?
    Please correct me if my details are wrong :
    JDBC Driver : oracle.jdbc.driver.OracleDriver
    JAR : ojdbc5.jar
    URL : jdbc:oracle:thin:@localhost:1521:ora11i
    Regards,
    Prakash.

    Yes i knew how to deploy the jars using SDA.
    I will try to deploy the above jar (ojdbc5.jar ) and try to connect to Oracle 11g with URL & Driver classname.
    If I face any problem then i will get  back to you.

  • Error in calling stored procedure in sender JDBC adapter

    Hi Experts,
    I am working on MySQl to SAP scenario. I have to use stored procedure in sender JDBC adapter.
    I am calling SP as fallows: execute proc_dtdc_booking_interface_sd
    But it returned following error,
    Database-level error reported by JDBC driver while executing statement 'execute proc_dtdc_booking_interface_sd'. The JDBC driver returned the following error message: 'java.sql.SQLException: Unknown prepared statement handler (proc_dtdc_booking_interface_sd) given to EXECUTE'. For details, contact your database server vendor.
    the way i called SP is correct ??
    please suggest me how to resolve the issue ??
    Regards,
    Bhuvan.

    Hi
    Below is the code , when we are using this code directly in the mySQl command promp, it fetches 10 record but when the same code is called through XI adapter  its fetching only one record
    DELIMITER $$
    DROP PROCEDURE IF EXISTS `proc_dtdc_booking_interface_sd` $$
    CREATE DEFINER=`root`@`localhost` PROCEDURE `proc_dtdc_booking_interface_sd`()
    BEGIN
    declare done int(1);
    declare v_dsr_booked_by char(1) ;
    declare v_dsr_branch_code char(3) ;
    declare v_dsr_cust_code varchar(7) ;
    declare v_dsr_booking_date date ;
    declare v_dsr_cnno char(9) ;
    declare v_dsr_cn_type char(3) ;
    declare v_dsr_cn_weight decimal(8,3) ;
    declare v_dsr_dest char(3) ;
    declare v_dsr_mode char(2) ;
    declare v_dsr_amt decimal(10,2) ;
    declare v_dsr_dox char(1) ;
    declare v_office_code char(3) ;
    declare v_dsr_status char(1) ;
    declare v_dsr_remarks varchar(25) ;
    declare v_dsr_refno varchar(20) ;
    declare v_dsr_transmf_no varchar(10) ;
    declare v_dsr_trans_status_xi char(1) ;
    declare v_ndsr_cnno char(9) ;
    declare v_ndsr_product char(3) ;
    declare v_ndsr_sercharge decimal(8,3) ;
    declare v_ndsr_ins_amt decimal(8,3) ;
    declare v_ndsr_others decimal(8,3) ;
    declare v_dr_amt_type decimal(2,0) ;
    declare v_dr_extra_amt decimal(10,2) ;
    declare v_sales_document varchar(2) ;
    declare bookcur CURSOR for
    SELECT *
    FROM dtdcdb_rw.dtdc_booking_interface_sd
    LIMIT 10;
    DECLARE CONTINUE HANDLER FOR NOT FOUND SET DONE=1;
    set done=0;
    OPEN bookcur;
    bookloop: loop
    FETCH bookcur
    INTO
    v_dsr_booked_by ,
    v_dsr_branch_code,
    v_dsr_cust_code,
    v_dsr_booking_date,
    v_dsr_cnno,
    v_dsr_cn_type,
    v_dsr_cn_weight,
    v_dsr_dest,
    v_dsr_mode,
    v_dsr_amt,
    v_dsr_dox,
    v_office_code,
    v_dsr_status,
    v_dsr_remarks,
    v_dsr_refno,
    v_dsr_transmf_no,
    v_dsr_trans_status_xi,
    v_ndsr_cnno,
    v_ndsr_product,
    v_ndsr_sercharge,
    v_ndsr_ins_amt,
    v_ndsr_others,
    v_dr_amt_type,
    v_dr_extra_amt,
    v_sales_document ;
    IF DONE=1 THEN
    LEAVE bookloop;
    END IF;
    select
    v_dsr_booked_by As dsr_booked_by,
    v_dsr_branch_code As dsr_branch_code,
    v_dsr_cust_code As dsr_cust_code,
    v_dsr_booking_date As dsr_booking_date,
    v_dsr_cnno As dsr_cnno,
    v_dsr_cn_type As dsr_cn_type,
    v_dsr_cn_weight As dsr_cn_weight,
    v_dsr_dest As dsr_dest,
    v_dsr_mode As dsr_mode,
    v_dsr_amt As dsr_amt,
    v_dsr_dox As dsr_dox,
    v_office_code As office_code,
    v_dsr_status As dsr_status,
    v_dsr_remarks As dsr_remarks,
    v_dsr_refno As dsr_refno,
    v_dsr_transmf_no As dsr_transmf_no,
    v_dsr_trans_status_xi As dsr_trans_status_xi,
    v_ndsr_cnno As ndsr_cnno,
    v_ndsr_product As ndsr_product,
    v_ndsr_sercharge As ndsr_sercharge,
    v_ndsr_ins_amt As ndsr_ins_amt,
    v_ndsr_others As ndsr_others,
    v_dr_amt_type As dr_amt_type,
    v_dr_extra_amt As dr_extra_amt,
    v_sales_document As sales_document;
    update dtdcdb_rw.dsr_table
    set dsr_trans_status_xi='T'
    where dsr_cnno=v_dsr_cnno;
    end loop;
    SELECT *
    FROM dtdcdb_rw.dtdc_booking_interface_sd
    LIMIT 10;
    END $$
    DELIMITER ;
    Please help
    Regards
    Bhuvan

  • Receiver JDBC Adapter testing?

    Hi
    Can any one tell me ..how do I test specific adapter w'ther it is connected or not?
    I have cross checked using adapter monitor, my jdbc adapter doesn't showing specific error(red) or success(green),in same JDBC monitor remainig channels showing all information..i thought it unable to connect?Am I correct?
    Did i do any specific settings in JDBC receiver communcication channel?
    I left default settings as it is in CC..
    after giving driver details...i left default settings ..
    1. Interpretation of empty string values = Null value
    2. Persistance          = Local
    3. Conflict resolution  = Redo
    and my datatype structure like this:
    <StatementName>
    <table>Payment_ReceiptFromSAP</table>
    <dbTableName action=”INSERT”>
    <access>
    <col1>ComapnyCode</col1>
    <col2>PaidDate</col2>
    <col3>PaidAmount</col3>
    </access>
    </dbTableName> 
    </StatementName>
    mapping is working fine, tested! RFC sender channel working fine, picking the data from SAPR/3.
    SXMB _MONI -- I haven't find any payload ..why? I thought if RFC is picking the daata properly then XI will hold that data into integration server?..how do i find this data?
    It would be appriciated and rewarded , if you make me clear in this situvation..thanks in advance.!
    Regards..rambarki!

    hi,
    >>I have cross checked using adapter monitor, my jdbc >>adapter doesn't showing specific error(red) or >>success(green),in same JDBC monitor remainig channels >>showing all information..i thought it unable to connect?Am >>I correct?
    you will see in adapter monitoring only after the first time the call is made, the bean in generated and you will be able to see in atapter monitoring.
    >>SXMB _MONI -- I haven't find any payload ..why?
    is ur scenaio synchronous?? if so then make sure you have logging set in sxmb_adm
    Configuration -> Integration Engine Configuration -> Change Specific Configuration Data.
    Category : Runtime
    Parameter : LOGGING_SYNC
    value : 1 (activated)
    Cheers,
    Naveen

  • JDBC adapter: greek characters

    Hi All,
    We are reading and sending data from a ms sql dbase towards our R/3 system via PI (JDBC adapter).
    I am having some problems related with exotic characters (greek). Reading these characters from the dbase works fine without any additional config, but writing these characters gives problems.
    When I check the message logging inside XI, the characters look fine, but the result in the dbase is not.
    ex:
      XI       = Martine &#913;&#932;&#932;&#921;&#922;&#927; &#920;&#917;&#929;&#913;&#928;&#917;&#933;&#932;&#919;&#929;&#921;&#927;
      dbase = Martine ?????? T???????????
    I already tried changing the charset of the communication channel to "iso-8859-7", but that did not fix the problem.
    Anyone an idea?
    Kindest regards
    Joris

    In note 831162 (FAQ: XI 3.0 / PI 7.0 JDBC Adapter) is mentioned:
    "2. Unicode Handling
    Q: I am inserting Unicode data into a database table or selecting Unicode data from a table. However, the data inserted into or retrieved from the table appears garbled. Why doesn't the JDBC Adapter handle Unicode correctly?
    A: While the JDBC Adapter is Unicode-aware, many JDBC drivers and/or database management systems aren't by default and need a codepage or Unicode-awareness to be configured explicitly. For the respective JDBC drivers, this codepage setting is often configured via the driver URL. For details, refer to the documentation of your JDBC driver or database management system.
    Note: For the Lotus Domino Driver for JDBC, there does not seem to be any documented method to enable support for Unicode strings."
    Does this help you?
    Regards
    Stefan

  • JDBC Adapter:- How does it work??

    Dear Friends,
    I would like to know the nuts and bolts of JDBC adapter.
    1.)How does it work internally?Internally what does sap use?
    2.)In my scenario i just need to access a sap table so Can i write my Java JDBC program to access it.?
    3.)Is there any other way to sent data from Idocs to map to a external database with out using XI.?
    thx,
    jeevan

    Hi Jeevan,
    As far as the JDBC adapter goes, internally it uses, obviously JDBC (Java DataBase Connectivity). Thus all the calls from this adapter are internally SQL Queries (Either Select, Insert, Update, Delete, Execute Stored Procedure) that are sent using Java JDBC API.
    In Sender Configuration, it needs a Select and an Update query to be configured into it. It polls the External Database at specific intervals (Polling Interval in the Channel Configuration),i.e., it connects to the Database via a JDBC Connection and runs the select query. The data from the query is sent to XI as an XML Document. The update query is used to update the DB such that the same data is not picked again in the next poll. This is generally done through a status field. The select query's Where clause should pick records with one status and the update should change all those statuses so that the select does not pick them again. Click [Here|http://help.sap.com/saphelp_nw70/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm|SAP Help on JDBC Sender Adapter] for more details, including the format of the XML file sent.
    In receiver configuration, the channels creates SQL statements from the XML Document it receives. This can be either Select, Insert, Update, Delete or Stored Procedure Call Statements. This requires you to give the receiver channel an XML Document in a pre-defined Schema. Click [Here|http://help.sap.com/saphelp_nw70/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm|SAP Help on JDBC Receiver Adapter] for more details including correct XML Schemas. Note that the kind of SQL Statement generated (Select, Update, etc) is dependent on the schema provided.
    Hope this was helpful!!!
    Thanks,
    Guru

  • JDBC Adapter - Sender - Stored Procedure - SQLException Error

    Hi,
         I have created one stored procedure in our Oracle database. I give below that stored procedure.
    CREATE OR REPLACE PROCEDURE sp_stud
    IS
        l_row student%ROWTYPE;
        TYPE t_ref_cursor IS REF CURSOR RETURN l_row%TYPE;
        c_cursor t_ref_cursor;
    BEGIN
        OPEN c_cursor FOR
         SELECT *
         FROM student where readflag= ' ';
        LOOP
         FETCH c_cursor into l_row;
            EXIT WHEN c_cursor%NOTFOUND;
            DBMS_OUTPUT.PUT_LINE(l_row.id || ' : ' || l_row.name);
        END LOOP;
    close c_cursor;
    END;
    This is a procedure to retreive rows from the table student which is having the field read_flag = ' '; (Student table contains the fields ID, NAME, BIRTHYEAR, BIRTHMONTH, READFLAG).
    In JDBC Sender Adapter, I set the values for the following fields under Parameters tab.
    Query SQL Statement: EXECUTE sp_stud
    Update SQL Statement: UPDATE student SET readflag = 'Y' where readflag = ' '
    The scenario is every 5 minutes JDBC adapter checks the table whether any new row is inserted, if it is inserted and commit, it will send that record to File. This is the Scenario.
    In Runtime Workbench, Communication Channel Monitoring, it shows the following error, when JDBC Polls the table.
    Database-level error reported by JDBC driver while executing statement 'EXECUTE sp_stud'. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00900: invalid SQL statement '. For details, contact your database server vendor.
    Note : If we execute the Stored Procedure ad SQL command level, it works fine.
    Kindly help friends to solve this, where the error is happened.
    Thanking you,
    Kind regards,
    Jegatheeswaran P.

    Hi,
    Not a Database expert. But , in case you have not seen the note pointed by Deepu,
    <i> The JDK 1.1.x, 1.2 and 1.3 versions (classes111. zip, classes12.zip, classes12.jar) of the driver are not compatible with the SAP XI JDBC Adapter. Use the JDK 1.4 driver (ojdbc14.jar) instead. For details, refer to Oracle MetaLink note # 203849.1.
               <b>Invoking Oracle stored procedures from within a JDBC sender channel is only possible for Oracle DBMS versions >= 10.2.x using so-called table functions:</b>
               Example:
    pkg1 -
    CREATE PACKAGE pkg1 AS
      TYPE numset_t IS TABLE OF NUMBER;
      FUNCTION f1(x NUMBER) RETURN numset_t PIPELINED;
    END pkg1;
    CREATE PACKAGE BODY pkg1 AS
    -- FUNCTION f1 returns a collection of elements (1,2,3,... x)
    FUNCTION f1(x NUMBER) RETURN numset_t PIPELINED IS
      BEGIN
        FOR i IN 1..x LOOP
          PIPE ROW(i);
        END LOOP;
        RETURN;
      END;
    END pkg1;
    pkg1 -
            <b>   This function has to be invoked from the sender channel configuration (SELECT statement) as follows:
               SELECT * FROM TABLE(pkg1.f1(5));</i></b>
    Check this, confirm your Oracle DB version and then use the Table Functions as described in this note.
    A Database Expert wil be able to crack this for sure.
    Regards
    Bhavesh

  • Problem in JDBC Adapter in SAP PI 7.0

    Hi Everyone,
    I have scenario JDBC to JDBC......I Designed and Configured the Scenario....When I executed the scenario my connection to the
    PI dev server is lost........
    Then in Config tool I setting jdbc adapter option to "manual" which is "always".....and deactivated the JDBC communication
    channel.....then I set the option to "always" from "manual" in config tool.......
    I am not getting exact problem.....Please help me out.....
    Regards,
    Sudheer

    Hi,
    I explain you my scenario once again...................i.e JDBC to JDBC......
    I am using MS-Access as database............
    I have completed IR part and in ID part I configured Sender Communication channel by giving the  following Connection details
    sun.jdbc.odbc.JdbcOdbcDriver
    jdbc:odbc:Driver= {Microsoft Access Driver (.mdb)};DBQ=C:\XI_FILES\SENDER\Student_Database.mdb*
    After completing RD/ID/SA/RA....as soon as I activated CC.....there gone connection to Server and cannot open the IR or ID or
    Runtime Work Bench.......
    If I enter SXMB_IFR in Dev sever...it is giving error "Enterprise Service Repository address not maintained"......
    After that with some discussions with Basis people they have found that J2ee engine stoped. then in Config tool they
    changed jdbc adapter settings to "Manual" so that we can deactive CC that is activated.......Then after that "manual" is
    changed to "Always" and now Server is running fine.....
    My probelm is......
    When I am activating CC, the server is going down immediatledy.....and I dont know exactly where the problem is
    occurring........
    Regards,
    Sudheer

  • Problem with Polling interval at sender side in JDBC adapter

    Hello,
    I have some problem in investigating one serious issue using this polling interval,
    I am using the sender JDBC adapter where i used polling interval as
    60(in secs) and 1(in Msecs).
    So it comes upto 60.001 secs of polling interval.
    There are nearly lots of threads which are in sleeping state on one particular sender channel making the J2EE hang. When i went to look inside the CPA cache i saw that the polling interval was mentioned as only 1Msec rather than 60.001 Secs because of which with in some seconds all the threads are blocked and J2EE hangs due to lack of threads.
    Can you please provide some solution to this problem as soon as possible?
    Here are few questions which i got when i am doing this process,
    1. Is that the polling interval is sum of 60(secs) and 1(msec)?
    2. Which value is been read either secs or msecs?
    3. Will there be any precedence among those two values(secs and msecs)?
    THanks,
    Soorya

    Poll Interval (secs)
    Number of seconds that the adapter must wait if no files are found for processing.
    &#9679;      Poll Interval (msecs)
    Additional waiting time in milliseconds.
    If you set Poll Interval (secs) to null, processing times will be short and close to real time.
    If you set Poll Interval (secs) and Poll Interval (msecs) to null, the adapter is only called once.
    &#9679;      Retry Interval (secs)
    Specify the number of seconds that the adapter is to wait before a file processed with errors is processed again.
    If the value is set to null, then the adapter is canceled if an error occurs, even if a value greater than null is specified for Poll Interval (secs).

Maybe you are looking for

  • Down payment request for PO

    Hi Guru's, Can anyone tell me the down payment process for Purchase order in SAP. We have a PO which we need to make payment 50% advance and 50% after 30 days. a. All configuration did for MM and FI b. Payment term c. Down payment request d. Down pay

  • New install of CS3 on my new Mac OSX Lion does not start

    Good morning, I have an old Mac running CS3, that was upgraded to Lion afterwards with no difficulty. I bought a new Mac 27" Mac OSX Lion, when installing CS3 on it, the licence number does not register a green check (horrible red cross instead....)

  • Background image in Sharepoint 2013 is blurry

    Hi guys I need your help. Firstly I am a newbie at SharePoint 2013. I recently changed the theme of our site and change the look of our site. I selected the nature theme and changed the background image of the theme. Upon changing it, I noticed that

  • Sort only selected cells?

    I would like to sort alphabetically only a selected column of cells.  I don't want to sort other items in the rows.  I can't seem to find any combination in reorganize that works.

  • SOAP whitepaper

    Could someone point me to some technical documentation on how SOAP clients and web services can use BEA Web Logic beans? Thank you.