Function in SQL: PRAGMA used, but '..does not guarantee not to update database'- WHY?

I use function in SQL statement. It is a dynamicaly build SQL, therefore I need overload functions. These funcs defined in package. The package has PRAGMA Restrict_References (.., WNDS). So all functions should be restricted to update database.
But Oracle returns an error:
Function NVL_ does not guarantee not to update database
This is my build SQL:
----- the execution string is: ---------------
Begin
INSERT INTO TEST_TBL_BS (MILL_ORDER, CLM1, CLM2, CLM3, NOTES, INIT_DATE )
VALUES (NV.NVL_(Arc_Utl.TEST_TBL_dltd.MILL_ORDER),
NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM1),
NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM2),
NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM3),
NV.NVL_(Arc_Utl.TEST_TBL_dltd.NOTES),
Arch.Init_Time );
End;
This is NV package:
PACKAGE NV IS
PRAGMA Restrict_References ( NV, WNDS );
NULL_date DATE := TO_DATE ('01/01/1001', 'mm/dd/yyyy');
NULL_numb NUMBER := 0;
NULL_str VARCHAR2 (10)
:= '?';
-- overloaded NULL_Val function returns NULL_<type> value (defined early)
-- depend on received variable type
FUNCTION NULL_Val ( val_in IN DATE )
RETURN DATE ;
FUNCTION NULL_Val ( val_in IN NUMBER )
RETURN NUMBER ;
FUNCTION NULL_Val ( val_in IN VARCHAR2 )
RETURN VARCHAR2 ;
-- PRAGMA Restrict_References ( NULL_Val, WNDS ); -- can be used in SQLs
-- these pretends to cover hole of the SYS.NVL that do not have posibility
-- to return default NULL value for every given type
FUNCTION NVL_ ( val_in IN DATE )
RETURN DATE ;
FUNCTION NVL_ ( val_in IN NUMBER )
RETURN NUMBER ;
FUNCTION NVL_ ( val_in IN VARCHAR2 )
RETURN VARCHAR2 ;
-- PRAGMA Restrict_References ( NVL_, WNDS ); -- can be used in SQLs
END NV;
CREATE OR REPLACE PACKAGE BODY NV AS
-- NULL_Val set of overloaded functions - returns appropriate NULL value
FUNCTION NULL_Val ( val_in IN DATE )
RETURN DATE IS
BEGIN RETURN NULL_date;
END NULL_Val; -- for date
FUNCTION NULL_Val ( val_in IN NUMBER )
RETURN NUMBER IS
BEGIN RETURN NULL_numb;
END NULL_Val; -- for NUMBER
FUNCTION NULL_Val ( val_in IN VARCHAR2 )
RETURN VARCHAR2 IS
BEGIN RETURN NULL_str;
END NULL_Val; -- for VARCHAR2
-- set NVL_ function to return default NULL value if received variable
-- is NULL or the received variable if it is not NULL
FUNCTION NVL_ ( val_in IN DATE )
RETURN DATE IS
BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
FUNCTION NVL_ ( val_in IN NUMBER )
RETURN NUMBER IS
BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
FUNCTION NVL_ ( val_in IN VARCHAR2 )
RETURN VARCHAR2 IS
BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
END NV;
Can anybody help : where is a problem and what I can do in my case?
I work in Oracle 7.3
Thank you,
Alex

Hi Alex,
I've found that on the RDBS docs:
If you specify DEFAULT instead of a function name, the pragma applies to all functions in the package spec or object type spec (including, in the latter case, the
system-defined constructor). You can still declare the pragma for individual functions. Such pragmas override the default pragma.
Try using that and let me know.
The docs says also that the declaration of the pragma for an overloaded function applies to the nearest one. You may also try to insert several declaration, one after every function declaration.
Bye Max

Similar Messages

  • ORA-06571: Function TEST_FUNC does not guarantee not to update database

    I have created a very simple C function in a .dll. Everything compiles OK, and I can create the lib, package, and procedure. But when I try to use it from sql*plus:
    SQL> select test_func(1) from dual;
    select test_func(1) from dual
    ERROR at line 1:
    ORA-06571: Function TEST_FUNC does not guarantee not to update database
    Note, all the function should do is return arg+1.
    Any help would be appreciated. Thanks.
    null

    Any Function called from SQL need to be defined Purety Level by using pragma restrict References
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tim McCracken ([email protected]):
    I have created a very simple C function in a .dll. Everything compiles OK, and I can create the lib, package, and procedure. But when I try to use it from sql*plus:
    SQL> select test_func(1) from dual;
    select test_func(1) from dual
    ERROR at line 1:
    ORA-06571: Function TEST_FUNC does not guarantee not to update database
    Note, all the function should do is return arg+1.
    Any help would be appreciated. Thanks.<HR></BLOCKQUOTE>
    null

  • ORA-06571: Function SAM_OUTPUT does not guarantee not to update database

    Hi,
    i created a package as follows,
    CREATE OR REPLACE PACKAGE cursor_test_pak
    AS
    TYPE trans_cursor IS REF CURSOR;
    FUNCTION Cursor_Test
    RETURN trans_cursor;
              FUNCTION sam_output RETURN NUMBER;
    END;
    CREATE OR REPLACE PACKAGE BODY cursor_test_pak
    AS
    FUNCTION Cursor_Test RETURN trans_cursor
    AS
    lv_cursor trans_cursor;
    BEGIN
    OPEN lv_cursor FOR
    SELECT * FROM JAMES_SAM6;
    RETURN lv_cursor;
    END ;
    FUNCTION sam_output RETURN NUMBER
    AS
    lv_cur trans_cursor;
    BEGIN
    lv_cur := Cursor_Test();
    RETURN lv_cur%ROWCOUNT;
    --RETURN 1;
    END;
    END;
    after that i tried the following statement,
    select cursor_test_pak.sam_output() from dual;
    i got the following error,
    ORA-06571: Function SAM_OUTPUT does not guarantee not to update database
    i don't know what does it mean?
    can any one help me in this?
    Thanks,
    james.

    i think use of cursor attribute not possible with cursor variable
    like this : lv_cur%ROWCOUNT; If you are not sure why don't you check ?
    SQL> declare
      2   rc sys_refcursor;
      3   a integer;
      4  begin
      5   open rc for 'select 1 from emp';
      6   loop
      7    fetch rc into a;
      8    exit when rc%notfound;
      9    dbms_output.put_line('CURSOR VARIABLE %ROWCOUNT = ' || rc%rowcount);
    10   end loop;
    11   close rc;
    12  end;
    13  /
    CURSOR VARIABLE %ROWCOUNT = 1
    CURSOR VARIABLE %ROWCOUNT = 2
    CURSOR VARIABLE %ROWCOUNT = 3
    CURSOR VARIABLE %ROWCOUNT = 4
    CURSOR VARIABLE %ROWCOUNT = 5
    CURSOR VARIABLE %ROWCOUNT = 6
    CURSOR VARIABLE %ROWCOUNT = 7
    CURSOR VARIABLE %ROWCOUNT = 8
    CURSOR VARIABLE %ROWCOUNT = 9
    CURSOR VARIABLE %ROWCOUNT = 10
    CURSOR VARIABLE %ROWCOUNT = 11
    CURSOR VARIABLE %ROWCOUNT = 12
    CURSOR VARIABLE %ROWCOUNT = 13
    CURSOR VARIABLE %ROWCOUNT = 14
    PL/SQL procedure successfully completed.Rgds.

  • Error : 'RepeatingSeparator' is used but either it was not specified or it

    Hi All,
    I am trying to enqueue a EDIFACT ORDERS(version D07B) xml to the IP_OUT_QUEUE and getting the following error.
    Error : 'RepeatingSeparator' is used but either it was not specified or it was suppressed.
    Any pointers on what to check here????
    Regards,
    Praveen
    Edited by: Praveen I on Mar 22, 2010 11:37 AM

    Hi Praveen,
    Not sure if your payload has internal properties, which consists of delimiters. If so, since the delimiters are configured in B2B as well, do not provide the internal properties
    Regards,
    Dheeraj

  • Can't delete file after renaming due to Word file handle still present. Error staes document is still in use but it's really not. Worked fine in 2007 but not in 2010.

    I have some code associated with a Word Template. The template is opened, filled out and saved via a routing in vba. This all works fine in older 2007 version (which is version it was originally created in). Once this file is saved, the user can change the
    date in a text box and re-save document. The code saves using the new date for part of new file name and then deletes that older file from the server. It fails at the delete function because the newer version of word is not dropping the file handle from the
    first named file when user saves it to the new filename. In older version (2007) this handle was released as soon as file was saved to a different name. I can't seem to figure out how to release the old document filename so the old document file can be deleted.
    I hope I explained this well enough.
    Here's the code that woeked in version 2007 but fails in version 2010.
    Option Explicit
    Dim CAPEX01 As MSForms.ComboBox
    Dim CAPEX02 As MSForms.ComboBox
    Dim LocalPath As String
    Dim NetPath As String
    Dim OldPath As String
    Dim OldPathNet As String
    Dim DocName01 As String
    Dim DocName02 As String
    Dim DocName03 As String
    Dim DocName04 As String
    Dim DocName As String
    Dim DocNameold As String
    Dim TestDocName As String
    Dim filesys
    Dim newfolder
    Sub AutoOpen()
    ActiveDocument.ActiveWindow.View.Type = wdPrintView
    TestDocName = ActiveDocument.TextBox2
    OldPathNet = "\\yourPath\" & TestDocName & "\"
    End Sub
    Sub AutoNew()
    TestDocName = ActiveDocument.TextBox2
    OldPathNet = "\\yourPath\" & TestDocName & "\"
     ComboBox1.Locked = False
     ComboBox1.Enabled = True
     FillList1
     FillList2
     End Sub
    Sub DeleteOldDoc()
    OldPathNet = "\\yourPath\" & TestDocName ' & "\"
    DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
        If Not TestDocName = DocName01 Then
            Set filesys = CreateObject("Scripting.FileSystemObject")
        If filesys.FileExists(DocNameold) Then
            filesys.DeleteFile (DocNameold), True      
     'I get file permission error here
        End If
        End If
    If DocName01 <> "" Then
    If Not TestDocName = DocName01 Then
    If Not TestDocName = "" Then
        MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
    End If
    End If
    End If
    TestDocName = DocName01
    End Sub
    '''''''Document path functions''''''
    Sub chkpath()
    Set filesys = CreateObject("Scripting.FileSystemObject")
    If Not filesys.FolderExists("\\yourPath\") Then
       newfolder = filesys.CreateFolder("\\yourPath\")
    End If
    If Not filesys.FolderExists("\\yourPath\" & DocName01 & "\") Then
        newfolder = filesys.CreateFolder("\\yourPath\" & DocName01 & "\")
    End If
    End Sub
    ''''''Save Function''''''
    Private Sub CommandButton1_Click()
    DocName01 = ActiveDocument.TextBox2
    DocName02 = ActiveDocument.TextBox4
    DocName03 = ActiveDocument.TextBox1
    DocName04 = ActiveDocument.ComboBox1.Value
    chkpath
    NetPath = "\\yourPath\" & DocName01 & "\"
    DocName = NetPath & DocName01 & "-" & DocName02 & "-" & DocName03 & "-" & DocName04
    ActiveDocument.SaveAs2 FileName:=DocName, FileFormat:=wdFormatDocument
     ComboBox1.Locked = True
     ComboBox1.Enabled = False
     ComboBox2.Locked = True
     ComboBox2.Enabled = False
     TextBox1.Locked = True
     TextBox1.Enabled = False
     TextBox3.Locked = True
     TextBox3.Enabled = False
     TextBox4.Locked = True
     TextBox4.Enabled = False
     DeleteOldDoc
    End Sub
    Sub FillList1()
    Set CAPEX02 = ActiveDocument.ComboBox2
      With CAPEX02
          .AddItem "CASTING", 0
          .AddItem "HOT ROLLING", 1
          .AddItem "COLD ROLLING", 2
          .AddItem "FINISHING", 3
          .AddItem "PLANT GENERAL", 4
          .AddItem "MOBILE EQUIPMENT", 5
      End With
    End Sub
     Sub FillList2()
     Set CAPEX01 = ActiveDocument.ComboBox1
      With CAPEX01
          .AddItem "A Name", 0
          .AddItem "Another Name", 1
      End With
    End Sub
    Private Sub CommandButton2_Click()
        UserForm1.Show
    End Sub

    mogulman52 and Don,
    I went back and looked at my code and had already updated it to SaveAs in the new docx format. It still holds the lock handle in place until Word closes, unlike earlier versions which released the lock handle when you did a SaveAs.
    As a note, all my Word and Excel macro-enabled (dotm & xltm) templates are read only and are never filled in, prompting the user for a file name on any close event or if they run the code gets auto-named. I do the SaveAs and concatenate the file name
    from data on the document (or sheet) that has been filled in. During the SaveAs the docx gets saved to a network folder and also on a local folder. The lock gets renamed to the filename and remains until Word is closed.
    So my code still fails at the point noted below while trying to delete an old filename version after the file has been saved as a new filename in a new folder. So....
    The code is looking in the last folder where the docx file was saved for the older filename so it can be deleted. The newest docx version has already been saved in a different folder and has a new lock handle of its own. That lock is not my problem, it's
    the older file lock which really exists in the same folder as the first filename that the docx was saved to. It does not release that lock until I exit Word. My work around has been to instruct all users to manually delete the older version file.
    The other odd thing is this only happens when I run it from code, if you manually go through these steps with the SaveAs menu drop-downs in Word it will release the lock handle???
    Hope this isn't to confusing and thanks for all your suggestions and help.
    Sub DeleteOldDoc()
    OldPathNet = "\\yourPath\" & TestDocName ' & "\"
    DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
    If Not TestDocName = DocName01 Then
    Set filesys = CreateObject("Scripting.FileSystemObject")
    If filesys.FileExists(DocNameold) Then
    filesys.DeleteFile (DocNameold), True 'I get file permission error here- lock handle is still present from last SaveAs command in last folder where previous version of file was saved.
    End If
    End If
    If DocName01 <> "" Then
    If Not TestDocName = DocName01 Then
    If Not TestDocName = "" Then
    MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
    End If
    End If
    End If
    TestDocName = DocName01
    End Sub
    Glenn

  • How to find out if a SQL is using a bind variable or not?

    In order to make a SQL use consistent execution plan, I want to create a profile for a SQL. But I need to know if a SQL is using bind variable or not to create a profile for all the same SQLs except the literal value. How can I do that?
    Thanks in advance

    You can tell if an SQL statement uses a bind variable by looking at the SQL statement.
    If you look in the program that submits the SQL statement you can see how it constructs, prepares, and executes the statement.
    If you are just looking at the SQL in the shared pool then depending on how the statement is written and the setting of database parameters like cursor sharing then it can be more difficult but if you see a constant (actual value) that is a constant. A bind variable would appear as a name in the where clause where that name does not exist any of the tables referenced in the query. Note it is technically possible to create pl/sql variables with the same name as columns in the query but that is poor coding and leads to issues.
    Note - To Oracle two versions of the otherwise same query where one has a constant and the other has a bind variable are not the same query and often produce different plans. This is a common error made by developers new to Oracle when using explain plan. To explain a query that uses bind variables place a ":" in front of the variable name in the SQL submitted to explain plan.
    HTH -- Mark D Powell --

  • Merge catalog function process starts and runs but does not complete

    I am trying to merge my laptop catalog with my desktop catalog. Both machines are LR5.4 and OSX 10.9.3.
    I am following the documented LR process. The merge starts, runs and looks like it completes but the new data (photos and catalog information) does not show up in desktop (merged) catalog.
    When I try it again, the dialog box indicates that the new files have been exported (as they are no longer highlighted).
    I can not locate any files (by name) on the desktop that have moved from the laptop.
    What do I do next?

    Hello Katephone,
    Thank you for visiting Apple Support Communities.
    If your iPhone won't complete the backup to iTunes, check out this article, 
    iOS: If you can't back up or restore from a backup in iTunes
    Note it also links to another troubleshooting article:
    Apple software on Windows: May see performance issues and blank iTunes Store
    Please check them out.
    Best Regards,
    Nubz

  • Running transactional replication on SQL server 2008R2 but: "The process could not connect to subscriber 'SERVER NAME'"

    I've set up Replication (transactional replication) between two remote servers. On the one of server that I configure Distribution & publication .another server is subscription. The subscription is all set & snapshot agent is started .but the actual
    replication doesn't take place.
    When viewing the Synchronization Status of the subscription, i get an error, saying "The process could not connect to Subscriber ‘Server name'."
    Clicking on start, this is the error message I get:
    The agent could not be started.
    Additional information:
    An exception while executing a Transact-SQL statement or batch.
    SQL Server Agent Error: Request to run job Server1-EDUSRV-Pubs-Server2-14 (from User Server1\Administrator) refused because the job is already running from a request by User sa.
    Change database context to 'EDUSRV'.(Microsoft SQL Server Error:22022)
    What can i do?
    Please help me.Thanks

    The error The process could not connect to Subscriber 'Server name' indicates that the Distribution Agent process account does not have enough permissions to connect to the Subscriber.
    If this is a push subscription, verify the Distribution Agent process account is db_owner in the distribution and subscription databases, is a member of the PAL, and has read permissions on the snapshot share.
    If this is a pull subscription, verify the Distribution Agent process account is db_owner in the subscription database, is a member of the PAL, and has read permissions on the snapshot share.
    The permissions required are covered in
    Replication Agent Security Model.
    If you have anymore questions, please let me know.  I hope this helps.
    Brandon Williams (blog |
    linkedin)

  • Normalization rules seem to be used but ipPhone telephone number not appearing in contact cards

    We keep our CUCM-style telephone numbers in the AD ipPhone attribute.  The format is 000-0000.
    I have added a normalization rule to Company_Phone_Number_Normalization_Rules.txt to make these E.164-ish and to add a prefix (3) that we use to route calls from Lync to CUCM.
    Testing both with abserver.exe and observing a trace,  the rule is being applied correctly.
    args[1]: 824-2072
    824-2072 -> tel:+38242072
        Matching Rule in Company_Phone_Number_Normalization_Rules.txt on line 19
            ^(8\d{6})$
    Component: ABServer
    Function: Contact.AddAttribute
    (ABServer,Contact.AddAttribute:contact.cs(317))(0000000036D00C4F)Id: 13  Name: ipPhone  Value: tel:+38242072
    However,  I still don't see this +38242072 in the contact card.   I tried looking in the rtcab.dbo.AbAttributeValue table and I also don't see any ipPhone (ID 13) values there.
    I looked in absconfig.exe and the "Include phone number value that is currently present in AD for the phone attributes" option is selected (first choice).
    Should I instead be using "Use normalization rules and include normalized number"?

    There are still a few folks where the numbers aren't being published as expected.  To review,  we have this normalization rule:
    ## Company_Phone_Number_Normalization_Rules.txt
    ## 824-2072 -> 3-8242072
    (8\d{6})
    3-$1
    and these two users (LDIF format):
    dn: CN=User with incorrect Lync contact data
    telephoneNumber: +1 (123) 456-5009
    otherTelephone: +1 (123) 456-5009
    ipPhone: 810-5009
    mobile: +1 (123) 533-5009
    dn: CN=User with correct Lync contact data
    telephoneNumber: +1 (123) 456-5034
    otherTelephone: +1 (123) 456-5034
    ipPhone: 810-5034
    mobile: +1 (123) 533-5034
    The "good" user ends up with this "other" attribute (as seen from a dbimpexp.exe dump:
    <phone type="other">
    <readOnly>true</readOnly><displayString>810-5034</displayString>
    <uri>tel:3-8105034;phone-context=enterprise</uri>
    </phone>
    The "bad" user ends up with the E.164 number repeated.
    <phone type="other">
    <readOnly>true</readOnly>
    <displayString>+1 (123) 456-5009</displayString>
    <uri>tel:+11234565009</uri>
    </phone>
    Where else should I be looking to figure out this inconsistency?

  • I gave my daughter a macbook air, it was the 2008 model but it is was still brand new in its box, she has now started using but because it has not been used it is running 10.5. I have bought 10.6 from apple, can i use my macbook pros drive to update hers

    Can i use the drive in my macbook pro to update the macbook air using the installation disk that i have bought from Apple, installing this disk is the only way it seems to update from 10.5. Thanks.

    Yes.
    You will find a lot of information here
    https://discussions.apple.com/message/7312367#7312367

  • HT1600 After playing movie on netflix or purchased through itunes for a while, sound is garbled. people sound like robots. Stops if i retart/restore but,does it again. Software updated,wires all in.

    After playing show purchased through itunes or playing netflix for a approximately 1 hour the sound is garbled. The people speaking soung like robots. I restart/restore and it happens again. Software updated and all connections are fine. What is the problem?? I plan on taking it back...

    Doesn't sound right - if you've unpowered it to restore, and also restored I'd suspect a hardware issue if this gradually develops, perhaps heat related issues.
    If under warranty get it looked at/replaced.
    AC

  • I can't download payed for games but I can download music and update things why?

    I can't download payed for games I want but I can download payed for music and up date stuff how do I fix it?

    These are user-to-user forums, you're not talking to iTunes Support nor Apple. But as Niel says it's unlikely to happen as to doesn't have the ram or processor to support iOS 6.
    Have you checked to see if the developers of the Netflix app have an older compatible version of their app in your country's app store ? Try downloading the current version on your computer's iTunes so that the app is in your purchase history, and then on your iPad go to the Purchased tab in the App Store app and see if you can download an older compatible version of it.

  • HT4623 my iphone 3 does no have a software update option why ?

    hi I am trying to update my iphone 3 however there is no software update option under settings. anyone know why or how I can update please

    You need to have iOS 5 installed. Software Update on the iPhone only became available with that update. If your have a 3GS follow this.
    http://support.apple.com/kb/HT4972

  • On Submit process not firing -report (PL/SQL function returning SQL query)

    Can anyone suggest possible causes / solutions for the following problem?
    I have a report region that uses a PL/SQL function returning SQL query. The report allows the user to update multiple fields / rows and then click a button to submit the page which should run the On-Submit process to update the database. However the process does not run and I get a 'HTTP404 page cannot be found' error; and when I navigate back using the Back button I cannot then navigate to any other page in my application without getting the same error. The button was created by a wizard selecting the options to submit the page and redirect to a (same) page. The button does not actually have a redirect in its definition but the wizard created a branch to the same page which should work and the button has the text 'submit as SUBMIT' next to it so it appears to be set up correctly.
    I have recreated this page several times in my application and I cannot get the On-Submit process to run. However I have created a cut down version of the same page in the sample application on apex.oracle.com at http://apex.oracle.com/pls/otn/f?p=4550:1:179951678764332 and this works perfectly so I am at a loss to understand why it does not work in my application. I cannot post any part of the application itself but if anybody would like to check out page 30 of the sample application (Customer Update Test tab) updating the surnames only, using credentials ja, demo, demo this is pretty much what I have got in my application.
    Any ideas would be much appreciated?

    Thanks for the suggestions guys. I have now identified that the problem goes away when I remove the second table from my report query. The original report query retrieved data from two tables and the process was updating only one of the tables. I thought I had approached the task logically i.e. first get the report to display the records from the two tables, then get the process to update the first table and finally to modify the process further to update the second table.
    Can anyone point me to an example of multiple row updates on multiple tables using a PL/SQL function returning an SQL query?

  • I have enabled both the traces 1204 and 1222 in sql server 2008 but not able to capture deadlocks

    In Application error:
    2014-09-06 12:04:10,140 ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet DoMethod threw exception
    javax.servlet.ServletException: java.lang.Exception: [ErrorCode] 0010 [ServerError] [DM_SESSION_E_DEADLOCK]error:  "Operation failed due to DBMS Deadlock error." 
    And
    I have enabled both the traces 1204 and 1222 in sql server 2008 but still I am not getting any deadlock in sql server logs.
    Thanks

    Thanks Shanky may be u believe or not but right now I am in a migration of 4 lakh documents in documentum on Production site.
    and the process from documentum is halting due to this error but I am not able to get any deadlock in the sql server while the deadlock error is coming in documentum:
    [ Date ] 2014-09-06 17:54:48,192 [ Priority ] INFO [ Text 3 ] [STDOUT] 17:54:48,192 ERROR [http-0.0.0.0-9080-3] com.bureauveritas.documentum.commons.method.SystemSessionMethod - ERROR 100: problem occured when connecting repository! DfServiceException::
    THREAD: http-0.0.0.0-9080-3; MSG: [DM_SESSION_E_DEADLOCK]error: "Operation failed due to DBMS Deadlock error."; ERRORCODE: 100; NEXT: null at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.checkForDeadlock(NetwiseDocbaseRpcClient.java:276)
    at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForObject(NetwiseDocbaseRpcClient.java:647) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$8.evaluate(DocbaseConnection.java:1292) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1055)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForObject(DocbaseConnection.java:1284) at com.documentum.fc.client.impl.docbase.DocbaseApi.authenticateUser(DocbaseApi.java:1701) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.authenticate(DocbaseConnection.java:418)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.open(DocbaseConnection.java:128) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(DocbaseConnection.java:97) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(DocbaseConnection.java:60)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionFactory.newDocbaseConnection(DocbaseConnectionFactory.java:26) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.getDocbaseConnection(DocbaseConnectionManager.java:83)
    at com.documentum.fc.client.impl.session.SessionFactory.newSession(SessionFactory.java:29) at com.documentum.fc.client.impl.session.PrincipalAwareSessionFactory.newSession(PrincipalAwareSessionFactory.java:35) at com.documentum.fc.client.impl.session.PooledSessionFactory.newSession(PooledSessionFactory.java:47)
    at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(SessionManager.java:111) at com.documentum.fc.client.impl.session.SessionManager.newSession(SessionManager.java:64) at com.documentum.fc.client.impl.session.SessionManager.getSession(SessionManager.java:168)
    at com.bureauveritas.documentum.commons.method.SystemSessionMethod.execute(Unknown Source) at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source) at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source) at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown
    Source) at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) (Log Path:SID CER > vmsfrndc01docpp > JMS_Log > server ,Host: vmsfrndc01docpp ,Apps: [SID CER, SID IVS])</init></init>
    Thanks

Maybe you are looking for

  • Issues with iTunes after upgrading to Lion OS v10.7

    Hello my sabi friends out there, I just upgrated to Lion OS v10.7, everything seemed to be in order, however, I lost ALL my playlists on iTunes, in addition, some music never transfered to iTunes. I tried to restore iTunes from my last back up, howev

  • Connecting wirelessly with other computers including pcs in my home network

    my home network is set up wirelessly through my linksys router with 2 pcs (vista) an ibook and an iMac. My pc recognizes the iMac but when I go to open the public folder it says "Windows cannot access...". When I run diagnostics, it says make sure yo

  • Staging Area location

    Hello, I am having trouble with the staging area on my enterprise manager 12c server. When i try to download an assembly it downloads to the default staging location which is /u01/app/oracle/product/12.1.0/omshome_1/gc_inst/em/EMGC_OMS1/sysman//stage

  • Hcm process as callable object in GP

    Hi All, I have an abap wd application named asr_process_execute ..which is used for executing certain processes using HCM processes and forms And we have integrated it as one of the callable object in the guided procedure.. My requirement is when the

  • 30G iPod doesn't play audio in movies or videos

    My 30G iPod doesn't play audio in movies or videos... Can anybody help me? Thanks!