Adding nodes at runtime...

Is there any way for adding workflow step dinamically at runtime.
I want to ask that oracle workflow have ad-hoc workflow capabililities or not ?
Thank You...

Workflow supports having multiple versions of the same workflow running at the same time, ad-hoc workflow capabililities can be accomplised by having certain activities perform additional processing can be by making changes to the underlying business logic (such as calling a different sub workflow), adding of function activites to a running workflow is not available currently.
Is there any way for adding workflow step dinamically at runtime.
I want to ask that oracle workflow have ad-hoc workflow capabililities or not ?
Thank You...

Similar Messages

  • Finding a model node in runtime

    Hi, I'm presently migrating a old application to webdynpro.
    In that application, I have a FieldDescriptor, which has the information of which table to search in order to find the info to be displayed.
    Concretely I have:
    A class called BapiInfoField. This class has an attribute which is the name of a table. I need to retrieve the node associated to that table.
    To resolve this, I thought about making a mapping between the old table name and the new one compatible to webdynpro.
    On the other hand, I don't know how to fetch an node at runtime in webdynpro. The only way I do usually, is by using the "wdContect.node*" way. I know how to fetch elements in a node dynamically, but not the node itself.
    I also found a function called "getChildNode(String arg0, int arg1)" in the wdContext class. Unfortunately, the function is undocumented.
    If there's no appropriate getter function in webdynpro for my problem, I'll resolve by making a mapping between the string of the old table name, and a Method Object linked to the proper "node*" method.
    Anyone has any suggestions?
    Thanks in advance,
    Alexis

    Brrr...
    I do not understand your requirements completely, but can provide some hints regarding getting nodes information at runtime.
    First, you are misinformed: getChildNode is documented. First parameter is node name, second is index of parent element of subnode (i.e. index within "this" node).
    Next, there are 2 different situations: you need only meta-information or you need physical data.
    For first case:
      void traverse(final IWDNodeInfo parent)
           for (final Iterator i = parent.iterateChildren(); i.hasNext(); )
                final IWDNodeInfo child = (IWDNodeInfo)i.next();
                traverse( child );
      traverse( wdContext.getNodeInfo() );
    For second case:
      void traverse(final IWDNodeElement parent)
           final IWDNode     nParent   = parent.node();
           final IWDNodeInfo niParent  = nParent.getNodeInfo();
           final int         idxParent = parent.index();
           for (final Iterator i = niParent.iterateChildren(); i.hasNext(); )
                final IWDNodeInfo child = (IWDNodeInfo)i.next();
                traverse( nParent.getChildNode( child.getName(), idxParent ) );
      void traverse(final IWDNode parent)
           for (int i = parent.size() - 1; i>= 0; i--)
                final IWDNodeElement element = parent.getElementAt( i );
                    /* Workaround for singleton nodes */
                    /* parent.setLeadSelection( i ) */
                traverse( element ); 
      traverse( wdContext.currentContextElement() );
    Second case is quite "interesting": first, it will fails for singleton nodes with cardinality 0..n or 1..n (see commented workaround); second, it quite resource-consuming, namely, invokes all supply functions and populating all elements during traverse.
    Hope this will serve you as good starting point
    VS

  • How can I view the newly added node in a JTree

    Hi! I have a problem with my project. I set up a JTree. At first it has a node that contains FARInfo object. When I click this node, the other program in the package will pop up a form to let user input and submit, then it will add a new node into the other node. The new node will contain FilledInfo object. But I cannot view this newly added node. The source code related with the 2 different object is as following:
    tree.addTreeSelectionListener( new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e4)
    DefaultMutableTreeNode node = ( DefaultMutableTreeNode )
    (tree.getLastSelectedPathComponent ());
    Object nodeInfo = node.getUserObject();
    if (node.isLeaf())
    if ( nodeInfo instanceof FARInfo )
    FARInfo category = (FARInfo) nodeInfo;
    displayURL ( category.categoryURL );
    displayForm ( category.farFormName );
    if ( DEBUG )
    System.out.print ( category.categoryURL + ":\n" );
    else if ( nodeInfo instanceof FilledInfo )
         FilledInfo category2 = ( FilledInfo ) nodeInfo;      
         displayFilledForm ( category2.num );
    }else
    return;
    My question is: how to deal with the nodes containing 2 different objects: FARInfo and FilledInfo? FilledInfo is created by the other program in the package. Thanks for your help!

    I used insertNodeInto() to inser a new node into the tree, and it can be displayed. But when I used addTreeSelectionListener() to click on the newly added node, it cann not reaspond the click. Following is my original addTreeSelectionListener(). You see, if you click a node of FARInfo, then it will open a form, and after user filled in and submit it, a new node will be added into the Jtree. If you click a node of FilledInfo, then the user should view the content of this new node. But now, it seems that the sencond click cannot work. Thanks for your help.
    tree.addTreeSelectionListener( new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e4)
    DefaultMutableTreeNode node = ( DefaultMutableTreeNode )
    (tree.getLastSelectedPathComponent ());
    Object nodeInfo = node.getUserObject();
    if (node.isLeaf())
    if ( nodeInfo instanceof FARInfo )
    FARInfo category = (FARInfo) nodeInfo;
    displayURL ( category.categoryURL );
    displayForm ( category.farFormName );
    if ( DEBUG )
    System.out.print ( category.categoryURL + ":\n" );
    else if ( nodeInfo instanceof FilledInfo )
    FilledInfo category2 = ( FilledInfo ) nodeInfo;
    displayFilledForm ( category2.num );
    }else
    return;

  • Adding node back into cluster after removal...

    Hi,
    I removed a cluster node using "scconf -r -h <node>" (carried out all the other usual removal steps before getting this command to work).
    Because this is a pair+1 cluster and the node i was trying to remove was physically attached to the quroum device (scsi), I had to create a dummy node before the removal command above would work.
    I reinstalled solaris, SC3.1u4 framwork, patches etc. and then tried to run scsinstall again on the node (reintroduced the node to the cluster again first using scconf -a -T node=<node>).
    However! during the scsinstall i got the following problem:
    Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
    Updating file ("hosts") on node n20-2-sup ... done
    Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
    Updating file ("hosts") on node n20-3-sup ... done
    scrconf: RPC: Unknown host
    scinstall:  Failed communications with "bogusnode"
    scinstall: scinstall did NOT complete successfully!
    Press Enter to continue:
    Was not sure what to do at this point, but since the other clusternodes could now see my 'new' node again, i removed the dummy node, rebooted the new node and said a little prayer...
    Now, my node will not boot as part of the cluster:
    Rebooting with command: boot
    Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
    SunOS Release 5.10 Version Generic_127111-06 64-bit
    Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Hostname: n20-1-sup
    /usr/cluster/bin/scdidadm: Could not load DID instance list.
    Cannot open /etc/cluster/ccr/did_instances.
    Booting as part of a cluster
    NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
    NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
    NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
    NOTICE: CMM: Node bogusnode (nodeid = 4) with votecount = 0 added.
    NOTICE: clcomm: Adapter qfe5 constructed
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
    NOTICE: clcomm: Adapter qfe1 constructed
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
    NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
    NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
    NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
    NOTICE: CMM: Cluster has reached quorum.
    NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205346037.
    NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
    NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
    NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
    NOTICE: CMM: node reconfiguration #18 completed.
    NOTICE: CMM: Node n20-1-sup: joined cluster.
    NOTICE: CMM: Node (nodeid = 4) with votecount = 0 removed.
    NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
    NOTICE: CMM: node reconfiguration #19 completed.
    WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
    WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
    cladm: CLCLUSTER_ENABLE: No such device
    UNRECOVERABLE ERROR: Sun Cluster boot: Could not initialize cluster framework
    Please reboot in non cluster mode(boot -x) and Repair
    syncing file systems... done
    WARNING: CMM: Node being shut down.
    Program terminated
    {1} ok
    Any ideas how i can recover this situation without having to reinstall the node again?
    (have a flash with OS, sc3.1u4 framework etc... so not the end of the world but...)
    Thanks a mil if you can help here!
    - headwrecked

    Hi - got sorted with this problem...
    basically just removed (scinstall -r) the sc3.1u4 software from the node which was not booting, and then re-installed the software (this time the dummy node had been removed so it did not try to contact this node and the scinstall completed without any errors)
    I think the only problem with the procedure i used to remove and readd the node was that i forgot to remove the dummy node before re-adding the actaul cluster node again...
    If anyone can confirm this to be the case then great - if not... well its working now so this thread can be closed.
    root@n20-1-sup # /usr/cluster/bin/scinstall -r
    Verifying that no unexpected global mounts remain in /etc/vfstab ... done
    Verifying that no device services still reference this node ... done
    Archiving the following to /var/cluster/uninstall/uninstall.1036/archive:
    /etc/cluster ...
    /etc/path_to_inst ...
    /etc/vfstab ...
    /etc/nsswitch.conf ...
    Updating vfstab ... done
    The /etc/vfstab file was updated successfully.
    The original entry for /global/.devices/node@1 has been commented out.
    And, a new entry has been added for /globaldevices.
    Mounting /dev/dsk/c3t0d0s6 on /globaldevices ... done
    Attempting to contact the cluster ...
    Trying "n20-2-sup" ... okay
    Trying "n20-3-sup" ... okay
    Attempting to unconfigure n20-1-sup from the cluster ... failed
    Please consider the following warnings:
    scrconf: Failed to remove node (n20-1-sup).
    scrconf: All two-node clusters must have at least one shared quorum device.
    Additional housekeeping may be required to unconfigure
    n20-1-sup from the active cluster.
    Removing the "cluster" switch from "hosts" in /etc/nsswitch.conf ... done
    Removing the "cluster" switch from "netmasks" in /etc/nsswitch.conf ... done
    ** Removing Sun Cluster framework packages **
    Removing SUNWkscspmu.done
    Removing SUNWkscspm..done
    Removing SUNWksc.....done
    Removing SUNWjscspmu.done
    Removing SUNWjscspm..done
    Removing SUNWjscman..done
    Removing SUNWjsc.....done
    Removing SUNWhscspmu.done
    Removing SUNWhscspm..done
    Removing SUNWhsc.....done
    Removing SUNWfscspmu.done
    Removing SUNWfscspm..done
    Removing SUNWfsc.....done
    Removing SUNWescspmu.done
    Removing SUNWescspm..done
    Removing SUNWesc.....done
    Removing SUNWdscspmu.done
    Removing SUNWdscspm..done
    Removing SUNWdsc.....done
    Removing SUNWcscspmu.done
    Removing SUNWcscspm..done
    Removing SUNWcsc.....done
    Removing SUNWscrsm...done
    Removing SUNWscspmr..done
    Removing SUNWscspmu..done
    Removing SUNWscspm...done
    Removing SUNWscva....done
    Removing SUNWscmasau.done
    Removing SUNWscmasar.done
    Removing SUNWmdmu....done
    Removing SUNWmdmr....done
    Removing SUNWscvm....done
    Removing SUNWscsam...done
    Removing SUNWscsal...done
    Removing SUNWscman...done
    Removing SUNWscgds...done
    Removing SUNWscdev...done
    Removing SUNWscnmu...done
    Removing SUNWscnmr...done
    Removing SUNWscscku..done
    Removing SUNWscsckr..done
    Removing SUNWscu.....done
    Removing SUNWscr.....done
    Removing the following:
    /etc/cluster ...
    /dev/did ...
    /devices/pseudo/did@0:* ...
    The /etc/inet/ntp.conf file has not been updated.
    You may want to remove it or update it after uninstall has completed.
    The /var/cluster directory has not been removed.
    Among other things, this directory contains
    uninstall logs and the uninstall archive.
    You may remove this directory once you are satisfied
    that the logs and archive are no longer needed.
    Log file - /var/cluster/uninstall/uninstall.1036/log
    root@n20-1-sup #
    Ran the scinstall again:
    >>> Confirmation <<<
    Your responses indicate the following options to scinstall:
    scinstall -ik \
    -C N20_Cluster \
    -N n20-2-sup \
    -M patchdir=/var/cluster/patches \
    -A trtype=dlpi,name=qfe1 -A trtype=dlpi,name=qfe5 \
    -m endpoint=:qfe1,endpoint=switch1 \
    -m endpoint=:qfe5,endpoint=switch2
    Are these the options you want to use (yes/no) [yes]?
    Do you want to continue with the install (yes/no) [yes]?
    Checking device to use for global devices file system ... done
    Installing patches ... failed
    scinstall: Problems detected during extraction or installation of patches.
    Adding node "n20-1-sup" to the cluster configuration ... skipped
    Skipped node "n20-1-sup" - already configured
    Adding adapter "qfe1" to the cluster configuration ... skipped
    Skipped adapter "qfe1" - already configured
    Adding adapter "qfe5" to the cluster configuration ... skipped
    Skipped adapter "qfe5" - already configured
    Adding cable to the cluster configuration ... skipped
    Skipped cable - already configured
    Adding cable to the cluster configuration ... skipped
    Skipped cable - already configured
    Copying the config from "n20-2-sup" ... done
    Copying the postconfig file from "n20-2-sup" if it exists ... done
    Copying the Common Agent Container keys from "n20-2-sup" ... done
    Setting the node ID for "n20-1-sup" ... done (id=1)
    Verifying the major number for the "did" driver with "n20-2-sup" ... done
    Checking for global devices global file system ... done
    Updating vfstab ... done
    Verifying that NTP is configured ... done
    Initializing NTP configuration ... done
    Updating nsswitch.conf ...
    done
    Adding clusternode entries to /etc/inet/hosts ... done
    Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files
    IP Multipathing already configured in "/etc/hostname.qfe2".
    Verifying that power management is NOT configured ... done
    Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
    Ensure network routing is disabled ... done
    Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
    Updating file ("hosts") on node n20-2-sup ... done
    Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
    Updating file ("hosts") on node n20-3-sup ... done
    Log file - /var/cluster/logs/install/scinstall.log.938
    Rebooting ...
    Mar 13 13:59:13 n20-1-sup reboot: rebooted by root
    Terminated
    root@n20-1-sup # syncing file systems... done
    rebooting...
    R
    LOM event: +103d+20h44m26s host reset
    screen not found.
    keyboard not found.
    Keyboard not present. Using lom-console for input and output.
    Sun Netra T4 (2 X UltraSPARC-III+) , No Keyboard
    Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
    OpenBoot 4.10.1, 4096 MB memory installed, Serial #52960491.
    Ethernet address 0:3:ba:28:1c:eb, Host ID: 83281ceb.
    Initializing 15MB Rebooting with command: boot
    Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
    SunOS Release 5.10 Version Generic_127111-06 64-bit
    Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Hostname: n20-1-sup
    Configuring devices.
    devfsadm: minor_init failed for module /usr/lib/devfsadm/linkmod/SUNW_scmd_link.so
    Loading smf(5) service descriptions: 24/24
    /usr/cluster/bin/scdidadm: Could not load DID instance list.
    Cannot open /etc/cluster/ccr/did_instances.
    Booting as part of a cluster
    NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
    NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
    NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
    NOTICE: clcomm: Adapter qfe5 constructed
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
    NOTICE: clcomm: Adapter qfe1 constructed
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
    NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
    NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
    NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
    NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
    NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
    NOTICE: CMM: Cluster has reached quorum.
    NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205416931.
    NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
    NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
    NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
    NOTICE: CMM: node reconfiguration #23 completed.
    NOTICE: CMM: Node n20-1-sup: joined cluster.
    ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast
    NOTICE: CMM: Votecount changed from 0 to 1 for node n20-1-sup.
    NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
    NOTICE: CMM: node reconfiguration #24 completed.
    Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe1
    Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe5
    did subpath /dev/rdsk/c1t3d0s2 created for instance 2.
    did subpath /dev/rdsk/c2t3d0s2 created for instance 12.
    did subpath /dev/rdsk/c1t3d1s2 created for instance 3.
    did subpath /dev/rdsk/c1t3d2s2 created for instance 6.
    did subpath /dev/rdsk/c1t3d3s2 created for instance 7.
    did subpath /dev/rdsk/c1t3d4s2 created for instance 8.
    did subpath /dev/rdsk/c1t3d5s2 created for instance 9.
    did subpath /dev/rdsk/c1t3d6s2 created for instance 10.
    did subpath /dev/rdsk/c1t3d7s2 created for instance 11.
    did subpath /dev/rdsk/c2t3d1s2 created for instance 13.
    did subpath /dev/rdsk/c2t3d2s2 created for instance 14.
    did subpath /dev/rdsk/c2t3d3s2 created for instance 15.
    did subpath /dev/rdsk/c2t3d4s2 created for instance 16.
    did subpath /dev/rdsk/c2t3d5s2 created for instance 17.
    did subpath /dev/rdsk/c2t3d6s2 created for instance 18.
    did subpath /dev/rdsk/c2t3d7s2 created for instance 19.
    did instance 20 created.
    did subpath n20-1-sup:/dev/rdsk/c0t6d0 created for instance 20.
    did instance 21 created.
    did subpath n20-1-sup:/dev/rdsk/c3t0d0 created for instance 21.
    did instance 22 created.
    did subpath n20-1-sup:/dev/rdsk/c3t1d0 created for instance 22.
    Configuring DID devices
    t_optmgmt: System error: Cannot assign requested address
    obtaining access to all attached disks
    n20-1-sup console login:

  • Init context node during runtime

    Hi together,
    i have a question concerning initialization of a context node during runtime.
    I designed my context like
                       Parent
    Child1          Child2         Child3
    The parent node is the only one where the attribute boldInitialization Lead Selectionbold s marked.
    But now, its not possible to bind data to the child nodes, because they not existing during runtime.
    Now my question. Which method is the best to init these child nodes when data are ready for them?
    Regards,
    Anton

    Hi Abhi,
    problem is, that the supply function are executed at the first time the context nodes are used. In my web dynpro application ist that during initializing the view.
    So the supply functions are called at a moment where no data are available for them, because the tree view, to which they are binded, is also loaded at init method.
    So in the supply methods are no data bind to the nodes and the application didn`t create them.
    And when i want to fill data to the nodes they didn`t exist.
    Regards,
    Anton

  • Can't start EM after adding node to cluster

    Hi, I don't know if i choose the right forum. I have a problem with OEM after adding node to the cluster: It gives me an error:
    [oracle@nodedc3 bin]$ emctl start dbconsole
    Can't do setuid (cannot exec sperl)I think i can be a permissions issue like it was in my second thread. Thanks

    Hi, i have this package installed:
    [root@nodedc3 ~]# yum install perl-suidperl
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.linuxwerk.com
    * extras: ftp.plusline.de
    * updates: mirror.optimate-server.de
    Setting up Install Process
    Package 4:perl-suidperl-5.8.8-40.el5_9.x86_64 already installed and latest version
    Nothing to doOEM on other nodes works perfectlly. Thanks

  • Adding nodes to cluster in 10g r2 10.1.0.3

    I apologize if this is a repeat but my browser crashed before I could watch my post. I am asking a hypothetical question regarding adding nodes to the cluster. I am trying to get a feel for how much risk is involved in the operation and if there is any chance we could corrupt the current configuration?
    I was reading the article from Murali Vallath and notice that he made it a point to say that you should make a full cold backup before you perfrom step 6...
    Step 6: Add New Instance(s)
    DBCA has all the required options to add additional instances to the cluster.
    Requirements:
    Make a full cold backup of the database before commencing the upgrade process.
    Is there risk of corrupting the database during this step?
    We are running 10.2.0.3 on linux Itanium on RHEL4 and we are running a 2 node cluster. We are using OCFS2 for the OCR and Voting devices and we are using ASM and also ASMLIB for our shared storage option. We also are running EMC Powerpath on our hosts.
    Any tips or heads up would be greatly appreciated.
    Thanks.

    Duplicate post :- adding nodes to cluster in 10g r2 10.1.0.3

  • Dynamically adding nodes without a TreeModel

    Hi,
    I am adding nodes dynamically after the tree is visible. It's adding
    the first child node I create and it is showing it. When I add a second
    node, it doesn't show the that. And when I debug the code I found that
    the node was added to the tree but it is not visible. I tried by
    expanding and collapsing the tree manually, but it didn't work.
    I am not using any TreeModel as such. So, how do I make the change
    visible??? I am even calling the repaint() method of JTree, what could
    be the problem and is it better if I create my own TreeModel class and
    use it???
    Thank you,
    Srikanth...

    you can post the code for start.
    try to get the model and fire
    fireTreeStructureChanged(that will collapse all)
    or try to fire fireTreeNodesInserted
    for my point of view
    implamenting the TreeModel is always better and simple

  • Not able to start DB after adding node

    Hi all,
    I have successfully added node RAC3 in 11gR2 RAC in RHEL5 Platfiorm
    while starting DB I am getting the below error
    [root@rac1 bin]# ./srvctl status database -d dev
    Instance dev1 is not running on node rac1
    Instance dev2 is not running on node rac2
    Instance dev3 is not running on node rac3
    [root@rac1 bin]# ./srvctl start database -d dev
    PRCR-1079 : Failed to start resource ora.dev.db
    ORA-29760: instance_number parameter not specified
    CRS-2674: Start of 'ora.dev.db' on 'rac3' failed
    CRS-2632: There are no more servers to try to place resource 'ora.dev.db' on that would satisfy its placement policy
    [root@rac1 bin]# ./srvctl status database -d dev
    Instance dev1 is running on node rac1
    Instance dev2 is running on node rac2
    Instance dev3 is not running on node rac3
    [root@rac1 bin]#
    [root@rac1 bin]# ./srvctl start database -d dev
    PRCR-1079 : Failed to start resource ora.dev.db
    ORA-29760: instance_number parameter not specified
    CRS-2674: Start of 'ora.dev.db' on 'rac3' failed
    CRS-2632: There are no more servers to try to place resource 'ora.dev.db' on that would satisfy its placement policyPlease suggest me...

    I m getting the below :
    [grid@rac3 ~]$ srvctl start database -d dev
    PRCR-1079 : Failed to start resource ora.dev.db
    ORA-01078: failure in processing system parameters
    CRS-2674: Start of 'ora.dev.db' on 'rac2' failed
    ORA-01078: failure in processing system parameters
    CRS-2674: Start of 'ora.dev.db' on 'rac3' failed
    ORA-01078: failure in processing system parameters
    CRS-2674: Start of 'ora.dev.db' on 'rac1' failed
    CRS-2632: There are no more servers to try to place resource 'ora.dev.db' on that would satisfy its placement policy
    [grid@rac3 ~]$ srvctl status database -d dev
    Instance dev1 is not running on node rac1
    Instance dev2 is not running on node rac2
    Instance dev3 is not running on node rac3
    [grid@rac3 ~]$ Parameter file
    [oracle@rac3 dbs]$ cat init_dev2.ora
    dev3.__db_cache_size=272629760
    dev2.__db_cache_size=272629760
    dev1.__db_cache_size=281018368
    dev3.__java_pool_size=4194304
    dev2.__java_pool_size=4194304
    dev1.__java_pool_size=4194304
    dev3.__large_pool_size=4194304
    dev2.__large_pool_size=4194304
    dev1.__large_pool_size=4194304
    dev1.__oracle_base='/raczone/11.2.0'#ORACLE_BASE set from environment
    dev2.__oracle_base='/raczone/11.2.0'#ORACLE_BASE set from environment
    dev3.__oracle_base='/raczone/11.2.0'#ORACLE_BASE set from environment
    dev3.__pga_aggregate_target=343932928
    dev2.__pga_aggregate_target=343932928
    dev1.__pga_aggregate_target=343932928
    dev3.__sga_target=507510784
    dev2.__sga_target=507510784
    dev1.__sga_target=507510784
    dev3.__shared_io_pool_size=0
    dev2.__shared_io_pool_size=0
    dev1.__shared_io_pool_size=0
    dev3.__shared_pool_size=218103808
    dev2.__shared_pool_size=218103808
    dev1.__shared_pool_size=209715200
    dev3.__streams_pool_size=0
    dev2.__streams_pool_size=0
    dev1.__streams_pool_size=0
    *.audit_file_dest='/raczone/11.2.0/admin/dev/adump'
    *.audit_trail='db'
    *.cluster_database=true
    *.compatible='11.2.0.0.0'
    *.control_files='+DATA1/dev/controlfile/current.260.786380999','+FRA/dev/controlfile/current.256.786380999'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA1'
    *.db_domain=''
    *.db_name='dev'
    *.db_recovery_file_dest='+FRA'
    *.db_recovery_file_dest_size=4039114752
    *.diagnostic_dest='/raczone/11.2.0'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=devXDB)'
    dev1.instance_number=1
    dev2.instance_number=2
    dev3.instance_number=3
    *.log_archive_format='%t_%s_%r.dbf'
    *.memory_target=848297984
    *.open_cursors=300
    *.processes=150
    *.remote_listener='scan-cluster.raczone.com:1521'
    *.remote_login_passwordfile='exclusive'
    dev3.thread=3
    dev1.thread=1
    dev2.thread=1
    dev3.undo_tablespace='UNDOTBS3'
    dev2.undo_tablespace='UNDOTBS2'
    dev1.undo_tablespace='UNDOTBS1'
    [oracle@rac3 dbs]$

  • Copying nodes at runtime

    Hi
    I'd like to keep a copy of a node at runtime and store it in a table for later overwriting of the current node if required.
    Is this possible?
    Cheers
    Ian

    Hi Sravan
    Originally I was thinking of taking an actual copy of node as you can in WDJ but after looking at the methods available, I'm not sure this is possible.  I may have to just store the data and then bind it.
    Unless I use a combination of both and store the node in my internal table and then extact the data when required to then bind as a table.
    Cheers
    Ian

  • Problems adding nodes to JTree on runtime

    I have added a popup menu to my tree, and would like to be able to add new nodes by right clicking, so I have this code in my event listener:
    void newFolderFolderPopup_mousePressed(MouseEvent e) {
      System.out.println("WEEEEEEEEEEEEEEEEEEEEEEEE");
      FolderDO folder = new FolderDO("New Folder");
      DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(folder);
      TreePath treePath = foldersTree.getSelectionPath();
      DefaultMutableTreeNode slectedNode = (DefaultMutableTreeNode)treePath.getLastPathComponent();
      treeModel.insertNodeInto(newNode,slectedNode,slectedNode.getChildCount());
      foldersTree.scrollPathToVisible(new TreePath(newNode.getPath()));
    }If the slected node is a leaf, it works just fine every time I do it. But if the selected node has children and it has once been expanded, the new node is not displayed (but something strange is happening to the tree). If however the selected node has children and has not been expanded it works fine...???
    Any ideas?

    I have added a popup menu to my tree, and would like to be able to add new nodes by right clicking, so I have this code in my event listener:
    void newFolderFolderPopup_mousePressed(MouseEvent e) {
      System.out.println("WEEEEEEEEEEEEEEEEEEEEEEEE");
      FolderDO folder = new FolderDO("New Folder");
      DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(folder);
      TreePath treePath = foldersTree.getSelectionPath();
      DefaultMutableTreeNode slectedNode = (DefaultMutableTreeNode)treePath.getLastPathComponent();
      treeModel.insertNodeInto(newNode,slectedNode,slectedNode.getChildCount());
      foldersTree.scrollPathToVisible(new TreePath(newNode.getPath()));
    }If the slected node is a leaf, it works just fine every time I do it. But if the selected node has children and it has once been expanded, the new node is not displayed (but something strange is happening to the tree). If however the selected node has children and has not been expanded it works fine...???
    Any ideas?

  • Error While Adding Node on RAC

    Hi Friends,
    Environment:SUN Solris 10
    Cluster Version:10.2.0.3
    database Version:10.2.0.3.0
    Due to H/W failure one of our RAC node(prod1) got formatted.
    We have deleted the node(prod1) from RAC successfully.
    Following the below link..
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/adddelunix.htm#BEIBBADI
    But When i am again trying to add the node i am facing the below issue..
    while doing Adding an Oracle Clusterware Home to a New Node Using OUI in Interactive Mode
    1.Ensure that you have successfully installed Oracle Clusterware on at least one node in your cluster environment. To use these procedures as shown, your $CRS_HOME environment variable must identify your successfully installed Oracle Clusterware home.
    2.Go to CRS_home/oui/bin and run the addNode.sh script.
    3.The Oracle Universal Installer (OUI) displays the Node Selection Page on which you should select the node or nodes that you want to add and click Next.
    4.Verify the entries that OUI displays on the Summary Page and click Next.
    5.Run the rootaddNode.sh script from the CRS_home/install/ directory on the node from which you are running OUI.
    6.Run the orainstRoot.sh script on the new node if OUI prompts you to do so.when i am doing the step 6 on the new node, i am facing the below error..
    bash-3.00# /software/oracle/oraInventory/orainstRoot.sh
    Changing permissions of /software/oracle/oraInventory to 770.
    Changing groupname of /software/oracle/oraInventory to oinstall.
    The execution of the script is complete
    bash-3.00# /software/oracle/product/crs/root.sh
    WARNING: directory '/software/oracle/product' is not owned by root
    WARNING: directory '/software/oracle' is not owned by root
    "/opt/oracle/voting/voting1" does not exist. Create it before proceeding.
    Make sure that this file is shared across cluster nodes.Please share your views and suggest what to do in this situation...
    Regards
    Umesh
    Edited by: Umesh Gupta on Aug 22, 2011 12:43 PM

    Helios- Gunes EROL wrote:
    Hi;
    Please check your voting disk
    See:
    http://www.oracledba.org/11g/rac/11g_RAC_Admin_Utilities.html#Viewing_Votedisk_Information:
    Regard
    HeliosHere are the results..
    $./crsctl query css votedisk
    0.     0    /opt/oracle/voting/voting1
    located 1 votedisk(s).
    $ocrcheck
    Status of Oracle Cluster Registry is as follows :
             Version                  :          2
             Total space (kbytes)     :     301852
             Used space (kbytes)      :       3016
             Available space (kbytes) :     298836
             ID                       :   66623280
             Device/File Name         : /opt/oracle/ocr/ocr1
                                        Device/File integrity check succeeded
                                        Device/File not configured
             Cluster registry integrity check succeededbut from this i could not identify which raw disk is used as Voting and OCR
    Regards
    Umesh

  • Error in installing Oracle Software while adding node in RAC

    Hi All
    Oracle Version: 11.1.0.6.0
    Linux
    In the RAC environment, I am in the process of adding a node to the existing rac environment.
    I have succssfully installed cluster software in the new node. all gsd, ons and vip services are running perfectly for new node in the existing and new nodes.
    Next step, I started installing oracle software by executing the script $ORACLE_HOME/oui/bin/addNode.sh.
    Here after specifying the the new node information (public host, private host and vip details) and when I pressed next,
    OUI is giving following error - "Error occured while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured".
    I ran olsnodes -n, it is giving proper node number.
    Can somebody help me in identifying the problem and solution.
    Thanks

    I am hitting the same issue, my problem was when I added the new node initially it fails because of the hint8-priv1. I followed the link below to remove and cleanup the last install. olsnode show only my existing nodes NOT including the new node.
    http://download-west.oracle.com/docs/cd/B12037_01/rac.101/b10765/adddel.htm
    then I ran
    ./addNode.sh -silent CLUSTER_NEW_NODES={hint-8} CLUSTER_NEW_PRIVATE_NODE_NAMES={hint8-priv1} CLUSTER_NEW_VIRTUAL_HOSTNAMES={hint8-vip}
    I am getting this when use command line:
    Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured.
    SEVERE:Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured.
    also run addNode.sh via GUI, the new node name still listed and can't continue.
    BTW, adding new node should support online, shutdown is not required

  • Adding nodes to specific positions of JTree

    Hi guys, I have a JTree that basically represents a file explorer with all the folders and files in a drive. I want to automatically refresh the tree if there are any new files added to that drive. What my idea was to:
    1. Set a timer to check the list of files in that directory every 1 second
    2. If there are any changes, I would obtain the path of the file
    3. Create a new DefaultMutableTreeNode for that file
    4. Add this node into the JTree.
    The problem I have right now is that all the debug checks are printing the right stuffs. However, JTree doesn't add the new node if files are placed in a sub folder, or a folder is copied into the directory. The code is not ready to detect file deletion yet.
    Here is my code:
    public static void refresh(final File dir, final JTree fileTree)
         //Start the timer
         final Timer timer = new Timer(1000, new ActionListener()
              //Get a list of the files
              List<File> listA = new ArrayList<File>(listAllFiles(null, dir, 2));
              public void actionPerformed(ActionEvent ae)
                   int c = 0;
                   List<File> listB = new ArrayList<File>(listAllFiles(null, dir, 2));
                   //Files added
                   if (listA.size() < listB.size())
                        File[] files = new File[listB.size() - listA.size()];
                        //Find out which file is it
                        for (int i = 0; i < listB.size(); i++)
                             //File found
                             if (!listA.contains(listB.get(i)))
                                  //Get all the new files into an array
                                  files[c] = (File) listB.get(i);
                                  c++;
                        //Update the list first
                        listA = listB;
                        //Update each file into the file tree
                        for (int i = 0; i < files.length; i++)
                             //Remove user.dir path
                             String filePath = files.getAbsolutePath();
                             String userDir = System.getProperty("user.dir");
                             filePath = filePath.substring(userDir.length() + 1, filePath.length());
                             //Convert path separator to / for splitting
                             if (System.getProperty("os.name").contains("Windows"))
                                  filePath = filePath.replaceAll("\\\\", "/");
                             //Convert it to tree path
                             Object root = ((DefaultTreeModel)fileTree.getModel()).getRoot();
                             String str[] = filePath.split("/");
                             Object obj[] = new Object[str.length];
                             obj[0] = root;
                             for (int j = 0; j < str.length - 1; j++)
                                  obj[j + 1] = new DefaultMutableTreeNode(str[j]);
                             TreePath path = new TreePath(obj);
                             //New node to be added into the fileTree
                             DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(files[i].getName());
                             DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode)path.getLastPathComponent();
                             ((DefaultTreeModel)fileTree.getModel()).insertNodeInto(newNode, parentNode, parentNode.getChildCount());
         timer.start();

    bumps..

  • Adding Node and Deleting Node in Tree

    Hi,
    I am building a tree dynamically.
    I have a class which has set of properties.I am constructing as follows.
    public class TreeNode
            public function TreeNode()
         public var friendlyName:String;
         public var icon:Class;
         [Bindable]
         public var children : Array;
         public var logicalName:String;
         public var neType:String;
         [Bindable]
         public var arrayColl:ArrayCollection = new ArrayCollection();
         public function addChild(node:TopoTreeNode):void
             if (this.children == null){
                 this.children = new Array();
             children.push(node);
             arrayColl.source = children;    
         public function clearChild():void
             children = null;
         public function removeChild(arrayIndex:int):void
             if(children != null)
             children.splice(arrayIndex,1);
             arrayColl.source = children;
    Then I set the dataProvider as follows where treeModel is object that is injected.
    <mx:Tree id="tree"
                 dataProvider="{treeModel.rootNode.arrayColl}"
                 labelFunction="{treeModel.getDisplayName}"
                 iconFunction="{treeModel.setIcon}"
                 width="100%"
                 height="95%"
                 rowCount="6"
                 showScrollTips="true" showDataTips="true" dataTipFunction="{treeModel.getDisplayName}" allowMultipleSelection="true" click="treeModel.displayItemInWorkingView(tree.selectedItems);"/>
    TreeModel has the following variables
            [Bindable]
            public var rootNode:TopoTreeNode = new TopoTreeNode(); // this is the rootNode.
            [Bindable]
            public var rootChild:TopoTreeNode = new TopoTreeNode(); // this is the child of the root node..
    While constructing the tree, it is working fine.
    But after this when i try to add a node (ie adding a node as child to rootNode), it is getting added to my rootNode object but it is not getting displayed
    When i click on the items in the tree or click on the drop menu in the tree it is getting displayed.
    But i want it to be shown in the tree without clicking anything.
    Could anyone help on this?
    Regards
    Srini

    Off the top of my head, you need to call a refresh of some sort, or executeBindings()... something like that.
    You will also need to start at the root node and expand any parent branches down to the new leaf.
    If you are still having trouble after looking into that, I can try and dig through some of old code and find my solution.

Maybe you are looking for

  • Safari cannot open after reinstalling lion, pls help !

    Dear Friends, I've updated to latest version of Safari the day of mountain Lion release ( but i'm using Lion), and yesterday I've done clean install of Lion and restore all files using time machine, all went well except that now Safari doesn't open a

  • Windows 7 Home Premium 64-bit Download

    Does anyone have a stable Windows 7 Home Premium 64-bit download link that works with Rufus or UUI because all of the stable download links I have found don't work with rufus or UUI and they have an iso extraction error message on rufus and UUI just

  • Get rid of the "P" when to close to mic

    I am nto sure how else to explain this but you know when someone holds their mouth too close to the mic and when they pronounce anyting with a "P" in it, the sound spikes and mkaes a loud POP? How do you get rid of that? I have tried "remove pop's an

  • Post-Install Error on EBS 12 - Login Page Error RW-50016 on Linux

    Hi All, Post-Install Error on EBS 12 - Login Page Error RW-50016 on Linux Thanks in advance.

  • Can I force middle click to exclusively activate auto scrolling only?

    I don't want the middle mouse button to do anything except auto scroll. I don't want it to paste, open new tabs/windows, or close tabs/windows ever no matter where i click. When trying to auto scroll over a link (ex. wallpaper galleries), firefox ope