Debug steps

Folks,
I am hitting the classic:
ERROR at line 1:
ORA-23313: object group "PUBLIC"."MY_REPGROUP" is not mastered at MASTERDB
error when I try and execute
BEGIN DBMS_REPCAT.CREATE_MVIEW_REPGROUP( gname => 'MY_REPGROUP',
master => 'MASTERDB',
propagation_mode => 'ASYNCHRONOUS',
gowner => 'PUBLIC');
END;
at the REMOTE site (using repadmin@REMOTEDB). Yet I know I have run ....
EXECUTE DBMS_REPCAT.CREATE_MASTER_REPGROUP( -
gname => 'MY_REPGROUP', -
qualifier => '', -
group_comment => '');
when logged on as repadmin@MASTERDB because
SELECT * FROM DBA_REPCAT;
shows the group.
I have been over my scripts for a number of days and am stumped as to where my problem lies.
I have tried all the suggestions in the Error Guide for ORA-23313 but to no avail.
All my dblinks work and I can happily CONNECT to either database (which are running on two separate machines connected via the internet).
Can anyone suggest a logical set of steps to try and discover what the problem is?
regards
S

Success!
I don't know what it was that I did. I think it might have been the move to global_names and that I might not have fully cleared out the dba_rep* objects before doing so.
Anyway, it now works except for one little thing that I didn't think would matter.
execute dbms_repcat.create_mview_repobject( sname => 'ROADOCCS', oname => 'TBL_OPLINC_CLOSURE', type => 'SNAPSHOT', gowner => 'PUBLIC', gname => 'OPLINC_MASTER_REPGROUP', min_communication => TRUE );
is producing...
ERROR at line 1:
ORA-23306: schema ROADOCCS does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
ORA-06512: at "SYS.DBMS_REPCAT", line 1332
ORA-06512: at line 1
Looking at the Oracle PL/SQL packages documentation for this function it says about sname:
"Name of the schema in which the object is located. The schema must be same as the schema that owns the master table or master materialized view on which this materialized view is based."
So, it appears to be the case that the MASTER (table) schema and the REMOTE (UMV) schemas have to have the same name for Advanced UMV Replication. Wonder why? Seems a bit limiting.
Oh, well, I moved to create a user on the UMV site that was the same as the one on the master (it has the same privs as the master one) and then constructed ordinary views onto the schema which the application updating the UMVs accesses.
Thanks for your perseverence in this task. I am glad I have it done as now I have a single PL/SQL script which I can use as a template with other customers. I have also learned quite a bit about replication and global_naming of databases!
regards
S
Still, I am not complaining!

Similar Messages

  • Eclipse - debug step is not synchronise with source code.

    Hi,
    I have an web application witch run on tomcat, when Idebug the application, the debug steps are not synchronize with the source code. Same thing when I change the code , after making the jar file and putting it in the WEB-INF/lib of the web application, the modifications didn't take place. It seem that the old code always remains. I looked at the compile class in the jar file and the modifications have been taken in to account.
    what can cause this kind of behavior ? I relaunch tomcat many times without succes ?
    any help ? thanks a lot.

    Can it be the case that you compile your JAR optimized, i.e. without debug information? Then your classes are also without debug information.
    This sounds very likely as a refresh problem. Be sure that both source files in Eclipse and class files in Tomcat have the same version (e.g. with simple system.out).

  • RFC call from ECC to SCM -- Debug Steps required

    Hello,
    The steps being done for this issue is:-
    1) In ECC system ,CN22 Transaction Code (Change Networks) --> Click on Schedule (at the Header) and click on SAVE
    2) This seems to trigger an RFC call to SCM server (as per the trace log).
    3) From SCM, it comes back to ECC server as User 'BATCHRFC'. This has been defined in SM59 correctly.
    4) BATCHRFC in ECC system calls an RFC FM 'CIF_PJ_INBOUND' and changed the status of networks to DSEX (date set by External system)
    We are trying to understand why is the RFC call being made? I can debug the FM in ECC when an external breakpoint is used.
    However, I want to know where in ECC is the RFC call made (to SCM), and how? How can I control it as we do not want this to happen? How can I debug to understand how an RFC call is made?
    Your views would be appreciated.
    Regards,
    Sanjiv

    Hi,
        What you do is, enter the Tcode, CN22, then in Command window activate debugger by entering /H
    It takes u to debugger, from menu > utilities set a break point at Satetment Call Function, it will stop at all the Function modules in debugger, so you can look for the RFC FM in the program where it is called.
    And also look for setting in debugger, may be u have some options for RFC FM.
    Regards
    Bala Krishna

  • Is it possible to debug step by step for share point designer workflow in share point 2010

    Hi all,<o:p></o:p>
    I have created a reminder date work flow but it is not working .In this work flow it need to be check first its status if its status is suspend then only workflow can run .I am
    attaching below workflow logic check if any modifications needed please suggest me . And  I have doubt is it possible to check step by step debugging like in coding we are using break point in this way any break point is available for designer workflows
    ? If break point is available please guide me how to get and use those<o:p></o:p>
    Thanking you,<o:p></o:p>
    ArunDarly 
    <o:p>Workflow logic given below</o:p>

    You can't step through a SharePoint Designer Workflow.  The normal workaround is to Log messages to the History list with the values you want to look at where you would normally put breakpoints.  Then run the workflow and examine the history
    list to see how the values changed as you went through your workflow.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Debugging - step into command

    Hello,
    I'm using Oracle9i JDeveloper and I feel so inconvenient with step into debugging command.
    If I don't have a break point in a method, the step into command doesn't step into the method. Also, why there is no step command?
    If I misuse the command, please let me know.
    Thanks,
    Julie.

    Usually the step into command works well. I guess your problem might be the following:
    The source code you are stepping into is not included in the sources directory of your project file. In this case you are not able to step into a method from your project, as Jdeveloper does no find the source code. But if you have the source code open in an other project (or even workspace) you can set a breakpoint there and the Debugger will break and show the source code.
    So the solution is: Add the source directory of the method you want to step into to the sources directory of your project (or add it to the sources directory of the library if the method comes in in a library).

  • Debug im smartform step by step

    how i can debug step by step like in sapscript.
    i tried to make break-point in the smartf,and use smartform_trace and not for this i maean (sftrace dont work i dont know).
    i need step by step how????

    Hi Rani,
    Checkout This Thread..,
    How to Debug a Smartform
    For more info on smart forms:
    Re: smartform step by step material required
    hope it helps..,
    Regards,
    Vinoth

  • ABAP Runtime error in debug mode

    Hi all,
    I am facing foll. run time error in debug mode
    Runtime Error          DBIF_RSQL_INVALID_CURSOR
    Except.                CX_SY_OPEN_SQL_DB
    Possible causes in the application program:                       
    Within a loop (SELECT/LOOP/EXEC SQL), one of the following        
    statements is used:                                               
    - MESSAGE (apart from MESSAGE S...)                               
    - COMMIT WORK                                                     
    - ROLLBACK WORK                                                   
    - CALL SCREEN                                                     
    - CALL DIALOG                                                     
    - CALL TRANSACTION                                                
    - SUBMIT                                                          
    - BREAK-POINT                                                     
    - WAIT                                                            
    In debugging mode, a program sometimes triggers                   
    a "COMMIT WORK" during the database selection. As a result        
    this termination may also occur in debugging mode with a correct  
    program.                                                          
    A "COMMIT WORK" during debugging may be due to the following reason
    1. A program or screen was regenerated                            
       and updated in the database.                                   
    2. Each user needs a private process in debugging mode, but       
       the number of available processes is restricted. If this       
       limit is exceeded, each debugging step then requires a         
       "COMMIT WORK".       
    its urgent.
    if i run the prg directly to tcode der is not ne error.
    but i want to execute the prg. in the debug mode.
    its a ZPRG.
    with regards,
    Purva.

    hi,
    You need to change your logic.
    Then , i hope your problem wil be solved.
    Because of nested select statements, you are getting that error.
    Declare seperate Internal tables for VBRK,VBRP, KNA!,j_1iexchdr, j_1imtchid.
    Declare Itab_final with all required fields from all tables.
    Dont use select-endselect anywhere.
    I am giving Pseudo code here.
    Try to use this logic.
    I used question mark in code : there you need to use ur required field names.
    Hope it wil help you.
    select vbeln kunrg zterm bukrs knumv netwr kunrg from vbrk into corresponding fields of table itab1
    where vbeln = docno.
    select matnr posnr arktx fkimg meins netwr werks aubel from vbrp into corresponding fields of table itab2 for all entries in itab1
    where vbeln = itab-vbeln.
    select name1 stras pstlz ort01 land1 from kna1 into corresponding fields of table itab3 for all entries in itab1
    where kunnr = itab1-kunrg.
    select preprn exdat docno from j_1iexchdr into corresponding fields of  table itab4  for all entries in itab1
    where rdoc = itab1-vbeln.
    select j_1ichid from j_1imtchid into corresponding fields of table itab5 for all entries in itab2
    where matnr = itab2-matnr.
    Loop at itab1 into wa_itab1.
    read table itab2 into wa_itab2 index sy-tabix.
    read table itab3 into wa_itab2 index sy-tabix.
    read table itab4 into wa_itab2 index sy-tabix.
    read table itab5 into wa_itab2 index sy-tabix.
    itab_final = itab1-?
    itab_final = itab1-?
    itab_final = itab2-?
    itab_final = itab3-?
    itab_final = itab4-?
    itab_final = itab5-?
    append itab.
    endloop.
    select eikto from knb1 into table wa_knb1
    where kunnr = itab_fianl-kunrg
    and bukrs = itab-bukrs.
    select kawrt kbetr kwert kschl kposn knumv from konv into corresponding fields of wa_konv
    where knumv = itab_fianl-knumv
    and kposn = itab_final-posnr.
    append wa_konv.
    endselect.
    Regards
    Sandeep Reddy

  • How to Use Step with Filters in Eclipse

    Hello, everyone!
    I have a question. How do I keep myself from accessing methods outside my own class? See, when I use the debug feature of Eclipse, (I am using Eclipse 3.0), and start debugging, I often "Step Into" methods of classes like String.class and the like. Doing so produces errors that I need to click on to for numerous times! =( It hinders me from doing what I want to do. Can anyone help me? How do I prevent Eclipse from doing that again? After all, my only concern is seeing the methods I wrote in action, and I don't really want to bother with the ones already defined in Java (like Integer.Class and such).
    I also did a search on google, but the sites that turned up are only those that say Use Step with Filters, and nothing specific (most of them are copy-pastes, so different sites end up saying exactly the same thing ). I did that already, and the same thing happens. What do I have to do in
    Window->Preferences->Java->Debug? Do I have to add packages, classes or filters? If so, how should I do it?
    Sorry for the long entry, but I'm getting frustrated with clicking on the errors... I hope someone can help me. =)
    Thanks in advance! =D

    Go to Window-Preferences-Java-Debug-Step Filtering. When the dialog opens, press F1 for help. Good luck!

  • Debugging RFC - EBP and R/3

    Hello people,
    I´m debugging in EBP, and sometimes a function in R3 is called (a RFC function in R/3 system).
    I´m debugging with F5 (step by step) and I want to debug step-by-step inside the function called (in R3). In this moment, when the RFC function is called, the debug session acts as I had pressed F6 and the debug continues in EBP.
    I don´t know where I have to configure it! Do you have any tip?
    Thank you!

    Hi,
    Please check the following things
    1) Transaction SM59 --> check the entry you have maintained for your R/3 system.
    2) get in to details of the RFC destination ---> click on the tab Logon/security.
    3) You will find the following details
    Language        EN
    Client          ---> Client of the R/3
    User            ---> RFC user for R/3
    password     --> password of this user in R/3
    4) click on 'connection test' ---> system would take you to R/3 system. (this is just test to check the connection).
    5) Get in to details of this RFC user in R/3 ---> Transaction -->SU01 ---> User type should be dialog.
    6) then you should be able to do RFC debugging.

  • Debugging a sourcecode that uses Antenna's "preprocessing" feature.

    I wonder if there's a way to use Eclipse(or any other IDEs) to debug(stepping through, set breakpoints, etc.) a code that look something like this:
    //#ifdef conditionA
    public class Screen implements Runnable
    //#else
    public class Screen implements Runnable, CommandListener
    I tried searching Eclipse's documentation for "preprocess" but found nothing.
    Thanks in advance!
    Message was edited by:
    Kakyoin

    Several days passed but still 0 reply.
    I'll assume that currently it's impossible to do the mentioned debugging then. ^_^;

  • Debugging PGI document for Account determination

    Hi ABAP gurus,
    Can anyone help me in debugging PGI process to find out the account determination . There were some issue in getting the correct GL account from customization (OBYC) and hence would like to place break point in appropriate function module . I have tried few FMs and these were not hit during PGI from VL02N. Can some one can help me in terms of Function module to place break point for this issue .
    Your immediate help in this regard is highly appreciated.
    with regards,
    Joseph Anand B

    Actually, his issue is very clear; he's looking for the point of account determination during goods issue because the configured accounts in OBYC are not the ones selected (or so it seems).
    Runtime Analysis is the best tool for things like this, unless you really enjoy debugging step by step.  Most automatic accounting postings go through AC_DOCUMENT_CREATE and AC_DOCUMENT_POST.  You'll find these function calls in your analysis.  You'll also find MB_CREATE_GOODS_MOVEMENT which will call the accounting posting.

  • Consistent Crash: Debug Movie

    My copy of Flash CS4 has recently started to crash whenever I attempt to debug a movie. It will even do it to brand new movies I create. My Flash CS4 version is 10.0.2, and there are no Flash CS4 updates listed when I select update from the help menu. The following steps will consistently produce a crash:
    Create new project of type Flash File (Actionscript 3.0)
    Add a simple object to the stage, ie. Static TextBox, Rectangle drawn by the rectangle tool, etc.
    Save the FLA to the file system
    Covert it to a symbol and give it an actionscript class name (otherwise when you attempt to debug, you get the "no actionscript" error)
    From the tool bar, select "Debug -> Debug Movie".
    Flash CS4 crashes
    The swf appears once the Flash CS4 application fully closes and the process disappears from the task manager.
    If at step 5 I export the movie instead of debugging it, the movie exports fine, and the .swf can be opened and viewed normally. Likewise, "Control -> Test Movie" or "Control -> Test Scene" work fine as well. It's something else in the Debug step that's causing the error.
    Like I said, this is a very new behavior and it's incredibly frustrating. Any help would be appreciated.

    It is a known bug. You can avoid it by setting your default editing mode to rich text.
    AK

  • Debugging jsp dynpage

    I wish to debug a JSP dynpage project.
    For that I selected Debug perspective and then Create Manage and Run Configuarations. There I selected Remote Java application.
    I get a message "Failed to connect to remote VM. Connection refused".
    I entered localhost and 5000 as port. Is there any problem with it?

    Hello Prem,
    You should start your J2EE-Server in Debug mode to be able to debug:
    Steps to follow to start J2EE-Server in Debug mode
    1. Run ConfigTool "configtool.bat" which is under path "C:\usr\sap\J2E\JC00\j2ee\configtool\configtool.bat"
    2. In ConfigTool goto -->
    cluster-data>instance_ID*****>server_ID******
    then on the right details-window, goto Tab "Debug".
    Select the check box "Debuggable" and Check box "Enable debug mode" and set a "Debug port" generally 50021.
    Now restart server and try connecting to the remote VM with your Debug port.
    Greetings,
    Praveen Gudapati

  • How to debug a report in webi

    Hi Every One,
    1) How to debug (debuging steps )in  a report in boxir2 webi  based report.can any body help me out .
    2)How we do the performance and tuning in the report level.
    3)Aggregate awareness is possible to apply  in report level  or in universe level.If possible where we can find that option in webi..
    Please help me out
    Thanks in advance

    Hi,
    1. Depends on what you would like to debug - Always remember that Data issues - look into generated SQL and compare with report output ..the values would be the same or at higher level based on output context.
    2. There is not much to do in terms of improving performance in rendering a report. You should ideally concentrate on universe and underlying db performance for query retrieval.
    3. Aggregate awareness is applied at the Universe level. Please refer to the universe designer guide for more details.
    Regards

  • Debugging in Vs2005

    Hello,
    Here i got some debugging Vs problem in Teststand.this is my first time to use Vs2005 in teststand environment.
    when i assign the source code in the Edit .Net Call, there is an item named "source file contained Funcion",what should i configure here?
    should i configure it as a class which contains the method called? (there is two class and one form in the source code)
    Morever,when i make a breakpoint in the TS for the debugging step, when i step into the function(F8) ,there is an error appearing "class not registered", nevertheless, when there is no breakpoint ,it is running ok. what should be the problem?
    Thanks a lot
    Elvis

    You can find the definition of  "source file contained Funcion" in TestStand help:
    Source File Containing Function—Contains the pathname of the source file. You must specify an existing source file. You can enter an absolute or relative pathname. Relative pathnames are relative to the TestStand search directory paths.
    About the "class not registered" error, can you provide the exact error number? Maybe the following links are useful:
    http://digital.ni.com/public.nsf/websearch/A92CF6B69941B35D862568D900693DF5
    http://digital.ni.com/public.nsf/allkb/901B5E1C33A102A18625671C007C501F?OpenDocument

Maybe you are looking for

  • External Hard Drives... advice needed

    Not sure this is the correct forum category to be posting in... so apologies to admin et all if it's in the wrong place. I'm about to do some online shopping for an external hard drive to back up my pics, music, important info etc. on my eMac (OS X 1

  • How to download App "Quip" or "Evernote"in a iPad 3, knowing that I have already installed the version iOs 7.1.2?

    I'm trying to download the Apps Quip or Evernote in my iPad 3, but the following message appears when I try it: "This App Requires iOS 7.0 or Later". The first time that I tried to do it, I had an older version of iOs (older than iOs 7.0). Then, I ha

  • Maximum no of connections exceeded. Can not connect

    We are getting this error: maximum no of connections exceeded. I tried to login from sqlplus as / sysdba but getting same error. What is the best way to login to Oracle and kill some sessions? Oracle Version: 11g

  • Unable to start IB and IR XI 3.0 Unix

    I attempt to run Repository and get the following error when starting Java Web start...the following is from Java Web start log: (run on unix) An error occurred while launching/running the application. Title: Integration Builder Vendor: SAP AG Catego

  • Text field in Bol layer

    Hi Guys, I am trying to append text lines into a particular NOTES section in Webui. Here is what i am using in my code,   DATA: lr_ent1   TYPE REF TO cl_crm_bol_entity,         lr_texts  TYPE REF TO cl_crm_bol_entity,         lr_result TYPE REF TO cl