Operational override for write-delay (system-property)

Hi all,
I'm failing to get this xml element to validate within a cache config.
I'm using Coherence 3.7.1
<write-delay system-property="myproperty.override.write-delay" >10s</write-delay>.
the idea is to get the write-delay value atruntime through a system-property (-Dmyproperty.override.write-delay=5s for ex.)
I'm getting the following failure
Description
Location
Type
cvc-type.3.1.1: Element 'write-delay' is a simple type, so it cannot have attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'system-property' was found.
line 41
XML Problem
Do you know if the override is valid at that location? The documentation says YES.
What am I doing wrongly?
Thanks,
Harry

Hello Leo_TA,
thanks for the answer.
Actually I need a default value which can be overriden at runtime as described in the documentation
http://docs.oracle.com/cd/E18686_01/coh.37/e18677/appendix_cacheconfig.htm#BHCECGCF
This is very handy to move conifguration items outside the cache-config.
Do you know why the xml woul dnot validate when system-property is used in the write-delay?
<?xml version="1.0" encoding="UTF-8"?>
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
              xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
</cache-config>
Coherence accepts it (when we force no xml validation (removing the xmlns)).
But I would like to use the xml validation to avoid miss-configurations.
Regards
Harry

Similar Messages

  • Exadata IOPS for write intensive system

    Hi
    Exadata half rack advt that the disk iops is 25,000 .
    Is the advt IOPS of 25,000 for write ?.
    Does this mean that i can do 25,000 writes per second ?
    For high end write intensive system what are the typical writes you folks have encountered so far i have seen less then 7000IOPS in my whole carrer and i am interested to know whats the write IOPS on your systems
    If the write IOPS is very high like 22,000 IOPS then should i provison the flash disks as grid disks ?

    Hello hrishy,
    Your post brings up an important point: not all inserts are created equal. In a worst-case scenario, a single-row insert could require a redo writes, undo writes, and datafile block writes, and multiply everything by 2 or 3 with ASM redundancy. But if you can do large, paralle direct path inserts from, say, DBFS-hosted external tables, your throughput rate can approach the maximum dataload rate of 12TB per hour on a full rack.
    Ideally you'll be able to gather metrics based on either an existing system or a performance test environment. You cuold even do this in a non-Exadata environemnt (with the exception of hybrid columnar compression testing): just do your dataloads, and measure the IOPS volume and write throughput on disk, per volume of rows inserted.
    I don't generally recommend using the flash memory for permanent data storage, if just because, with even normal ASM redundancy, you're cutting usable space in half, and the only way to expand flash capacity is to buy more storage servers.
    Marc

  • Friend operator override for c++ class templates

    Entire test program.  When I change the operator from either + or - to *, I get compile errors.  Any ideas?
    #include "stdafx.h"
    #include <iostream>
    using namespace std;
    template <typename T>
    class mjt {
    public:
     mjt();
     friend mjt<T> operator + <>(const mjt<T>& ls, const mjt<T>& rs);
     friend mjt<T> operator - <>(const mjt<T>& ls, const mjt<T>& rs);
    template <typename T>
    mjt<T>::mjt() { }
    template <typename T>
    mjt<T> operator +(const mjt<T>& ls, const mjt<T>& rs) {
     mjt<T> result = ls;
     // Magic happens here
     return result;
    template <typename T>
    mjt<T> operator -(const mjt<T>& ls, const mjt<T>& rs) {
     mjt<T> result = ls;
     return result;
    int _tmain(int argc, _TCHAR* argv[]) {
     mjt<int> set1, set2, set3;
     set3 = set1 + set2;
     set3 = set1 - set2;
     char ans;
     cin >> ans;
     return 0;

    I think that the most acceptable answers can be found in Standards.
    Intuitively,
        friend mjt<T> operator * < > ( const mjt<T> & ls, const mjt<T> & rs );
    and
        friend mjt<T> operator * <T> ( const mjt<T> & ls, const mjt<T> & rs );
    are similar. They stipulates that only the template implementation of
    operator *, such as
        template <typename T>
        mjt<T> operator * ( const mjt<T> & ls, const mjt<T> & rs )
    will be the friend of mjt, but only if the types
    T of the mjt class and operator * are the same. Therefore the operator made for
    <int> type will be friend for mjt<int>, but not for
    mjt<float>.
    Additionally, the non-template operators, if any, such as the explicitly written
        mjt<int> operator * (const mjt<int>& ls, const mjt<int>& rs)
    will not be friends.
    In the other variant where the friend declaration includes the
    ‘template’ keyword:
        template< typename T >
        friend mjt<T> operator * <T> ( const mjt<T>& ls, const mjt<T>& rs );
    the T type denotes any type, which can be different from the homonymous type
    T that appeared before in class declaration (template< typename T > class mjt …). To avoid confusion, you can write with the same effect:
    template< typename T >
    class mjt
        template< typename T2 >
        friend mjt<T2> operator * ( const mjt<T2> & ls, const mjt<T2> & rs );
    This declares that the operator * of some type, such as
    <int>, will be friend for mjt class of any type, not only
    mjt<int>, but also for mjt<float>, mjt<int*>, mjt<string>, etc.
    I hope that the Standards stipulate the same things.

  • I am extremely unsatisfied with the service, as a matter of fact I live outside United State (Venezuela) and the IPhone that I have received is not working, did not receive operator service for the MOVISTAR system which is the one I am affiliated with?

    The Iphone 4 which Dadeland store gave me cannot be used in Venezuela, I felt as I am being stolen from Apple

    DO you have a question for your fellow iphone users?
    Did you buy an unlocked iphone?  Does your receipt say unlocked?
    What happenswhen you try to activate your iphone with your SIM?
    Error message?
    What does it say?
    Any info about your isuue?

  • System-property in param-value?

    Hi all,
    Is it possible to use a system-property override in a param-value element in the cache config? It doesn't seem to work for me. I have this:
    <cache-mapping>
    <cache-name>foo</cache-name>
    <scheme-name>default-near</scheme-name>
    <init-params>
    <init-param>
    <param-name>default-near-expiry-delay</param-name>
    <param-value system-property="foo.expiry-delay"/>
    </init-param>
    </init-params>
    </cache-mapping>
    Setting -Dfoo.expiry-delay=1m on the command line doesn't take effect. I've also tried putting a default in param-value and it works, but not the override. What I'm trying to do is use the same scheme for different caches, but parameterize the expiry for each.
    thanks
    john

    I just ran in to an inconvenient quirk. I thought I would be nice to add system properties for a number of caches so they will be there when I need them. I had something like this:
    In the cache mapping:
    <param-name>expiry-delay</param-name>
    <param-value system-property="foo.expiry-delay"/>
    In the scheme:
    <expiry-delay>{expiry-delay 5m}</expiry-delay>
    If I don't specify the foo.expiry-delay system property at all, I would like to get the default, but instead I get a NumberFormatException:
    java.lang.NumberFormatException: passed String ("") must contain a number
    at com.tangosol.util.Base.parseTime(Base.java:2756)
    at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateLocalCache(DefaultConfigurableCacheFactory.java:1
    384)
    at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:969
    at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:839)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:284)
    at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:606)
    at com.tangosol.coherence.component.application.console.Coherence.doCache(Coherence.CDB:15)
    at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:192)
    at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
    at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.tangosol.util.ClassHelper.invoke(ClassHelper.java:746)
    at com.tangosol.util.ClassHelper.invokeStatic(ClassHelper.java:689)
    at com.tangosol.net.CacheFactory.main(CacheFactory.java:1115)
    thanks

  • Java gets the system property  ????

    I' am want create Java-Applet for get data system property in computer, when another computers used open this applet , give show data system property ( what os ?,quantity ram ?, quantity harddisk, name cd-rom ? etc. ) what can i do ????

    Don't post this again. You already asked it here: http://forum.java.sun.com/thread.jsp?thread=401537&forum=31&message=1751719

  • Can I override high-units with a  'system-property' attribute?

    In an attempt to centralize property configurations, can I override the high-units with a system-override?
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <local-scheme>
    *<high-units system-property="high.for.prod">2G</high-units>*
    <unit-calculator>BINARY</unit-calculator>
    <expiry-delay>0</expiry-delay>
    </local-scheme>
    </internal-cache-scheme>

    You should be able to bu the correct syntax is...
    <high-units system-property="high.for.prod">2G</high-units>...without the underscores
    JK

  • Thread pool configuration for write-behind cache store operation?

    Hi,
    Does Coherence have a thread pool configuration for the Coherence CacheStore operation?
    Or the CacheStore implementation needs to do that?
    We're using write-behind and want to use multiple threads to speed up the store operation (storeAll()...)
    Thanks in advance for your help.

    user621063 wrote:
    Hi,
    Does Coherence have a thread pool configuration for the Coherence CacheStore operation?
    Or the CacheStore implementation needs to do that?
    We're using write-behind and want to use multiple threads to speed up the store operation (storeAll()...)
    Thanks in advance for your help.Hi,
    read/write-through operations are carried out on the worker thread (so if you configured a thread-pool for the service the same thread-pool will be used for the cache-store operation).
    for write-behind/read-ahead operations, there is a single dedicated thread per cache above whatever thread-pool is configured, except for remove operations which are synchronous and still carried out on the worker thread (see above).
    All above is of course per storage node.
    Best regards,
    Robert

  • -D for System property in java

    Hi,
    What does -D means in a System Property? Is there any other notation that can be given as well apart from -D? Please clarify.
    Thanks.

    BIJ001 wrote:
    A sidenote: the -D command line syntax resembles some (for example the GNU and the Borland command line) C compiler's define feature: Hm, system properties can hardly be compared to preprocessor directives, but it would be a reasonable answer to the (pointless) question "why'd they pick -D" :)

  • Error during install " specify system property "is.debug" for more information."

    I am trying to install Livecycle Reader Extensions onto a Unix box and the setup.sh is giving the following error when I try to invoke it.
    "An unhandled error occurred -- specify system property "is.debug" for more information."
    Anyone know how to set the is.debug property?
    Sorry i'm not to familiar with the unix env.

    Andrew,
    can you provide more information on the following?
    - variant of Unix
    - java version installed
    - reader extensions version
    - application server enviornment intended (WAS, Weblogic, JBOSS?)
    Thanks
    David
    www.ensemble.com

  • Can anyone recommend a duplicate file finder application for OS10.6 systems?  All the apps I find on the App Store are only for 10.7 and later.  I don't know how to filter a search by operating system (if this is even possible).

    Can anyone recommend a duplicate file finder application for OS10.6 systems?  All the apps I find on the App Store are only for 10.7 and later.  I don't know how to filter a search on the App Store by operating system (if this is even possible).  I currently have a MacBook running OS10.6.8.   If you can recommend an app,  please post the URL.     Would appreciate any helpful suggestions....  
    <Email Edited By Host>

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Trying to load music to ipod,  getting "windows - write delayed fail  unable to save all the data for th E: etc

    trying to load music from itunes to my ipod classic  message rec'd WINDOWS - WRITE DELAYED FAILED   UNABLE TO SAVE ALL THE DATA FOR THE E: THE DATA WAS LOST
    is this my ipod  or an itunes problem?

    I spoke to ipod tech support and was told "We do not support itunes. It is only a web based support" Which apparently does not exist.

  • Write Tray API property for Portal Favourites page.

    Hi All,
    Plz help me out for setting the "Write Tray API" property" in Portal, as when iam accessing Portal favourites tab iam getting the error "The property White Tray API of the page must be set to "TRUE"".
    Kindly help, as this is urgent.
    Thanks & Regards,
    Shailesh Nagar

    Hi,
    that link is reffered to SAP Note :1017186 i don't know why its not working suddenly i am just copying the SAP Note here
    Symptom
    When user tries to add a km document to the portal favorites iView, a pop up message appears on the screen: "The property 'Write Tray API' of the page must be set to 'true'"
    Other terms
    Add to portal favorites iView, favorites iView, Write Tray API
    Reason and Prerequisites
    NW04 - All versions.
    NW04S - All versions.
    Solution
    -Open the framework page for edit.
    -Check the Desktop Innerpage (com.sap.portal.innerpage) and choose Properties.
    -In the Property Category, switch to "Show All".
    -Set the property "Use API of Tray" = to "Yes".
    -Save your changes.

  • How to set my System Property for frmall.jar like !

    I have a JAR file named SecAuth.jar in ORACLE_HOME\forms\java\ directory.
    I configured this JAR file in ORACLE_HOME\forms\server\formsweb.cfg file archive tag. Like,
    archive=frmall.jar,SecAuth.jar
    Its working very nice.
    Now I need to give a System Property to one of the Class file in the SecAuth.jar !
    Actually my System Property is,
    -Dproject.system.securityFile=C:\client\security.properties
    How can I do this sir ? Can someone help me ?

    Try looking in the $ORACLE_HOME/opmn/conf/opmn.xml file. You'll see a set of process definitions that correspond to the OC4J instances you have configured. There should be a "start-properties" or some similar element to that, in which you can place your required System property. There should be examples of properties in there already.
    When OPMN starts your OC4J process, it will pass it the System property you set (along with all the other ones that were already there).
    -steve-

  • No value for operating unit found in Receivable system options

    All,
    Please help. R11i
    After setting up inventory organization, operating unit, legal entity, set of books under HR > workstructures > organization > description.
    MO: operating unit defined and default MO operating unit also defined.
    HR: User type = HR user
    HR: security profile also set
    I cannot find the operating unit in Receivable > setup > system options
    FM-41830: List of values contain no entries.
    When goto Order Management > System > System parameter, the operating unit is blank as well.
    Please help to suggest which setup I missed.
    Many thanks.

    What is the output of this sql?
    SELECT o.organization_id organization_id
    , otl.name name
    , o3.org_information2 legal_entity_id
    , le.name legal_entity_name
    FROM hr_all_organization_units o,
    hr_all_organization_units_tl otl,
    hr_organization_information o2,
    hr_organization_information o3,
    hr_all_organization_units_tl le
    WHERE le.organization_id = O3.org_information2
    AND le.language = USERENV('LANG')
    AND o.organization_id = o2.organization_id
    AND o.organization_id = o3.organization_id
    AND o2.org_information_context = 'CLASS'
    AND o3.org_information_context = 'Operating Unit Information'
    AND o2.org_information1 ='OPERATING_UNIT'
    AND o2.org_information2 = 'Y'
    AND o.organization_id = otl.organization_id
    AND otl.language = USERENV('LANG')
    -- AND hr.name = x_sp_name
    AND o.business_group_id = &bg_id; --Since you are using business group as security profile                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for