"sequence 'JDR_DOCUMENT_ID_S' is corrupt"  using JPXImporter

used JPX Import to load components with the following command :
java oracle.jrad.tools.xml.importer.JPXImporter $JAVA_TOP/cggv/oracle/apps/per/selfservice/appraisals/server/MgrAppraisalsInProgressVOEx.jpx -username apps -password $mp_apps -dbconnection "(description = (address_list = (address = (protocol =tcp)(host = $MHOST)(port = $MPORT)))(connect_data = (sid = $TWO_TASK)))"
We have had the following error :
Start Date = 14062011054147
Log = /appl/TSTA/product/apps/apps_st/appl/xxcggv/12.0.0/install/HRE056/20110614/14062011054147.log
OK
/appl/TSTA/product/apps/apps_st/appl/xxcggv/12.0.0/install/HRE056/20110614
Failed to save the document as the database sequence 'JDR_DOCUMENT_ID_S' is corrupt.
ORA-20102:
ORA-06512: at "APPS.JDR_MDS_INTERNAL", line 1983
ORA-06512: at line 1
We have discovered that the nextval of the sequence used (JDR_DOCUMENT_ID_S) to create the document in JDR_PATH table was inferior to the max path_docid.
I think that the error comes from that each time we want to import a new component with JPX_IMPORT, the sequence provided an ID that already exists in the table.
The big question is : can we increment manually on production the sequence to exceed the max path_docid ?
On a Test instance, we have manually increment the sequence and we could import without any problem.
Or do you provide anything else ?

Niel, you can do this a number of ways. The easist way would be to have a blank document id attribute in the root element and use updatexml() to add it.
You could do this as part of the insert.
Code would look somethinglike this..
insert into table values (updateXML(sourceXML,'/root/@docid',counter.nextval()))

Similar Messages

  • HT3053 I have a 13inch MacBook Pro and when I switch it on the apple logo appears then a slot and the circular symbol which is turning and then before opening the home screen it switches off again. Is there a sequence that I can use to force it to load.

    I have got a 13 inch MacBook Pro and it got stuck in a loop so I switched it off by holding the power button down and now when I switch it on the apple logo appears then I get a blank slot at the bottom of the screen then the circle appears and rotates and then it switches off again, I have tried starting it again with the system disc that came with it when it was new but it makes no difference. Is there a sequence that I can use to force it to start.

    Sorry. We can't help you. It's no longer an iPhone. Apple won't touch it.
    Take it to whoever replaced the screen and see if they can help you.
    iPhones are not user servicable and Apple does not sell iPhone parts at all. I'd be surprised if you were actually able to back it up at this point. It sounds like it's completely borked.

  • How to find out which sequence a certain column used?

    you konw column C in table T is created by a sequence.
    How to find out which sequence column C is using?

    In the meantime I think it ought to becompulsory to
    only assign sequence values in triggers.
    Why? I can see no good reason for this. I think it's a good idea to have stuff like this
    coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
    "naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
    Thats what code reviews are.
    " there is also the special case of one sequence populating more than one table...."
    This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
    Unfortunately I have to live with a system which does this.
    and I appreciate we can't all have code reviews, etc.

  • Playing Clips/Sequences in background, while using other application?

    I am working for a reality TV show and we are trying to take notes in Microsoft Word while the editors sequences are playing.
    Is there any way to change the preferences so that Final Cut will play a clip or a sequence while we are using another application, like Word.
    I know that quicktimes will play while I use other applications but will Final Cut do the same thing?
    Thanks for all your help!

    The program is not so sophisticated as to track both sequence TC and clip TC.
    If you need Clip TC, as Michael notes, just open them individually in Notetaker. Be sure to add other info Like Reel Name (number) on your own. The program doesn't seem to read the additional info fields that you add in FCP.
    While not perfect, it does offer a slick way to create review notes for easy communication.
    I understand one of the Adobe Premiere collaborative tools includes a note taking extension. I reportedly creates a file that can be imported by another person and will place markers on the timeline with the comments.
    I suppose if someone were very capable with XML scripting, they could do the same thing with a text file containing TC markers and be able to import that into a project ....
    cheers,
    x

  • The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.

    The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.

    Saving as a PDF file for some users have been a problem.  If you boot into  Safe Mode and run iPhoto you can create undamaged PDF files.  We don't know why the problem but this is a workaround.
    This problem prevents many from ordering books, calendars and cards since iPhoto creates PDF file of them for uploading and printing.  Booting into Safe Mode lets them successfully order those items.

  • What sequence setting would you use to edit 1280 x1080 DVCProHD (P2) and 1920 x 1080 AVCHD (Sony) in FCP. Experiencing Quality and rendering issues.

    What sequence setting would you use to edit both 1280 x1080 DVCProHD (P2) and 1920 x 1080 AVCHD (Sony) in a single timeline in FCP. I'm experiencing quality and rendering issues.  I've tried numerous settings but can't seem to figure this one out.  Thanks for your assistance.

    Although you can combine the avchd 1920x1080 material with prores 1920x1080 in the same timeline, you might land up saving time just converting everything to 1920x1080 prores 422.   You'd probably reduce the amount of rendering while you're working and exporting when you're done by a great deal.  This workflow will require much more drive space.

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Auto-numbering sequence from last number used

    Is there a way to set the Filename Template Editor and the Text Template Editor to automatically start numbering a batch of images from the latest number used?
    At present in Editor, one has to set the Start Number manually. I am using this feature on photos that were imported into LR long ago and am now getting around to editing, processing, cataloguing them. Part of that process for me is renaming them, giving each a custom+sequence Filename, for example "DDOH-3256".
    The way the text editor is set up now, I have to remember what I was working on most recently, find it, check what the last sequence number was in that batch, then set the next available sequence number in the Text Template Editor.
    I used to use IView Media Pro and it had a lot more naming and re-naming conventions, including. It would be great if LR had the same options.
    Thanks for any help or feedback,
    Esther
    Lightroom v1.4.1
    Mac OS 10.5.2 Leopard
    iMac 20" monitor
    2.4 GHz Intel Core 2 Duo
    2 GB DDR2 SDRAM

    746379 wrote:
    Hi,
    I have a sequence and i am using that in a procedure to insert records.Often the procedure throws error like primary key violated.
    When i checked the last number used by the sequence it gave me as 27331 and the currval of the sequence as 27312.
    Please advice us to rectify this.First make sure that you understand the difference between a primary key and a sequence.
    A sequence is just a number generator. Oracle guarantees that the sequence will give you a new unique number each time that you call NEXTVAL. If the sequence is cycling then it can even generate the same number again after some time but this is rarely the case.
    A primary key is a constaint on your table that requires all values in the column to be unique and not null.
    When you get an primary key violated error then you just tried to insert a value that was already there in the table.
    Some scenarios might be the reason for this.
    <li>You insert a row using the sequence. You insert a new row using the same number again without fetching it from NEXTVAL (e.g. using currval instead of nextval, or not updating a variable that holds the new ID,...)</li>
    <li>Somebody else already inserted an ID without using the sequence</li>
    <li>A variation is when you import data from another database and resetted the sequences</li>
    <li>There is some test data in your tables. The test data was inserted in a high ID range to separate it from the real data. Your sequence just reached this range.</li>

  • Wrong sequencing with Oracle db using sequence table?

    Hi,
    we have a strange problem resulting in primary key violations in a table which is using a sequence (no native sequencing, but a sequence table).
    We use Oracle 9.2.0.x
    We have a table which is mapped to a Java type which has two derived types, i. e. in the table, two different "object types" are contained (the table contains all attributes of both classes). This table uses a sequence key as primary key.
    This works pretty fine when the table is left empty in the beginning.
    However, if we fill 15 records in this table by a SQL script - not by toplink! - (for migration purposes), and then set the initial sequence value in the sequence table to 500 (which should be greater than 15 ;-) by the same SQL script, then restart the application server (Bea Weblogic), and then try to add new records via Toplink, we get a primary key violation.
    It sounds odd but it seems as if Toplink would store the initial sequence value somewhere else and does not care about the value we entered "manually" in the sequence table.
    Can anybody give us a hint what the reason could be for this problem? Is it the inheritance of the Java Types from one abstract type? Does sequence number caching play a role (we used a preallocation size of 500 and of 1 - with the same negative effect).
    If you need additional information, don't hesitate to drop me a notice.
    Thanks,
    Andreas.

    Each time the application using TopLink starts it will lazily acquire the next pre-allocation batch of values from the database.
    You will see SQL entries like:
    UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 50 WHERE SEQ_NAME = 'EMP_SEQ'
    SELECT SEQ_COUNT FROM SEQUENCE WHERE SEQ_NAME = 'EMP_SEQ'
    TopLink will increment the table's value and then use the values from 1 greater then initial value up to and including the value it just incremented the row to.
    In your example you should see, after re-starting the server, the next value to be 501.
    What exact version of TopLink are you using?
    When you enable SQL logging what statement do you see executed, related to the sequence table prior to the invalid INSERT?
    Doug

  • Why will iphoto not open, library corrupted using older version?

    iMac OSX Version 10.6.8 iMac12,2
    Intel Core i5 iPhoto 8.1.2,
    iphoto will not open, library corrupted using older version
    I have removed all iphoto files and avatars as one person has suggested. I am suppose to reinstall iPhoto using the discs that came with the computer.
    I am not sure what to do with any options that might be provided. Any help will be appreciated.

    Be sure the DNG Converter's compatibility is set to provide support for your version of ACR:
    Benjamin

  • Video camera compatibility for CS5? what sequence setting do I use?

    I am new to the extraordinarily complex world of hard drive/hybrid cameras. I have always used tape and firewires with few problems. A student came in today with new camera she just bought a Panasonic SDR –H85. We downloaded a video file, but it would not import into Premiere. I also had no idea which of the dozen new sequence set-ups to use. How do I find out camera compatibility for CS5? (Adobe doesn’t list specific models.) And what sequence setting do I use?

    Thanks for your help! For some reason we had a hard time finding these specs. It looks like it is a SD camera, not a High Definition camera (the HD on the side of the camera mistakenly meant Hard Drive, not High Definition?)
    At any rate we now need to use the Adobe media encoder to convert the file so that we can import it into Premiere ….all with a loss of quality due to the re-rendering. (btw, what is the best file to re-render?). I suggested that the student who just bought it return it for a camera (preferably High Def) that will work in Premiere. Any suggestions?

  • How to fix sequence editor error when using Test Executive 5.1.1 with Labview6.0?

    I had a test sequence that was built with Test Executive 5.1.1 and Labview 5.1.1. The sequence test step vi used Test Shell to allow the user to edit and config the test. After upgrading the test step vi from Labview 5.1.1 to Labview6.0 by mass compiling all vi to Labview6.0, an error occurred while editing the test vi. The error is as following:"Sequence Editor Error: Config Test Vi Callback.vi: Could not config test vi. Make sure the path to the vi is valid." I am sure the vi path is valid, does anybody has any idea why the path was not seen? How can this bug be fixed? Any hints or suggestion would be helpful.

    That's really a TestStand question. You should post to the TestStand Discussion forum. TestStand Discussion Forum

  • Check corruption using RMAN

    Hi,
    We take cold database backup daily using tivoli. It's just like OS copy of database files when database is down. Can we check this backup for logical and physical corruption using RMAN?
    Database Version: 10.2.0.2 on AIX 5.3
    Thanks in advance,
    Edited by: santi on May 1, 2010 6:14 AM

    dbv -help
    DBVERIFY: Release 10.2.0.1.0 - Production on Sat May 1 07:48:41 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Keyword     Description                    (Default)
    FILE        File to Verify                 (NONE)
    START       Start Block                    (First Block of File)
    END         End Block                      (Last Block of File)
    BLOCKSIZE   Logical Block Size             (8192)
    LOGFILE     Output Log                     (NONE)
    FEEDBACK    Display Progress               (0)
    PARFILE     Parameter File                 (NONE)
    USERID      Username/Password              (NONE)
    SEGMENT_ID  Segment ID (tsn.relfile.block) (NONE)
    HIGH_SCN    Highest Block SCN To Verify    (NONE)
                (scn_wrap.scn_base OR scn)           dbv can be run against datafiles while DB is up & online or while DB is down

  • How to overcome Block corruption using RMAN

    Hi All,
    How to overcome bolck corruption using RMAN. What is the procedure to do so.
    Thanks & Regards
    J.Venugopal

    Hi all,
    I´ve performed the following command on RMAN:
    RMAN> BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL;After, I query the V$DATABASE_BLOCK_CORRUPTION table, and the below records
    was returned:
         FILE#     BLOCK#     BLOCKS CORRUPTION_CHANGE# CORRUPTIO
            67       4670          1         1202832866 LOGICAL
            68     154131        338         1175601952 LOGICAL
            68     155329         60         1174783128 LOGICAL
            68     155409         60         1174783132 LOGICAL
            68     155471         78         1174783135 LOGICAL
            68     155551         78         1174783139 LOGICAL
            68     155631         18         1174783143 LOGICAL
            68     155651         18         1174783144 LOGICAL
            68     155671         18         1174783145 LOGICAL
            68     155691         18         1174783146 LOGICAL
            68     155711         18         1174783147 LOGICAL
            68     155731         18         1174783148 LOGICAL
            68     155751         18         1174783149 LOGICAL
            68     155771         78         1174783150 LOGICAL
            68     155851         78         1174783154 LOGICAL
            68     155931         49         1174783158 LOGICAL
            73     165758          1         1180191676 LOGICALSo, when I try to recover these blocks by using blockrecover command, I got the error:
    RMAN> blockrecover corruption list;
    Starting blockrecover at 27-SEP-07
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of blockrecover command at 09/27/2007 10:22:10
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 73 found to restore
    RMAN-06023: no backup or copy of datafile 68 found to restore
    RMAN-06023: no backup or copy of datafile 67 found to restoreWhat can I do in this case?
    Thank U very much!
    []´s

  • How to practice "Archived log sequences loss- Block corruptions recovery"

    Hello,
    Prepare and test a recovery scenarios
    - System Tablespace loss
    - Online Redolog loss
    - Controlfile loss
    - Data Tablespace loss
    - Single/multiple datafile loss
    - Archived log sequences loss- Block corruptions recovery
    - Total loss (database)
    - Total loss (server = database/software/parameter files)
    11g on windows
    I am practicing my rman recovery and found this list of recovery scenarios. I have completed all scenarios
    besides "Archived log sequences loss- Block corruptions recovery"
    How do I break the database for the snenario "Archived log sequences loss- Block corruptions recovery"?
    Do I delete the acr.001 files in directory I:\oracle\product\11.1.0\db_1\RDBMS? Then recovery as far forward as I can?
    thanks for your help.

    thanks for the tips
    11g on windows 2003
    I broke the database like this:
    rman backup
    shutdown immediate;
    deleted datafile 5
    delete most recent archivelogs seq 5 and 6;
    recovered like this:
    startup mount;
    restore datafile 5;
    recover datafile 5;
    alter database open;
    This does not seem correct? Did this also apply my archivelogs seq 5 and 6? Should I also do a point in time recovery?
    Should I also run this?
    run (set until sequence 6 thread 1; restore database; recover database;)
    thanks for any help

Maybe you are looking for

  • Error in Running LEX Program

    hi Friends, I'm using Solaries 5.2, I have a lex program which is already running in MainFrame, It is compiled in MVS compiler. When I try to use the same program without any change, I face the following errors. Error: Parse Tree too big in my decler

  • Not able to install Oracle 10g on Windows Vista Home Premium

    Hi All. I bought new Laptop preinstalled with Windows vista Home premium. I tried to install Oracle 10g , but it failed. Error: Oracle 10g doesn't support vista sp5. Should be less than sp5. Can anybody suggest me, which version of Oracle supports Wi

  • Memory leak in "Tenured Generation" heap (JVM 1.5)?!

    For about over a year, I'm trying to hunt down the memory leak in our server application. But after all the improvements I've made (especially with 'forgotten' listeners that didn't exist anymore), I'm confident that the application doesn't have a me

  • How to create a cell column with JTextArea in JTable

    I am developing an Application using Java Swings. I need to use JTextArea in my JTable. I need the code to do so. I also want to show the scrollbars in the JTextArea. Any efforts in this regard would be of great help. Thanks in advance. Thanks Alagu

  • Lightning Adapter (to 30 pin) work in old docking speaker?

    Hi all I want to know if i buy iphone 5 and buy the Lightning Adapter Lightning Adapter (to 30 pin) work in old docking speaker? thank you