2 -Way Replica Problem

Hi Friends,
I created a Materialized View MV_EMP of table EMP on same database and
If i refresh the table EMP MV_EMP gets refreshed
but if i refresh the MV_EMP the table EMP do not get refreshed.
create materialized view mv_emp
refresh force on demand
with primary key
for update enable
query rewrite
as select * from emp;
begin
dbms_mview.refresh('mv_emp') ;
end;
Basically, it is performing only one- way replica i.e EMP--> MV_EMP (Refresh)
and it doesn't perform the replica in bi-directional manner.
Plz Try to Resolve this.
With Regards,
Anand

Hi,
I knew that the view is refreshing manually because i'm using
refresh force on demand clause instead of on commit b'coz it shows the error msg
And According to me, 2-way replica means that the data can be updated from both the sites ,after commiting on one site the data can automatically be refreshed on another site but in my case , i'm refreshing explicitly.
Eg. Changed on EMP reflected on MV_EMP VIEW
and vice versa is also possible.
Is This 2-way Replica? If it is! Where i'm doing the mistake to implement it?
With Regards,
Anand

Similar Messages

  • How to solve one way audio problem

    i use cm 4.1(3) and i have one way audio problem ,i guess cause of NAT or firewall so i open all port that access-list block but i still have problem . i think nat is the problem .So which way does i have to fix this out
    pls tell me how

    Take a look at the following link.
    Troubleshooting One Way Voice Issues
    http://www.cisco.com/en/US/tech/tk652/tk698/technologies_tech_note09186a008009484b.shtml
    Hope this helps. If so, please rate the post.
    Brandon

  • Creation  of components in dinamic way. Problem with threads....?

    hi,
    I am trying to add components (JTextFields) to a JPanel in dynamic way.
    I would like that the user decides the number of the components, to
    be created, for executing a function by clicking a button.
    But clicking on the button, the elaboration doesn't produce the creation
    of the JTextFields.
    Debugging the code I saw that the same function works well
    when it is called from the normal data flow of the elaboration
    instead that it is called from inside a listener.
    It is hard for me to understand the reason why this
    happens, as well I could think that this problem could happen
    because the execution of different threads.
    But I am not able to manage those kind of situations....
    I would like to have a little help
    thank you
    regards
    tonyMrsangelo.
    To reproduce the problem I post some code where the function (setComponentInThePanel())
    is called from the constructor of the class and from the listener of a JButton.
    package labels;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JSpinner;
    import javax.swing.JTextField;
    import javax.swing.SpinnerNumberModel;
    public class LabelsDialogMain extends JFrame {
        PanelCanvas jPanCanvas = new PanelCanvas();
        PanelDesign jPanDesign = new PanelDesign();
        PanelCommands jPanCommands = new PanelCommands(jPanDesign);
        /** Creates new form MainLabelsDialog */
        public LabelsDialogMain() {
            java.awt.GridBagConstraints gridBagConstraints;
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.gridheight = 2;
            getContentPane().add(jPanCanvas, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 3;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.gridheight = 2;
            getContentPane().add(jPanDesign, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.gridwidth = 4;
            gridBagConstraints.gridheight = 2;
            getContentPane().add(jPanCommands, gridBagConstraints);
            pack();
         * @param args the command line arguments
        public static void main(String args[]) {
             LabelsDialogMain mld = new LabelsDialogMain();
             mld.setVisible(true);
    class PanelCanvas extends JPanel {
        public PanelCanvas() {
            Dimension d = new Dimension(400,200);
            setPreferredSize(d);
            setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Panel Canvas", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Comic Sans MS", 0, 11), new java.awt.Color(0, 255, 255))); // NOI18N
    } // class PanelCanvas
    class PanelDesign extends JPanel {
        JTextField textField [];
        public PanelDesign() {
            Dimension d = new Dimension(400,200);
            setPreferredSize(d);
            setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Panel Design", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Comic Sans MS", 0, 11), new java.awt.Color(0, 255, 255))); // NOI18N
        void setComponentInThePanel(int dim ){
             textField = new  JTextField[dim];
             for (int i = 0; i < dim; i++){
                 textField[i] = new  JTextField("----- " + i);
                 add(textField);
    System.out.println("executed the nmbr: " + i);
    repaint();
    } // setComponentInThePanel()
    } // class PanelDesign
    class PanelCommands extends JPanel {
    PanelDesign panelDesign;
    private javax.swing.JLabel jLblRowNmbr;
    private javax.swing.JSpinner jSpinner;
    JButton dummyButton = new JButton("button");
    public PanelCommands(PanelDesign pnlDesign) {
    panelDesign = pnlDesign;
    Dimension d = new Dimension(800,200);
    setPreferredSize(d);
    setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Panel Cmmands", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Comic Sans MS", 0, 11), new java.awt.Color(0, 255, 255))); // NOI18N
    jLblRowNmbr = new javax.swing.JLabel();
    jSpinner = new JSpinner();
    jLblRowNmbr = new JLabel();
    add(jLblRowNmbr);
    add(jSpinner);
    add(dummyButton);
    jSpinner.setModel(new javax.swing.SpinnerNumberModel(Short.valueOf((short)1), Short.valueOf((short)1), null, Short.valueOf((short)1)));
    final SpinnerNumberModel sm = (SpinnerNumberModel) this.jSpinner.getModel();
    jLblRowNmbr.setText("N. of the rows");
    // panelDesign.setComponentInThePanel(4); "take out the comment of this row to get the creation of JTextFields"
    dummyButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Number amp = sm.getNumber();
    int ampInt = amp.intValue();
    panelDesign.setComponentInThePanel(ampInt);
    // panelDesign.setComponentInThePanel(4);
    JOptionPane.showMessageDialog(jSpinner, "spinner = " + ampInt);
    } // class PanelCommands

    When you add/remove components to a panel when the GUI has already been created then you need to use:
    panel.revalidate();
    panel.repaint();

  • Three Way Video Problem

    My mom sends a video invite to my sister from her iMac to her MacBook. Then my mom sends me an invite. On their Mac's iChat enters a three way chat where on my MacBook Pro all I see is myself and I can only hear them. If I have my mom start a two way video chat, I can then see her.

    Assuming each of you has his/her QuickTime Streaming Speed set correctly, the problem is probably insufficient bandwidth on your mother's end and possibly on your end as well.
    If you want to try a three-way video connection hosted by me, you can try video connecting to me at [email protected]

  • 3 way video problem....

    When I am invited to video chat by #1 on my macbook ichat works works great, then when the person who invited me is inviting a second user (#2) I can see my ichat window opening up for a 3 way, still see the original screen with #1 but on the other pane I have a message saying that #1 invited #2 and that's it, no video of #2?????
    Is there something I need to do to see #2 or should it be automatic?
    Thanks

    It's probably a bandwidth issue. It seems to happen when the third party to the conference has an Intel Mac and the host has an upstream connection speed that is too low.
    It may be a programming problem, but the interim solution is for the host to increase her bandwidth.

  • Macbook Pro not booting up all the way, weird problems

    Last night I was using my Macbook Pro, closed the lid then came back later and when I opened the lid it wouldn't wake back up. Shut it down by holding the power button, then tried booting it back up. You can hear the CD/DVD drive spin up, (got my copy of X-Plane in there) but nothing else happens. Keyboard backlights never turn on, display stays dark, and the sleep light never lights up all the way either, just stays dim. Leave it for a few minutes, then close the lid and the sleep light gets bright like the computer is awake, and you can still here it running.
    Sounds like classic SMC issues right? Well tried resetting that several times, no luck. Reset the PRAM while I was at it as well, no luck. Really not sure what's wrong now.
    Macbook Pro was purchased spring '08, can't remember all the specs off the top of my head but it was the top-of-the line processor, 2-gig of ram, the nvidia 8600 video card. I've heard that there have been some issues with that card however I'm not yet convinced that this is a video issue. Software update ran just a few days ago, so I'm running whatever the latest version of mac os X is. (10.5.??)

    Here's a link to the NVIDIA program:
    http://support.apple.com/kb/TS2377
    There is a specific test they run to diagnose this problem. If it pulls the right error code, you get a free logic board replacement. Print out a copy of the article and take it along--oddly enough, there are still a few Apple guys that don't seem to be familiar with this program.
    So far I have not experienced the NVIDIA problem myself, but I have read a number of posts about it. Some people have reported multiple problems--some so severe that their Mac won't boot up enough to run the test. However, since your Mac sounds unusable the way it is, you may as well make an appointment at the genius bar and see if you qualify for a replacement logic board. That could cure many things.
    Good luck!

  • N95-1 three way calling problem

    I had 3 way calling feature before firmware update. After update . I can no loger be able to use that. (eg. while talking with a friend, if I dial the 3rd person, I can join the 2lines by pressing the green call button). After update, pressing call button doesn't join the 2 calls any more. It puts on hold the first call. If I press the call button again, it puts the 2nd person on hold and vice versa.Three of us can never be able to talk to each other at the same time as I used to. I updated the FW again no diffrence. My conference call works. I activated my call waiting. called my network operater and confirmed with them that my call waiting feature still actived. can any one help me?
    N95-1
    usa

    Roco5 wrote:
    Hey has anyone split up a  3-way call after initiating it.  I had the iphone for AT&T and I would simply tap conference and end call.  This is very helpful when you have someone on the phone and get someone else's voice mail.  I had american express after waiting for this person, I called the merchant and got their answering machine.   I then had to hang-up and was forced to hang up on all parties having to start all over again   
    I called and they told me after 20 min of research that this is not available with iPhone 4 CDMA.  Why not it is on my verizon blackberry so it is not a CDMA thing.  It is also available on my iphone for AT&T so it is not a phone thing.  Verizon/Apple please explain or at least offer a solution!!!
    I think this the first bug with conference calling. See the wired review article:
    http://www.unwiredview.com/2011/02/13/bug-discovered-on-verizon-iphone-cannot-conference-call-more-than-3-lines/

  • Lion OD replica problem

    slapconfig -createreplica --certAdminEmail [email protected] cpstudx1.domain.priv diradmin
    diradmin's Password:
    2012-02-06 21:49:49 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://cpstudx1.domain.priv -p
    sso_util command failed with status 2
    2012-02-06 21:49:49 +0000 _preflightLDAPReplica: could not read the Kerberos realm from the master cpstudx1.domain.priv
    2012-02-06 21:49:49 +0000 Not creating replica due to failure to read Kerberos realm from master. (error = 78)
    2012-02-06 21:49:49 +0000 Not creating replica due to preflight failure.
    2012-02-06 21:49:49 +0000 Not creating replica due to preflight failure. (error = 78)
    I had this system as a replica, I demoted it from replica status in an apparently vain attempt to see if I could clear up all these errors:
    Feb  6 16:03:10 cpstudx1 slapd[1058]: slap_client_connect: URI=ldap://MASTUDXM.local:389 ldap_sasl_interactive_bind_s failed (-1)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl1: client_connect failed (-1)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl: rid=005 rc -1 retrying
    Feb  6 16:03:10 cpstudx1 slapd[1058]: slap_client_connect: URI=ldap://BCSTUDXM.DOMAIN.PRIV:389 ldap_sasl_interactive_bind_s failed (-2)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl1: client_connect failed (-1)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl: rid=002 rc -1 retrying
    Feb  6 16:03:10 cpstudx1 slapd[1058]: slap_client_connect: URI=ldap://erstudxm.domain.priv:389 ldap_sasl_interactive_bind_s failed (-2)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl1: client_connect failed (-1)
    Feb  6 16:03:10 cpstudx1 slapd[1058]: do_syncrepl: rid=003 rc -1 retrying
    Feb  6 16:03:11 cpstudx1 slapd[1058]: SASL [conn=1279] Failure: incorrect digest response
    Anyone have useful thoughts? Thanks

    Shoot. I should have replied to this thread.
    After spending a bunch of time with Apple Support, I figured out that there's a computer group called com.apple.opendirectory.group that is retaining records of previously connected replicas, and this data isn't being removied or over-written.
    So, here's what you do:
    On the Master remove the failed replicas from command line
              $ sudo slapconfig -removereplica replica.fqdn.priv
              $ sudo slapconfig -removereplica replica2.fqdn.priv
    On both replicas, run this command
              $ sudo slapconfig -destroyldapserver
    On the master open /System/Library/CoreServices/Directory Utility.app
    Click on the "Directory Editor" tab
    Change the node to /LDAPv3/127.0.0.1
    Go to ComputerGroups
    Select the com.apple.opendirectory.group
    Delete the offending replicas from GroupMembers (you'll have to figure out the replica's GeneratedUID, which I do by looking at the computer accounts), GroupMembership and Member
    Now you should be able to re-connect the replica

  • OpenDirectory replica problem: "Error: PasswordService"

    I'm trying to get a replica OpenDirectory server running (basically, putting a mini to work on my home network as a replica of the main server at the office). It seems to be working fine, except for this message that shows up in the Open Directory Server Admin panel (under Replica Status):
    ERROR: PasswordService - Warning: Replication has not completed yet.
    However, if I look at the replica side, it would appear that replication is complete.
    On the other hand, something must be wrong, because when I try to do some Directory administration on the replica, no password that I type in for the Administrator account seems to work (just in the domain - the local password is fine).
    Halp!

    Master LOG:
    SUCCESSFULL Replica Backup:
    Dec 14 2006 12:36:04 Synchronizing with "Replica2"
    Dec 14 2006 12:36:04 Keberos database dump failed
    Dec 14 2006 12:36:04 Connecting to 192.168.1.150, synchronizing all records.
    Dec 14 2006 12:36:04 The remote replica list has 1 parent and 1 replica.
    Dec 14 2006 12:36:04 Updating the list of replicas. There is 1 parent and 2 replicas in the list.
    Dec 14 2006 12:36:04 syncfile: /var/db/authserver/apsSyncFi1166106964.962716
    Dec 14 2006 12:36:05 sent 54 records, accepted 0, superceded 0
    Dec 14 2006 12:36:05 Keberos database dump failed
    Dec 14 2006 12:36:05 No Kerberos records to update
    Dec 14 2006 12:36:05 DoSync: the next replication will occur on 12/14/2006 at 12:40:00 PM
    Dec 14 2006 12:36:10 updating replica list with on-disk changes
    UNSUCCESSFULL Replica Server Dev:
    Dec 14 2006 12:30:47 Synchronizing with "Replica1"
    Dec 14 2006 12:30:47 Keberos database dump failed
    Dec 14 2006 12:30:47 Connecting to 192.168.1.222, synchronizing all records since 12/14/2006 12:25:34 PM
    Dec 14 2006 12:30:47 The remote replica list has 1 parent and 1 replica.
    Dec 14 2006 12:30:47 Updating the list of replicas. There is 1 parent and 1 replica in the list.
    Dec 14 2006 12:30:47 syncfile: /var/db/authserver/apsSyncFi1166106647.788276
    Dec 14 2006 12:30:47 sent 2 records, accepted 0, superceded 0
    Dec 14 2006 12:30:47 Keberos database dump failed
    Dec 14 2006 12:30:47 No Kerberos records to update
    Dec 14 2006 12:30:47 DoSync: the next replication will occur on 12/14/2006 at 12:35:00 PM
    Dec 14 2006 12:30:53 updating replica list with on-disk changes
    Dec 14 2006 12:32:09 SYNC SETUPREPLICA: 192.168.1.150 has been added to the list of replicas.

  • 2 way syncing problem with GCal.

    Hi,
    Can anyone help me with my syncing problems between my PC and LG? I am able to have automatic syncing from what I input on the PC to the phone. However, from the phone to the PC doesn't happen. I, even, tried it with the USB connection.
    Does anyone know how to get it to sync from phone to pc?
    Thanks for your suggestions..
    Monica

    When you create the calendar entry on the phone are you creating as a entry for the Gmail account associated with the Google Calendar or are you creating it for the phone only?
    Usually at the very top of the "create new event" there is a line telling you what calendar you are creating the event in.

  • Uninstall Exchange contains replicas problem

    I am trying to uninstall exchange 2007 (it was never used (installed by default on a sms box) and want to free up space).
    I run the uninstall and an error cannot continue. The public folder database cannot "***\Second storage group\public folder database" contains replicas
    I then run the command from the exchange shell
    Get-PublicFolder -Identity \ -GetChildren | Remove-PublicFolder -Recurse
    I get the error cannot find a mailbox to logon the public folder database.
    I also run
    Get-PublicFolder -Server ***  "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server *** -Recurse -ErrorAction:SilentlyContinue
    *** server name
    And get the same error - I don't know exchange very well so basic instructions would help
    Cheers for your time

    Hi
    If you are sure that the public folder database is not used and all of the folders on it are actually copies of data held elsewhere then you can remove it using ADSIEdit:
    http://blog.dargel.at/2012/01/19/remove-public-folder-using-adsiedit/
    Steve

  • 2-way sync problem

    have an iPhone 3G and an iMac (one before new model). The main issue is that when I delete an item in my iPhone calendar it does not delete in iCal when synced and thus puts the item back onto the iPhone. So, iPhone to iCal is not working, the reverse does. It's a pain to make changes to the iPhone when I'm on the go and then have to do the same to iCal later on before I sync so that I don't get everything back again.
    Any thoughts on this?

    amalgamate your data on google calendars.

  • Security Update for exchange 2013 SP1 (KB3040856) failed mid-way / power problem mailbox server disconnected

    While applying todays security update for exchange 2013 (KB3040856) there was a power issue (sad story) and the update was interrupted halfway through.  A bunch of service were left deactivated and I beleive I brought them back.
    At this point the exchange admin center brings me to the login and when I do login, I get an enable to display page msg after the login.
    I have an ActiveSync error log  "cannot access the mailbox because the mail box server is disconnected"  translated from french.
    I also have ASP.NET 4.0 error "MapiExceptionMdbOffline"
    What could be the next step in fixing this if it is at all possible ?  I am not an expert in cmdlet but can manage if pointed in the right direction.
    Any help would be greatly appreciated.
    Thank you.

    I ran update KB3040856, and it disabled all Exchange services, and a few others besides (IIS and filtering). I ran the test-servicehealth cmdlet and eventually got all the services set to automatic and all running.
    This is really a stupid thing for an update to do, what is going on? Exchange 2013 is trouble enough already, we really do not need this sort of agro.

  • On my itunes (on pc) and on my touch i had many songs and albums, purchased, burnt and transfered.  this was fine and always synchronized both ways. had problems with my hard drive and had to reformat it all. since then my pc itunes only got back some 60%

    when i try to synchronize, it says that it would first erase all in the ipod before syncing.  all the original contents are intact on the ipod touch.  i have backed it up to the pc, yet, to sync. it insists on first erasing all.     please someone help

    Follow these instructions
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • BB-Outlook two-way syncing problem

    I can't figure out how to get information entered in Outlook (2003) onto my handheld device (7100t). I'm using a replacement computer because mine crashed. This one already had Outlook and had been used by the previous owner. I deleted his information and then configured DM (4.5) to take info from my BB to Outlook which went quite well. Trouble is, now I can't get any info entered in Outlook to sync to the BB. I've tried to find the sync "instructions" in DM but I can't find the option that lets me tell it to sync in both directions. I'm sure it's something simple I'm overlooking but I'm terribly frustrated. Any suggestions?

    Contacted Bell Mobility support, who advised to wipe the Blackberry. This resolved the issue.

Maybe you are looking for

  • The battery in my mid 2010 Macbook Pro goes dead while plugged in to

    I tend to use my lap top alot with the cord plugged in. Sometimes the indicstor glows red and doesn't charge. Sometimes it glows green and the battery is draining and sometimes it seems to be working properly. I have an app called battery health whic

  • Error in customerInfo page

    Hi i am getting the following after submiting the customerinformation in customerinfo.jsp CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [priceOrderTotal].; SOURCE:java.lang.NullPointerE

  • Reports and Filter question

    Is there a way to filter on more than one column in step 3 of the report builder? For instance, I have a report that displays activities from Accounts and opportunities. I would like the ability to filter a report by The Account Owner column and the

  • Fireworks won't launch as DW editor

    I have had a problem on two Mac OS X 10.4.8 systems where FW will not launch as the image editor from DW. The error that is thrown asks one to verify the application exists and has enough memory to run. Well, it does and there is. Even the path is co

  • Removing SID for new installation

    Hi, Currently I have 10g installed on my windows 2003 server. I want de install the existing instance and would like to install 11g with the same SID. How can I remove the SID of old instance? Can I issue the following before deinstall of the databas