Skip to Content
author's profile photo Former Member
Former Member



We have built a WebDynpro application using KMC module, and integrated in the EP.

Our systems is based on Oracle, SPS16 and patch #3 for KMC. The server has 1 Java dispatcher and 2 server processes.

Our application stores data in a dedicated CM Repository, and searches resources matching Predefined Properties using the ""Property Search Manager.

When I perform a load test with 20 concurrent users, I get the following exception :\#(J2EE4659200)ID0963799650DB11903176495300471993End.WID1159341490666##0#0#Error#1#/System/Database/sql/jdbc/ error occurred on connection KM4:nwb:SAPNWBDB: code=60, state="61000", message="ORA-00060: deadlock detected while waiting for resource


SQL statement is "DELETE FROM "KMC_DBRM_TMPNODES"".#5#60#61000#ORA-00060: deadlock detected while waiting for resource

#KM4:nwb:SAPNWBDB#DELETE FROM "KMC_DBRM_TMPNODES"#\#(J2EE4659200)ID0963799650DB11903176495300471993End.WID1159341490666##0#0#Error##Plain###java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource

at oracle.jdbc.dbaccess.DBError.throwSqlException(

at oracle.jdbc.ttc7.TTIoer.processError(

at oracle.jdbc.ttc7.Oall7.receive(

at oracle.jdbc.ttc7.TTC7Protocol.doOall7(

at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(

at oracle.jdbc.driver.OracleStatement.executeNonQuery(

at oracle.jdbc.driver.OracleStatement.doExecuteOther(

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(

at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(









Is that a known bug of KMC ?

Have you already met this problem ?

Best Regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 10:25 AM

    Hi Nicolas,

    I tried to reproduce your description with automated testcases for loadtesting the property search in SPS20. But up to now the tests all succeeded. So I think I need some more input from you.

    <b>*</b> In your test scenario: Do the ProertySearches fail or do they recover from the described exception and deliver the correct serach result anyway?

    <b>*</b> What persistence mode are you using in your CM repository?

    <b>*</b> Are there any services active on that repository? Can you reproduce the failure if you turn the services off?

    <b>*</b> Are there any other processes working on your CM repository while you are testing?

    <b>*</b> How large is the hierarchy scope that is covered by each of your search requests? Do they overlap?

    <b>*</b> Can you please state what the query expression looks like that you use for testing?

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 10:38 PM

    Hi Nicolas,

    I would suggest it's not necessary that this caused with the application

    you deployed. So, could not conclude that a prop. search is causing the

    load and not the other API calls / modification that your code is

    performing. But it is possible that the search will cause this overhead

    if the search scope (number of nodes to be affected by a query) is

    large. The search component will prepare a temporary table with all

    affected node identifiers. If e.g. your search root folder contains 1

    million documents, this amount of IDs will temporarily inserted into

    this table.

    If this theory is correct then it seems that you have a database

    administration issue here. If it is not possible to provide more hard

    drive space to support such large repositories you could try to

    deactivate the archive logs on the temporary table. I will find out the

    table name and attach it to the

    message (Oracle "alter table ..." statement can be used).

    Best Regards


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.