[TOPLINK-7027] The sequence named X is setup incorrectly.  Its inc

I am testing a SOA composite application, that with a DB adapter performs an INSERT against an Oracle DB 11g and I'm getting this exception, on which I am bit confused since on my opinion the sequence definition looks fine.
ps: from sqlplus works fine
Dec 28, 2009 1:49:39 PM oracle.j2ee.ws.server.ServerMessages severeMsgServletException
SEVERE: An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
insert failed. Descriptor name: [AuditDB.Log].
Caused by Exception [TOPLINK-7027] (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)): oracle.toplink.exceptions.ValidationException
Exception Description: The sequence named [LOG_SEQ1] is setup incorrectly. Its increment does not match its pre-allocation size..
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
CREATE TABLE "POC_AUDIT"."LOG"
(     "ID" NUMBER NOT NULL ENABLE,
     "WHO" VARCHAR2(20 BYTE) NOT NULL ENABLE,
     "WHEN" DATE NOT NULL ENABLE,
     "WHICH_CLIENT" VARCHAR2(20 BYTE),
     "WHICH_SYS" VARCHAR2(20 BYTE) NOT NULL ENABLE,
     "IP_CLIENT" VARCHAR2(20 BYTE),
     "WS_OPERATION" VARCHAR2(20 BYTE),
     CONSTRAINT "LOG_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
CREATE OR REPLACE TRIGGER "POC_AUDIT"."LOG_TRG"
BEFORE INSERT ON LOG
FOR EACH ROW
BEGIN
<<COLUMN_SEQUENCES>>
BEGIN
IF :NEW.ID IS NULL THEN
SELECT LOG_SEQ1.NEXTVAL INTO :NEW.ID FROM DUAL;
END IF;
END COLUMN_SEQUENCES;
END;
ALTER TRIGGER "POC_AUDIT"."LOG_TRG" ENABLE;
CREATE SEQUENCE "POC_AUDIT"."LOG_SEQ1" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 22 CACHE 20 NOORDER NOCYCLE ;

I've found it. It is in the dbAdapter connection pool's configuration
In the Weblogic's console:
1) Deployments->dbAdapter
2) Configuration's Tab
3) Click on (+)
4) Click on your ConnectionPoolFactory
5) Properties' Tab
6) Change 'sequencePreallocationSize' property's value to 1. Press ENTER to actually change it.
7) Click Save button.
8) Go to Deployments
9) Check dbAdapter and click Update
10) Click Finish
Edited by: Neuquino2 on Jun 3, 2010 5:18 PM

Similar Messages

  • TOPLINK-7027 The sequence named is setup incorrectly

    Oracle Fusion 11g
    Oracle DB 11g
    JDev 11g
    I'm testing a SOA composite application and I am getting this error. I am a bit confused since the sequence definition looks fine and from SQLPLUS I don't get any error. The trace here below came from WebLogic SOA server.
    Any suggestions on this are welcomed.
    ec 28, 2009 1:49:39 PM oracle.j2ee.ws.server.ServerMessages severeMsgServletException
    SEVERE: An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [AuditDB.Log].
    Caused by Exception [TOPLINK-7027] (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)): oracle.toplink.exceptions.ValidationException
    Exception Description: The sequence named [LOG_SEQ1] is setup incorrectly. Its increment does not match its pre-allocation size..
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    CREATE OR REPLACE TRIGGER "POC_AUDIT"."LOG_TRG"
    BEFORE INSERT ON LOG
    FOR EACH ROW
    BEGIN
    <<COLUMN_SEQUENCES>>
    BEGIN
    IF :NEW.ID IS NULL THEN
    SELECT LOG_SEQ1.NEXTVAL INTO :NEW.ID FROM DUAL;
    END IF;
    END COLUMN_SEQUENCES;
    END;
    ALTER TRIGGER "POC_AUDIT"."LOG_TRG" ENABLE;
    CREATE SEQUENCE "POC_AUDIT"."LOG_SEQ1" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 22 CACHE 20 NOORDER NOCYCLE ;
    Thanks in advance

    Hi,
    Error shows that preallocation size set is not correct.For example,
    you must specify the allocationSize to match the INCREMENT value of the database sequence object. For example, if you have a sequence object that you defined to INCREMENT BY 5, set the allocationSize to 5 in the sequence generator definition.
    Also provide the session.xml and tlmap.xml to look in to the details further.
    Regards,
    P.Vinay Kumar

  • The sequence named "sequence name" is setup incorrectly.

    Hi everyone , I am using a trigger on my database when inserting a records..
    when i persiste the entity i am getting this error
    Exception Description: The sequence named [SEQUENCE_PROJECT_ASSIGNMENT] is setup incorrectly. Its increment does not match its pre-allocation size.; nested exception is: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.EntityExistsException:
    Can anyone help me please...
    I am using EJB 3.0
    Thank you for your kind cooperation
    Regards
    Lutchumaya

    Okay. Suppose we have a simple entity:
    @Entity
    public class Book implements Serializable {
        @Id
        @GeneratedValue(
            strategy = GenerationType.SEQUENCE,
            generator = "bookIdGen"
        @SequenceGenerator(
            name = "bookIdGen",
            sequenceName = "seq_books_id",
            allocationSize = 1
        private Long id;
        // some more code
    }This configuration tells EJB3 (namely JPA) to fill in the id from a sequence "seq_books_id". It is important that the sequence is defined like that:
    CREATE SEQUENCE seq_books_id START WITH 1 INCREMENT BY 1; -- it's the value of INCREMENT BY that really mattersThe value of INCREMENT BY in your sequence should match the value of allocationSize in the @SequenceGenerator annotation shown above. The approach with the sequence generator allows you to forget about triggers here - the id is filled in automatically by JPA.
    Janusz

  • Sequence setup incorrectly

    Hi,
    I have an entity, where its id is generated by a sequence. The sequence was created as follows, in an oracle DB
    CREATE SEQUENCE SEQ_BITACORA INCREMENT BY 1 START WITH 1 MAXVALUE 999999999999 MINVALUE 1 ;
    In the entity class I have set the generated value annotation very simple
    @Id
    @GeneratedValue(strategy= GenerationType.SEQUENCE, generator="SEQ_BITACORA")
    @Column(name="CODIGO_BITACORA", nullable = false)
    public Long getCodigoBitacora() {
    return codigoBitacora;
    But when I try to merge the entity, it throws the following exception
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: returning error in transaction: Exception TOPLINK-7027 (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: The sequence named SEQ_BITACORA is setup incorrectly. Its increment does not match its pre-allocation size.
    When I query the nextval using sqlplus it works fine
    select SEQ_BITACORA.NEXTVAL from dual;
    NEXTVAL
    2
    I have another id generated with another sequence, but has exactly the same configuration. What could be going wrong with this sequence?
    Thanks in advance.

    It´s fixed by adding
    @SequenceGenerator(name="SEQ_BITACORA_GENERATOR", sequenceName="SEQ_BITACORA", allocationSize=1)

  • Is there a way to create a renaming preset where the sequence starts at the number "0" zero?

    What I am trying to achieve is the following:
    Fro example, I am photographing a handbag and I need to rename the file using a barcode and a barcode scanner.
    My sequence of images goes like this:
    Image 1: Tag shot
    Image 2: Front
    Image 3: Back
    Image 4: Inside bag
    Let's say the barcode once scanned produces a code such as TRE8801AZT16-Z
    Right now my current preset is "Custom Text_Image # (1)"
    This results with the images being renamed as:
    TagShot: TRE8801AST16-Z_1
    Front: TRE8801AST16-Z_2
    Back: TRE8801AST16-Z_3
    Inside bag: TRE8801AST16-Z_4
    What I need is the sequence to start at zero so the tag shot is _0 and my images are named like this:
    TagShot: TRE8801AST16-Z_0
    Front: TRE8801AST16-Z_1
    Back: TRE8801AST16-Z_2
    Inside bag: TRE8801AST16-Z_3
    Is this possible? If yes, how?
    Thanks for the help
    Cody

    About as close as you can get is to right-click on a single clip and Make Multiclip Sequence. Hit OK to make an sequence out of the single clip. Open the sequence made and delete the multiclip and edit the clip you want back into the sequence.

  • Project renames sequence and all clips in the sequence when a clip is added

    My project is renaming my sequences and the clips in those sequences whenever I add a clip. For example, I have a sequence called "dance section 2", which contains 20 some-odd clips with various names. When I add a clip named "drop from above", the name of the sequence is changed to "drop from above", and the name of every other clip in the sequence is also changed to "drop from above" (video, audio, stills, everything). When I add a clip named "spins", all the names are changed to "spins".
    The name of the sequence is changed in both the timeline and the browser, but the names of the other clips are changed only in the timeline. In the browser, they keep their old names. The exception to this is the last clip added before the name changer. For example, if I add "drop from above" to the sequence, and then add "spins", the clip named "drop from above" is renamed "spins" in the browser as well as in the timeline, but the other clips are renamed only in the timeline.
    The clips in the sequence also keep their original content - so the sequence looks the same as it did before, but all the names of the clips are changed.
    This is only happening in one project. All of my other projects are working fine.
    I've tried restarting and deleting preferences. I've also looked at the autosave vault for the project. The backup projects saved after a certain time all behave the same way, and the projects before that time all behave normally. I can't imagine what would have caused this, though, since I've been working on this project all day and nothing's happened to my computer or hard drive or anything.
    Also, there are no freeze frames at the beginnings of my sequences (I read another thread with a somewhat similar issue and getting rid of freeze frames seemed to help that person).
    I'm in FCP 7.0 on a Macbook Pro.
    Thanks in advance for your help!

    Welcome to the discussions...
    I've had this happen. My guess is that it's related to round-tripping to/from Color, but I can't be sure. IMHO, the sequence is corrupted. I just dealt with it for a while, then rebuilt it by making changes from an earlier version.
    Sorry I don't have a better solution, but at least you know you're not alone.
    Patrick

  • How to find out the Sequence settings of a created sequence?

    I have had a problem come up a few times where I am switching back and forth from one format to another, I frequently work on multiple edits, and my sound goes out of sync. This is usually because the sequence is set wrong (from when I switch and forget to change it back) and when exported it compresses the audio wrong. How do you find out what the settings are for a sequence you are working on when it's open in the FCP timeline? I'm looking for a quick way to rule out the sequence as part of the audio sync problem.
    Thanks,
    -Bluecast

    Or Command-0. What about Easy Setups? I use them routinely so that I don't have to think about setups. Once the setup is saved and properly used, all the settings for sequences and hardware are easily made for you.

  • How to apply Property Loader to all sequences in the Sequence File?

    HI,
    I'm following the help instructions for the Property Loader and it states....
    Use Current Sequence File—Selects the file where the step is located.
    Sequence—Specifies the name of the sequence into which to import variables and properties. The specified sequence must exist in the specified sequence file. Select the <ALL SEQUENCES> tag from the drop-down list to instruct TestStand to import variables and properties for all of the sequences in the specified sequence file. You must specify a valid sequence name for the step to work properly.
    In my specific sequence file I added the Callbacks:  SequenceFileLoad, SequenceFileUnload, PreUUT. In addition to that, my MainSequence is calling 2 subsequences.
    I put the propertyLoader step (setting few values of the SequenceFileGlobals) in the setup section of the SequenceFileLoad, checked the 'Use Current Sequence File' and selected ALL SEQUENCES tag in the 'Sequence' option.  I verified that it does what I wanted.  Then, is it entered the PreUUT subsequnce, the values returned to the "original" values.
    Is that a bug?
    If not, how do I use the PropertyLoader in a sequenceFile that include several subsequences as well as Callback sequences.
    Thanks
    Rafi

    Ooops, sorry about that...
    I forgot to mention....it is TS 3.5.
    As per your questions-- yes they all in the same sequence file. 
         mySeqFile.seq
               SequenceFileLoad
               SdequnceFileUnload
               PreUUT
               Seq1
               Seq2
    AS I said....I put the property loader in the setup of the SequenceFileLoad,  I see that it works properly in that subsequence.  Then, after the SuequenceFileLoad is finished, I do Ctl+F5 for Test UUT's.  I put a breakpoint in the first step of the preUUT subsequence and check the context.  I notice that the variables in the FileGlobals to whom the property loader writes, have been changed back to the original values.
    I'll try to create a simple program to duplicate it but it may take me time as this test station is very busy.
    Thanks
    Rafi

  • How to use toplink in the tomcat server?

    Hi,
    I want to use Toplink in the tomcat server. I am connecting to oracle database using DataSource.
    Can any body help me, what are the setup required to use the toplink in the tomcat?
    Please help me if any body has idea on the same.

    Take a look at this other forum posting: Tomcat acquire dataSource [TOPLINK-7060]
    --Shaun                                                                                                                                                                                                                               

  • Settings, preferences for the Sequence

    i'm capturing footage i shot with the panasonic 100a,
    and before i bring footage into a project to edit
    i need to make sure my original presets are what i need from here on out....
    i just want the most 'pure' treatment of my footage once it's in the sequence,
    not going through thing it doesn't need. in the end, my final film must be just like it is when i put in the computer.
    i'm not familiar with settings like:
    * field of dominance, such as lower(even)
    * pixel aspect ratio
    * video processing, like YUV allowed (8-bit)
    * white point
    * compressor (i don't see why i'd won't compress my footage, if it's not to be
    made into a steaming video clip or the alike)
    * data rate limit
    on my panasonic the setting i shot with, instead of '24 p' was 'scene advanced'.
    thanks alot for any advice.
    wkm

    Select the Easy Setup that matches the source materials' properties. i.e. if it's anamorphic choose that etc... You can probably capture it at 29.97 even if you've shot 24fps. It will look exactly the same either way. The only reason to capture it and remove pulldown is if you're going to print back to film. You neededn't worry about any of the custom settings at all... just use the easy setup that matches what you shot.
    Jerry

  • Get the Table name by providing the Sequence name

    Hello,
    I wish to retrieve the table name to which the sequence is related.
    I understand that when the sequence was created, no reference is mentioned to any table. The sequence may be used across many tables.
    But the DB definitely knows internally how many tables are referencing the particular sequence.
    So, can anyone help me in finding the table (or all tables) referencing one particular sequence.
    Thanks and Regards
    (Please treat this as urgent as i am desperately in need of such a query)

    I share Adrian's scepticism. Using the data dictionary we could find all the program units - TRIGGERS, TYPES, PROCEDURES, etc - which use the sequence. From there we can find all the TABLES that are also referenced by those programs. And that's as good as it gets in Oracle. We cannot definitely say which tables use which sequences (although a good naming convention helps).
    Of course, your DBA may have access to some accurate and up-to-date documentation. But that is maintained externally to the database and not derived from it.
    Cheers, APC

  • Just noticed that the sequence settings are wrong

    hey everyone
    just a few quick questions from a newb....
    i just finished working on a video and I noticed that I didn't properly setup the video, the original video files were in 1280 x 720(iphone)  i noticed some jagged edges  and every time I export it  renders out to 720 x 480.
    I remember I changed the easy setup after the clips were added to AIC 720p30.
    As I'm playing around with the sequence setting, I hit the load button and the dimensions/canvas changed to the desired settings...
    but now the movie clips are I'm guessing 720x480  because the canvas changed but the movie clips stayed the same size. Is there anyway I can get everything to 1280x720?  without having to start over?
    Everythng is small compared to the canvas now.  However, when I drag a clip onto the canvas is the proper size and fills up the space.

    Hi
    As I get it - One can't change setting in an upstarted project.
    So as I understands it - One must start a new Project/Sequence to make the new setting to take.
    Yours Bengt W

  • How to add process model results to the sequence file results?

    After my sequence file runs, I would like to add some additional results using the process model. I need to log my equipment list which is obtained by the process model. Alternatively, I could add a sub-sequence to the end of each of my sequence files for doing this, but that would create maintenance problems if I ever needed to change the way equipment is logged. Does anyone know a way to (1) append process model results to the sequence file results or (2) force each client sequence file to call a sub-sequence before returning to the process model.

    Mark -
    The report and database process model routines expect a single subsequence step result that invoked MainSequence. This result contains the results from the sequence call.
    In TestStand after the process model root sequence call to MainSequence is performed, the property Locals.ResultList[0] is the MainSequence result. The subproperty Locals.ResultList[0].TS.SequenceCall.ResultList contains the results from the steps in MainSequence.
    One option is to create a subsequence call in the process model that logs the equipment info in the results for its steps. The call to the subsequence should not be checked to record results.
    This subsequence would have a parameter called ResultList. The Result type does not exist in the Insert menu, so you can only create the parameter by copying the empty Locals.ResultList and pasting it in the parameters. Then change its type from By Value to By Reference.
    In the setup of the subsequence, add the following steps which do not record results. These steps rename the Locals.ResultList parameter to ResultListOrig, and then create a new Locals.ResultList alias property that really references Parameters.ResultList. This way any additions to the Locals.ResultList really append to the Parameter.ResultList.
    Setup
    Step: "Rename Locals.ResultList"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultListORIG"
    Record Results: False
    Step: "Create Alias in Locals"
    StepType, Adapter: Actioin, Active-X
    Description:
    Action, Call PropertyObject.SetPropertyObject ("ResultList",
    0x201 ' Not Owning and Create, Parameters.ResultList)
    Record Results: False
    In the Main steps, you add your equipment info steps which record results.
    In the Cleanup steps you undo the steps performed in Setup.
    Cleanup
    Step: "Delete Alias in Locals"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Call PropertyObject.DeleteSubProperty ("ResultList",
    0x400 ' Refer to Alias)
    Record Results: False
    Step: "Rename Locals.ResultListORIG"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultList"
    Record Results: False
    I have attached a TS 2.0 version of SequentialModel.Seq that has a AppendResults subsequence in it and this is invoked after MainSequence in Single Pass entry point.
    Hope this helps...
    Scott Richardson (NI)
    Scott Richardson
    National Instruments
    Attachments:
    SequentialModel.Seq ‏174 KB

  • How to pass a command line argument to the sequence?

    Hi,
    My GUI is written in VB.NET. I can read the command line argument in the GUI, using: Me.AxApplicationMgr.CommandLineArguments(). But I don't know how to pass it on to my sequence file which the GUI invokes. How do I read the command line argument from the sequence file?
    My purpose, is to have the same basic sequence execute different subsequences depending on starting conditions...
    I am using TestStand 3.0 with a VB.NET GUI, on Windows XP.
    I'd appreciate any help on the subject.
    Alan

    Hi Alan,
    One obvious way would be to add parameter(s) to the MainSequence and then modify the process model sequence file to use the new parameter(s) in the step "MainSequence Callback"  in either Single Pass or Test UUTs but I wouldn't recommend this approach.
    The sequence file to be run via the entry point can be found at "RunState.ProcessModelClient" and the lookup string to the MainSequence would be "RunState.ProcessModelClient.Data.Seq["MainSequence"] or .Seq[0] .
    Therefore you could quite easy use the SetVal method to setup a Local variable in the MainSequence of your Sequence File to receive the command line string.
    Also you could do this without altering the Process Model Sequence File by using the Callback Sequence ProcessSetup in your Sequence File.
    As an example.
    You have a string in your Locals of MainSequence called CmdLineStr.
    If you add the Callback Sequence ProcessSetup to your SequenceFile, then add an ActiveX Automation Adapter step which is setup for a PropertyObject and the reference is RunState.Caller.RunState.ProcessModel.Data.Seq[0].Locals.CmdLineStr.
    There is an extra RunState.Caller to the lookup string, that's because I am doing the work in a SubSequence of Entry Point Sequence.
    The method to use is SetValString and the parameters of the PropertyObject will be
    lookupString = ""
    options = 0 or 1
    newValue = where evey you have stored you command line string.
    Now when you run your sequence file you will find that the Locals.CmdLineStr will contain your parameter string.
    Hope this is of help to you.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Where is the "Sequence Preset Editor? I need a custom Sequence size.

    On Page 1011 of the PDF manual for FCE 4, it says:
    "You can also choose to use the existing settings of the clip or
    sequence you are exporting, or create customized settings in a custom Sequence
    *Preset Editor*." Where is that?
    I cannot get any Export mode to output the same resolution size as my screen capture movie is. Its 1036x778 recorded in AIC codec, so FCE likes it fine.
    It seems using the fixed Sequence presets pixel sizes is working against me. I think if I bring my 1036x788 into a Sequence that is 1036x778 I wont get the squishing and distortions of another size. Telling Export to make output 1036x778 never works as it works on the Sequence size not my video size.
    How do I get a custom sized Sequence?

    or create customized settings in a custom Sequence
    Preset Editor." Where is that?
    FCE does not have this feature as Karsten indicates.
    FCE uses fixed pre-set Sequence sizes and cannot be changed.
    If you select any Easy Setup you will see the sizes in the fine print.
    The info is probably a copy/paste goof up from the FCPro manual.
    Al

Maybe you are looking for

  • Forms 3.0 and Reports 1.5

    Hi everyone, Will forms 3.0 and reports 1.5 work with Oracle 8.x. If yes then how is it done. If no then is there a way to convert forms 3.0 and reports 1.5 applications to forms 4.5 and reports 3.0 i.e. from a character mode platform to GUI mode. Th

  • How to access my itunes to a new computer

    How to access my iTunes from my computer?

  • Where is ocrs12.jar for release 10.2.0.1.0

    I could not find rowset interfaces in the download page. Is it by design or accident? Oracle Database 10g Release 2 (10.2.0.1.0) JDBC Drivers

  • Album splitting and disappearing from Music App

    Hi there! I have a bunch albums in iTunes and Music App and they're splitting and disappearing randomly this **** is really annoyin me. Does anyone know how to fix and end this mess up? Here are the screenshots of iTunes and Music App. House Of Pain

  • Airport Extreme software

    Is the software cd which comes with the Airport Extreme card necessary for its installation/functioning? My cd broke in the process of moving, and so I've not yet installed the card. Is the software available on the Apple website, or is it somehow po