XML add node root

Bonjour,
J'ai un document xml, j'arrive naviguer et ajouter un noeud dans un enfant de la racine.
Mais j'aimerais ajouter un noeud directement a la racine, comment dois je faire?
Merci
Emmanuel
Résolu !
Accéder à la solution.

Résolu,
J'avais un conflit de classe, mais en partant des exemples:
https://decibel.ni.com/content/docs/DOC-16162
J'ai résolu mon problème.
Pièces jointes :
AddNode.vi ‏15 KB

Similar Messages

  • How do i add a root node to a XMLType

    Hi all
    I have a problem inserting a root node in a xml document generated by DBMS_XMLGEN.newcontextfromhierarchy. The function get_site_map_nodes generates a document like this:
    <?xml version="1.0"?>
    <siteMapNode f_page_id="1" title="rot" PATH="1">
    <siteMapNode f_page_id="2" title="1.1" PATH="1.1">
    <siteMapNode f_page_id="4" title="1.1.1" PATH="1.1.1"/>
    </siteMapNode>
    <siteMapNode f_page_id="3" title="1.2" PATH="1.2"/>
    <siteMap/>
    </siteMapNode>
    This is correct but i want to add a root node so the result shows as below:
    <?xml version="1.0"?>
    <siteMap>
    <siteMapNode f_page_id="1" title="rot" PATH="1">
    <siteMapNode f_page_id="2" title="1.1" PATH="1.1">
    <siteMapNode f_page_id="4" title="1.1.1" PATH="1.1.1"/>
    </siteMapNode>
    <siteMapNode f_page_id="3" title="1.2" PATH="1.2"/>
    <siteMap/>
    </siteMapNode>
    </siteMap>
    The problem is that i have no clue how to accomplish this.
    Best regards
    Daniel Carlsson
    PACKAGE BODY PKG_PAGE_STRUCTURE
    IS
    FUNCTION get_level_path (in_page_id IN page_structure.f_page_id%TYPE)
    RETURN VARCHAR2
    IS
    l_path VARCHAR2 (4000) := '';
    BEGIN
    SELECT MAX (SYS_CONNECT_BY_PATH (f_show_order, '.'))
    INTO l_path
    FROM page_structure
    START WITH f_page_id = in_page_id
    CONNECT BY PRIOR f_parent_page = f_page_id;
    l_path := RTRIM (l_path, '.');
    RETURN l_path;
    END get_level_path;
    FUNCTION get_site_map_nodes (in_page_id IN page_structure.f_page_id%TYPE)
    RETURN XMLTYPE
    IS
    qryctx DBMS_XMLGEN.ctxhandle;
    l_xml XMLTYPE;
    BEGIN
    qryctx :=
    DBMS_XMLGEN.newcontextfromhierarchy
    ('select level, xmlelement("siteMapNode", XMLAttributes(f_page_id as "f_page_id",
    f_title_phrase as "title", pkg_page_structure.get_level_path(f_page_id) as path))
    FROM PAGE_STRUCTURE
    START WITH f_page_id = :in_page_id
    connect by f_parent_page = prior f_page_id
    ORDER siblings BY f_show_order'
    DBMS_XMLGEN.setbindvalue (qryctx, 'in_page_id', TO_CHAR (in_page_id));
    l_xml := DBMS_XMLGEN.getxmltype (qryctx);
    DBMS_XMLGEN.closecontext (qryctx);
    RETURN l_xml;
    END get_site_map_nodes;
    END PKG_PAGE_STRUCTURE;
    CREATE TABLE page_structure
    (f_page_id NUMBER(10,0) NOT NULL,
    f_parent_page NUMBER(10,0),
    f_show_order NUMBER(10,0),
    f_title_phrase VARCHAR2(20),
    f_created_by NUMBER(10,0),
    f_created_date DATE,
    f_updated_by NUMBER(10,0),
    f_updated_date DATE)
    INSERT INTO page_structure
    (F_PAGE_ID,F_PARENT_PAGE,F_SHOW_ORDER,F_TITLE_PHRASE,F_CREATED_BY,F_CREATED_DATE,F_UPDATED_BY,F_UPDATED_DATE)
    VALUES
    (1,NULL,1,'rot',1,'30-MAR-2006',NULL,NULL)
    INSERT INTO page_structure
    (F_PAGE_ID,F_PARENT_PAGE,F_SHOW_ORDER,F_TITLE_PHRASE,F_CREATED_BY,F_CREATED_DATE,F_UPDATED_BY,F_UPDATED_DATE)
    VALUES
    (2,1,1,'1.1',1,'30-MAR-2006',NULL,NULL)
    INSERT INTO page_structure
    (F_PAGE_ID,F_PARENT_PAGE,F_SHOW_ORDER,F_TITLE_PHRASE,F_CREATED_BY,F_CREATED_DATE,F_UPDATED_BY,F_UPDATED_DATE)
    VALUES
    (3,1,2,'1.2',1,'30-MAR-2006',NULL,NULL)
    INSERT INTO page_structure
    (F_PAGE_ID,F_PARENT_PAGE,F_SHOW_ORDER,F_TITLE_PHRASE,F_CREATED_BY,F_CREATED_DATE,F_UPDATED_BY,F_UPDATED_DATE)
    VALUES
    (4,2,1,'1.1.1',1,'30-MAR-2006',NULL,NULL)
    /

    Please try below steps.
    1. Complete Prerequisite for adding cluster node
    2. Verify the node is accessible to all other nodes in the cluster. Run the following command from the existing node in the cluster.
    cluvfy stage -pre crsinst -n newNode
    3. Run cluvfy from any existing node
    cluvfy stage -pre nodeadd -n <New Node>
    Note : If cluvfy in above step shows any errors fix those and then proceed with this step
    4. Change Directory to Clusterware Home and execute addNode scripts from any existing node.
    cd $CRS_HOME/oui/bin
    ./addNode.sh -silent "CLUSTER_NEW_NODES={ <NewNode > } CLUSTER_NEW_PRIVATE_NODE_NAMES={ <Interconnect >} CLUSTER_NEW_VIRTUAL_HOSTNAMES={ < Virtual Host Name >}"
    At the end of addNode, script will prompt to run for root.sh on newly added node.
    5. Verify Node is successfully added
    cluvfy stage -post nodeadd -n <NewNode >
    6. Verify CRS Stack is running on the new Node.
    $CRS_HOME/bin/crs_stat -t
    7. To extend the Oracle RAC Installation to include the new Node, run addNode from $ORACLE_HOME/oui/bin from existing node in the cluster
    cd $CRS_HOME/oui/bin
    ./addNode.sh
    When OUI displays the Specify Cluster Nodes to Add to Installation window, select the node to be added, then click Next .
    Verify the summary and run root.sh on new node when it prompts.
    8. Adding New Instance on the New Node
    $CRS_HOME/bin/lsnrctl status
    9.Run $ORACLE_HOME/bin/dbca from any of the existing RAC Instances Oracle Home.
    Select Oracle Real Application Clusters database , and then click Next .
    Select Instance Management , and then click Next .
    Select Add an Instance , then click Next .
    Click Next to accept default instance name or it can be changed.
    Check the summary window.
    Note: Please check these steps in test environment first.
    HTH

  • Add a root node and namespace declaration

    According to the requirement,I have a large appended .txt file.
    This .txt file is created by appending various xml files (without the namespace and root node).
    I need to add a root node and namespace declaration to the large appended .txt file so that it can be read as .xml.
    Please provide the pointers for the same.
    Thanks & Regards,
    Rashi

    My appended file looks like following.
    <input>
       <Store>
          <StoreHeader>
             <StoreNbr>56</StoreNbr>
             <StoreType>Retail</StoreType>
             <StoreSite>2004</StoreSite>
          </StoreHeader>
          <Transactions>
             <Transaction>
                <Item>A</Item>
                <ItemPrice>4</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>C</Item>
                <ItemPrice>56</ItemPrice>
             </Transaction>
          </Transactions>
       </Store>
    </input>
    <input>
       <Store>
          <StoreHeader>
             <StoreNbr>123</StoreNbr>
             <StoreType>Retail</StoreType>
             <StoreSite>2004</StoreSite>
          </StoreHeader>
          <Transactions>
             <Transaction>
                <Item>A</Item>
                <ItemPrice>4</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>B</Item>
                <ItemPrice>8</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>C</Item>
                <ItemPrice>56</ItemPrice>
             </Transaction>
          </Transactions>
       </Store>
    </input>
    Now according to the requirement, I need to add namespace and root node and make it like follows:
    <ns0:output xmlns:ns0="http://xxx">
       <input>
       <Store>
          <StoreHeader>
             <StoreNbr>56</StoreNbr>
             <StoreType>Retail</StoreType>
             <StoreSite>2004</StoreSite>
          </StoreHeader>
          <Transactions>
             <Transaction>
                <Item>A</Item>
                <ItemPrice>4</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>C</Item>
                <ItemPrice>56</ItemPrice>
             </Transaction>
          </Transactions>
       </Store>
    </input>
    <input>
       <Store>
          <StoreHeader>
             <StoreNbr>123</StoreNbr>
             <StoreType>Retail</StoreType>
             <StoreSite>2004</StoreSite>
          </StoreHeader>
          <Transactions>
             <Transaction>
                <Item>A</Item>
                <ItemPrice>4</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>B</Item>
                <ItemPrice>8</ItemPrice>
             </Transaction>
             <Transaction>
                <Item>C</Item>
                <ItemPrice>56</ItemPrice>
             </Transaction>
          </Transactions>
       </Store>
    </input>
    </ns0:output>

  • Add node into XML Model

    Hi all,
    i would like to add datas into my xml model but i don't manage to do it.
    Here is the context :
    -I have an xml file which represents a tree
    -When the xml model is loaded, i bound it to a tree
    -Then i add nodes to my tree ( aNode.addNode(new Node ) )
    When adding a node, i would like the node to be represented to my model;
    e.g : before adding a node
    <node name="node1">
         <node name="node1_1"/>
         <node name="node1_2"/>
    </node>
    after the node is added :
    <node name="node1">
         <node name="node1_1"/>
         <node name="node1_2"/>
         <node name="new node"/>
    </node>
    I have tried  xml setProperty:
    oModel.setProperty(myPath,data);
    oModel.setProperty(myPath,data,oContext);
    Can somebody help me to achieve this?
    Thanks,
    best regards,
    Marc

    Thanks for this fast reply, i try it and i come back to you
    Edit :
    Here is my xml file :
    <?xml version="1.0" encoding="utf-8"?>
    <objectSet version="1.2.3.4">
        <aRoot code="testCode" reference="0123456789" description="TestDescription"
            owner="Tester">
            <component name="MyCompo1" type="MyCompo1Type">
                <component name="MyCompo2" type="MyCompo2Type">
                    <property name="myProperty2-1" type="string" value="null" />
                    <property name="myProperty2-2" type="string" value="null" />
                    <property name="myProperty2-3" type="string" value="null" />
                </component>
                <component name="MyCompo3" type="MyCompo3Type">
                    <property name="myProperty3-1" type="string" value="null" />
                </component>
            </component>
        </aRoot>
    </objectSet>
    I made a button with the fellowing function attached :
    aTestFunction: function(oEvent){
            console.log("Test");
            var tree = this.byId("myTree");
            var oModel = tree.getModel();
            var pty = oModel.getProperty("/aRoot/MyCompo1"); // Empty; path is not good
            var pty1 = oModel.getProperty("/aRoot/component");//something but only whitespaces when printing
            console.log(pty);//empty
            console.log(pty1);// a lot of whitespaces (9lines of different sizes)
            pty1.push("node");//Error, pty1.push is not a function
            oModel.setProperty("/aRoot/component",pty1);
    The argument of pty1.push is not good, but the function cannot be even called.
    Another try?

  • When start firefox, error message appears (Java Script Application) "Cannot load xml rules - no root nod"e

    Cannot load xml rules - no root node

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Add node Error

    Hello,
    I am trying to add node to two-node Oracle RAC 11g, but I got
    an error. I follow the steps:
    # export ORACLE_HOME=/u01/app/11.2.0/grid
    # cd $ORACLE_HOME/oui/bin
    # ./addNode.sh -silent "CLUSTER_NEW_NODES={rac3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3-vip}"So, Follows the log file:
    INFO: Environment Variables:
    INFO:   ORACLE_HOME = /u01/app/11.2.0/grid
    INFO:   PATH = /u01/app/oracle/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/b
    in
    INFO:   CLASSPATH =
    INFO: Username:oracle
    INFO: Install area Control created with access level  1
    INFO: Oracle Universal Installer version is 11.2.0.1.0
    INFO: Setting variable 'ORACLE_HOME' to '/u01/app/11.2.0/grid'. Received the value from the command line.
    INFO: Setting variable 'CLUSTER_NEW_NODES' to 'rac3'. Received the value from the command line.
    INFO: Setting variable 'CLUSTER_NEW_VIRTUAL_HOSTNAMES' to 'rac3-vip'. Received the value from the command line.
    INFO: Setting variable 'PREREQ_CONFIG_LOCATION' to ''. Received the value from variable association.
    INFO: Setting variable 'FROM_LOCATION' to '/u01/app/11.2.0/grid/inventory/ContentsXML/comps.xml'. Received the value from a co
    de block.
    INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/11.2.0/grid/root.sh'. Received the value from a code block.
    INFO: Setting variable 'ROOTSH_STATUS' to '3'. Received the value from a code block.
    INFO: Setting variable 'ORACLE_HOME' to '/u01/app/11.2.0/grid'. Received the value from the command line.
    INFO: Setting variable 'CLUSTER_NEW_NODES' to 'rac3'. Received the value from the command line.
    INFO: Setting variable 'CLUSTER_NEW_VIRTUAL_HOSTNAMES' to 'rac3-vip'. Received the value from the command line.
    INFO: Setting variable 'PREREQ_CONFIG_LOCATION' to ''. Received the value from variable association.
    INFO: Setting variable 'FROM_LOCATION' to '/u01/app/11.2.0/grid/inventory/ContentsXML/comps.xml'. Received the value from a code block.
    INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/11.2.0/grid/root.sh'. Received the value from a code block.
    INFO: Setting variable 'ROOTSH_STATUS' to '3'. Received the value from a code block.
    INFO:
    *** Welcome Page***
    INFO: Setting variable 'ORACLE_HOME_NAME' to 'Ora11g_gridinfrahome1'. Received the value from a code block.
    INFO: SRVM ClusterInfo.IsLocalOnly() called. Return value obtained is 'true'.
    INFO: The CRS clusterware location for 'oracle.crs 10.1.0.2.0' is '/u01/app/11.2.0/grid'.
    INFO: CRS clusterware detected.
    INFO: Vendor clusterware is not detected.
    INFO: Local node 'rac1' is derived from the Oracle home properties.
    INFO: Setting variable 'LOCAL_NODE' to 'rac1'. Received the value from a code block.
    INFO: Setting variable 'EXISTING_REMOTE_NODES' to 'rac2'. Received the value from a code block.
    INFO: Setting variable 'REMOTE_NODES' to 'rac3'. Received the value from a code block.
    INFO: Setting the 'ExistingClusterNodes' property to 'rac1,rac2'.
    INFO: Setting the 'EnableVirtualHostNameEntry' property to 'true'.
    INFO: Setting the 'NewNodes ( CLUSTER_NEW_NODES )' property to 'rac3'. Received the value from the command line.
    INFO: Setting variable 'REMOTE_NODES' to 'rac3'. Received the value from a code block.
    INFO: Setting variable 'CLUSTER_NODES' to 'rac1,rac2,rac3'. Received the value from a code block.
    INFO: Performing tests to see whether nodes rac2,rac3 are available
    INFO: Validating nodes rac2...
    INFO: Checking if nodes are alive...
    INFO: Validating user equivalence...
    INFO: Validating nodes rac3...
    INFO: Checking if nodes are alive...
    INFO: Validating user equivalence...
    INFO: Status of nodes in the cluster:
    Status of node 'rac2':
    Node is okay
    Status of node 'rac3':
    null
    SEVERE: The selected remote nodes 'rac3' are not accessible.
    INFO: User Selected: Yes/OKWhen I try ping to the new node, it is okay.
    So, can you help, please?
    Thank you very much.

    Hello,
    Very good tip. Thank you very much.
    On more question. After addNode.sh, when I peform the /u01/app/11.2.0/grid/root.sh, I got error:
    [root@rac3 ~]# /u01/app/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
       Copying dbhome to /usr/local/bin ...
       Copying oraenv to /usr/local/bin ...
       Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2011-04-08 14:04:34: Parsing the host name
    2011-04-08 14:04:34: Checking for super user privileges
    2011-04-08 14:04:34: User has super user privileges
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    FATAL: Module oracleoks not found.
    FATAL: Module oracleadvm not found.
    FATAL: Module oracleacfs not found.
    acfsroot: ACFS-9121: Failed to detect /dev/asm/.asm_ctl_spec.
    acfsroot: ACFS-9310: ADVM/ACFS installation failed.
    acfsroot: ACFS-9311: not all components were detected after the installation.
    CRS-2672: Attempting to start 'ora.gipcd' on 'rac3'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'rac3'
    CRS-2676: Start of 'ora.gipcd' on 'rac3' succeeded
    CRS-2676: Start of 'ora.mdnsd' on 'rac3' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'rac3'
    CRS-2676: Start of 'ora.gpnpd' on 'rac3' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac3'
    CRS-2676: Start of 'ora.cssdmonitor' on 'rac3' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'rac3'
    CRS-2672: Attempting to start 'ora.diskmon' on 'rac3'
    CRS-2676: Start of 'ora.diskmon' on 'rac3' succeeded
    CRS-2676: Start of 'ora.cssd' on 'rac3' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'rac3'
    CRS-2676: Start of 'ora.ctssd' on 'rac3' succeeded
    DiskGroup DATA creation failed with the following message:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification 'ORCL:DISK5' matches no disks
    ORA-15031: disk specification 'ORCL:DISK4' matches no disks
    ORA-15031: disk specification 'ORCL:DISK3' matches no disks
    ORA-15031: disk specification 'ORCL:DISK2' matches no disks
    ORA-15031: disk specification 'ORCL:DISK1' matches no disks
    Configuration of ASM failed, see logs for details
    Did not succssfully configure and start ASM
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    CRS-2673: Attempting to stop 'ora.asm' on 'rac3'
    CRS-2677: Stop of 'ora.asm' on 'rac3' succeeded
    CRS-2673: Attempting to stop 'ora.ctssd' on 'rac3'
    CRS-2677: Stop of 'ora.ctssd' on 'rac3' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac3'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'rac3' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'rac3'
    CRS-2677: Stop of 'ora.cssd' on 'rac3' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac3'Can you help about these problems?
    thank you.

  • Solution Import Failure Message: Cannot add a Root Component 'GUID' of type 29 because it is not in the target system

    Hi all,
    Please refer to the error:
    Root Components import: FAILURE
    [2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread:   43 |Category: Exception |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Error |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | CrmException..ctor
     ilOffset = 0x30
    at CrmException..ctor(String formattedErrorMessage, Int32 errorCode, Object[] arguments)  ilOffset = 0x30
    at ImportRootComponentsHandler.GetSolutionRootsCollection(Boolean throwIfMissing, Boolean skipRibbonCustomization)  ilOffset = 0x209
    at ImportRootComponentsHandler.ImportItem()  ilOffset = 0x8
    at ImportHandler.Import()  ilOffset = 0x43
    at RootImportHandler.ImportAndUpdateProgress(ImportHandler ih)  ilOffset = 0x7
    at RootImportHandler.HandleNonMetadataHandlers(String[] ImportEntities, ImportHandler& ihForCurrentPath)  ilOffset = 0x33
    at RootImportHandler.RunImport(String[] ImportEntities)  ilOffset = 0x1D8
    at ImportXml.RunImport(String[] ImportEntities)  ilOffset = 0xE
    at ImportXml.RunImport()  ilOffset = 0x5BF
    at ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies,
    ExecutionContext context)  ilOffset = 0x46
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xCF
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
    at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x200
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
    Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
     ilOffset = 0x16E
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId,
    OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)  ilOffset = 0x1F1
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset
    = 0x2D
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x26
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at ImportSolutionCommand.Execute()  ilOffset = 0x20
    at DataSource.ImportSolution(Byte[] customizationFile, Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, IOrganizationContext
    context)  ilOffset = 0x0
    at SolutionImportProcessPage.ImportSolution()  ilOffset = 0x123
    at SolutionImportProcessPage.ProcessRequestData()  ilOffset = 0x4A
    at SolutionImportProcessPage.ProcessAction(String action)  ilOffset = 0x92
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0xD
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: Cannot add a Root Component 0ffbcde4-61c1-4355-aa89-aa1d7b2b8792 of type 29 because it is not in the target system., ErrorCode: -2147188705
    [2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread:   43 |Category: Platform.Sql |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Info |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | BusinessProcessObject.ExecuteNonQuery
     ilOffset = 0x28
    I am getting this coming up in the error log when I attempt to import an unmanaged solution.
    After searching on google Type 29 refers to a workflow.
    I go into the source system and query the database by the GUID and discover that it is actually a Business Process Flow called 'Phone to Case Process'. 
    I do not have this process in my target system as I deleted it.
    Looks like this is one of the out of the box ones. I don't think we we have changed this one much.
    What does this mean and what should I be looking for??
    Anyway how do I remove this offending process from the unmanaged solution xml file and attempt to re-import it? 
    It doesn't look like I can generate the solution again without the offending workflow/process..

    I managed to resolve this issue after looking at this thread:
    https://social.microsoft.com/Forums/en-US/fddff17f-1cca-4d33-a666-60c08ad76b0c/crm-2011-import-failure?forum=crmdevelopment
    Just modify both solution and customizations xml by searching for the guid and removing the root component

  • How to add node

    I have two node RAC. One node has OS issue so we have to reinstall OS and Now I want to add new node.But ORACLE_HOME and ORA_CRS_HOME will be different for second home.
    Is it possible to have ORACLE_HOME differnt on each home?
    Means one the first node ORACLE_HOME is /opt/oracle/product/10.2.0/crs
    and on second node ORACLE_HOME will /export/home/oracle/product/10.2.0/crs
    How to add node in such condition?

    I have followed ML NOTE: 270512.1 and I am able to add clusterware on second Node
    When I have tried to "Add the RAC software to the new node" at time I am getting bellow error
    OUI-10009: There are no new nodes to add to this installation
    I have genrated trace using this command
    ./addNode.sh "CLUSTER_NEW_NODES=bullhead-rac2" -logLevel trace -debug
    Here it is
    Oracle Universal Installer, Version 10.2.0.3.0 Production
    Copyright (C) 1999, 2006, Oracle. All rights reserved.
    [main] [13:54:16:457] [NativeSystem.<init>:259] NullSecurityManager is set for Native System calls
    [main] [13:54:16:464] [Library.getInstance:95] Created instance of Library.
    [main] [13:54:16:465] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [13:54:16:466] [UnixSystem.getCSSConfigType:2014] configFile=/var/opt/oracle/ocr.loc
    [main] [13:54:16:475] [Utils.getPropertyValue:221] keyName=ocrconfig_loc props.val=/dev/rdsk/c3t1d0s1 propValue=/dev/rdsk/c3t1d0s1
    [main] [13:54:16:476] [Utils.getPropertyValue:292] propName=local_only propValue=FALSE
    [main] [13:54:16:477] [UnixSystem.getCSSConfigType:2058] configType=false
    [main] [13:54:16:481] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [13:54:16:482] [ClusterInfo.<init>:222] m_olsnodesPath=/oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:16:485] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
    [main] [13:54:16:486] [RuntimeExec.runCommand:76] /oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:16:550] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
    [Thread-2] [13:54:16:551] [StreamReader.run:61] In StreamReader.run
    [Thread-3] [13:54:16:551] [StreamReader.run:61] In StreamReader.run
    [Thread-2] [13:54:17:965] [StreamReader.run:65] OUTPUT>catfish-rac1
    [Thread-2] [13:54:17:969] [StreamReader.run:65] OUTPUT>bullhead-rac2
    [main] [13:54:18:62] [RuntimeExec.runCommand:133] runCommand: process returns 0
    [main] [13:54:18:63] [RuntimeExec.runCommand:147] RunTimeExec: output>
    [main] [13:54:18:64] [RuntimeExec.runCommand:150] catfish-rac1
    [main] [13:54:18:64] [RuntimeExec.runCommand:150] bullhead-rac2
    [main] [13:54:18:65] [RuntimeExec.runCommand:155] RunTimeExec: error>
    [main] [13:54:18:66] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
    [main] [13:54:18:66] [ClusterInfo.getNodeNames:341] Number of nodes=2
    [main] [13:54:18:69] [ClusterInfo.getLocalNodeName:242] cmd=/oracle/product/10.2.0/crs/bin/olsnodes -l
    [main] [13:54:18:69] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
    [main] [13:54:18:70] [RuntimeExec.runCommand:76] /oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:18:70] [RuntimeExec.runCommand:76] -l
    [Thread-5] [13:54:18:134] [StreamReader.run:61] In StreamReader.run
    [main] [13:54:18:135] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
    [Thread-4] [13:54:18:134] [StreamReader.run:61] In StreamReader.run
    [Thread-4] [13:54:19:560] [StreamReader.run:65] OUTPUT>catfish-rac1
    [main] [13:54:19:626] [RuntimeExec.runCommand:133] runCommand: process returns 0
    [main] [13:54:19:627] [RuntimeExec.runCommand:147] RunTimeExec: output>
    [main] [13:54:19:628] [RuntimeExec.runCommand:150] catfish-rac1
    [main] [13:54:19:628] [RuntimeExec.runCommand:155] RunTimeExec: error>
    [main] [13:54:19:629] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
    [main] [13:54:19:630] [ClusterInfo.getLocalNodeName:247] exit value 0
    [main] [13:54:19:631] [ClusterInfo.getLocalNodeName:253] output.length=1
    [main] [13:54:19:631] [ClusterInfo.getLocalNodeName:257] output[0]=catfish-rac1
    Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    LD_LIBRARY_PATH environment variable :
    Total args: 25
    Command line argument array elements ...
    Arg:0:../../jdk/jre/bin/java:
    Arg:1:-Doracle.installer.library_loc=../lib/solaris:
    Arg:2:-Doracle.installer.oui_loc=/oracle/product/10.2.0/db_1/oui/bin/..:
    Arg:3:-Doracle.installer.bootstrap=FALSE:
    Arg:4:-Doracle.installer.startup_location=/oracle/product/10.2.0/db_1/oui/bin:
    Arg:5:-Doracle.installer.jre_loc=../../jre:
    Arg:6:-Doracle.installer.nlsEnabled="TRUE":
    Arg:7:-Doracle.installer.prereqConfigLoc= :
    Arg:8:-Doracle.installer.unixVersion=5.10:
    Arg:9:-mx96m:
    Arg:10:-cp:
    Arg:11:/tmp/OraInstall2007-10-09_01-54-01PM:../jlib/OraInstaller.jar:../jlib/oneclick.jar:../jlib/xmlparserv2.jar:../jlib/srvm.jar:../jlib/share.jar:../jlib/
    OraInstallerNet.jar:../jlib/xml.jar:../jlib/orai18n-collation.jar:../jlib/orai18n-mapping.jar:../jlib/emCfg.jar:../jlib/ojmisc.jar:../jlib/InstImages.jar:../
    jlib/InstHelp.jar:../jlib/InstHelp_de.jar:../jlib/InstHelp_es.jar:../jlib/InstHelp_fr.jar:../jlib/InstHelp_it.jar:../jlib/InstHelp_ja.jar:../jlib/InstHelp_ko
    .jar:../jlib/InstHelp_pt_BR.jar:../jlib/InstHelp_zh_CN.jar:../jlib/InstHelp_zh_TW.jar:../jlib/oracle_ice.jar:../jlib/help4.jar:../jlib/help4-nls.jar:../jlib/
    ewt3.jar:../jlib/ewt3-swingaccess.jar:../jlib/ewt3-nls.jar:../jlib/swingaccess.jar:../jlib/classes12.jar::../jlib/OraPrereq.jar:../jlib/jewt4.jar:../jlib/jew
    t4-nls.jar:
    Arg:12:oracle.sysman.oii.oiic.OiicInstaller:
    Arg:13:-scratchPath:
    Arg:14:/tmp/OraInstall2007-10-09_01-54-01PM:
    Arg:15:-sourceType:
    Arg:16:network:
    Arg:17:-timestamp:
    Arg:18:2007-10-09_01-54-01PM:
    Arg:19:-addNode:
    Arg:20:ORACLE_HOME=/oracle/product/10.2.0/db_1:
    Arg:21:CLUSTER_NEW_NODES=bullhead-rac2:
    Arg:22:-logLevel:
    Arg:23:severe:
    Arg:24:-debug:
    Initializing Java Virtual Machine from ../../jdk/jre/bin/java. Please wait...

  • Macking button to expand the tree and collapse tree and another to add node

    macking button to expand the tree and collapse tree and another to add node and saving the changes in the database ( this is problem)
    and finally delete node from database
    so what is proper code for those buttons
    thanks my mail is :
    [email protected]

    Hello,
    Use the ftree package's functions
    code to expand all nodes:
    PROCEDURE explose_tree IS
    node    ftree.node;
    htree   ITEM;
    state   varchar2(30);
    BEGIN
       -- search the tree ID --
       htree := Find_Item('BL_TREE.TREE_1');
        -- search the root --
           node  := Ftree.Find_Tree_Node(htree, '');
        -- expand all nodes --
       WHILE NOT Ftree.ID_NULL(node) LOOP
          state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
          IF state = Ftree.COLLAPSED_NODE THEN
            Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.EXPANDED_NODE);
          END IF;
          node := Ftree.Find_Tree_Node(htree, '', ftree.find_NEXT,Ftree.NODE_LABEL,'', node);
       END LOOP;
    END;and to collapse all nodes:
    PROCEDURE Implose_tree IS
       node   ftree.node;
       htree  ITEM;
       state  varchar2(30);
    BEGIN
       -- search the root ID --
       htree := Find_Item('BL_TREE.TREE_1'); 
       -- search the root --
       node  := Ftree.Find_Tree_Node(htree, '');  
       -- Collapse all nodes --
       WHILE NOT ftree.ID_NULL(node) LOOP
         state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
         IF state = Ftree.EXPANDED_NODE THEN
          Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.COLLAPSED_NODE);
         END IF;
        node := Ftree.Find_Tree_Node(htree, '', Ftree.FIND_NEXT,Ftree.NODE_LABEL, '', node);
       END LOOP;
    END; Francois

  • After del/add Node, there are Agent issues

    Dear Expert
    i have GC12c to monitor Exadata Machine
    i face problem with Grid_home in Node_1
    then we follow proceduer for del/add node from RAC
    now agent in node_1
    Agent Version : 12.1.0.1.0
    OMS Version : (unknown)
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/GC_home_last/agent_inst
    Agent Binaries : /u01/GC_home_last/core/12.1.0.1.0
    Agent Process ID : xxxxx
    Parent Process ID : xxxxx
    Agent URL : https://xxxxxxxxx
    Repository URL : https://xxxxxx
    Started at : 2012-02-04 23:36:24
    Started by user : oracle
    Last Reload : 2012-02-05 09:13:03
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0
    Number of XML files pending upload : 853
    Size of XML files pending upload(MB) : 18.61
    Available disk space on upload filesystem : 68.29%
    Collection Status : Collections enabled
    Last attempted heartbeat to OMS : 2012-02-05 09:14:04
    Last successful heartbeat to OMS : (none)
    How can i establish connection between agent and OMS
    THanks In advance
    Sami

    we have OEM 12c to monitor Exadata
    every thing were good
    we faced problem
    Then we deleted node and add it again to our cluster enviroment.(crs_home deleted)
    The agent which was deployed early on the node that was deleted now is unavailbel/unreachable
    i got below msg from GCEM
    Plugin mismatches between agent and repository. Check plugin:[ The plug-in is oracle.sysman.empa Version in pla inventory : null Version on agent : 12.1.0.1.0 Content type : DISCOVERY Error code : INCOMPATIBILITY_WITH_OMS Error Msg : This plug-in is incompatible with the current version of plug-in deployed on the OMS, The plug-in is oracle.sysman.emfa Version in pla inventory : null Version on agent : 12.1.0.1.0 Content type : DISCOVERY Error code : INCOMPATIBILITY_WITH_OMS Error Msg : This plug-in is incompatible with the current version of plug-in deployed on the OMS]
    from agent Home:
    Agent Version : 12.1.0.1.0
    OMS Version : (unknown)
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/GC_home_last/agent_inst
    Agent Binaries : /u01/GC_home_last/core/12.1.0.1.0
    Agent Process ID : xxxxx
    Parent Process ID : xxxxx
    Agent URL : https://xxxxxxxxx
    Repository URL : https://xxxxxx
    Started at : 2012-02-04 23:36:24
    Started by user : oracle
    Last Reload : 2012-02-05 09:13:03
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0
    Number of XML files pending upload : 853
    Size of XML files pending upload(MB) : 18.61
    Available disk space on upload filesystem : 68.29%
    Collection Status : Collections enabled
    Last attempted heartbeat to OMS : 2012-02-05 09:14:04
    Last successful heartbeat to OMS : (none)

  • How to add node value using org.w3c.dom.Document?

    Hi ,
    I'm using org.w3c.dom.Document to deal with xml files. I could successfully add nodes , and their attributes. However I could not add a value of the node. (e.g. <myNode>I couldn't add this value</myNode>)
    does anyone know how to deal with this?
    I tried subNode.setNodeValue("the value i can't add"); whereas the subNode is an instance of org.w3c.dom.Node... i know this is interface i of course used the concrete class
    org.apache.crimson.tree.ElementNode
    but when I used the subNode.getNodeValue() i simply got null?
    can u plz help me?
    thanks in advance

    Reading the API documentation for the Node interface might help. At least you wouldn't be surprised when the results are exactly what the documentation says they will be.
    What would really help would be forgetting the idea that an Element can have a value. Text nodes have values, though, so create a Text node and make it the child of the Element node.

  • How to dynamically add Nodes to JTree?

    How to add nodes to a Jtree by getting the information into a specific file
    For example, in JList:
    DefaultListModel workgroups;
    workgroups = new DefaultListModel();
    List<String> workgroupsList = new ArrayList<String>();
    workgroupsList = ParserUtils.getWorkgroupList(ParserUtils.getConfigPath() + "\\.workgroup.properties");
    if (!workgroupsList.isEmpty()){
         for (String workgroup : workgroupsList){
              workgroups.addElement(workgroup.toString().trim());
    workgroupList = new JList(workgroups); //adds the list workgroupsThe output of this will be a JList displaying the list of workgroups per line. The list could be found in a file name "workgroup.properties"
    Question is, is it possible to adapt this same method in JTree. The information per line will serve as one node in the tree. For example, I have 3 workgroups in the list, there will also be 3 nodes to be found in the tree.
    Any suggestions?
    THanks.

    There's a huge JTree example in the Swing tutorial. It's a bit of a beast to use.

  • Add Node to my Tree

    hi all
    i have a self join table with following column as select statement
    SELECT 1, LEVEL, a.product, ''exit'',a.techno
    FROM bom_products a
    CONNECT BY PRIOR a.techno = a.set_techno
    START WITH a.set_techno IS NULL
    that techno is pk
    and set_techno is fk
    and use
    following code for view my tree:
    DECLARE
         htree ITEM;
         b NUMBER;
    a RECORDGROUP;
    BEGIN
         go_block('BLK_CHART');
    htree := FIND_ITEM('BLK_CHART.T');
    a := FIND_GROUP('a');
    IF NOT ID_NULL(a) THEN
    DELETE_GROUP(a);
    END IF;
    a := CREATE_GROUP_FROM_QUERY('a',
    'SELECT 1, LEVEL, a.product, ''exit'',a.techno
    FROM bom_products a
    CONNECT BY PRIOR a.techno = a.set_techno
    START WITH a.set_techno IS NULL and a.techno='''||:BLK.TECHNO||''''
    b := POPULATE_GROUP(a);
    FTREE.SET_TREE_PROPERTY(htree, FTREE.RECORD_GROUP, a);
    END;
    and no problem,
    my issue is :
    add child to my tree and record to my table
    can any one help me to add node???????????????????

    WRITE THE FOLLOWING SCRIPT IN THE WHEN-BUTTON-PRESSED
    INSERT INTO TABLE VALUES (NEW_DISPLAY_LABEL,NEW_VALUE);
    COMMIT;
    P_PARENT_NODE_VALUE:= ftree.get_tree_node_property('tree4',:system.trigger_node,ftree.node_value);
    P_PARENT_NODE := Ftree.Find_Tree_Node('tree4',P_PARENT_NODE_VALUE,Ftree.FIND_NEXT, Ftree.NODE_value, Ftree.ROOT_NODE, Ftree.ROOT_NODE);
    P_NEW_NODE := ftree.add_tree_node('tree4',P_PARENT_NODE,ftree.parent_offset,ftree.last_child,ftree.expanded_node,NEW_DISPLAY_LABEL,null,NEW_VALUE);
    Message was edited by:
    zakaoullah

  • Add node to a specific node in JTree

    I use the following TreePanel class to add node to the tree. My question is how to add a new node under
    a specific node which has been created before. In other words, how to get the path and identify the node.
    For e.g., I first loaded some raw data files and created the "raw data" node, later I need to load another file
    and create a new node under the "raw data" node. Each node is created by using user object. Any help is greatly appreicated.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    public class TreePanel extends JPanel {
      protected DefaultMutableTreeNode rootNode;
      protected DefaultTreeModel treeModel;
      protected JTree tree;
      public TreePanel() {
        super(new GridLayout(1,0));
        rootNode = new DefaultMutableTreeNode("Experiment");
        treeModel = new DefaultTreeModel(rootNode);
        tree = new JTree(treeModel);
        tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.setShowsRootHandles(true);
        JScrollPane scrollPane = new JScrollPane(tree);
        add(scrollPane);
      public JTree getTree(){
        return tree;
      /* Add child to the currently selected node. */
      public DefaultMutableTreeNode addObject(Object child){
        DefaultMutableTreeNode parentNode = null;
        TreePath parentPath = tree.getSelectionPath();
        if(parentPath == null){
          parentNode = rootNode;
        else{
          parentNode = (DefaultMutableTreeNode)(parentPath.getLastPathComponent());
        return addObject(parentNode, child, true);
      /* Add child */
      public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent, Object child){
        return addObject(parent, child, false);
      /* Add child */
      public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent, Object child, boolean shouldBeVisible){
        DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(child);
        if(parent == null){parent = rootNode;}
        treeModel.insertNodeInto(childNode, parent, parent.getChildCount());
        if(shouldBeVisible){
          tree.scrollPathToVisible(new TreePath(childNode.getPath()));
        return childNode;
      /* Add child */
      public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent, DefaultMutableTreeNode child){
       if(parent == null){parent = rootNode;}
       treeModel.insertNodeInto(child, parent, parent.getChildCount());
       return child;
    }Thanks in advance!

    public static DefaultMutableTreeNode findNode(DefaultMutableTreeNode from, Object userObject) {
              if (userObject == null && from.getUserObject() == null) {
                   return from;
              } else if (userObject.equals(from.getUserObject())) {
                   return from;
              DefaultMutableTreeNode node = null;
              for (int i = 0; i < from.getChildCount(); i ++) {
                   node = (DefaultMutableTreeNode) from.getChildAt(i);
                   if (userObject == null) {
                        if (userObject == node.getUserObject()) {
                             break;
                   } else {
                        if (userObject.equals(node.getUserObject())) {
                             break;
                   node = null;
              if (node != null) {
                   return node;
              //Node not found
              //dig deeper
              for (int i = 0; i < from.getChildCount(); i ++) {
                   node = (DefaultMutableTreeNode) from.getChildAt(i);
                   if (!node.isLeaf()) {
                        node = findNode(node, userObject);
                        if (node != null) {
                             return node;
              //Not found
              return null;
         }     

  • Failed to add node to cluster

    Hey, I am currently migrating my cluster.
    I removed the server pool master according to the metalink note by doing a failover (stopped the agent on the server pool master)
    Deleted the old master (node2) from the server pool.
    Executed the cleanup script on node2 and switched it off
    Modified the cluster.conf on the remaining node and remove the entries for the old master node2.
    Replaced the old server with new hardware -
    same name - same ip.
    Now I try to add this server to the server pool, but I get a timeout message
    OVM-1006 Register Oracle VM Server (node2) Failed: errcode=00001, errmsg=CDS accquire lock /etc/ovs-agent/db/srv.lock timeout. locker process is 8339
    Where can I look ?
    Christian

    Lemeunier wrote:
    > environment: sles 10 sp3, oes2, cluster services
    >
    > problem: reconfiguring oes to add a node to the cluster is causing the
    > error *failed to add node to cluster*
    >
    > history: I installed a 4 node cluster in a HP C7000 blade. We had to
    > replace the network switch in the blade center by a virtual connect
    > flex-10. This resulted in a loss of network connectivity, so I removed 3
    > of 4 nodes from cluster and eDirectory.
    > This worked fine, replication and time synchronisation was succesfully
    > and all server objects belonging to these 3 servers were deleted.
    >
    > Now the new switch has been configured and network connection
    > reestablished. Reconfiguring eDirectory and other oes2 services
    > succeeds, alle server objects are recreated, eDirectory is in sync, but
    > reconfiguring cluster services does not succeed.
    >
    > What do I have to do, to reconfigure cluster service and add nodes to
    > the cluster?
    >
    > Thank you for all hints.
    >
    > Ursula
    >
    >
    Did you remove the cluster rpms and then reinstall the rpms. I would
    recommend following TID 3131978 and see if that helps.

Maybe you are looking for

  • Problem Displaying images

    Hi I am trying to make a mud and the one thing I wanted to make different was an actual image map. My code reads the map from a text file and then places it into an array which then is displayed using diffent images for different characters. I wanted

  • Bought new iMac 20.5", jumped the gun purchasing a 2TB Hard Drive

    Ok I bought this Hard Drive without really investing anything about the new iMacs. This is my fault. I bought a new Barracuda XT from Seagate. The performance on this Hard Drive is suppose to be pretty fast with a 6Gb/s & 64MB cache, how could I resi

  • Changing the account name

    When I setup my new Mac, I created the same account name as my old Mac. This is creating problems during my migration.  How do I change the main account name?

  • E-mail box message confusion

    I keep getting a message that my mailbox is 90% full, 95% full, 100% full. I have dumped all but 15 emails on my iPhone and am still getting these messages? What am I doing wrong?

  • URGENT: Pool vs. Cache From JDBC

    JDBC forum is pretty empty, so I'll try here. I have a database layer that is configurable to allow admin to choose Oracle JDBC connection pooling or connection caching. Here are the results: OracleConnectionPoolDataSource.getPooledConnection().getCo