New node added havingnamespace xmlns=""

Hi,
I am using java embedding to add a node to XML.
I am using the getDocumentOwner method on root element to get the Document and then using the createElement method to create the required node.
In the final output i see the node is getting added but it has the xmlns="" namespace. Is there anyway i can avoid this as rest of the nodes done have it.
Here is part of xml :
The last IDs node is added using java code. But it has <IDs xmlns=""> namespace which is not consistent with other nodes, so i would like to get rid of it.
Please advise.
<IDs>
<Type><Text>SSN</Text></Type>
<ID>3331-122-22</ID>
<IssuedBy>
<ActorID>2.16.840.1.113883.4.1</ActorID>
</IssuedBy>
<Source>
<Actor>
<ActorID>111.222.333.444.555.666</ActorID>
<ActorRole>
<Text>PUBLISHER</Text>
</ActorRole>
</Actor>
</Source>
</IDs>
<IDs>
<Type><Text>MRNNUMBER</Text></Type>
<ID>333112222</ID>
<IssuedBy>
<ActorID>2.16.840.1.113883.4.1</ActorID>
</IssuedBy>
<Source>
<Actor>
<ActorID>111.222.333.444.555.666</ActorID>
<ActorRole>
<Text>PUBLISHER</Text>
</ActorRole>
</Actor>
</Source>
</IDs>
<IDs xmlns=""><Type><Text>MPINUMBER</Text></Type>
<ID>513</ID></IDs></Actor>

Yes. I am using the createElement(String pName).
This is in the java embedded code. One more thing is , I am getting the Document by using the getOwnerDocument() method.
Here are the steps in my java code.
1. Get the root element using the getVariableData() method.
2. Get the Document by using the getOwnerDocument() method.
3. Create the node using doc.createElement(String nodename).
4. Add the node using appendChild method.
May be this will give clear idea. I can send the code if needed.
thanks.

Similar Messages

  • Schema evolution success! But new node is empty in XMLTYPE column?

    Hi everyone!
    Quick question. I am working through the XML Schema evolution process and was able to use inplaceevolve successfully. I can see the new node added to my schema under user_xml_schemas. However, when I try to upload an XML document with that new node, it shows up in the stored XML as empty?
    Here are some more details...
    I added the assistant nickname element
    <element name="spousePartner" nillable="true" minOccurs="0" type="xsd:string" />
    <element name="title" nillable="true" minOccurs="0" type="xsd:string" />
    *<element name="assistantNickName" nillable="true" minOccurs="0" type="xsd:string" />*
    and I see it was added in my registered schema.
    I then add the node to my test XML and in my program's console I see the node being parsed...
    physicalStreet>10 Green St</physicalStreet>
    <salutation>Ms.</salutation>
    <title>CEO</title>
    *<assistantNickName>Big Bird</assistantNickName>*
    </contact>
    However, when I look at the stored XML in my XMLTYPE column, I see an empty node...
    <physicalStreet>10 Green St</physicalStreet>
    <salutation>Ms.</salutation>
    <title>CEO</title>
    *<assistantNickName/>*
    </contact>
    What am I missing?
    Any help is greatly appreciated - thank you much!

    Hi,
    Are you using BINARY XML?
    I've just tested the following with object-relational storage (not binary) :
    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    Connected as dev
    SQL> var schema1 varchar2(4000);
    SQL> var schema2 varchar2(4000);
    SQL> BEGIN
      2   :schema1 := '<?xml version="1.0" encoding="UTF-8"?>
      3  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
      4             xmlns:xdb="http://xmlns.oracle.com/xdb">
      5   <xs:element name="root" xdb:SQLName="root">
      6    <xs:complexType xdb:SQLType="ROOT_TYPE">
      7     <xs:sequence>
      8      <xs:element name="item" maxOccurs="unbounded" xdb:SQLCollType="ITEM_COLL">
      9       <xs:complexType xdb:SQLType="ITEM_TYPE">
    10        <xs:sequence>
    11         <xs:element name="Code" type="xs:string"/>
    12         <xs:element name="Val" type="xs:integer"/>
    13        </xs:sequence>
    14       </xs:complexType>
    15      </xs:element>
    16     </xs:sequence>
    17    </xs:complexType>
    18   </xs:element>
    19  </xs:schema>'
    20  ;
    21 
    22  :schema2 := '<?xml version="1.0" encoding="UTF-8"?>
    23  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    24             xmlns:xdb="http://xmlns.oracle.com/xdb">
    25   <xs:element name="root" xdb:SQLName="root">
    26    <xs:complexType xdb:SQLType="ROOT_TYPE">
    27     <xs:sequence>
    28      <xs:element name="item" maxOccurs="unbounded" xdb:SQLCollType="ITEM_COLL">
    29       <xs:complexType xdb:SQLType="ITEM_TYPE">
    30        <xs:sequence>
    31         <xs:element name="Code" type="xs:string"/>
    32         <xs:element name="Val" type="xs:integer"/>
    33         <xs:element name="Comm" type="xs:string" minOccurs="0"/>
    34        </xs:sequence>
    35       </xs:complexType>
    36      </xs:element>
    37     </xs:sequence>
    38    </xs:complexType>
    39   </xs:element>
    40  </xs:schema>'
    41  ;
    42  END;
    43  /
    PL/SQL procedure successfully completed
    SQL> BEGIN
      2   dbms_xmlschema.registerSchema(
      3    schemaURL => 'schema1.xsd',
      4    schemaDoc => :schema1,
      5    local => true,
      6    genTypes => true,
      7    genTables => false
      8   );
      9  END;
    10  /
    PL/SQL procedure successfully completed
    SQL> CREATE TABLE test_evolve OF XMLTYPE
      2  XMLTYPE STORE AS OBJECT RELATIONAL
      3  XMLSCHEMA "schema1.xsd" ELEMENT "root"
      4  ;
    Table created
    SQL> INSERT INTO test_evolve
      2  VALUES(
      3   xmltype('<root>
      4   <item><Code>A</Code><Val>1</Val></item>
      5   <item><Code>B</Code><Val>2</Val></item>
      6   <item><Code>C</Code><Val>3</Val></item>
      7  </root>')
      8  );
    1 row inserted
    SQL> COMMIT;
    Commit complete
    SQL> DECLARE
      2 
      3   xdiff xmltype;
      4 
      5  BEGIN
      6 
      7   select xmldiff(
      8           xmltype(:schema1),
      9           xmltype(:schema2)
    10          )
    11   into xdiff
    12   from dual;
    13 
    14   dbms_xmlschema.InPlaceEvolve(
    15    schemaURL => 'schema1.xsd',
    16    diffXML => xdiff,
    17    flags => dbms_xmlschema.INPLACE_EVOLVE
    18   );
    19 
    20  END;
    21  /
    PL/SQL procedure successfully completed
    SQL> INSERT INTO test_evolve
      2  VALUES(
      3   xmltype('<root>
      4   <item><Code>A</Code><Val>1</Val><Comm>This a comment</Comm></item>
      5   <item><Code>B</Code><Val>2</Val></item>
      6   <item><Code>C</Code><Val>3</Val></item>
      7  </root>')
      8  );
    1 row inserted
    SQL> SELECT t.object_value.getClobVal()
      2  FROM test_evolve t
      3  WHERE xmlexists('/root/item/Comm' passing t.object_value);
    T.OBJECT_VALUE.GETCLOBVAL()
    <root>
      <item>
        <Code>A</Code>
        <Val>1</Val>
        <Comm>This a comment</Comm>
      </item>
      <item>
        <Code>B</Code>
        <Val>2</Val>
      </item>
      <item>
        <Code>C</Code>
        <Val>3</Val>
      </item>
    </root>
    The new element has been added correctly.

  • Adding new node to the Clusterware fails with the root.sh script.

    Dear All,
    I had successfully added third node to the existing 2 node cluster. After adding new node I need to run the root.sh scripts, but it was faling with the below error.
    Please help me with the below issue:
    Instantiating scripts for add node (Monday, April 8, 2013 3:23:14 PM EDT)
    . 1% Done.
    Instantiation of add node scripts complete
    Copying to remote nodes (Monday, April 8, 2013 3:23:16 PM EDT)
    ............................................................................................... 96% Done.
    Home copied to new nodes
    Saving inventory on nodes (Monday, April 8, 2013 3:31:40 PM EDT)
    . 100% Done.
    Save inventory complete
    WARNING:
    The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
    /u01/app/11.2.0/grid/root.sh #On nodes svphxwgdbprd06
    To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node
    The Cluster Node Addition of /u01/app/11.2.0/grid was successful.
    Root.SH Script Log:
    [root@svphxwgdbprd06 ~]# /u01/app/11.2.0/grid/root.sh
    Performing root user operation for Oracle 11g
    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]:
    The contents of "dbhome" have not changed. No need to overwrite.
    The contents of "oraenv" have not changed. No need to overwrite.
    The contents of "coraenv" have not changed. No need to overwrite.
    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 script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    User ignored Prerequisites during installation
    OLR initialization - successful
    Adding Clusterware entries to inittab
    CRS-2672: Attempting to start 'ora.mdnsd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.mdnsd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.gpnpd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'svphxwgdbprd06'
    CRS-2672: Attempting to start 'ora.gipcd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.cssdmonitor' on 'svphxwgdbprd06' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'svphxwgdbprd06'
    CRS-2672: Attempting to start 'ora.diskmon' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.diskmon' on 'svphxwgdbprd06' succeeded
    CRS-2676: Start of 'ora.cssd' on 'svphxwgdbprd06' succeeded
    ASM created and started successfully.
    Disk Group DATA created successfully.
    clscfg: -install mode specified
    clscfg: EXISTING configuration version 5 detected.
    clscfg: version 5 is 11g Release 2.
    Successfully accumulated necessary OCR keys.
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Failed to initialize Oracle Cluster Registry for cluster, rc 105
    Oracle Grid Infrastructure Repository configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6818.

    The document references posted already are very good ones. However, I would say that on personal experience (on Solaris and 10gR2) that the addnode tools gave me nothing but problems. Luckily, I was able to build a parallel cluster (with three nodes) on other hardware and then move the databases across via DataGuard. It was quicker and cleaner (and easier!) that way...
    Good luck!

  • Adding new Node in 10gR2(10.2.0.4) in AIX

    Hi Experts,
    i need your guidence actually we are planning to add new node in our exsisting two node RAC. i need a dacument or refrence links that can guide me in adding new node.
    your help will be very helpfull for me.thanx in advance
    regards,

    Hi,
    you can drive some tests using following docs:
    http://www.smaliz.com/notes/10g-AddNode-RAC-ASM-AIX.pdf
    http://blogs.oracle.com/AlejandroVargas/gems/RAC10gR2AddNode.pdf
    Or refer to the RAC admin books that you can find on http://tahiti.oracle.com/
    HTH,
    Thierry

  • Error adding new node to treetable automatically

    We implemented a page with a treetable. We don't use a ViewObject/Query to build the tree but a pojo method, because we have a complex data model to display on the tree (dynamic tree level, multiple object types on one tree level, etc.). So we created a pojo method to build the tree -> created a data control for this method/class and dragged the method onto the tree component.
    In a second step we impemented several buttons on the page to delete nodes, set values, change style, etc. which works fine.
    We got stuck extending the page for a function to add a new node. When the tree is displayed for the first time we can add new nodes on every existing node. Adding a node to a new node only works if we decollapse the new node first. We get an error if we create a new node A and then try to add another node on the new node A without decollapsing node A in advance.
    As follows the code and the error stack. Any ideas?
        public void btnAddNode(ActionEvent actionEvent) {
            RichTreeTable tree = (RichTreeTable) this.getTt1();
            RowIterator ri = this.getSelectedNodeRowIterator(tree);
            Key selectedNodeKey = this.getSelectedNodeRowKey(tree);
            if (ri != null && selectedNodeKey != null) {
               Row last = ri.last();
               Key lastRowKey = last.getKey();
               // if the select row is not the last row in the row iterator...
               Row[] found = ri.findByKey(selectedNodeKey, 1);
               if (found != null && found.length == 1) {
                 Row foundRow = found[0];
                 this.insertRow(foundRow, "Modified", "31.06.2013");
             AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
             adfFacesContext.addPartialTarget(tree);        
        private Row insertRow(Row targetRow, String label, String value) {
            RowSet children = (RowSet) targetRow.getAttribute("children");
            Row newRow = children.createRow();
            newRow.setAttribute("nodeLabel", label);
            newRow.setAttribute("nodeValue", value);
            children.insertRow(newRow);
            return newRow;
    <AdfcExceptionHandler> <handleException> ADFc: Bei der Verarbeitung einer Exception hat der Exception Handler der Anwendung eine neue Exception ausgelöst.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.bean.DCDataVO.initFKs(DCDataVO.java:625)
    at oracle.adf.model.bean.DCDataVO.createInstance(DCDataVO.java:596)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:2058)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2544)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2589)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2566)
    at com.euroscript.tc.view.backing.TreeTable.insertRow(TreeTable.java:369)
    at com.euroscript.tc.view.backing.TreeTable.btnAddNode(TreeTable.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    ... 44 more
    <AdfcExceptionHandler> <handleException> ADFc: Beim Versuch der Verarbeitung dieser Exception war der Exception Handler der Anwendung nicht erfolgreich.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.bean.DCDataVO.initFKs(DCDataVO.java:625)
    at oracle.adf.model.bean.DCDataVO.createInstance(DCDataVO.java:596)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:2058)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2544)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2589)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2566)
    at com.euroscript.tc.view.backing.TreeTable.insertRow(TreeTable.java:369)
    at com.euroscript.tc.view.backing.TreeTable.btnAddNode(TreeTable.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    ... 44 more
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces-Gültigkeitsdauer empfängt nicht behandelte Exceptions in Phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.bean.DCDataVO.initFKs(DCDataVO.java:625)
    at oracle.adf.model.bean.DCDataVO.createInstance(DCDataVO.java:596)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:2058)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2544)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2589)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2566)
    at com.euroscript.tc.view.backing.TreeTable.insertRow(TreeTable.java:369)
    at com.euroscript.tc.view.backing.TreeTable.btnAddNode(TreeTable.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    ... 44 more
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server-Exception während PPR, #1
    javax.servlet.ServletException
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.bean.DCDataVO.initFKs(DCDataVO.java:625)
    at oracle.adf.model.bean.DCDataVO.createInstance(DCDataVO.java:596)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:2058)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2544)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2589)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2566)
    at com.euroscript.tc.view.backing.TreeTable.insertRow(TreeTable.java:369)
    at com.euroscript.tc.view.backing.TreeTable.btnAddNode(TreeTable.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    ... 36 more

    You can have machines different in hardware... but they have to use the same software.

  • Manual of adding the new node on RAC with ASM

    Hello everbody
    Someone have the manual of the adding a new node on RAC with ASM for Solaris ?
    regards
    Spaulonci

    Go to http://www.oracle.com/technology/documentation/index.html, select your unknown database version and search for a manual named 'Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide'.
    Werner

  • Error when adding a new node to RAC 10g

    Hi all,
    I have a RAC 10g environment test in Linux Red Hat Umbreakble 5 with two nodes. This RAC is fine on 2 nodes.
    I want to add a new node (rac3) of the following way:
    - The node 1 (rac1) is started and the instance ORCL1 is online.
    - The node 2 (rac2) is offline. i.e the machine is off.
    - The node 3 (rac3). The machine is on and already configured
    So that when I execute the CRS_home\oui\bin\addnode.bat on node 1 and put the information of node 3 (Public node name, Private node name, Virtual host name) and press next I get the following message:
    OUI-35000: Fatal cluster error encountered (PRKC-1071 Nodes rac2 did not respond to ping in 30 seconds) - Sure: The machine is off;
    My question is: Can´t I add a new node on RAC if a node is off ?
    Anybody can help me.
    Thanks.
    (Wander Brazil)

    Interesting question.
    You might have better luck getting an answer if you ask where people discuss RAC, instead of asking where people report documentation issues. (Go to http://forums.oracle.com and scroll down to 'Grid Computing' to see RAC forums.)

  • What will happen if adding a new node with current cluster, while new node's CPU is slower quality?

    Hello,
    Say, I have a 3 nodes RAC, I want to add a new node to current cluster... while the new node's CPUs are slower than the others.. what will happen?
    (my concern is : can I add this new node successfully? if yes, can it anyway improve the whole cluster performance or not?)
    Thank you
    s9225

    Also you can refer MOS note : RAC: Frequently Asked Questions (Doc ID 220970.1)
    Can I have different servers in my Oracle RAC? Can they be from different vendors? Can they be different sizes?

  • Adding new nodes in RAC Env

    http://www.oracle.com/technology/pub/articles/vallath-nodes.htmlAs per the above link; In setp 6. Before creating database in new node using dbca do we need to down database ??
    Thanks

    No

  • Query on adding new node to existing 2 node cluster

    Hi experts
    current environment
    Oracle VM 2 Node RAC cluster
    Oracle 11G 11.2.0.3.0
    Oracle 11g rel 2 GI
    on current 2 node cluster we have GI and RAC db configured
    Nodes: vmorarac1,vmorarac2
    we shutdown vmorarac1 to clone it to vmorarac5
    on new node I have changed the hostname to vmorarac5
    In /etc/sysconfig/network-scripts/ifcfg-eth0 change ip to new ip and same for /etc/sysconfig/network-scripts/ifcfg-eth1
    152.144.199.210,152.144.199.211
    mad echanges to /etc/hosts on vmorarac1/2 for 2 new IP address assigned to vmorarac5
    152.144.199.171 vmorarac1.pbi.global.pvt vmorarac1
    192.168.2.30 vmorarac1-priv.pbi.global.pvt vmorarac1-priv
    152.144.199.184 vmorarac1-vip.pbi.global.pvt vmorarac1-vip
    152.144.199.172 vmorarac2.pbi.global.pvt vmorarac2
    192.168.2.31 vmorarac2-priv.pbi.global.pvt vmorarac2-priv
    152.144.199.185 vmorarac2-vip.pbi.global.pvt vmorarac2-vip
    152.144.199.210 vmorarac2.pbi.global.pvt vmorarac2
    192.168.2.32 vmorarac2-priv.pbi.global.pvt vmorarac2-priv
    152.144.199.211 vmorarac2-vip.pbi.global.pvt vmorarac2-vip
    152.144.199.201 vmorarac-scan.pbi.global.pvt
    Query is is that all ok to reboot the new node to reflect changes as below and change the hostname to vmorarac2
    152.144.199.210 vmorarac2.pbi.global.pvt vmorarac2
    192.168.2.32 vmorarac2-priv.pbi.global.pvt vmorarac2-priv
    152.144.199.211 vmorarac2-vip.pbi.global.pvt vmorarac2-vip
    hostname change in /etc/sysconfig/network
    please let me know
    On new node vmorarac5, there is alreay software for RAC DB and GUI cloned from vmorarac1
    addnode.sh is used to add existing node, but as part of pre-requisite configuratoin is there any config step missing
    thanks

    The only thing you want "cloned" is the base OS install... The GI home directory, the oraInventory and a whole lot of other stuff is configured at addNode time or cluster install time. I would say that proceeding with your current plans will corrupt your clusterware. You really need to STOP LISTENING to the SA's and START reading the documentation on how to add a node to a cluster. Simply changing the hostname IS NOT a supported "feature".
    Start with a CLEAN OS. Configure shared devices, networks, /etc/hosts, memory and packages.
    Follow the instructions for addNode.
    Doing this any other way has the potential to corrupt your entire cluster.

  • SQL Server Distributed Partitioning Views how to add a new node online

    We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into the scale outed db servers system without sending the servers
    down, so our users will be able to use them during the process as well.
    For example we have 4 servers with scaled out data. When we add the new empty server, the CHECKINGs for the partitioning columns should be reorganized. But during the process the partitioning views are not working.
    The High Availability, Always On or Failover Cluster approaches seem are not resolve the problems.
    So my question is how to add new node online?
    KH

    Thank you Erland for the reply.
    Yes, it's sounds as possible solution but has some not resolvable nuance in it. Let's say we copied some data from Node5 to new added Node6. Let's assume in Node5 we had data in Table1 with partitioning column's values 100,101,102,103,104,105,106.  Now
    we want to copy part of the rows with partitioning column's values 103,104,105,106 from Node5.Table1 into Node6.Table1. With this Node5 will contain less data and will work more quickly (less IO, less CPU usage etc), and the rest data will be contained on
    Node6. But because of Node5 is already in use, the Node5.Table1 contains CHECK CONSTRAINT = ParttionColumn should be from 100 up to 106. This is check for Node5. The Distributed Partitioning Views are already using the CHECKs to identify what server should
    be used to get data from.
    Now when we copied part of the Node5.Table1 rows to Node6.Table1 the views are still using the 103-106 rows from Node5.Table1 because the CHECK points there. Then we include the newest Node6.Table1 in the distributed partitioning views. OK, but we should
    set some CHECK on new Node6.Table1 which will be used by views. We can't set intersecting checking like Node5 has CHECK 100-106 and Node6 has CHECK 103-106. We also can't edit Node5 check and set it 100-102 untill the data will be removed in it. But this means
    that the data will not be available during the execution. 
    So, any ideas ?
    KH

  • Add new nodes to IDoc in IDoc-XML Schema Mapping with Java

    Hello everyone, I'm not very sure if this is the right forum but I have a problem and I haven't being able to find the answer, my scenario is as follows:
    -First of all our system characteristics: SAP ECC 6.0, SAP BASIS 700, PI BASIS 2005-1-700 and SAP APPL 600
    -We are in Mexico and we are creating our own billing documents with digital signature and a digital certificate in XML format according to SAP Note 1303712 and all derived notes.
    -Our actual schema is working fine: We generate our IDocs (one for SD and one for FI) in SAP and we send them to PI XI to be parsed by a JAVA program and then converted to XML.
    Now we have the requirement to add new nodes (I might be wrong in the term, feel free to correct me) to the IDoc, it sounds very simple but I have only experience with ABAP  and no experience with PI, also it's working only on our production landscape, so if I don't do it right it could be very dangerous.
    I have already read the following notes that might help me: 1321680 and 1318342 but their configuration is just in the aplication server and don't mention anything about PI or the Java program.
    So, if any one could provide me some kind of guide or important aspects that I should take care (like mapping, structures, etc) to enhance IDocs for this schema i would be very grateful.
    I hope this post were clear enough, if it is not also feel free to ask me to clarify or provide more information.
    Kind Regards
    Omar

    Hi Omar,
    Since the structure of the IDoc is changing (adding a new node), you would need to do the following in PI:
    1) Reimport the IDoc in ESR/IR of PI.
    2) Change the mapping/transformation logic in the mapping parser defined. If it is a Java code, you would need to reimport it in the ESR/IR. Use link below to understand more on jave mapping.
    http://wiki.sdn.sap.com/wiki/display/XI/BeginnersguidetoJavamappingusingDOMparserinSAPXI
    3) Delete the IDoc cache using transaction IDX2, after the IDoc is reimported.
    Regards,
    Sanjeev.

  • New MovieClips added to existing SWC library not available in Flash Builder

    To be as brief as possible with this...
    I have 2 swc libraries in my Flash Builder Project. One is in a "Common" project and the other one is in a MobilePlayer project. Obviously the "common" project contains UI assets that apply across the board, while the MobilePlayer version contains assets specific to that version of the application.
    Both swc files are in the respective libraries for each project we are referencing. Up until yesterday I could add new MovieClips to the "common.swc" and they would be available across the board instantly.
    Sometime yesterday I could not get new MCs added to my "common.swc" to show up in the intellisense, or become avaialble whatsoever.
    For troubleshooting I am creating a Square, turning it into a MC symbol, exported for AS with a classname of "Fubar"
    whenever I try and create a new instance of :Fubar() to anything anywhere in my applicatioin I get the Call to possibly undefined method Fubar error message. It does not show up in intellisense menus and it is NON EXISTENT.
    HOWEVER — Named movieclips within my .swc library I have already been using such as "CompanyLogo()" etc etc are STILL fully available and can be referenced from anywhere in my application. I can add a new CompanyLogo()  anywhere I want with no problem.
    As ANOTHER test, I REMOVED the movieclips CompanyLogo (and others) from my Library and re-saved the SWC.
    All of a sudden Flash Buider generates a compiler error (undefined method) for each missing referenced MC in the swc file (obviously, because they are no longer there).
    However, those named MCs still show up in intellisense menus etc etc.
    Basically what I can determine is that Flash Builder is not updating and picking up any changes to this SWC library whenever anything is added or removed from it. At some point it became "locked" in memory (for lack of a better term) and it refuses to recognize that the file has been changed.
    When I extract the catalog.xml from the SWC and read through it, I can find nodes for every single NEW mc I've created yet I cannot get them to show up in Flash Builder. I refresh, close and restart Flash Builder and have done everything I can possibly think of to get my updates to register and they refuse.
    On the other hand my "mobile.swc" updates just fine as I make changes to it. If I add a new MC to it, it is instantly available. If I take away a MC it FB instantly recognizes that it is gone.
    Am I doing something wrong here or am I correct in my assumption that for some reason FB refuses to update the contents of my "common.swc" library into memory?
    Any insight would be appreciated as I cannot find a single relevant answer in 3 hours of Google searching.

    OK,
    Now I see what is really going on. I am trying to reference MCs from my "common.swc" lib which is in a different project, and the reason they are showing up and available is because I used them in MXML files within the "common" project that are called upon and loaded before the mobile specific login screen MXML is loaded.
    I just did a quick test to see if the new button I created would be available within the "common" project and it is there, and shows up with intellisense etc etc as expected.
    When I add an instance of my new button to a MXML file being loaded before the mobile specific stuff I can then drop it into my mobile specific screens and it shows up.
    I either need to figure out how to reference MCs within a swc inside of a different project directly, or just declare them when the application first loads.

  • Using depth first traversal to add a new node to a tree with labels

    Hello,
    I'm currently trying to work my way through Java and need some advice on using and traversing trees. I've written a basic JTree program, which allows the user to add and delete nodes. Each new node is labelled in a sequential order and not dependent upon where they are added to the tree.
    Basically, what is the best way to add and delete these new nodes with labels that reflect their position in the tree in a depth-first traversal?
    ie: the new node's label will correctly reflect its position in the tree and the other labels will change to reflect this addition of a new node.
    I've searched Google and can't seem to find any appropriate examples for this case.
    My current code is as follows,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    public class BasicTreeAddDelete extends JFrame implements ActionListener
        private JTree tree;
        private DefaultTreeModel treeModel;
        private JButton addButton;
        private JButton deleteButton;
        private int newNodeSuffix = 1;
        public BasicTreeAddDelete() 
            setTitle("Basic Tree with Add and Delete Buttons");
            DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Root");
            treeModel = new DefaultTreeModel(rootNode);
            tree = new JTree(treeModel);
            JScrollPane scrollPane = new JScrollPane(tree);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            JPanel panel = new JPanel();
            addButton = new JButton("Add Node");
            addButton.addActionListener(this);
            panel.add(addButton);
            getContentPane().add(panel, BorderLayout.SOUTH);
            deleteButton = new JButton("Delete Node");
            deleteButton.addActionListener(this);
            panel.add(deleteButton);
            getContentPane().add(panel, BorderLayout.SOUTH);    
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setSize(400, 300);
            setVisible(true);
        public void actionPerformed(ActionEvent event) 
            DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
            if(event.getSource().equals(addButton))
                if (selectedNode != null)
                    // add the new node as a child of a selected node at the end
                    DefaultMutableTreeNode newNode = new DefaultMutableTreeNode("New Node" + newNodeSuffix++);
                      treeModel.insertNodeInto(newNode, selectedNode, selectedNode.getChildCount());
                      //make the node visible by scrolling to it
                    TreeNode[] totalNodes = treeModel.getPathToRoot(newNode);
                    TreePath path = new TreePath(totalNodes);
                    tree.scrollPathToVisible(path);               
            else if(event.getSource().equals(deleteButton))
                //remove the selected node, except the parent node
                removeSelectedNode();           
        public void removeSelectedNode()
            DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
            if (selectedNode != null)
                //get the parent of the selected node
                MutableTreeNode parent = (MutableTreeNode)(selectedNode.getParent());
                // if the parent is not null
                if (parent != null)
                    //remove the node from the parent
                    treeModel.removeNodeFromParent(selectedNode);
        public static void main(String[] arg) 
            BasicTreeAddDelete basicTree = new BasicTreeAddDelete();
    }      Thank you for any help.

    > Has anybody got any advice, help or know of any
    examples for this sort of problem.
    Thank you.
    Check this site: http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JTree.html

  • New Node functions in PI 7

    Hi All,
    Can anybody tell me what are the new node function(s) added in PI 7 compare to XI 3? Apart from node fucntions what are the new functions available in PI 7?
    Regards
    Faisal

    Refer PI 7.1 Blogs:
    /people/peter.gutsche/blog/2008/10/27/what146s-new-in-sap-netweaver-pi-71
    SAP NetWeaver Process Integration 7.1 - Details [original link is broken]
    New in SAP PI 7.1
    Mapping enhancements:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/a7b4355d867455e10000000a11466f/frameset.htm
    1.     Graphical variables:
    /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    2.     Function library: In lower releases, you were able to save and manage user-defined functions as part of one message mapping only. You can now create  function libraries independently of specific message mappings, and can use the functions you define in them in multiple message mappings.
    http://wiki.sdn.sap.com/wiki/display/XI/PI7.1ConceptofFunctionLibraryinProcessIntegration
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/78bd467afa345ae10000000a422035/frameset.htm 
    3.  Correcting Structural Inconsistencies
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID1636393650DB10213226047035219960End?blog=/pub/wlg/8662
    http://help.sap.com/saphelp_nwpi71/helpdata/en/07/0c13f257f94c6089894b62f3568b9d/frameset.htm
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID1636393650DB10213226047035219960End?blog=/pub/wlg/8282

Maybe you are looking for

  • Losing Network Connection

    Hi All - every time I put this iMac to sleep, it loses its Airport Connection. So if I wake it up and click on Safari, it says I have no internet connection. I then go the Airport menu and select my network zone, and it connects again. But, help says

  • Production cost for MTO in Sales Pricing

    Hi All, For Make-To-Stock items the material standard cost comes from Accounting view of material master as VPRS in Sales Pricing (provided we include that condition type). Now how do I get the production cost for Make-To-Order items in Sales Pricing

  • SMF MIDI Import Data Conflict Error

    I have a SMF MIDI file with tempo change automation that I'm trying to import into Logic Pro, but I receive the following error messages. Data Conflict while reading track 1. No tracks found Per the Logic Pro manual it says to "Open" the MIDI file in

  • Help on how to deploy a java application

    i have written my first application in java and have now to deploy it. i have used the servlet.jar, and javamail apis along with other regular ones. i wanna know whether my clients needs to have all these jar files with him or will having just the cl

  • Re: Material Text- Tag colunm

    Hi,       this is the issue regarding material master(mm02). user want to fetch the data related to the TAG column for all the materials. Ex: There are 1000's of materials only some materials are maintained with TAG column(sales text tab in the mater