Configuration problem of the mixture of the regions with and without installation of persistence of the disc causing the JSONFormatter to fail

I have trouble setting my local setup correctly with a mixture of regions with different configuration of persistence of disc.  Is a configuration problem on my end or a bug in GemFire and/or Spring GemFire data?

The configuration of my work is as follows:

< gfe: replicated-region id = "replicatedRegion" cache-ref = "gemfireCache" disk-store-ref = "overflowOnlyDiskstore" persistent = "false" >

< gfe:eviction type = threshold "HEAP_PERCENTAGE" = "90" action = "OVERFLOW_TO_DISK" / >

< / gfe: replicated-region >

< gfe:local - region id = "localRegion" cache-ref = "gemfireCache" / >


With the above configuration, I can successfully call JSONFormatter.fromJSON (json) and get a reference to a PdxInstance object.  However, when I kinda modify configuration to enable the persistence of drive on one of the regions, the call to JSONFormatter.fromJSON (json) fails.  The change is as follows:


< gfe:local - region id = "localRegion" cache-ref = "gemfireCache" persistent = "true" disk-store-ref = "persistOverflowDiskstore"/ >

Without any additional modification, the following error starts occurring:

com.gemstone.gemfire.pdx.JSONFormatterException: could not parse JSON document: [Source: java.io.StringReader@5549f0e, line: column 26,: 6]

at com.gemstone.gemfire.pdx.JSONFormatter.fromJSON(JSONFormatter.java:66)

...

Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: The PDX metadata must be persistent in a limb that has persisted data. See CacheFactory.setPdxPersistent.

at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.checkAllowed(PeerTypeRegistration.java:531)

at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.verifyConfiguration(PeerTypeRegistration.java:515)

...

Note that it is breaking while I try to get a reference to a PdxInstance, and if the code has not yet arrived at the point where I place a PdxInstance object in a region.

Thanks for any help in advance.

Hello

JSONFormatter PDX uses as is the serialization mechanism from the Gemfire cache. As indicators of error, you must have your persistent PDX meta-data when you use PDX with an area that itself is persistent. Adjust your configuration as follows:


It will use a default for PDX record store, but you can also use a specific store if you wish.

When you use PDX, a "PDXType" is created for each class serialized with PDX and this type id is stored with the data in the region. If this region is persistent, then the PDXType, associated with this object must also be kept.

-Jens

Tags: VMware

Similar Questions

  • I just bought the edition student pro Adobe Acrobat XI from amazon. The installation wizard does not recognize my valid serial number. I entered it with and without a hyphen. What should I do?

    I just bought the edition student pro Adobe Acrobat XI from amazon. The installation wizard does not recognize my valid serial number. I entered it with and without a hyphen. What should I do?

    Is the serial number a 24 digit code?

    It is best to contact the Support from Adobe and check with the serial number once:

    "Click the button still needing help, and then select the Chat option:

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_account-settings _stillNeedHelp

  • After you download CC Office at the beginning of the installation, I get the error 049. It was the 9th try to install for 1 week - with and without administrative rights.

    After you download CC Office at the beginning of the installation, I get the error 049. It was the 9th try to install for 1 week - with and without administrative rights.

    Hello

    Please see error download or update Adobe Creative Cloud applications

    Hope that helps!

    Kind regards

    Sheena

  • Configure vCenter as orchestrator 4 everything configured correctly, but the network. Failed to save config

    I'm going through my first vCenter Orchestrator configuration. I started following configuration directives in order. I logged in the vCenter Orchestrator Web Configuration utility. One of the first things to do is set the network on the server. I entered the network tab and click on the drop-down list to select the IP address of the host. This is where even 127.0.0.1. I chose the IP address of servers and it fills correctly in the DNS name with the full domain name field. Now it is supposed to be an Apply Now button that comes silence... but it doesn't.

    I left all the port settings on this page to the default value. I can click on the tab SSL and am able to import the certificate from the server vCenter without problem. All other aspects of the configuration has been completed (LDAP, database, server certificate, license) but I can not save the configuration of the network and bind to the network adapter. So I'm stuck. It is the last part of the initial configuration that will not end. Any help would be great.

    The Apply Now button has been available on any necessary location during installation.

    It's a virtual machine with Server 2003 Enterprise R2 SP2, SQL 2005, 2 GB RAM and 1vCPU

    Nothing else installed on this server

    vCenter Orchestrator Build 4.0.0.4240 a vSphere vCenter server connection

    I saw once in my configuration when I am struck by the console configuration page and the resolution of the console has been set to 640 x 480.  In this case, apply the button was hidden.  In my view, that we do guarantee that this higher such as 1024 x 768 resolutions.

    Could you confirm that this is not the case (you use the browser in a context of low resolution?

    Thank you

    SIA

  • Navigation problem: published the project navigation fails.

    Hi, I have a problem of navigation: a published project navigation fails after a certain landslide. Slide all have the same setting. What can be the reason? Thank you

    Hi Erik,

    Thank you for all the suggestions. With their help, I could finally identify the problem is with the slide itself and not with Captivate settings. The in-depth slide comparison revealed that one of the links incorporated into the problematic slide caused the stop in the navigation. After the removal of this hyperlink navigation has worked fine. But I can't determine why the hyperlink has been corrupted, the project can be launched very well.

    I thank very you much for all the help!

  • Problem of the NAC. Failed to add server.

    Hi all!

    I can't add a nac server to the CAM. Error: Cannot add the server: server access to the own conflicted with the IP <10.52.244.146>must first be removed.

    Add Server IP: 10.52.244.194. I checked all the settings. This address is not used in the IP address of the server of Pentecost - 10.52.244.146 settings.

    I don't see in the newspapers of useful information.

    Why didn't I have this error on the CAM?

    You might be hitting this bug: CSCtd27095

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtd27095

    Please follow the "Workaround" recommended in the bug.

  • extremely interesting and urgent - possible difference in appearance of the LUN with and without clichés unexposed to the initiator

    Hello

    I decided to build this case in my testlab, it seems very interesting to me. Someone here in the Group of any idea what could be or already heard of such a case?

    http://forums.Veeam.com/viewtopic.php?f=2&t=15746

    Background / idea: no accessor LUN should never see even the slightest difference between a lun as such and the same lun with snapshots not exposed. This must be absolutely and completely transparent to all - host, the initiator and the engine of the cbt. The only exception would be tools or plugins that take specifically the use of deeply integrated san-snapshot features.

    Best regards
    Joerg

    Question, you use VSM to take the initial snapshot?    If so, the same thing happens if you create a snapshot in Workgroup Manager instead?

  • Try to bring back the files with and without email address

    I have a simple query where I'm trying to shoot all my active subscribers and their return e-mail addresses. Most of the subscribers have an email address but I still want the subscribers in my results. I think it's a simple join but I can't understand. The discus.ems table contains only e-mail addresses and their NHS ' corresponding s(Acct#'s). The SQL is pasted below. I use SQL Developer 1.5.5

    Select
    a.STREET_NBR | » '||
    RTrim (substr (a.Street, 33, 2)) | » '||
    RTrim (substr (a.Street, 1, 28)) | » '||
    RTrim (substr (a.Street, 29, 4)) | » '||
    RTrim (substr(a.Street,35,2)) Address1,
    Trim (a.UNIT_NBR) APT,
    a.CITY_NAME CITY,
    a.STPV_CODE STATE,
    a.ZIP_CODE ZIP,
    b.email_addr
    Of
    Discus.Sub has,
    Discus.EMS b
    where
    a.SiteId = "Sun" and
    b.SiteId = "Sun" and
    a.RRN = b.sub_rrn and
    a.stat_flag in ('E', 'C', 'I', 'V')

    To make a column, you could easily make a scalar subquery:

    select a.STREET_NBR ||' '||
           rtrim(substr(a.STREET,33,2)) ||' '||
           rtrim(substr(a.STREET,1,28)) ||' '||
           rtrim(substr(a.STREET,29,4)) ||' '||
           rtrim(substr(a.STREET,35,2)) ADDRESS1,
           trim(a.UNIT_NBR) APT,
           a.CITY_NAME CITY,
           a.STPV_CODE STATE,
           a.ZIP_CODE ZIP,
           (select b.email_addr
            from   ems b
            where  b.sub_rrn = a.rrn
            and    b.siteid = 'SUN'
           ) email
    from   sub a
    where  a.siteid = 'SUN'
    and    a.stat_flag in ('E','C','I','V')
    ;
    
  • Problem in the use of html in ADF

    I used the following code to display my text under a heading in a JSF Page of ADF
    but its not working, however, it is also explained in e16181.pdf oracle (Oracle Fussion Middleware - > Developer's Guide to Web for Oracle Application Development Framework UI)
    the document on page 523 example 18 - 2 output text with and without the escape property set

    I don't understand why his does not work as explained

    The code is provided for in
    < f: facet = 'top' name >
    < af:outputText value = "& lt; H1 > settings system & lt; "/ h1 >" id = "ot1" rendering = "true" / > "
    < / f: facet >
    < / af:panelStretchLayout >

    Concerning
    
    

    Escape property to false by default, it is true. Learn more on this subject in the following link

    http://docs.Oracle.com/CD/E15051_01/apirefs.1111/e12419/tagdoc/af_outputText.html

    Thank you
    Prateek

  • Remote Desktop having problems connecting Surface RT to Win 8 portable Pro (new installation)

    Remote Desktop/RemoteApp problems

    I was not able to connect outside of the network.

    I sprung several days trying to solve this problem by myself, then on the phone with Microsoft productivity, and some of them aren't yet familiar with Surface RT. So with the RD in network connection is quite simple and effective, I hope some people here can confirm that they have the same problems or possible solutions.

    As I see it, there are 3 interfaces where we can connect to RD on the Surface RT: Pre-installe Remote Desktop Office found via scanning and research, the metro downloadable RemoteApp and desktop remotely via the control panel).

    I see where ping command is executed on the computer and port 3389 is open and oriented to the laptop, so I will state the problems I see with each when I try to log on a Windows 8:

    (1) pre-installed RD:

    It's great and the name of your computer is there for you and connected to your account and network ready. You have options like "Connect and don't warn me if server authentication fails" I think has helped many people on Windows Server with certificate problems.

    Off-grid on Surface RT, however, you get «Remote desktop cannot find the computer _.» This may mean that '_' does not belong to the specified network. Check the computer name and the domain you are trying to connect to."

    (2) metro UI:


    It seems to do a ping the computer more quickly when you put: 3389 at the end of your IP address. However, no success after having tried with and without the end of the port. The messages I get are...

    RemoteApp 3):

    This is the solution I've seen in most tutorials,... but the reason given for not connecting, it is "the remote computer cannot be authenticated due to problems with its security certificate."

    Instead of the option to bypass (which option 1 gives you), there is no other choice, and he says "Windows is unable to continue setting up this connection. Contact the administrator of your workplace. »

    This message made me to learn more about the certificates that I always wanted to know. I tried to start MMC and ensuring that the cert listed in Remote Desktop has been copied to the folders of the confidence of the authorities certificate root (duplex as certificates on the local computer). I tried different combinations and did not really anywhere.

    If someone connects via #3, please post care on your certificate if you can find it.

    Any help on getting one of these methods to work is appreciated. It puts naked repeat that port 3389 is listed as open on my home network, the traffic is transferred to the correct PC and all firewalls are disabled until I can solve this problem.

    Hello

    Sorry for the delay in responding.

    Assistance in connection with Remote Desktop problems are handled by technicians of the TechNet Forums.

    If you are also facing problems with remote desktop on the computer Windows 7, then please post your question in the Windows 7 IT Pro TechNet Forums: http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro

    Thank you.

  • Firefox has only display problems in the upper left region of only my Dell U3011 monitor; the monitor does not have these problems with any other application

    Some parts of the Firefox window are translucent, allowing the image of the desktop to show through. These regions are anything but great internet site central image which behaves normally. Unless the desktop is completely black this problem makes reading the tabs, address bar and the bookmark are difficult if not impossible. I encounter this problem only on my new Dell U3011 monitor. Firefox is the only application that has this issue on the Dell monitor. The monitor built into the laptop that animates the Dell monitor does not exhibit this problem. The laptop is a Lenovo W540 running Windows 7 64-bit. Thank you very much for your help. Steve Schupbach

    Hello stevesch

    first see : problem with Firefox going transparent troubleshoot and find a solution

    then with patience to see:

    questions/940393

    questions/940389

    questions/940374

    questions/940377

    questions/940384

    questions/940395

    Thank you

  • the z820 RAID configuration problem

    Hello

    I have a newly opened (running the BIOS 3.52) z820 workstation. I would get my RAID configuration Setup program, but I have problems following the steps in the maintenance and Service guide:

    http://h20628.www2.HP.com/km-ext/kmcsdirect/emr_na-c03424977-1.PDF

    More specifically, in the section "Setting up system BIOS", after confirming the RAID + AHCI is defined for the SATA Mode and Post Messages are enabled, then step 4 says that enable 'SATA RAID Option ROM download. There is none of these items under Device Options. I don't see "SAS Option ROM download", which is already activated.

    In addition, after leaving the BIOS settings, there is no CTRL + C or CTRL + I, option to enter RAID settings...

    Indeed, I checked that there are two drives running on the machine...

    Anyone know what is happening?

    Thank you

    Jake

    Oh and pass a legacy just for test purposes - unless you have already done.

  • Reclassification of Viata W7 HP HP; Viata in Spanish 7 in English, incompatibility in the transfer of WindowsEasy. Incredible also, in its regional, my country Venezuela is not so I now have problems in the keyboard language and the motto puntuation.

    Reclassification of Viata W7 HP HP; Viata in Spanish 7 in English, incompatibility in the transfer of WindowsEasy. Incredible also, in its regional, my country Venezuela is not so I now have problems in the keyboard language and the motto puntuation.

    Thanks for your reply but I've solved the upgrade Viata HP to W7 HP Viata in Spanish. Took a lot of effort but is workig now. My major concern is on the regional setting: my country is Venezuela and this is probably the only country that is missing from the long long list so I now have problems in the keyboard language and the motto puntuation. This has nothing to do with the Home Premium edition or full, I think it's just an incredible mistake. How can this be repaired? MS will have remedies this problem and probably to publish an update to fix this problem. Thank you again and hope that this question goes to MS. looks.

  • "When try to turn on my computer: Windows did not start because of the following ARC firmware boot configuration problem: the ' osload partition ' parameter setting is invalid

    Original title: configuration of the CRA

    Hi, I got this message then try to turn on my computer:

    "Windows did not start because of the following ARC firmware boot configuration problem: the ' osload partition ' parameter setting is invalid. "Please check the Windows documentation about the configuration option BOW and your reference manuals of the equipment for more information.

    can someone help me?

    Hi sugenghariyono,

    ·         Did you do changes on the computer before the show?

    ·         What is the brand and model of the computer?

    ·         Are you able to boot to the desktop?

    Follow the steps in the article.

    Error message: "Windows did not start because of a configuration of the disk of the computer problem.

    For reference:

    Advanced Troubleshooting for General startup problems in Windows XP

  • "The network adapter is not correctly configured to use the ip Protocol" problem on Vista

    Hello. My PC has recently came across this problem "the network adapter is not correctly configured to use the ip Protocol", every time I click on diagnose & repair. I don't know how to fix it. Please help, thanks in advance. Magic

    Hello X-x_MaGiC_x-X,

    Thank you for visiting the website of Microsoft Windows Vista Community.

    Try the rest of the stage in this article:

    System restore points are created automatically when the following occur:

    • When you install a new application or driver.
    • When you uninstall or install some programs.
    • When you install new updates
    • Automatically on a daily interval
    • Manually by creating a.
    • If you choose to use system restore to restore to a previous restore point, System Restore creates a new restore point before you restore a previous state in case something goes wrong. If you are restoring to a previous state in Mode without failure, a restore point will create for the current state.

    So that the restoration of the system to work, you must have 300 MB of free space for each hard disk that monitors the system restore. System Restore will also use up to 15% of disk space on each disk that it monitors. That hard disk space runs out, older restore points will be deleted as newer ones. It is also important to note that you must be logged in as an administrator in order to use the system restore. Now that you understand the basics of the system restore, you must continue to the next section to learn how to use it.

    Restore Windows Vista to a previous state

    In the case of a problem on your computer that cannot be solved by normal means, you can restore your computer to a previous working state. To do this, you need to start restoring the system so that you can choose the restore point to restore. If you currently have Windows Vista boot problems, you can use the system restore in Windows recovery environment. Instructions on how to do it in this tutorial can be found: System Restore using the Windows Vista recovery environment.

    If you can connect to Windows Vista, you must follow these steps.

    1. Close and save any documents that you have opened.
    2. Click the Start button to open your Start Menu. The Start button looks like this:
    3. When the Start Menu open click on the menu option all programs.
    4. Click once on the Start Menu Accessories group.
    5. Click once on the System Tools Start Menu group.
    6. Click once on the icon of the system restore. After you click the icon, if a user account control window opens, click on the button continue.

    You will now be on the screen as shown below in Figure 1 system restore. From this screen, you can specify the restore point that you want to restore.

    1 screen of system restore

    By default, Vista will be already selected the restore recommended option. This restore point is one followed a new pilot program, or update has been installed. If you do not want to use this restore point, you can click on the button next to start the restore process. On the other hand, if there is a more recent restore point that you want to restore you should select choose a different restore point and press the next button. This will bring you to a screen, as shown in Figure 2, which contains a list of all available restore points that you can restore.

    2. the list of available restore points

    You must select the restore point that you want to restore, and then press the button next to start the restore process. Vista will display a window showing your selected restore point and asking you to confirm that it is that you want to restore.

    3. confirm the selected restore point

    If you want to select a different restore point, press the Back button. Otherwise, you can press the Cancel button to exit the system restore or the button finish to begin the restore process. If you have selected finish, Vista will display a second prompt asking you to confirm that you want to continue restoring.

    4. second Confirmation

    If you are sure you want to restore, then press the Yes button. Vista will now log you off the computer and start the system restore process, as shown in Figure 5 below.

    5. restoration of a restore point

    When the restore is complete, your computer will be restarted and when Vista starts it backup will be restored to its previous state. When you open a Vista session for the first time after the restore, you will see a message indicating that the restore was successful.

    6. system restore was successful

    If there are problems with your computer because the last restoration, you can return to your previous settings to ebb in the system restore utility and select Undo system restore by pressing the next button.

    7 undo the last system restore

    Your computer should now work correctly again.

    With the help of the restoration of the system in the Windows recovery environment

    Manual creation of Restore Points

    As mentioned previously, it is also possible to create manual restore depending on points. Some popular designs to create manual restore points are when you have your computer configured perfectly and I would save the State in case of problems in the future. To create a manual restore point, you must follow these steps:

    1. Click the Start button to open your Start Menu. The Start button looks like this:
    2. Click on the control panel menu option.
    3. Click the option menu system and Maintenance.
    4. Click on the system menu option.
    5. Click on the System Protection in the list on the left.

    You will now be at the System Protection tab in the system control panel. This tab allows you to enable and disable the system restore as well as making the new manual restore points.

    8. the System Protection tab

    To create a manual restore point, you must click on the button create. When you press this button a prompt asking you to give a title to this manual restore point.

    9. Enter the manual restore point title

    Type a title for the manual restore point and press the button create. Vista will now create a restore point manually and once finished, post a notice that it was created successfully.

    10. Manual restore point has been created

    Now that you have finished doing the manual restore point, you can close the system window.

    Try to download the correct and up-to-date drivers.

    This should solve your problem.

    Let us know if these steps solve your problem.  I hope the information is useful.

    Kind regards

    Anthony
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Time machine does not see the existing backups

    When I tried to make a backup of TM to my doesn.t TM HD external see my existing backups and trying to do a new backup complete. Firstly, it said "preparing backup..." "that takes a long time before you go make a new backup full not not using the exi

  • Memory usage - of different values on the phone vs what iTunes says I

    Free ITO space money that I did a sync on iTunes.  Space free said 12 GB on the graph of iTunes, but within the parameters of the phone it says 750MB IThink that this may have to do with Icloud videos I've seen.  Whether I have. Some temporary files

  • The NWZ - A17 will support. WAV files?

    I think to buy the NWZ - A17, but I can't determine if it is supported. WAV files. Some critics say yes, others say no. Everyone was able to record. WAV files?

  • Mobile phone will not display on PC.

    Original title: Canadian PORTABLE DO if POSTER not ON PC WHEN I CONNECT MY LAPTOP TO MY PC, HOW CAN I GET CONTENT ON THE PHONE TO DISPLAY ON MY PC, I HAVE THE ICON DEVICES AND PRINTERS, AND A SHORTCUT ON THE DESKTOP.

  • Microsoft Expression Web 4 stopped working: _

    Microsoft Expression Web 4 stopped working: I installed my new Microsoft Expressions Studio 4 Web Professional on my new computer and when I try to open the program of 4 of Microsoft Expression web, it does not open.  Instead, I get a message box tha