Problem with a db sequence in DBAdapter (OSB)

Hello,
I'm having problems with a dbAdapter every time I make a installation in a new environment.
I have a dbadapter that increments a db sequence (custom sql: select seq_onl_audit.nextval from dual) but every time I install the service in a new environment, restart the server and run it for the first time it returns a completly different number.
Directly in Oracle DB: select seq_onl_audit.nextval from dual = 234
In OSB: select seq_onl_audit.nextval from dual = 23 (constraint exception!)
How can I solve this? There's any cache in OSB/Weblogic for this?
Thank you,
Lara Fernandes.

Let me understand what you are trying to do.
You have created a sequence in DB and you call it from OSB service to fetch the incremented value.
This works fine.
When you move the OSB service to another environment it starts giving error/incorrect values while the same sequence when run from the DB still gives correct value?
Questions:
Are you pointing to the same DB instance from both/all OSB environments?
Are you also using the same user to connect to the DB from each environment?
Can you please post the SQL for your sequence here.

Similar Messages

  • Problem with the browse sequence back and browse sequence next widget placed in the screen layout

    Hi,
    Some basics: We are using Robohelp 10 to  generate multiscreen  html5 output. We used the pharmaceutical  screen layout downloaded from:  http://helpx.adobe.com/robohelp/robohelp-screen-profiles-layouts.html but modified it to match our GUI.
    We are having a problem with the browse sequence back and browse sequence next buttons placed in the screen layout from the widgets tool bar. We are in no way experts at this part of Robohelp...and the css portion of all this is a bit of mystery but we have managed to get mostly what we need. Now we just need these buttons to work. In the past we used Airhelp and things worked great. Can anyone help us understand why the sequence buttons are not showing up in the output even though it does in the topic preview?
    Also
    This shows up in the  layout.css file:
    a.wBSBackButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSBackButton {
                    border: none;
    a.wBSNextButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSNextButton {
                    border: none;
    Also btw, I forgot to mention that we are linking our FrameMaker files.
    Appreciate the help.
    Thanks!

    hi pradeep
    It does not happen but if you Wait for a while that may be solved

  • Problem with Oracle Native Sequencing - please help!!

    Hello
    I am migrating from 3.6.5 to 10.1.3.1 (huge jump).
    And have a problem with sequencing.
    When I create new object Toplink does not pick up Sequence object name from the descriptor.
    When I see generated SQL it shows:
    SELECT .NEXTVAL FROM DUAL
    Each of my descriptor has it's own "..._seq" name defined in workbench.
    For DatabaseLogin i define
    login.useNativeSequencing();
    login.getDefaultSequence().setPreallocationSize(50);
    As a result - no luck.
    Do I miss something, some command?
    Thanks
    Paul

    I was doing more testing and found that the problem happens when I do
    UnitOfWork().assignSequenceNumbers()
    Thanks

  • Problem with recordset structure sequence

    Hi,
    I have a problem with my file cotent conversion.
    When i specify my recordstructure sequence as R1,1,R2,*
    the file is picked up but cannot be seen in MONI.
    but when i specify as R1,1,R2,2(OR 3 OR 4)
    The file is processed and seen in MONI.
    But when i give * to any of the records processing in XI fails..
    Please let me know wht must be going wrong
    Regards
    Venkat

    Venkat,
    I tried with your file and i am receiving the xml after conversion in sxmb_moni without any problem (no matter the file size )
    Can you try the following for your file,
    Recordset name : Details
    Recordset str. : Header,1,Body,*
    Key field name : field2
    Content conversion
    Header.fieldFixedLengths     3,2,10,27,8,8,8
    Header.fieldNames     field1,field2,field3,field4,field5,field6,field7
    Header.keyFieldValue     01
    Body.fieldFixedLengths     3,2,40,110,15,2
    Body.fieldNames     field1,field2,field3,field4,field5,field6
    Body.keyFieldValue     02
    ignoreRecordsetName     true
    ~ShaBZ~

  • Problem with loading a Sequence File - Limited Windows Account

    Dear Sirs,
    I have a problem and a very less time to fix it; so I'm asking for your kind help.
    I have a production PC, with a Debug Deploy License of TS 3.1 and LV 7.1; the operating system is Win XP SP2.
    No problem when I login the session with my Administrator Windows Account; on the contrary, when I try to login with a Limited Windows Account, I'm not able to load my Sequence File, and the text appearing is attached to this message.
    Someone can advise me a solution to quickly solve my problem?
    Thank you very much and Best Regards.
    Stefano 
    Attachments:
    TS_error_winXP_login_limited_account.jpg ‏224 KB

    Stefano,
    if you open files in TestStand, TestStand tracks this in different configuration files (for example for the "most recently used" list). Therefore, TestStand tries to save these changes in the ini-files. It seems to me, that the installationdirectory of TestStand is not permitted to be used for writing for your user login in Windows.
    So you have different solutions here, the simpliest being:
    Give your user the right to write files into the < TestStand >\-folder.
    hope this helps,
    Norbert B.Message Edited by Norbert B on 11-16-2006 07:28 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I'm having a problem with Ultrabeat's sequencer in Mainstage

    In Mainstage, I've set up an Ultrabeat instance on the concert level so that I can use it as a metronome for the whole project.  (I like to be able to customize the sounds, add subdivisions, make it louder than the default metronome sound, etc.)
    However, I'm having a problem.  Sometimes, when I try to use it, it doesn't work.  Here's what I'm doing to recreate the problem:
    In ultrabeat, I create the pattern in the step sequencer, and the sound I want.  I have a very simple woodblock sound, and I set the sequence to be only 4 boxes long in Ultrabeat.  The sequencer in UB is "on".  I created a button on the workspace in Mainstage, and mapped it to UB's "sequencer Play/Stop".
    1. When I start the squencer, it runs - i can see the curse in UB moving to the right and repeating - but no sound come through the channel strip
    2. When I click the keys on the left side of UB, sound DOES come through the channel strip.
    So in essence, UB doesn't want to send sound to Mainstage by using its sequencer.
    Has anyone faced anything similar?  any ideas on how to fix this?  I've done it successfully before, but sometimes it just doesn't work.
    thanks,
    Keith

    For the sake of clarity and to save people time, Todd is asking about the behaviour of the Patch tool when using it to repair the area next to the young lad's head.  Todd gets a blurred dark tone pretty much regardless of the options he uses.
    IMO that's what I would expect to happen because of the close proximity of the other image elements i.e. the lad's neck and the strong lines of his shirt.  I would not choose to use the Patch tool in this situation.  Content Aware Fill makes a better stab at it. 

  • Problem with illegal escape sequence

    I want to replace all occurences of \ with / in the text c:\mydirectory\myfile.gif. When try to do this I get the exception shown below How do I fix this. Thanks in advance for any help in fixing this issue
    Illegal/unsupported escape squence near
    index 3
    c:\mydirectory\myfile.gif
       ^
         at java.util.regex.Pattern.error(Pattern.java:1472)
         at java.util.regex.Pattern.escape(Pattern.java:1900)
         at java.util.regex.Pattern.atom(Pattern.java:1661)
         at java.util.regex.Pattern.sequence(Pattern.java:1545)
         at java.util.regex.Pattern.expr(Pattern.java:1489)
         at java.util.regex.Pattern.compile(Pattern.java:1257)
         at java.util.regex.Pattern.<init>(Pattern.java:1013)
         at java.util.regex.Pattern.compile(Pattern.java:783)
         at javax.swing.plaf.basic.BasicFileChooserUI$GlobFilter.setPattern
    (BasicFileChooserUI.java:913)
         at
    javax.swing.plaf.basic.BasicFileChooserUI$ApproveSelectionAction.actionPerformed
    (BasicFileChooserUI.java:756)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1502)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2422)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2468)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
         at java.awt.Component.processEvent(Component.java:4830)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.KeyboardFocusManager.redispatchEvent
    (KeyboardFocusManager.java:1700)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent
    (DefaultKeyboardFocusManager.java:568)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent
    (DefaultKeyboardFocusManager.java:739)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions
    (DefaultKeyboardFocusManager.java:673)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent
    (DefaultKeyboardFocusManager.java:534)
         at java.awt.Component.dispatchEventImpl(Component.java:3396)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy
    (EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy
    (EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98

    Thanks parsifal.
    I get "c:\mydirectory\myfile.gif "as part of the HTML code generated by the WYSIWIG editor, when I add an image to the text content in theeditor. I f I am hardcoding the file path in a file I can fix as you have said. This gets generated automatically. Is there a work around to get this fixed?

  • WAD problem with query variable sequence

    Hi Everyone,
    I have created 3 Queries of which all of them have common but different number of selection variables
    eg: query 1 : A, B,C,D,E
          Query 2: D
          Query 3: C
    I need to display the variables in WAD as displayed in Query 1.But they are displaying randomly.
    For this I arranged the variable sequence of Query 1 in the query designer using the menu path
    Query -> Properties and in the right panel select the "Variable sequence" tab
    But,it is still picking randomly.
    Is there any other option either in Query or WAD Designer?
    thanks,
    Taru

    try in this way
    keep variables only in query 1
    try if this will help

  • Problem with the display sequence of free characteristics in Bex Analyzer

    Hello,
    I want to display free characteristics in particular sequence in Bex Analyzer.
    I have arranged free characteristics in particular sequence in bex designer but while executing the report from analyzer
    free characteristics are not getting displayed in the sequence in which i wanted to display it in query output.
    Could you please let me know what setting needs to be done in order to display free characteristics in required sequence in bex analyzer.
    Regards,
    Sanjay

    Hi Sanjay:
    Please observe that the sequence of Characteristics in BEx Analyzer is Alphabetic (in ascending order), I faced a similar situation once and I solved it by adding a prefix to the Characteristic Name at the query level, for example.
    Customer
    Distribution Channel
    Division
    Month
    Sales Organization
    Year
    Could be sorted this way.
    A01. Year
    A02. Month
    B01. Sales Organization
    B02. Distribution Channel
    B03. Division
    C01. Customer
    Regards,
    Francisco Milán.

  • Problem with a sequence

    Hello all,
    I have a problem with a basic sequence: it starts with 2 and y define "start with 1".
    Basic steps that I perform:
    1.- Create the sequence:
    CREATE SEQUENCE sec_empleado START WITH 1 NOCACHE ORDER; ------ also tried others configurations, (wiithout nocache order)
    2.- create table cliente
    SQL> CREATE TABLE CLIENTE (
    2 codigo_cliente NUMBER NOT NULL PRIMARY KEY ,
    3 nombre VARCHAR2(20) NOT NULL,
    4 apellido1 VARCHAR2(20) NOT NULL,
    5 apellido2 VARCHAR2(20) NULL,
    6 codigo_entidad NUMBER NOT NULL,
    7 dni NUMBER NOT NULL,
    8 letra_dni VARCHAR2(1) NOT NULL,
    9 fecha_nac DATE NOT NULL,
    10 domicilio VARCHAR2(30) NOT NULL,
    11 poblacion VARCHAR2(30) NOT NULL,
    12 codigo_postal NUMBER NULL,
    13 codigo_provincia NUMBER NULL
    14 );
    Table created.
    3.- insert a record:
    INSERT INTO CLIENTE VALUES (sec_cliente.nextval,'Nombre001','Apellido_1_1.........................);
    4.- check the table:
    select * from cliente;
    CODIGO_CLIENTE NOMBRE APELLIDO1 APELLIDO2 CODIGO_ENTIDAD .............................
    2 Nombre001 Apellido_1_1 Apellido_2_1 8765
    I can´t understand why it assigns the value 2 instead 1 to the first row.
    I know it looks really stupid, but i dont understand this behaivour.
    PS: Oracle RAC 11.2 database
    Thanks a lot
    Edited by: user3313344 on 14-Apr-2010 11:22
    Edited by: user3313344 on 14-Apr-2010 11:23

    Hi,
    it is normal behaviour, see also http://www.freelists.org/post/oracle-l/anyone-seen-this-weirdness-with-sequences-in-11gr2,6
    It is described in Metalink document 1050193.1 for 11.2.
    Herald ten Dam
    Superconsult.nl

  • Problem with Nokia Camera and Smart Sequence

    Hi,
    I'm having a problem with Nokia Camera and the Smart Sequence mode.
    Basically, if you take a picture using nokia camera, and view it in your camera roll, it usually says, underneath the pic "open in nokia camera".
    Well, if I take a pic using the Smart Sequence mode, it just doesn't say "open in nokia camera" so, to use the functions of smart sequence (best shot, motion focus, etc), I have to open nokia camera, go to settings and tap the "Find photos and videos shot with nokia camera" option.
    Does anyone has the same problem? Anybody solved it?
    I already tried reinstalling nokia camera, but that didn't help.
    I'm running Nokia Black on my 925.
    Thanks everyone!

    Hi,
    I had the same problem with my 1020. It did get fixed with the last update to Nokia camera.
    However, IIRC, it didn't just happen right away. When browsing the camera roll I'm pretty sure that the "open with Nokia camera" text wasn't there.
    Slightly disappointed I opened the (Nokia) camera anyway and was going to test the smart sequence again. I noticed the only precious pic I'd taken using this actually appeared top left of the screen.
    I opened it and I had all the smart sequence editing options again - that we're missing previous. Made a new picture and saved it.
    Now when in camera roll the text shows below the image and all is good.
    This probably doesn't help much except that it didn't seem to fix automatically.
    I work @Nokia so I can ask around a bit to see if this is a known / common issue (not that I know any developers)

  • Problem mapping to unbounded sequence in OSB

    I have a problem with the Xquery transformation editor in Oracle Service Bus.
    In the source I have an element with maxOccurs="unbounded" and in the target I have a sequence with maxOccurs="unbounded" containing an element with maxOccurs="1".
    The problem is in the Xquery mapping interface all sequences are ignored. Thus it looks like 'targetElement' can only occur once and so I don't know how to resolve this. Is there a way to view the sequences in the mapping interface or something?
    ---xsd SOURCE---
    <xsd:element name="sourceElement" maxOccurs="unbounded">
    </xsd:sourceElement>
    ---xsd TARGET---
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="targetElement" minOccurs="0">
    </xs:targetElement>
    </xs:sequence>
    (I am not at liberty to change the xsd's.)
    Thanks in advance, Emelie

    ..is this what you are after ?
    <target>
             for $src1 in $src/sourceElement
             return
             <targetElement>{data($src1)}</targetElement>
            </target>
    source
    <ns0:anyType xmlns:ns0="http://www.w3.org/2001/XMLSchema">
    <sourceElement>a</sourceElement>
    <sourceElement>b</sourceElement>
    </ns0:anyType>
    Result
    <target>
         <targetElement>a</targetElement>
         <targetElement>b</targetElement>
    </target>

  • XSLT-problem with sequence attributes

    Hi,
    in my XSLT-program (i'm a real newbie!) i'm adding dynamically attributes and their values to a tag, by using the following code :
    <SUPPLIER>
      <xsl:attribute name="FUNLOC">
        <xsl:value-of select="SUPPLIER_FUNLOC" />
      </xsl:attribute>
      <xsl:attribute name="NAME">
        <xsl:value-of select="SUPPLIER_NAME" />
      </xsl:attribute>
      <xsl:attribute name="LOCATION">
        <xsl:value-of select="SUPPLIER_LOCATION" />
      </xsl:attribute>
      </SUPPLIER>
    The problem is that the attributes in the resulting xml-file are alphabetically ordered. For instance :
    <SUPPLIER FUNLOC="9522222" LOCATION="NL" NAME="Test vendor VMOI">
    How can i arrange that the result of the xml-file is a sequence of entrance is taken, so
    <SUPPLIER FUNLOC="9522222" NAME="Test vendor VMOI" LOCATION="NL" >
    regards,
    Hans
    [email protected]

    Hi Hans,
    I think you're using ABAP-XSLT?!
    If you do so, you can solve the sorting problem by using a 1:1 Message mapping after the ABAP-XSLT mapping. This resolves the problem that the nodes are not in the correct order.
    In your interface mapping you have to configure 2 mappings:
    1: ABAP-XSLT
    2: Message mapping.
    Of course this means that the total processing time increases a little bit.
    I had the same problem with the sequence of my (ACC_DOCUMENT) idoc nodes, the ABAP-XSLT screwed up the idoc, but the 1:1 message mapping solved the problem.
    Regards,
    Mark

  • Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun   fatha/damma etc. would reverse automatically. Is this a known bug?

    Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun + fatha/damma etc. would reverse automatically. Is this a known bug?
    Example: عَيْنٌ
    would automatically convert to عَيُنْ
    Funnily, it doesn't seem to happen here, but it does when entering text in a web interface (using Firefox, font Bayan) and when using Text Edit.
    Seems to be a problem of a specific font, as e.g. Arial MS Unicode works fine. Any hints?
    Thank you!

    Musaafir wrote:
    I've no idea how i can even start using arabic vowels on Microsoft Word for Apple
    You can't do Arabic on MS Word for Mac.  This app has never supported RTL scripts, so you need to use something else.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, Open/LibreOffice should work OK.
    You switch between languages by using the "flag" menu at the top right of the screen or by using the keyboard shortcuts apple/command plus space.  Go to system prefs/keyboard/shortcuts to make sure that is activated.
    To see which key does what, you use Keyboard  Viewer.
    http://support.apple.com/kb/PH13746
    You place vowels on letters by typing the key for the vowel after the key for the letter.  The vowels are on the option/alt keys, option/alt + a gives you َ

  • Problems with Sequence Operator in OWB

    Hi everybody,
    i want to use a sequence in my mapping. Now i have two problems.
    The first problem is the following. When i want to import my sequence (exists on my DB) i can select the sequence in the Selection Window, but when i click on Import i didn't see it in the Design Center, also there is no window which tells me that i have successfully imported the sequence.
    The second problem is, when i drag the Sequence Operator into my Mapping i shows the Selection Window where i have to select the poject and object to bind the operator. But i can't select any object.
    Can anyone help me with my problems and tell me how i can use a Sequence and the Sequence Operator in my Mapping
    Many thanks in advance.
    Greetings

    Hi everyone!
    I'm having a repeated problem with sequences in OWB: I'm filling a TIME table with 1096 rows. Now matter how and when I create the sequence it always starts with 2 instead of 1. Moreover, the last value of the sequence is 1101, when it was supposed to be 1097 or 1098....
    I did achieve the right ouput sometimes, but I must be doing something wrong. Here are the several ways I've tried in OWB:
    1) I've created all the sequences by sql code, in SQL DEVELOPER or PLUS*, and then imported to OWB. Because of being imported, I didn't have to deploy each sequence. Then, I've connected (by drag and drop to the canvas mapping) the sequence I wanted with NEXTVAL (as I always do) attached do TIME_ID of table TIME;
    2) I've dropped and created, several times(as before), the sequences and never had problems..until now. I've also experimented creating, by scratch, the sequences just in OWB and then deploy them in Control Center. After this, deployed the mapping and executed, just like in 1).
    So, the difference lies on how I create the sequences and what are the correct steps to create, deploy (if needed), deploy the map and execute the map.
    This is insain and I really need this to work. I've tried so many ways....
    Could someone PLEASE help me with this? Any thoughts?

Maybe you are looking for

  • I am trying to get the CLIPPINGS add on for firefox. but it says it is not compatible with FirFox 8.0 whaat can I do.

    I am trying to get the CLIPPINGS add on for firefox. but when I try and download it, it says it is not compatible with FirFox 8.0. also the latest version of firfox is 3.1 but my version is 8.0 Is that right?

  • How to convert mobi books to ePub format?

    Hello, I have a question for help here, I have a lot of .mobi books on my computer, I wanna transfer these mobi books to my iPhone and iPad for reading, but I found they doesn't accept mobi format, I tried many ways to convert mobi to ePub but failed

  • Set up Of Java

    Hi Everyone I would like to make the setup of java classes which install the program on the computer any tool,or other feature which make setup plz tell me. thanks in advance

  • Error "The application Finder can't be opened -10810"

    Hi there, I do not know what's going on at the office this week but our MacBook Pro gives this error when you turn it on. I cannot open the Finder and when I try to restart get stuck and nothing happens, so I force it on the power button. Although I

  • Creating Roles in Nexus 5000

    Has any one created a role for just SAN guys to come in and config the zone information?  ANd are there any good places out there that can help me to define what I can and cannot add to a role.  Thanks