Why a jdbc adapter get's locked

Hi all ,
Can any body tell me why a jdbc adapter gets locked and help what can be done if it is locked and do necessary enhancements in it to not get it repeated
thanks  and regards
sandeep
pendyala

VJ wrote:>
> Thats actually an excellent point from Bhavesh.
>
> If the JDBC adaptor polling interval is too close to real time like 1 sec or 10 Sec then I would not prefer to disconnect every time.
If the JDBC adapter is going to be pulling data out from a Database every 10 secs, its gonna be a lot of data that is going through XI.
I hear what you say and if the polling interval is as low as what you pinted out, I would not do that as well
Regards
Bhavesh

Similar Messages

  • How to get rid of system acknowledgements in JDBC adapter

    Hi,
    I've set up a receiver JDBC adapter.
    It works good, but sends back acknowledgements which i dont want
    On help.sap.com i found:  "....If you want to prevent a synchronous system acknowledgement from being sent back, even if the sender requests it, set XI.AckFinal=false....."
    In the channel configuration i'm on tab "parameters" >> tab "advanced" and i checked the box "advanced".
    I get "additional parameters" screen
    There is a box where i can fill name and value for parameters.
    If i put:
    name = XI.AckFinal
    value = false,
    i still get the acknowledgements from the database.
    What must i do to get rid of the acknowledgements?
    Thx.
    Robert

    Hi Srinivas,
    I think you are referring to the tab "module"
    What i am referring to is the tab "parameters" , etc etc.
    I dont think i would need an additional module to get rid of the system acknowledgements.
    Thx.

  • In RWB i am getting JDBC adapter in Red Color......................

    Hi
    I have configured on JDBC reciever Adapater...... and i have given the paramenter like following
    JDBC Drvier : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection : jdbc:microsoft:sqlserver://sapep:1433;DatabaseName=DataBaseName;
    Persistence : Database
    Database Table Name : CheckUser
    I have configured the JDBC adapter like this.... is there any wrong in this Configuration please tell me....
    JDBC adapter is showing the following error in RWB
    <b>Value missing for mandatory configuration attribute tableEOColumnNameId</b>
    Best Regards
    Ravi Shankar B

    Hi
    Still Its in Red
    Can u please check whether i have given <b>JDBC Driver and Connection</b> Parameters Correctly
    I have given SQL port to Default port... can any one tell me how to check the SQL port number.....Actually i dont know the port number thats why i have given the defalut port number
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B

  • We get "uFF06uFF03x0;" from sender JDBC adapter

    Thank you.
    This is naoki kurihara.
    We have a problem in sender JDBC adapter.
    We use java mapping and sender JDBC adapter in PI7.1 on Windows.(DB is sqlserver)
    and we test the interface and we found error.
    the reason is to get "&#x0;" from JDBC adapter.
    and our java mapping can't parse it. and we got error.
    the column is not null.
    how we can prevent "&#x0;",
    (sorry I cant write "&#" 1byte word, so I wrote 2bytes word)
    please give me your help!!
    Thanks

    Hi,
    Replace the & character with &amp ; in your java mapping. The same goes for these special characters:
    < with &lt ;
    > with &gt ;
    " with &quot ;
    ' with &apos ;
    Please remove the space between the escape character and the ; in your Java mapping. The spaces are typed here because the equivalent characters are not displaying correctly.
    It should be able to handle the # though. Hope this helps
    Regards,
    Mark

  • Why can i not get a preview of my emails now in the lock screen anymore

    why can i not get a preview of my emails now in the lock screen anymore

    I understand your discontent regarding the delayed availability of our reps when you call us juliusb85! We offer other customer service alternative for you like Twitter @VZWSupport and Facebook http://fb.me/Verizon or we can assist you here also. However, please keep in mind that this is a peer to peer forum and while our Social Media team monitors the posts, the best way to get immediate assistance when network issues are suspected is to call 800-922-0204 from a different line to troubleshoot device or send us a message on twitter at @VZWSupport.
      AntonioC_VZW
    Follow us on Twitter at www.twitter.com/VZWSupport

  • IDOC Receiver Adapter, getting Lock Table Overflow to CRM System

    Hello SDN!!!
    This scenario is for PI to process a file and send to CRM via IDOC. The IDOCu2019s are only being created and not processed until later.
    Problem: I am getting a Lock Table Overflow error in method IDOC_INBOUND_ASYNCHRONOUS via sm58 in PI which points to the CRM box.
    I have been searching many forums and every solution seems to indicate increasing the lock table, the problem with that solution is we are currently trying to create (not process yet) 80000 IDOCu2019s. This would allocate too much for the lock table.
    So my question is this, Shouldnu2019t the lock be released when the IDOC gets created or none the less when a packet of IDOCu2019s via content management (breaking up the file in 1000 increments) finish. The lock table in CRM keeps increasing until all rows from the file, sent via IDOC adapter in 80 messages with 1000 IDOCu2019s per messagein the table are complete (80 separate messages in sxmb_moni).
    Background:
    IDOC was imported, changed to include unbounded and reimported.
    Content Management breaks the file into 80 different segments, thus creating 80 distinct mappings with distinct MessageIdu2019s.
    80 IDOC packets are sent to CRM, via IDOC adapter and sm58.
    TCODE sm12 in CRM shows the table to keep growing and locks not released until full message is complete.
    Any help would be appreciated
    Cheers
    Devlin

    The only way to process the IDOCs in this case is by increasing the "enque/table_size" parameter in order to create the required IDOCs. You can increase the value for this parameter up to 102400 (beyond that can cause performance issues). Since you need to handle 80000, this shouldn't be an issue.
    Please refer to the notes below for more information about the lock queue overflow and management.
    [Note 552289 - FAQ: R/3 Lock management|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=552289]
    [Note 13907 - System error in the block handler, overflow lock table|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=13907]

  • JDBC Adapter - database lock

    Hi all,
    I have a scenario where we call a stored procedure on a Sybase database with a jdbc adapter. After the adapter picks up the data it should delete the records as a post processing step.
    Can I be sure, that the database is securely locked until the jdbc adapter finishes with its post processing step? I am afraid, that after the stored procedure is done, data can be written to the database again before the post processing step of the jdbc adapter is executed. In a worse case scenario could this mean the loss of data.
    Do you have any advice?
    Thanks
    Cornelius

    Cornelius,
    You want to select the data and delete it once its done. Am I right? In the sender comm.channel u have the <b>Query SQL Statement</b> & <b>Update SQL Statement</b> . Once the selected the data usinf query sql statement, it will use the update sql statement to delete the processed fields immediately once it done.
    Is it helpful? If not please reply back.
    Best regadrs,
    raj.

  • 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

  • Why aren't adapter errors visible in SXMB_MONI?

    My client has an integration scenario that updates an Oracle database through a JDBC receiver channel.  Occasionally an insert/update statement will fail.  The adapter engine logs the Oracle error message, but that error message doesn’t show up in SXMB_MONI.   SXMB_MONI happily displays the checkered flag.  You can only see the adapter error in runtime workbench. 
    Why aren’t adapter errors “visible” in SXMB_MONI?

    > It seems odd that error messages aren’t propagated
    > from one stack to the other so that we  have a
    > COMPLETE view of the lifecycle of our messages.  The
    > left hand doesn't communicate with the right.
    You can't propagate an error which occurs in a later point of the pipeline to a previous point.
    They error may occurr in the adapter, but when the message gets to the AE, the Integration Engine pipeline is already complete.
    But you know, the later point can carry on errors occurred at a earlier point. That is why you can see the Integration Engine errors in the Messsage Monitoring.
    It is a matter of culture. SAP consultants, in general, are more confortable with ABAP stack (SXMB_MONI) than with Java Stack (Message Monitoring). But, in this case, the Java tool is more complete.
    Regards,
    Henrique.

  • JDBC Adapter: Action Attribute Missing problem

    Hi
    I am passing data from SAP R/3 though JDBC Adapter. In SXMB_MONI everything is fine and it shows Success Message. Though Database is not updated, but in Message monitoring I get the error 'No "Action" attribute found in XML document'
    I have specified the Database table in Communication Channel and the table name is specified as the Tag.
    The XI payload is as follows. Where Tag FCP_PROGNOSEDATA is the table name and action tag is specified as INSERT.
    kindly let me know what went wrong and why i am getting this error message
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns53:FCPBW_MT xmlns:ns53="http://pdk/fcp/Prognoses">
    - <Statement>
    - <<b>FCP_PROGNOSEDATA</b>>
      <action><i><b>INSERT</b></i></action>
    - <access>
      <DATO>05-12-2004</DATO>
      <ORG_ENHED_NR_A>0704</ORG_ENHED_NR_A>
      <PROGNOSE_TYPE>1</PROGNOSE_TYPE>
      <ANTAl_MS>821.0</ANTAl_MS>
      <ANTAl_SH>10444.0</ANTAl_SH>
      </access>
      </<b>FCP_PROGNOSEDATA</b>>
      </Statement>
      </ns53:FCPBW_MT>
    Regards
    Swetank

    Hi Swetank,
    The ACTION should be an "attribute" in your JDBC XML.I think you have created it as a TAG.
    For Example:
    <StatementName2>
    <dbTableName action=”INSERT”>
    <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2</col2>
    </access>
    <access>
    <col1>val11</col1>
    </access>
    </dbTableName> 
      </StatementName2>
    Regards,
    Sridhar
    Message was edited by: Sridhar Rajan Natarajan

  • JDBC adapter and message split

    Hello, does anybody know how I can make a split of a document created by the JDBC adapter and that should look like
    <resultset>
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
    </resultset>
    into several's independent documents of type:
      <row>
         <column-name1>column-value</ column-name1>
         <column-name2>column-value</ column-name2>
         <column-name3>column-value</ column-name3>
      </row>
    May I create the messages in the dispatcher?
    Thank you
    Ernesto Duran

    Hello, isn't it possible to create an inbound abap Proxy in XI that wait for the message then this inbound proxy loops into the message and call and outbound proxy for each entry(row).
    The outbound proxy is working well for me but I'm having problems routing the message back to XI... I get the problem "SAP:Code p1="No inbound interface found for sender" But when I route the message to a business systems everything is ok.????
    Anyway what I want to do is:
    jdbc adapter --> XI --> inbound proxy --> XI --> outbound proxy --> XI --> Idoc adapter --> R3
    And the steps inbound proxy --> XI --> outbound proxy --> XI are used only to split the message.
    The reason why I try to use this approach is that I don't understand how I can split a message in java or XSLT maybe someone know???
    Thank you
    Ernesto Duran

  • JDBC Adapter throws error for Null Data

    Hi All,
              I am running a interface Proxy to JDBC. But in case if proxy has no new data, the message which goes to the database is:
    <b>  <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_Material xmlns:ns1="urn:sce-com:xi:fi:UnitEstimateData">
    - <Insert_Material>
    - <dbTableName action="INSERT">
      <table>SCEI_UE_MATERIALS</table>
      </dbTableName>
      </Insert_Material>
      </ns1:MT_Material></b>
    and I get the error in RWB as <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SCEI_UE_MATERIALS' (structure 'Insert_Material'): java.sql.SQLException: FATAL ERROR document format in structure 'Insert_Material': expected 'access' tag(s) not found</b>.
    Is there a way so that the JDBC adapter doesn't throw any error if there is no access node??
    Pls advice...
    XIer

    Xier,
    Why it will create multiple Insert_Material nodes? Use  like this
    Mandatory segment ->Remove context->Collapse Context ---> Exists -
    >insert_material.
    Try the above and let me know if it doesn't helps!!
    raj.

  • JDBC Adapter can be used for sender / receiver for MS Access ?

    Hi  Experts
       I want to communicate with MS Access by using JDBC sender and receiver
       adapter ?  How to set up ?
       Links/screen shots/etc..........
    Adv thanx
    regards
    rakesh

    Hi Rakesh ,
    >>>> Why the driver is : jdbc:odbc:Driver={Microsoft Access Driver
    (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb ?
    if your test data base file is TestDB.mdb you need to give the absolute path of the file to get access to JDBC adapter set so you can replace the file path with the corresponding path on your test system .
    Please place the data base file in a directory where the XI system has share access.
    Regards,
    Nanda

  • JDBC adapter - update statement

    I have come to the conclusion that there is no direct connection between the select and update statement of a sender JDBC adapter, in terms of commit scope.
    According to SAP documentation:
    "The UPDATE statement must alter exactly those data records that have been selected by the SELECT statement. You can ensure this is the case by using an identical WHERE clause. (See Processing Parameters, SQL Statement for Query, and SQL Statement for Update below)."
    But my point is: if select statement retrieves e.g. 5 rows based on a where condition, then the update statement could find 6 rows to update, if a row was inserted a split second after the select, but before the update. Result : a row is lost...
    I don't think the select statement puts a lock on the table(s) it accesses, and releases this lock after update has been committed. This would ensure integrity between select and update statement.
    Can anybody confirm or deny this ?

    Hi,
    Have you seen the<b> Isolation level for Transaction handling</b> in the sender JDBC adapter?
    Make the Isolation level as Serializable and repeatable Read and the db gets locked  anbd until Update happens, no Insertion can occur in the Split Second!
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards,
    Bhavesh

  • Oracle Receiver JDBC Adapter - Handling Unicode Characters

    We have an IDOC to JDBC scenario.
    In this IDOC is sending data like -  10/14u2019/P7 After 4 there is special character coming from SAP ( It is not single quote).
    Mapping is going through OK and data is getting saved in Oracle Database as 10/14&#x19;/P7 with & # x 19;
    I came across following solution in forums and SAP Note.
    I am not sure how to modify Oracle JDBC URL to handle Unicode characters properly.
    Or is there any other approach we can follow to achieve this..
    Any input is really appreciated
    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.

    Hi Simona,
    1.To start the visual admin, execute "go" file:
    On Windows: Run \usr\sap\<SAPSID>\JC<xx>\j2ee\admin\go.bat
    On UNIX: Run /usr/sap/<SAPSID>/JC<xx>/j2ee/admin/go
    2.supply the credentials to login into visual admin
    3.under "cluster" tab select "server node"
    4.you will find "log viewer" under "services"
    Since you are new, I recommend you to take help from your BASIS team.
    Hope it helps !
    Hi Alwin,
    Just a quick clarification.
    I used the URL you have mentioned, when we were on SP5. After that we upgraded to SP9.
    From SP9, if you try to use the URL http://XISERVER:50000/AdapterFramework then it automatically redirects to a new webpage with the link to the URL i have mentioned.
    Regards,
    Sridhar

Maybe you are looking for