Diffrent node keep diffrent data in a replicated configure

hi
I use a simple configuration as below
and I contain 4 node in cluster.most time it is no problem.
but some time one node contain 199 objects, one contain 200 objects, and one contain 201 objects.
AND sometime when I restart one node, the node data is not sync from servers.(meaning the object data is not the same as others)
what's wrong?
<replicated-scheme>
<scheme-name>replicated</scheme-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</class-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</replicated-scheme>
<class-scheme>
<scheme-name>unlimited-local</scheme-name>
<service-name>LocalSessionCache</service-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
</class-scheme>
----------------

sorry,I'm not good at english
the case is
public void clear(){
NamedCache cache = CacheFactory.getCache(cacheName);
cache.clear();
public void load(){
//load from database
NamedCache cache = CacheFactory.getCache(cacheName);
while(rs.next()){
cache.put(id,obj);
obj is a xmlBean object and put XML in the direct already
when I do clear() and load()
in diffirent servet it has different counter
like one server have 639 items in cache
another have 640 items
it is a replication schema
Member(Id=1, Timestamp=Sat Nov 19 15:24:03 HKT 2005, Address=192.168.5.201, Port=8088, MachineId=28105)
Member(Id=2, Timestamp=Sat Nov 19 15:24:12 HKT 2005, Address=192.168.5.202, Port=8088, MachineId=28106)
Member(Id=3, Timestamp=Sun Nov 20 00:10:38 HKT 2005, Address=192.168.5.2, Port=8088, MachineId=27906)
Member(Id=4, Timestamp=Sat Nov 19 15:24:29 HKT 2005, Address=192.168.5.3, Port=8088, MachineId=27907)
Message was edited by: kywi

Similar Messages

  • Help me keep unlimited data. reps being extremely rude and not helping...

    So I don't want to make this long and boring so I'm going straight to the point. I am grandfathered in and I know there are many discussions on here about this but I need serious help. I don't know what to do. Long story short, I went to my local normal Verizon store and asked politely to be on the 12 month payment plan for a new phone. And I stressed I wanted to keep my unlimited data. No problem they said....45 limited later they come back and say sorry, we cannot do that. Doing the payment plan makes you sign a new 2yr contract. I was mad obviously but left politely not knowing any better. But it didn't seem right. So I called the 800 support number and they said there is no reason why they shouldn't have done that for me. The guy said he shouldn't of told me this BuT he told me that reps don't like doing that because they don't get as much If any commission for doing so. So he said they usually come up with a lame excuse like the one they told me. He told me to go right back in there and tell them that yes they are able to do that. So I did. I got a different rep and he was acting weird about it. Get this... I told him my situation and gave him a puzzled look when he explained he doesn't know what he can do, HE said "what's that condescending look for?" I justccan't believe he said that how unprofessional of him to call me, a customer or ten years condescending. I was astonished. But that's not even my point. He didn't know what todo so called the manager over and she claims to have spoke with the "president" and "CEO" of their Verizon in north east ohio, this was a wooster Ohio Verizon. And claims that they don't allow that and what I was originally told by the rep is true. That is changes the contract going on a payment plan the 12 month one not the edge. I told her what the 800 number has told me and she said they are wrong. PLEASE HELP ME :(  AGAIN, I was not rude or anything at all with them. They treated me like garbage because I want to keep my unlimited data. How can I do this? Can I go to another Verizon perhaps In Ashland Ohio and do the payment plan and keep my data? Sorry for the long question but any help would be TREMENDOUSLY appreciated. I am in wooster Ohio btw

        brant13,
    I want to start off by saying, I am truly sorry for the way that you have been treated at that the store location. This is by no means how we run a business. I can assure you that if you do the Device Payment Plan http://vz.to/ZILXBT  that is for 12 months that you are able to keep the unlimited data plan. You can always go to the store location on Commerce Pky in Ashland, OH. That is a direct store location and they should be able to get you set up with out any kind of issues. Please keep us posted if you have any further troubles. Again, I apologize for any inconvenience this may have caused.
    KevinR_VZW
    Please follow us on Twitter @VZWSupport

  • How to print diffrent color and diffrent size of text in JTextArea ?

    Hello All,
    i want to make JFrame which have JTextArea and i append text in
    JTextArea in diffrent size and diffrent color and also with diffrent
    fonts.
    any body give me any example or help me ?
    i m thanksfull.
    Arif.

    You can't have multiple text attributes in a JTextArea.
    JTextArea manages a "text/plain" content type document that can't hold information about attributes ( color, font, size, etc.) for different portions of text.
    You need a component that can manage styled documents. The most basic component that can do this is JEditorPane. It can manage the following content types :
    "text/rtf" ==> via StyledDocument
    "text/html" ==> via HTMLDocument
    I've written for you an example of how a "Hello World" string could be colorized in a JEditorPane with "Hello" in red and "World" in blue.
    import javax.swing.JEditorPane;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyledEditorKit;
    import javax.swing.text.StyledDocument;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.SimpleAttributeSet;
    import java.awt.Color;
    public class ColorizeTextTest{
         public static void main(String args[]){
              //build gui
              JFrame frame = new JFrame();
              JEditorPane editorPane = new JEditorPane();
              frame.getContentPane().add(editorPane);
              frame.pack();
              frame.setVisible(true);
              //create StyledEditorKit
              StyledEditorKit editorKit = new StyledEditorKit();
              //set this editorKit as the editor manager [JTextComponent] <-> [EditorKit] <-> [Document]
              editorPane.setEditorKit(editorKit);
              StyledDocument doc = (StyledDocument) editorPane.getDocument();
              //insert string "Hello World"
              //this text is going to be added to the StyledDocument with positions 0 to 10
              editorPane.setText("Hello World");
              //create and attribute set
              MutableAttributeSet atr = new SimpleAttributeSet();
              //set foreground color attribute to RED
              StyleConstants.setForeground(atr,Color.RED);
              //apply attribute to the word "Hello"
              int offset = 0; //we want to start applying this attribute at position 0
              int length = 5; //"Hello" string has a length of 5
              boolean replace = false; //should we override any other attribute not specified in "atr" : anwser "NO"
              doc.setCharacterAttributes(offset,length,atr,replace);
              //set foreground color attribute to BLUE
              StyleConstants.setForeground(atr,Color.BLUE);
              //apply attribute to the word "World"
              offset = 5; //we include the whitespace
              length = 6;
              doc.setCharacterAttributes(offset,length,atr,replace);
    }

  • I have an Iphone 3Gs. I need to get contents of messages that were sent and received on the phone in June for evidence in court. I read online that the Iphone internal storage keeps all data done on phone in the storage. How do I get into it?

    I have an Iphone 36s. I need to get contents of messages that were sent on the phone in June of this year. I read online that the phone has an internal storage that keeps all data when phone is used and that this internal storage can be accessed. I need the contents of particular messages for evidence in court. How do I get into the internal storage? I've tried some of the methods that people post online, but none of them have been successful. Help!

    If you still have a backup from that point in time as part ofr your computer backup history, you could restore the backup folder, restore the phone from that backup and have the messages on the phone.
    More details about restoring from old backups can be found here: iPhone and iPod touch: About backups

  • After I sync with iTunes my iPad Calendar is not updated from my computer where I keep my dates on Abacus. It used to do this. What's wrong?

    After I snync with iTunes my iPad Calendar is not updated from my computer where I keep my dates in Abacus. It used to do this.

    Follow the instructions of tt2 in: https://discussions.apple.com/thread/5822086

  • Using a checkbox in numbers- if,then, I want to display today's date if checked, and keep that date, the day it was checked, not the current day

    Using a checkbox in numbers- if,then, I want to display today's date if checked, and keep that date, the day it was checked, not the current day

    this will not work.  Numbers does not provide a timestamp.  you can, however, enter the formula "=now()" in any cell, then copy that same cell, then paste (using the command "Edit > Paste Formula Results"
    If you need a time stamp often,
    make a single cell table with the formula (mentioned earlier).
    and copy and paste as needed

  • How to keep the data entered on a page apex

    how to keep the data entered on a page apex
    so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing data

    Hi,
    As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
    Andy

  • ALV grid on the view keeping stale data

    Hi All,
    I am creating an application in  WDA in which we had decided to simply use tablui component. But later due to the nature of the requirements I decided to switch from that to ALV grid ( mainly for sorting and exporting to excel functionality advantages).
    There is a button which when clicked populates the data in the alv grid. ( there is a RFC which exports an internal table with data ) and i use the bind_table method to fill the ALV context node with the data. The Node has been mapped properly from component controller to the interface controller. And the code for populating the grid is written in the Action of the button.
    But my problem is after first population of the data in the alv( which works perfectly alright), if i chnage the selection criteria and again click the button my internal table (which is passed in the bind_table method)  is getting loaded with new set of data( i know that since i saw the internal table contents by debugging) but the alv grid on the screen is not refelecting the same.
    Ive tried using lo_nd_ctx_vn_alv->invalidate( ). here n there but doesnt work at all. In fact if invalidate is used then the ALV grid doesnt populate even once.
    The code is as follows :
    the node name is ctx_vn_alv.
    the data comes from rfc and is recieved in it_alv .
        data lo_nd_ctx_vn_alv type ref to if_wd_context_node.
        data lo_el_ctx_vn_alv type ref to if_wd_context_element.
        data ls_ctx_vn_alv type wd_this->element_ctx_vn_alv.
    *   navigate from <CONTEXT> to <CTX_VN_ALV> via lead selection
    lo_nd_ctx_vn_alv = wd_context->get_child_node( name = wd_this->wdctx_ctx_vn_alv ).
        lo_el_ctx_vn_alv = lo_nd_ctx_vn_alv->get_element(  ).
        lo_nd_ctx_vn_alv->bind_table( it_alv ).
    Edited by: bhaumik1987 on Mar 21, 2011 1:02 AM
    Edited by: bhaumik1987 on Mar 21, 2011 1:13 AM

    Hi Bhaumik,
    I think no need to write this code to get data using service call..
    Just call Execute method in component controller from your view controller.
    For example you have a button GETDATA, in on action of this button just call method. (use code wizard ) or
        DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
        lo_COMPONENTCONTROLLER =   wd_this->get_componentcontroller_ctr( ).
        lo_componentcontroller->execute_<YOUR EXECUTE METHOD NAME>.
    Check this example for more details..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600?quicklink=index&overridelayout=true
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a189b0ee583b8be10000000a421937/frameset.htm
    Cheers,
    Kris.
    Edited by: kissnas on Mar 21, 2011 7:12 AM

  • How to use "Days to keep historical data" & "Maximum time between logs(hh:mm:ss)

    Iam using LabVIEW DSC. Values are being logged continously into citadel.
    Is it possible to retain data of just one month and delete the earlier data as fresh data is being logged into citadel?
    Is it possible to achieve this feature with "Days to keep historical data" & "Maximum time between logs(hh:mm:ss)" options in the history menu of Tag configuration editor ?

    Yes, Days to keep historical data does what you are looking for. After the specified number of days, the old data gets overwritten with new data. So, you always have only the specified number of days' of data in Citadel.
    Note: You may sometimes see that old data doesn't get overwritten till after a day or so of your setting (depending on how much data is being logged). This is because Citadel logs in "pages" and waits till the current page it's logging to is full before it starts overwriting the old ones.
    You do not have to use the 'Max time between logs' option for this. This option forces Citadel to log data every so-many hh:mm:ss regardless of whether or not the data has changed. Note that this is NOT a way to "log data on
    demand". Because, this periodic logging of data would change for a particular tag when its data changes. So, even with this setting all data may not get logged at one shot. Anyways, as I said, you do not have to use this setting for what you're trying to do.
    Regards,
    Khalid

  • I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote on table mod

    I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote in table mode inpages '09?

    Footnotes can only be inserted in the main text area between the margins on a Word Processing document.
    Peter

  • Replication between 130 nodes and 1 Data Center

    Hi everyone.
    I have 130 database nodes (Oracle Standard Edition One) with a big distance of separation, and 1 Data Center with 3 nodes (Oracle Real Application Cluster 10g R2). The connection between nodes and datacenter is through various ISP ( WAN).
    I have exactly the same model design of database in nodes and datacenter.
    DataCenter is a repository of data for reporting to directors and dictate the business rules to guide all nodes.
    Each node have approximately 15 machines connected with desktop application.
    In other words Desktop Application with a Backend Database (node).
    My idea of replication is not instantly, when a transaction commit in a node then replicate to datacenter. Also over nigth replicate images because is heavy, approximately 1 mg per image. Each image correspond to one transaction.
    On the orher hand i have to replicate some data from datacenter to nodes, business rule, for example: new company names, new persons, new prohibitions, etc.
    My problem is to determine th best way to replicate data through nodes to datacenter.
    Please somebody could suggest me the best solution.
    Thanks in advanced.

    Last I checked, Streams and multi-master replication require enterprise edition databases at both ends, which rules them out for the sort of deployment you're envisioning.
    If a given table will only ever be modified on nodes or on the master site, never both, you can build everything as read-only materialized views. This would probably require, though, that the server at the data center have 130 copies of each table, 1 per node. For schemas of any size, this obviously gets complicated very quickly. For asynchronous replcation to work, you'd need to schedule periodic refreshes, which assumes that you have relatively stable internet connections between the nodes and the data center.
    I guess I would tend to question the utility of having so many nodes. Is it really necessary to have so many? Or could you just beef up the master and have everyone connect directly?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How Can I Keep Photo Data When Adding Photo To New Book?

    All of my photos in IPhoto have dates and descriptions as part of the file names. When I transfer then to make a book, all of this data goes away. Is there any way I can keep this data as a description of the photo.

    Where are you transferring the file to and how? As long as you use iPhoto the title and description remain associated with the photos. Are you referring to the title and having the title show on the book's page along with the photo? There is just one theme that displays the title: Folio
    The only way to get the description to display is to change the title to what you put in the Information/Description field. That can be done automatically with the Applescript described in my post here: http://discussions.apple.com/thread.jspa?messageID=5400478&#5400478
    OT
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Transferring images out of iPhoto but keeping original date

    I'm currently backing up all my images from iPhoto 4 onto CD (and elsewhere). When I transfer them the copy has todays date rather than the date they were originally created. Is there anyway to transferring them to back up and keep creation date so I retain the timeline.
    thanks in advance

    Hello -
    I recently backed up my photo archive from my old G4 desktop to an external hard drive, then imported everything into iPhoto on my new MacBookPro. A number of photos are now categorized with 'original date' as 2007, though I know they are from a trip in 2006.
    Is there any way to change this original date to the correct date, or otherwise weed them out of the calendar view under 'library', or do I simply need to distrust / ignore the annual organization and make my own 'album' and/or folders to deal with the mislabel?
    Assuming the original files are correct (I unfortunately cannot check right now), would transferring the files directly between the computers solve the problem? Is there a way to back up without corrupting the original date field?
    Thanks,
    D.G/C.A

  • Deploy BPM application and keep all data of old tasks

    Hi all,
    Currently, whenever i redeploy bpm application to weblogic server, all tasks information saved in database will be changed (the value of state attribute will be changed to 9). So i think it's not good in Production environment. I want to configure to keep all data of old tasks whenever deploy again.
    Does anyone knows the solution for this ?
    Thanks.

    Hi,
    Do you mean when you re-deploy the BPM composite application?
    Do you overwrite the older version of the composite or deploy as a new version?
    If you deploy a newer version, your existing task information should remain as it is otherwise it'll change to stale...
    Regards,
    Jang Vijay Singh

  • I'm looking for an application which i can keep my data and password safe in my iphone

    i'm looking for an application which i can keep my data and password safe in my iphone

    Look in the App Store on your iPhone 5S.
    What 'data' and 'password' are you trying to keep safe?
    Your data is best kept safe by regular backups to iCloud (which are only accessible via your Apple ID & password) or iTunes (which is stored locally on your computer, which has numerous security methods, including the ability to encrypt the iTunes backup).

Maybe you are looking for