How to process old WLSTORE table

Hi,
For some reason, the JDBC WLSTORE table, has reached more than 200.000 rows. For this reason due performance, we created a new WLSTORE.
Question is how to process the transations that are keep in the old and unused WLSTORE?
Best REgards,

WebLogic is not designed to support this scenario -- but I can give you some ideas that will hopefully get you started. There's no direct way to merge the two stores together, and the methods that do exist may not be "fool-proof" in your particular use case: the recovery process can differ widely from application to application. You may want to consider contacting customer support.
Processing messages in an old store usually requires (A) the domain, JMS server(s), SAF agent(s), destinations, and store configured the same way they were when the original messages were stored (especially the same configuration names), (B) your application for processing messages, (C) booting the system, and (D) running the application until all messages are processed.
Also, if your app is transactional (eg, if it uses JMS transacted sessions or JTA/XA transactions), you should (1) copy the current TLOG (default file store) and save it, and then (2) replace it with the original TLOG from the time you system is transactional. (If your using the "JDBC LLR" feature, you should also perform similar steps with the LLR database table.) If you don't perform this step, and you had "in-doubt" transactions at the point you shutdown the original system, its possible that you can lose messages are cause duplicate messages. It’s likely too late for this step perhaps, as the TM subsystem abandons in-doubt transactions that are more than 24 hours old by default (this, in turn forces all in-doubt transactions to rollback, and is equivalent to what happens when deleting the TLOG – but the fully correct behavior would be to complete the commit of those in-doubt transactions that have already been partially committed).
If step D above is impractical, in some cases it is possible to merge messages from two stores by (1) booting the original system using steps A thru C above, (2) using the console “message management” screens to export the messages to a file, (3) restarting the system with the current store and TLOG, (4) using console "message management" screens to import the messages from the file back into the current system. If I recall correctly, the console export utility uses considerable JVM heap if one attempts to export too many messages in the same operation, also, this process will change the timestamps on the messages and likely cause the old messages to sort after the current messages (so even though the imported messages are older than current messages, current messages will be first in line.)
As another approach if D is impractical, in some cases it is possible to merge messages from two stores by following steps A-C above, and then configuring a message bridge to forward the messages from the old recovered queue in the old domain into a running new domain. The problem with this approach is that domain names and server names will be duplicated between the two domains, an unsupported setup that can lead to connectivity problems and XA issues (especially if you're using transactions to ensure exactly-once forwarding). To work around the problem, messages can be first forwarded to an intermediary destination on yet a third domain, before ultimately forwarding them into the final system. If I recall correctly, the bridge has a feature that can cause it to preserve the message-id and timestamp of WL JMS messages when they are forwarded between two WebLogic destinations.
Note that all of the above assumes that the application processing of the old messages doesn't depend on or modify database data / external data that have already been modified by processing that occurred after the original message store was deleted and replaced. For example, some messages may have been superseded by newer messages and therefore should not be processed (depends on the application). If this is an issue, then many use cases would likely require some sort of manual reconciliation and/or custom application coding to guard against old messages messing up state that should not be changed, or using current state that won't reconcile sanely with the old message's "view of the world".
Hope this helps,
Tom
Edited by: TomB on Oct 14, 2009 1:13 PM

Similar Messages

  • How to process a JCO.Table object line by line

    Hello all.
    I am new to development using JCo. How to process a JCO.Table line by line?! I want to print each line of the table using System.out.println ...
    Thx a lot
    Mike

    Hi Mike,
    here is a sample code for you,
    JCO.Table codes = function.getTableParameterList().getTable("INFO");
    for (int i = 0; i < codes.getNumRows(); i++) {
              codes.setRow(i);
              int tmp = new Integer(codes.getString("POSNN")).intValue();
              String tmpStr = new String(Integer.toString(tmp));
              ret = result.put(tmpStr, codes.getString("VBELN"));
    then using System.out.println(), you can print these values.
    regards,
    Abhijeet

  • How to delete the OLD PSA table altogether?

    Hi,
       I am in BI for NW04S and CRM4.0 sp6.0.
       I created a custom data source in the source system and replicated and used transfer rule/Update rule to load an Data store object in the BI system.
       However today , I needed to change some fields of the same data source, and replicated and regenerated the transfer rule, Update rule etc.
       Checked the RSA3 in the source system and the data source is working fine.
        However When I look into the PSA after an attempted data load, I still fine the old PSA table (/BIC/B0000893000) getting populated and not the new one ( /BIC/B0000893001).
      when I look into the show data flow on the ODS i can see the PSA table name, and when I serached in SE11 for that table name I have found both these new and old table.
      Although the data source is replicated in to BW system properly for some reason the OLD PSA table is still being used.
      How can I correct the situation?
      Thanks, will reward the points is the problem is solved.
    Arun

    Dear Arun,
    Please check in the table (SE16) RSTSODS.
    This table stores the PSA information for all the datasouces.
    Enter the datasource in question followed by * in the field 'ODSNAME' (for eg. 2LIS_02_SCL*).
    This will show you all PSA tables for that Datasource.
    The fields DATETO and DATEFROM will tell you, which PSA table is currently in use.
    By the way, a new PSA table should be generated only if there is a change in Transfer Structure.
    Hope it helps.
    thanks,
    amol

  • How to know or check the type of a field when processing a dynamic table?

    Dear all,
        When processing a dynamic table i have a short dump because of a convert_of_type incorrect, so i would like to check the type of field-symbol <f> before moving the data (type char) to this field-symbol <f>.
    Could you please help me how to check or get the type of field-symbol <f> (because field-symbol <f> is assigned dynamic, so this <f> can be type char, unit, or quantity, ...)?
    The source code same as below:
       ASSIGN COMPONENT lc_field OF STRUCTURE ls_data TO <f>.
       MOVE lv_field TO <f>. (Dump is here when lv_field is char type and <f> is quantity type => could i check the type of <f> if it's char type before using this instruction "MOVE ..."?)
    Thanks a lot in advance,
    Vinh Vo

    Try to use this way
    WRITE lv_field TO <f>.
    Instead of
    MOVE lv_field TO <f>.

  • How to process each records in the derived table which i created using cte table using sql server

    I want to process each row from the CTE table I created, how can I traverse from first row to second row and so on....
    how to process each records in the derived table which i created using  cte table using sql server

    Ideally you would be doing a set based processing rather than traversing row by row as thats more efficient. To answer it specific to your scenario we may need more info. Can you explain with some sample data your exact requirement?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to process Line Selection on ALV Table in ABAP WebDynpro

    Hi there,
    I have a view with an ALV table whose context node retrieves its data from a Service Call for a method.
    The method provides certain data of a database table which the ALV displays.
    Now I would like to be able to select one row of that ALV table and after pressing a button or doubleclicking on the row or whatever a different view (as for me it is also ok on the same view) should appear to display the details of that selection.
    I only need to know how to retrieve the selected data.
    Or its index within the internal table.
    I am already looking for hours for a useful thread and actually there is one which obviously is about a similar issue apart from the multiple selection part: 
    How to process multiple row selection in ALV table in Wendynpro ABAP? Help!
    but i am afraid that i don't understand it. Or at least I misunderstand it since it does not work with me.
    The system example mentioned in the thread does not help me either because it somehow does not correspond to my needs, does it?
    It would be GREAT if somebody could help me with that. Please keep it simple for I am not an expert in webdynpro yet (obviously ^^) and also please explain in detail what I have to do with the context nodes since I am not sure whether the selection is stored in my already existing node or whether I need a special one for that.
    Thanks!!
    christina

    Hi Christina,
    If you just want to get one column data of the line that user clicked, use the Web Dynpro Code Wizard to Read Context of attibute you needed, then you will get code as follow:
    * Define data for read attribute
        node_alv TYPE REF TO if_wd_context_node,
        elem_alv TYPE REF TO if_wd_context_element,
        stru_alv TYPE if_view_display=>element_alv ,
        item_column_name  LIKE stru_alv-column_name.
    * navigate from <CONTEXT> to <ALV> via lead selection
      node_alv = wd_context->get_child_node( name = if_view_display=>wdctx_alv ).
    * get element via lead selection
      elem_alv = node_alv->get_element(  ).
    * get single attribute
      elem_alv->get_attribute(
        EXPORTING
          name =  `COLUMN_NAME'
        IMPORTING
          value = item_column_name ).
    The value of column_name is stored in item_column_name.
    If you need the index that the user clicked, try this:
    * Definition of field symbol for index
      FIELD-SYMBOLS : <fs_index> TYPE data.
    * Get the selected index
      ASSIGN r_param->index->* TO <fs_index>.
    The index of clicked line is stored in field symbol <fs_index>.
    Hope it will help.
    Best Regards,
    Stephanie

  • How to create a new table based out of old data rows

    Hi All,
    How to create a new table based out of old data rows. Also how can we find out the DBF for different users in a database?
    Saqib

    Not very clear what you need. I'll try to interpret...
    How to create a new table based out of old data rowsIf this means how to create a table from an existing one, then you can do :
    SQL> create table <new table> as select * from <old table>;
    if you need a subset of rows you can add a where clause.
    how can we find out the DBF for different users in a database?Here I need some more clarification. What do you mean exactly ?

  • How to delete old logs in SAP BI, what is the best way to go?

    Hi,
    below are the issues we are facing,
    when executing infopackage job is not getting triggred into source system.
    for activation DSO data it is taking huge time. At the time of seqential read to RSREQDONE table.
    I think this is due to huge logs in the staandard tables.
    What could be the reson behind this.. and let me know how to delete old logs.
    Thanks,
    Harish

    Hi,
    just carry out RSRV for DSO PSA tables and see if there is inconsistency available there in the PSA table.
    see if the change log and PSA deletion is happening regularly..else schedule same in PC
    check with basis there are certain jobs which needs to run regularly at certain frequency..
    http://www.erphowtos.com/guides-a-tutorials/doc_view/1041-how-to-delete-process-chain-logs-in-sap-bw.html
    http://www.erphowtos.com/guides-a-tutorials/doc_view/1040-periodic-maintenance-activities-on-sap-bw-best-practices.html
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
    Thanks and regards
    Kiran

  • How to update old records of LIPS used user exit MV50AFZ1

    To All Experts,
    I have used User Exit MV50AFZ1 and in this user exit i updated the fields
    USEREXIT_MOVE_FIELD_TO_LIPS.
    LIPS-ETENR = VBEP-ETENR.
    Its working fine for new VL0N1 t-code, but what about old recods of LIPS table ?
    How to update old records ? Pl. guide me.
    Yusuf

    Hi Yusuf,
    See SAP Note 415716 - User exits in delivery processing, it explain how these userexits work and cautions that you must have.
    Regards
    Eduardo

  • How to populate data in table control  .

    hi all,
    i put matnr no. in screen no. 103
    validation is done at that screen only.
    now when i want to modify dat record
    when i put matnr no. at screen 103
    so how i will get all  data of dat number to table control screen.

    Hi Darshan,
       Here is a detailed description of how to update data in table controll.
      Updating data in table control
    The ABAP language provides two mechanisms for loading the table control with data from the internal table and then storing the altered rows of the table control back to the internal table.
    Method 1: Read the internal table into the Table Control in the screenu2019s flow logic.  Used when the names of the Table Control fields are based on fields of the internal table.
    Method 2: Read the internal table into the Table Control in the module pool code. Used when the names of the Table Control fields are based on fields of the database table.
    Method 1 (table control fields = itab fields)
    In the flow logic we can read an internal table using the LOOP statement. Define the reference to the relevant able control by specifying WITH CONTROL <ctrl>
    Determine which table entry is to be read by specifying CURSOR <ctrl>-CURRENT_LINE.
    After the read operation the field contents are placed in the header line of the internal table. If the fields in the table control have the same name as the internal they will be filled automatically. Otherwise we need to write a module to transfer the internal table fields to the screen fields.
    We must reflect any changes the user makes to the fields of the table control in the internal table otherwise they will not appear when the screen is redisplayed after PBO processing, (eg, after the user presses Enter or scrolls) However, this processing should be performed only if changes have actually been made to the screen fields of the table control (hence the use of the ON REQUEST)
    PROCESS BEFORE OUTPUT.
    LOOP AT ITAB_REG WITH CONTROL TCREG
    CURSOR TCREG-CURRENT_LINE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    MODULE MODIFY_ITAB_REG.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2 (table control fields = dict. fields)
    If using a LOOP statement without an internal table in the flow logic, we must read the data in a PBO module which is called each time the loop is processed.
    Since, in this case, the system cannot determine the number of internal table entries itself, we must use the EXIT FROM STEP-LOOP statement to ensure that no blank lines are displayed in the table control if there are no more corresponding entries in the internal table.
    PROCESS BEFORE OUTPUT.
    LOOP WITH CONTROL TCREG.
    MODULE READ_ITAB_REG.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG
    ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE READ_ITAB_REG OUTPUT.
    READ TABLE ITAB_REG INDEX TCREG-CURRENT_LINE.
    IF SY-SUBRC EQ 0.
    MOVE-CORRESPONDING ITAB_REREG TO TCREG.
    ELSE.
    EXIT FROM STEP-LOOP.
    ENDIF.
    ENDMODULE.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    MODIFY ITAB_REG INDEX
    TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the internal table
    Method 1
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: TCREG-REG,
    TCREG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the database
    MODULE USER_COMMAND_100.
    CASE OK_CODE.
    WHEN u2018SAVEu2019.
    LOOP AT ITAB-REG.
    CHECK ITAB_REG-MARK = u2018Xu2019.
    MOVE-CORRESPONDING ITAB_REG TO TCREG.
    UPDATE TCREG.
    ENDLOOP.
    WHEN u2026
    u2026
    ENDCASE.
    ENDMODULE.
    Hope this will solve your problem.
    Regards,
    Pavan.
    Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 3, 2009 12:48 PM

  • Page Processing with multiple tables

    Hello to all sql experts!
    I have been successful in inserting a row into a table and creating the PK using Page Processing. The parent table is called Facility.
    I used the following sql to insert a row into the table and now need to add data to the child tables.
    Parent table==>
    INSERT INTO FACILITY(fac_pk, fac_type, fac_name, street1, city, state, zip, state_or_tribe, tribe_yn)
    VALUES (FAC_SEQ.nextval,
    NVL(:P211_FAC_TYPE, 'N'),
    NVL(:P211_FAC_NAME,'No Data'),
    NVL(:P211_STREET1,'No Data'),
    NVL(:P211_CITY, 'No Data'),
    NVL(:P211_STATE,'CA'),
    NVL(:P211_ZIP,'00000'),
    NVL(:P211_STATE_OR_TRIBE,'CA'),
    NVL(:P211_TRIBE_YN,'N'));
    Child table == >
    INSERT INTO CONTACT(cnt_pk, fullname, street1, city, state, zip, phone, title)
    VALUES (CNT_SEQ.nextval,
    NVL(:P36_FULLNAME, 'No Data'),
    NVL(:P36_STREET1,'No Data'),
    NVL(:P36_CITY, 'No Data'),
    NVL(:P36_STATE,'CA'),
    NVL(:P36_ZIP,'00000'),
    NVL(:P36_PHONE,'555-1212'),
    NVL(:P36_TITLE,'No Data'));
    My Questions:
    1. How do I reference the Facility PK that was already created?
    2. If I have several child tables where I want to insert a row, is the sql the same as above?
    I did run the separate Insert sql for Contact table, but all it did was create a new row, but no link to the facility record.
    Thanks for looking at this. I am new to sql and want to use the PL/SQL to process the inserts into the tables.
    Judy

    hi judy
    check this forum
    Re: How to insert into 2 tables from the same page (with one button  link)
    you will have an idea
    think, this help u better.
    bye
    srikavi

  • How to include old invoices in the invoice list

    How to Include old billing documents in the invoice list.
    TO be more clear:-
    I created 20 invoices in the monthof JAN
    I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month.
    So the system is considering only the invocies which were generated after I maintained the factory calender (Only feb invoices).
    Is there any process to include the previous invoicies (Jan invoices)  also to get include in the invoice list.
    Help me in this regards.
    Regards,
    Mallesh.

    It is not possible.
    Regards,
    Rajesh Banka

  • HT3354 how can i use one table for reference to another

    how can i use a table for a referance to another eg when i type a word in a cell, i will like it to match the word with another table then return the information in the cell i am using

    you can use vlookup() (or any of the lookup family of functions) to locate an item based on a key value:
    Here is an example of something you can do with two tables:
    The table on the right is title "Data" and stores a list of names with age and favorite color.
    The table on the left uses the value in the first column to lookup up information in the table Data
    in the table on the left:
    B2=IFERROR(A2&" is " & VLOOKUP(A2, Data :: A:D, 2, 0)&" years old and likes the color "& VLOOKUP(A2, Data :: A:D, 3, 0), "NOT FOUND")
    I know this look complicated.  so I'll break it up into smalled pieces:
    first the "&" is called the concatenate operator and joins two strings.  like this:
    a string is a set of characters between double quotes.
    so "string 1" & "string 2" becomes "string 1string2"  or "Sam " & "Jones" becomes "Sam Jones"
    you can use cell references instead of strings directly in which case the concatenation is performed on the contents of the cells.
    so if cell A1 contains "Hi " and the cell A2 contains "There"  then A1 & A2 will result in "Hi There"
    so you could add the formula
    A3=A1 & A2
    this is short hand for select cell A3 then type everything including the A3 so that A3 contains "=A1 & A2" (omit the double quote)
    OK.  So the formula I provided concatenates several items together:
    it concatenates A2, then the string " is " then a formula, then the string " years old and likes the color " then a formula
    the two formulas (highlighted in blue) perform a lookup of the value in cell A2 in columns A thru D of the table named "Data".  If if finds the value in cell A2 in the first column of the lookup range in the table Data (column A) then it returns the value from the same row but in the second or third column.
    all that is in a function calld iserror() to trap the condition where the calue you enter in A2 does not exist in the table Data:
    You will find the Numbers users guide and function reference helpful.  You can download then from Apple here:
    http://support.apple.com/manuals/#productivitysoftware

  • How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?

    How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub? 
    Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
    OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
    Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf>  but there's not even a search feature on the pdf file.
    Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
    However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
    (Thank you so much in advance for any help).

    <http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages. 

  • How do I make a table of contents for a collection of six short stories that is after the legal page and NOT in the front on an unnumbered page?

    How do I make a table of contents for a collection of six short stories that is after the legal page and NOT in the front on an unnumbered page?
    When I first started I made a title page and then pasted in my first story from a .TXT file. After cleaning up I went back to the front a couple of empty lines ahead of the story and typed in the story title.  Unlarged the font size and centered it, then

    You can't do that. This is what the Pages User Guide, downloadable from your Pages Help menu, says:
    Creating and Updating a Table of Contents
    Each table of contents (TOC) you create using a Word Processing template lists only the content that follows it, up until the next table of contents. If you want a master table of contents for the entire document, it must be the only table of contents, and it must be at the beginning of the document.
    You can do it manually though.

Maybe you are looking for

  • How i can transport request created in R3AR2 from Quality to Production ?

    Hi, Gurus ! I'm new in CRM 7.0, and need your help. Well, we made our implementation in 7.0 version, and the things will be fine, until the start of work..... Well, the initial download of CUSTOMER_MAIN (in transaction R3AR2) do'n't run OK, because a

  • Automatic picking of profit center

    Dear All,   I have 4 Plants which is equal to profit center , and we have 1 GL  account for transportation expenses. so my requirment is that  if i post to this  transportation  GL account system should pick Cost center  which is assigned to the Prof

  • Failed to find WSDL definition and/or locate WSDL file

    I am getting this exception Failed to find WSDL definition and/or locate WSDL file: - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HT

  • Shot in the dark - Yellow Camp iCal Actions?

    I'm wondering is anyone has the *Yellow Camp iCal Actions version 2.2* that they could make available for me to download? The developer's site seems to be dead and the only version I can find online is version 2.0. Of course, What I am looking for in

  • Move Shared Members

    Do you know of a setting to allow restructuring of the shared members? When setting the rules files, I have selected ALLOW MOVES which restructures the main hierarchy... but I am unsure how to restructure the shared members. I have tried a lot of com