Using STORE attributes

Suppose the replication scheme is specified as below:
CREATE REPLICATION REP1
ELEMENT a DATASTORE
MASTER masterds on "server1"
SUBSCRIBER subscriberds on "server2"
RETURN TWOSAFE
ELEMENT b DATASTORE
MASTER subscriberds on "server2"
SUBSCRIBER masterds on "server1"
RETURN TWOSAFE
STORE masterds on "server1" LOCAL COMMIT ACTION COMMIT
RETURN SERVICES OFF WHEN REPLICATION STOPPED
DURABLE COMMIT ON
RESUME RETURN 300
STORE subscriberds on "server2" LOCAL COMMIT ACTION COMMIT
RETURN SERVICES OFF WHEN REPLICATION STOPPED
DURABLE COMMIT ON
RESUME RETURN 300;
This is a bi-directional, hot-standby configuration. My questions are:
1) Without DISABLE RETURN in the STORE clause, would the DURABLE COMMIT ON, RESUME RETURN be ever effective?
2) Suppose DISABLE RETURN is added to the STORE clause.
a) If replication agent is manually stopped, return services will be turned off. Would the DURABLE COMMIT be turned on by DISABLE RETURN in this case?
b) DISABLE RETURN detects return service failure. It disables return service blocking and sets DURABLE COMMIT to ON (even under return twosafe). Then return service comes back up. RESUME RETURN enables return service blocking. Will DURABLE COMMIT set back to off?
c) Replication agent is manully stopped. Return service will be turned off. Then replication agent is restarted. Will return service be turned back on?

Hi,
To answer your questions:
1) Without DISABLE RETURN in the STORE clause, would the DURABLE COMMIT ON, RESUME RETURN be ever effective?
No. If you do not have a DISABLE RETURN clause then neither DURABLE COMMIT nor RESUME RETURN will have any effect.
2) Suppose DISABLE RETURN is added to the STORE clause.
a) If replication agent is manually stopped, return services will be turned off. Would the DURABLE COMMIT be turned on by DISABLE RETURN in this case?
No. The RETURN SERVICES OFF WHEN REPLICATION STOPPED CLAUSE does not cause DURABLE COMMIT to be turned on, unlike the DISABLE RETURN CLAUSE.
b) DISABLE RETURN detects return service failure. It disables return service blocking and sets DURABLE COMMIT to ON (even under return twosafe). Then return service comes back up. RESUME RETURN enables return service blocking. Will DURABLE COMMIT set back to off?
Yes. When return service is re-activated via RESUME RETURN, DURABLE COMMIT will also be turned off.
c) Replication agent is manully stopped. Return service will be turned off. Then replication agent is restarted. Will return service be turned back on?
Yes, return service will be turned back on.
Chris

Similar Messages

  • How can I store Attributes?

    I use 'Oracle 8i' and 'XML SQL Utility for java'.
    I can store XML Elements to DB Table, but can't XML Attributes.
    The file if following..
    =================================
    <?xml version="1.0"?>
    <!DOCTYPE employee [
    <!ELEMENT employee (Name, Dept, Title)>
    <!ELEMENT Name (#PCDATA)>
    <!ATTLIST Name N_ID ID #REQUIRED>
    <!ELEMENT Dept (#PCDATA)>
    <!ELEMENT Title (#PCDATA)>
    ]>
    <employee>
    <Name N_ID>John Goodman</Name>
    <Dept>Manufacturing</Dept>
    <Title>Supervisor</Title>
    </employee>
    ======================================
    How can I store Attribute?
    Can I view source of the oracle.xml.sql.query.* ?
    null

    Hi Robert ...
    This is probably a better question for HL7. This is a tough question for
    any implementer and the different methods to do so can be matters of
    significant intellectual property for various vendors.
    regards,
    Sarah
    RobertHua wrote:
    > I want to store the CDA Documents into database,and i can get
    > information from database,
    > for example the patient node,I extract the patient information from the
    > recordTarget node.Some node have code attributes ,how can I store the
    > code information?
    > CDA Documents can have any structure by nesting the sections at any
    > depth and in any way ,how can I store the realation in the database?
    > How I can design the database?
    >
    > Thanks!!!!!!!
    >
    >

  • Decision to store attribute data in IDM

    What's the deciding criteria to have attributes in IDM. If I have 40 attributes to be flown from one system to another system and then again to multiple systems. I have to use the same attributes flowing to various systems. In this case if I don't store this data in iDM then everytime I have to make connection to source and pull this data to flow to other systems. Won't this impact performance.
    What is the deciding factor on whether to keep the specific attribute data in IDM or not ? Where will it impact performance? and what are the best practises to store IDM data?

    the rule of thumb is to store as few as possible. The basic architecture of the product is to create a virtual directory of user information. Products like microsoft's MIIS store all data in a metaview, which essentially duplicates all data both on the native system as well as on the MIIS database.
    With each attribute you add, you move more towards the meta view concept.
    I agree with the comments above regarding deciding criteria on why you would want to keep a value on IDM. Other criteria to keep in mind are:
    1) Are you getting this value from a resource on which you manage accounts, or is it simply used as a feed? If its simply a feed, does a spot exist for this value to be stored on a native system? If yes, who has accounts on that system. In other words, how important is the value to everyone?
    2) do you need idm to search on it.
    3) how often does IDM need to use this attribute. if you used it for tasks and other things quite often you most likely will not want to get a user view each time to retrieve the value. Thus, you are best off storing it locally.
    4)Rule of thumb...if you think its best being stored in IDM....then i probably is. (I have at most stored 8-10 values in IDM in all of the 10 implmentations I've done of this product)
    I hope this helps.
    Dana Reed
    AegisUSA
    Denver, Co
    [email protected]
    AegisUSA

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • Error message: AgServerMigration ERROR Using store provider as a session is deprecated.

    Hi.  I'm using a MacBook Pro, OS X 10.6.5.  I have been opening files in Lightroom, editing them, and then doing finishing touches in CS5.  When I save the file in CS5 and close it, my Mac returns the above message in Console eight times:
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    I have no idea what this means, or whether it is a problem.  Does anyone know what this is?
    Thanks.

    I see the same thing and have done for some time. The actual file is being saved back. etc. So, in that respect both Lr and Ps are working fine. IOW, ignore it.

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • Use of attributes in FIX statement w/ other mbrsets

    Hi all,I just discovered that in 6.1.4, using a FIX statement like:FIX (@ATTRIBUTE("Diet"), @LEVMBRS(Products, 0))will actually select all products, not just a subset that have the attribute "Diet" (where "Diet" is, of course, an attribute of products).Now you might think I'm ignorant, since it seems logical that the subset "Diet" might be overridden by the superset "Products". However the same problem happens if I use:FIX (@ATTRIBUTE("Diet"), @ATTRIBUTE("Discontinued"))This statement returns neither the intersection nor the union of those two subsets - I seem to get ALL products.What gives? Am I just a foolish country boy?-dan

    Does this select ALL of the products, or just the Level 0 products? The reason I ask is that the statement will not be combined using AND logic - only members of different dimensions will be combined using AND logic. Try the following:FIX (@LEVMBRS(Product, 0) AND @ATTRIBUTE(Diet))Now, if your attribute is at level 0 (I assume it is) and you want to select them, just use:FIX (@ATTRIBUTE(Diet))That will select all of the products that have a Diet attribute.Hope that helps.Regards,Jade-------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Error in committing data while using dynamic attributes

    Hi,
    Module: Performance Management
    Page: Give Final Ratings: Main Appraiser
    Here, I have used dynamic attributes to show the competency name without segments.
    I have added this attribute through controller and i passed value to this attribute in the same ProcessRequest method.
    But, when the manager tries to complete the appraisal for his employee by pressing the continue button in the above mentioned page, the following exception is throwing.
    "This competence already exists within the assessment."
    Is this dynamic attribute will be the problem for this?
    can any one please tell me?
    Thanks in advance,
    SAN

    Hi,
    If you added the column from Extended Controller. It should be a transient attribute to the VO and I think it should not create any issues.
    Error "This competence already exists within the assessment." looks like from an FND Message , You can try to debug this issue by finding the FND Message Name corresponding to the error and search the Message Name in the seeded code.
    -Idris

  • How to use extends attribute in jsp page directive

    Can anybody tell how to extend a existing .jsp file from another .jsp file. I have tried but it gives error.
    I have used Extends attribute of page directive as below:
    <%@ page extends = "MyAnotherJsp.jsp"%>
    I also tried : <%@ page extends = "MyAnotherJsp"%>
    I am using Tomcat as a web server
    Also tell where to put those files.
    Thanks.

    Hi I am using Netbeans 5.5, Sun Java System Application Server 9.
    ABC.java
    package javapackage;
    public class ABC{
    public String show(){
    return "Sandip Gaikwad";
    index.jsp
    <%@ page extends="javapackage.ABC" %>
    <html>
    <head>
    <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page </h1>
    </body>
    </html>
    Above code throws following exception at runtime:-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    Server log
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    If I delete the line <%@ extends="javapackage.ABC"%> it works fine. Please tell me what is wrong with this line.

  • How to use 'roles' attribute in action-mapping ?

    Hi,
    Can anybody tell me what are the steps needed to use 'roles' attribute in <action> tag of struts-config.xml file?
    I want to provide Action level security.
    Also pls post an example if u r having.
    Regards
    Veeru

    Hi,
    The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
    Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
    Sender Interface: The name of the RFC function module.
    Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
    Receiver Party/Receiver Service: These fields are empty. This will match the wildcard
    Regards,
    Suryanarayana

  • Use request attributes in JSF

    Is there a way we can pass data from one form bean to the other using request attributes insted of session attributes?
    I am able to work with session attributes using
    HttpSession mySession = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(true); and setting attributes to it, but getting null pointers(occassionally) when I retrieve the atribute and work with it.
    getSession(false) isnt helping either.
    Looks like facesServlet is creating a new request when it forwards to next page. Any idea on how to get the Faces Servlet do something like request despatcher forward, for navigation so I can work with request attributes?
    Appreciate your input.

    Can I have just one backing bean and use it for all jsps in the app? App has 4 flows from home page and mutiple jsps in each flow. Each jsp has multiple form fields. Is that OK?
    Any way to passing data/objects between different backing beans - other than using session attributes? I had similar problems working on Struts app as well.

  • Which is better to use Store Procedure or Views in Crystal Reports ?

    Hi,
    which one is more better to use Store Procedure or Views in Crystal Reports ?
    Thanks.

    It depeneds on the requirement. Well, but from performance point of view as u know that stored procedures are already compiled on DB side, they would be more efficient. Views are handled differently. Here CR has nothing to do with it.
    But if the stored procedure u r using is having 2 Select statements, CR will only display the results from the first select statement. In that case you need to use Views as one can use more than one views in the report and join them.
    Using a Generic view which is created by the DBA for a larger audience will result in performance issues meaning if a View "V" has 25 fields and View is based on 5 tables  and ur report is using only 5 fields which are coming only from 2 tables inside the view,in this case u will end up in joining 3 more tables unnecessarily.
    Hope this helps!

  • Can i use store without payment cards?

    can i use store without payment cards?

    You can buy an iTunes gift card in most supermarkets.  Just register it in iTunes and you are good to go.

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Regards,
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    Otherwise
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
    Regards
    Marcin

  • Using action attribute of netui:button in WSRP

    In WSRP When I use action attribute of <b>netui:button</b> tag to override the action attribute of the <b>netui:form</b> tag but the button doesnt override the action attribute of netui:form tag. Please tell me the reson and solution for this problem.

    Please attach a sample repro case.
    Subbu
    Rajiv Gandhi wrote:
    In WSRP When I use action attribute of <b>netui:button</b> tag to override the action attribute of the <b>netui:form</b> tag but the button doesnt override the action attribute of netui:form tag. Please tell me the reson and solution for this problem.

Maybe you are looking for

  • Project duplication:  Copy/Paste vs. Export/Import

    Anyone have any thoughts on project duplication? Presently I am copying a project and then pasting it into multiple new locations then renaming them. Recently I was in a training session where the instructor suggested exporting the project and then i

  • Search one forum

    Search doesn't seem to be restricting itself to the forum I'm in. I searched it the iCal and AppStore forums for font size When I was in the AppStore forum I fleetingly saw a result for iCal font size. Yet when I search in iCal forum for that thread,

  • Received and Issued quantity in same column in PLD.

    Hello All, I've created PLD for Inventory Valuation method, the problem is both the received quantity and issued quantity are display in the same column. But I want it in different columns, that is received quantity in one column and issued quantity

  • Both if and else code blocks are being executed!

    This is really confusing me. Sometimes after trying to track down an elusive bug I notice that my code will correctly execute the code in an if () {...} section and when it reaches the end it keeps on trucking into the else {...} section. Whaaa??? I'

  • HP is unable to provide update instructions or Windows 8.1 drivers.

    You may lose basic functionality and stability if you try to update your system. About this message. I have 3 HP's, one with Windows 7 upgraded to Windows 8 (which will not update to 8.1 because of the error listed above), another HP that had Vista H