Adding attribute to an existing element

hi all,
i need to add an attribute to an element present in Document. The code is something like this: -----
Element root = soapEnvelope.getDocumentElement();
Element elm = null;
Node node = null;
NodeList nodeList = root.getElementsByTagNameNS(WSConstants.+WSSE_NS+,WSConstants.+NONCE_LN+);
int length = nodeList.getLength();
if(length == 0) return soapEnvelope;
for(*int* i=0;i<length ;i++){
if( (node = nodeList.item(i)) != null && node instanceof Element)
elm = (Element)node;
if (elm.hasAttribute(SOAConstants.+ENCODING_TYPE_ATTR+)) return soapEnvelope;
elm.setAttribute(SOAConstants.+ENCODING_TYPE_ATTR+,SOAConstants.+ENCODING_TYPE_ATTR_VAL_FOR_NONCE+); //setting attribute
i'm able to set attribute, but the problem is the attribute is coming before the namespace declaration like this
<wsse:Nonce EncodingType="*http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary*" xmlns:wsse="*http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd*">40ZJZhcGSCxc7pk0IfPZ+g==</wsse:Nonce>
EncodingType is the attribute i added.
is there some way to overcome this problem and have the attribute after namespace declaration.

Hi Sunitha,
you are right - reference means using the existing InfoObjects and its master data without any changes. Template means you can change whatever you want, but you will have to load master data for the new InfoObject.
If you need to add an attribute that has master data tables with texts and so on I think you will have to create new InfoObject using template approach.
Best regards,
Björn

Similar Messages

  • Adding Attribute to an Existing Infoobject

    Hi All,
       I Had a Info object characteristic ZXXX with relavent data in one cube BCSCUBE.
    I want to reuse this Infoobject characteristic to built another Cube BPSCUBE with the same data in ZXXX and additional I want to add an attribute to this Infoobject charactersitc. How is this possible.
    if I define a new infoobject ZYYY with TEMPLATE property I m not able to get the same values in ZXXX and
    if I define a new infoobject ZYYY as REFERENCE I am not able to define the Attribute to this.
    Clarify>>ASAP
    Sunitha.

    Hi Sunitha,
    you are right - reference means using the existing InfoObjects and its master data without any changes. Template means you can change whatever you want, but you will have to load master data for the new InfoObject.
    If you need to add an attribute that has master data tables with texts and so on I think you will have to create new InfoObject using template approach.
    Best regards,
    Björn

  • [Q] htmlKona - adding attributes not specified in object model

    How do I go about adding attributes to a htmlKona object that exist in
              proprietary HTML versions, or versions beyond what is supported in Kona, if
              those add methods do not exist in the current object model?
              Most htmlKona elements extend weblogic.html.ElementWithAttributes, but the
              addAttribute(String, String) method is inexcessable.
              Any help appreciated. If this is posted to the wrong group, please point me
              in the right direction.
              Lukas
              

    I guess you need to get htmlkonapatch403Patch.jar. ElementsWithAttributes
              supports it then.
              Madhavi
              Lukas Bradley <[email protected]> wrote in message
              news:[email protected]...
              > import weblogic.html.TableElement ;
              >
              > class TableTest
              > {
              > public static void main(String args[])
              > {
              > TableElement lTable = new TableElement() ;
              > lTable.addAttribute("height", "100%") ;
              > }
              > }
              >
              > Yields:
              >
              > TableTest.java:8: Method addAttribute(java.lang.String, java.lang.String)
              > not found in class weblogic.html.TableElement.
              > lTable.addAttribute("height", "100%") ;
              > ^
              > 1 error
              >
              > While the documentation states:
              >
              > java.lang.Object
              > |
              > +----weblogic.html.HtmlElement
              > |
              > +----weblogic.html.ElementWithAttributes
              > |
              > +----weblogic.html.MultiPartElement
              > |
              > +----weblogic.html.TableElement
              >
              >
              > And ElementWithAttributes has:
              >
              > addAttribute(String, String)
              >
              > And yes, many browsers will allow you to set the height on a table. =)
              > Thanks for any help.
              >
              > Lukas
              >
              >
              >
              > John Greene wrote in message <[email protected]>...
              > >
              > >Hi --
              > >
              > >A method was added to allow generic attributes. I thought it was this
              > method
              > >you speak of. How do you mean it's inaccessible? Newsdude, can you
              > clarify?
              > >
              > >
              > >Lukas Bradley wrote:
              > >>
              > >> How do I go about adding attributes to a htmlKona object that exist in
              > >> proprietary HTML versions, or versions beyond what is supported in
              Kona,
              > if
              > >> those add methods do not exist in the current object model?
              > >>
              > >> Most htmlKona elements extend weblogic.html.ElementWithAttributes, but
              > the
              > >> addAttribute(String, String) method is inexcessable.
              > >>
              > >> Any help appreciated. If this is posted to the wrong group, please
              point
              > me
              > >> in the right direction.
              > >>
              > >> Lukas
              > >
              > >--
              > >
              > >Take care,
              > >
              > >-jg
              > >
              > >John Greene E-Commerce Server Division, BEA Systems,
              > Inc.
              > >Developer Relations Engineer 550 California Street, 10th floor
              > >415.364.4559 San Francisco, CA 94104-1006
              > >mailto:[email protected] http://weblogic.beasys.com
              >
              >
              >
              >
              

  • The name attribute on the img element is obsolete. Use the id attribute instead.

    When I valadate my page I get an error "The name attribute on the img element is obsolete. Use the id attribute instead." In DW CS5.5 I cannot seem to enter an ID without DW also adding the ID as a name attribute too. Aside from manually going in and removing the name attribute from the code.

    It won't hurt to leave the name attribute in your <img> tag.  In fact, it may be necessary if you are going to add an image rollover behavior, since DW's javascript relies on that name attribute's value to correctly identify the desired image on the page.

  • Error after adding attribute

    hi i have added attribute in my EmpDetails data control but now when i run the application i get the error Definition LastName of type Attributes is not in EmpDetails1

    where is the classes folder and where is some file system tool can you be in details please
    my log is*** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    "C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\forms;C:\product\11.2.0\dbhome_1\bin;C:\product\11.2.0\dbhome_1;C:\DevSuiteHome_1\BIN;C:\DevSuiteHome_1\jlib;C:\Program Files\PHP;C:\Program Files\PC Connectivity Solution\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Common Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\product\11.2.0\dbhome_1\BIN;C:\DevSuiteHome_1;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\forms\sms_code.pll;C:\mywls\wlserver\bin;C:\Java\jdk1.6.0_21;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\DOCUME~1\Desmond\LOCALS~1\Temp\trustStore5345414217410371315.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1 -Djrockit.optfile=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath weblogic.Server
    <11 Dec 2011 3:56:44 PM> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <11 Dec 2011 3:56:44 PM> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <11 Dec 2011 3:56:45 PM> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <11 Dec 2011 3:56:45 PM> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <11 Dec 2011 3:56:48 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <11 Dec 2011 3:56:48 PM> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <11 Dec 2011 3:56:49 PM> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <11 Dec 2011 3:56:49 PM> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00115. Log messages will continue to be logged in C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <11 Dec 2011 3:56:49 PM> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <11 Dec 2011 3:57:02 PM> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <11 Dec 2011 3:57:19 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <11 Dec 2011 3:57:19 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <MessageLocalizationHelper> <getLocalizedMessage> The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.
    <11 Dec 2011 3:57:42 PM> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <11 Dec 2011 3:57:42 PM> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00114. Log messages will continue to be logged in C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <11 Dec 2011 3:57:42 PM> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <11 Dec 2011 3:57:43 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <11 Dec 2011 3:57:43 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <11 Dec 2011 3:57:43 PM> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\JDK160~1\jre\lib\security\cacerts.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 127.0.0.1:7102 for protocols iiops, t3s, ldaps, https.>
    <11 Dec 2011 3:57:44 PM> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <11 Dec 2011 3:57:44 PM> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <11 Dec 2011 3:57:45 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <11 Dec 2011 3:57:45 PM> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 64047 ms.
    IntegratedWebLogicServer started.
    [Running application HrSystem on Server Instance IntegratedWebLogicServer...]
    [03:57:46 PM] **** Warning: Application HrSystem may have been left deployed on the server. Undeploy it from the admin console.
    [03:57:48 PM] Web Module HrSystemWebApp.war recognized in project HrSystem.jpr
    [03:57:48 PM] ---- Deployment started. ----
    [03:57:48 PM] Target platform is (Weblogic 10.3).
    [03:57:49 PM] Retrieving existing application information
    [03:57:49 PM] Running dependency analysis...
    [03:57:49 PM] Deploying 2 profiles...
    [03:57:50 PM] Wrote Web Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HrSystem\HrSystemWebApp.war
    [03:57:51 PM] Wrote Enterprise Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HrSystem
    [03:57:51 PM] Deploying Application...
    [03:58:39 PM] Application Deployed Successfully.
    [03:58:39 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [03:58:39 PM] http://127.0.0.1:7101/HrSystem-HrSystem-context-root
    [03:58:39 PM] Elapsed time for deployment: 51 seconds
    [03:58:39 PM] ---- Deployment finished. ----
    Run startup time: 51047 ms.
    [Application HrSystem deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/HrSystem-HrSystem-context-root/faces/DeptEmpPage
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    oracle.jbo.NoDefException: JBO-25058: Definition LastName of type Attribute is not found in EmpDetails1.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7322)
         at oracle.adf.model.bc4j.DCJboDataControl.getAttributeDefs(DCJboDataControl.java:2612)
         at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3321)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:514)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:465)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeCount(JUCtrlValueBinding.java:1475)
         at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:134)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.updateNavigated(JUCtrlValueBinding.java:290)
         at oracle.jbo.uicli.binding.JUIteratorBinding.navigated(JUIteratorBinding.java:310)
         at oracle.jbo.common.RowSetHelper.fireNavigationEvent(RowSetHelper.java:264)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3661)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3632)
         at oracle.jbo.server.ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1781)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1585)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:3556)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:10196)
         at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:808)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControlAndNotifyDCE(DCIteratorBinding.java:707)
         at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:914)
         at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:175)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3596)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2813)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3033)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1255)
         at oracle.jbo.server.ViewRowSetImpl.executeEmptyRowSet(ViewRowSetImpl.java:1429)
         at oracle.jbo.server.ViewObjectImpl.executeEmptyRowSet(ViewObjectImpl.java:7129)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._handleAutoExec(FacesCtrlSearchBinding.java:1863)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._performOneTimeActions(FacesCtrlSearchBinding.java:1997)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl.<init>(FacesCtrlSearchBinding.java:1479)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryModel(FacesCtrlSearchBinding.java:334)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3648)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1485)
         at oracle.adf.view.rich.component.UIXQuery.getModel(UIXQuery.java:493)
         at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:301)
         at oracle.adf.view.rich.component.UIXQuery.encodeBegin(UIXQuery.java:222)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:637)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1169)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:575)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:248)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
         at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:233)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         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:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)

  • Node creation and addition to existing Element Node

    Hi all,
    I have a class that opens a xml file, loads the Document and then, from a method, I am trying to add sub nodes to one of the Element node from the XML document. It just doesn't work.
    This is the method that is supposed to add the nodes:
    public Node getSubNode( Node iCurrentNode )
    // Method local variables
    DocumentBuilder lBuilder = null;
    Document lDocument = null;
    DocumentBuilderFactory lFactory = DocumentBuilderFactory.newInstance();
    // Prepare the document and final Node to return
    lBuilder = lFactory.newDocumentBuilder();
    lDocument = lBuilder.newDocument();
    Element lSubMenu = lDocument.createElement("sub_menu");
    lSubMenu.setAttribute("ID", "User20");
    lSubMenu.setAttribute("label", "Montreal user 1");
    iCurrentNode.appendChild( lSubMenu );
    lSubMenu = lDocument.createElement("sub_menu");
    lSubMenu2.setAttribute("ID", "User21");
    lSubMenu2.setAttribute("label", "Montreal user 2");
    lDocument.appendChild(lSubMenu2);*/
    return iCurrentNode;
    I always get a "org.apache.crimson.tree.DomEx: WRONG_DOCUMENT_ERR: That node doesn't belong in this document."
    So I understand by this that I am working with a Document that I declared in this method and thus, for an unknown reason, seem unable to add this node to my existing Element node.
    What should I do to be able to add these nodes to my input Node?
    Dominique Paquin

    Ok, to answer my own question, and for the benefit of future people searching here for an answer, I'd used 2 different Document instance for the creation of my 2 nodes, one for the creation of the basic Node structure and one for the creation of the node that would be added to the other one. Since the importNode (done on the first one ) removes the parent from the imported node, I was no longer in a position to access the parent reference.
    I simply created a single Document in my class as a global variable and used this single entity to create all my nodes (the original and the one added to the original), It solved all my problems.
    I don't know if I was clear anough but if you need further explanation drop me a line.
    [email protected]
    http://www.okiok.com

  • Adding portal to an existing domain

    Hi I have a JSP/Servlet web applicatin and
    I want to make it a portal application.
    I was following Weblogic Portal Development
    Guide 7.0. I found the section
    "Adding portal to an existing domain" is very incomplete
    or confusing and I cannot do it. Is there any better document
    for this?

    Judging from the dates between these two entrries and no answers, I'd
    guess that there isn't anyone from BEA monitoring this group? I am in a
    similar situation. What I want to understand is how one can "portalize" an
    existing web app. I understand there are implications to some of the
    presentation, but specifically, I want to deploy a Servlet based app that
    uses EJBs and deploy this as an EAR in the same domain as the portal
    (perhaps under the /applications directory). I can make everything work
    except the webflow where I reference the Servlet.
    Specifically, I have a presentation page that is defined to be my servlet.
    When I try to build a webflow URL referencing this event, I get errors from
    the portal because it presumes it may be located somewhere else or in a
    different namespace. It leads me to believe that I can't reference a
    servlet unless it is under the /framework or /portal directories under the
    portal web-app directory. I'm convinced there must be a way to reference
    other web components that aren't specifically part of the portal web app,
    but can't figure out how to propagate the webflow element to the actual
    servlet I want.
    Any ideas from the community at large? This must be something other
    people have wrestled with since I can't imagine that only new apps will be
    put into portals.
    Thanks,
    Mark
    "Sara" <[email protected]> wrote in message
    news:[email protected]...
    >
    I'm facing similar problems too. I have an ear file in an existing domainthat
    I want to use to create a portal. The documentation on this is quiteconfusing
    and the steps require so many manual steps that it is bound to beerror-prone.
    What's BEA's recommended way to expose an existing Weblogic application asa portal
    Thanks in advance
    -Sara
    "David Zhang" <[email protected]> wrote:
    Hi I have a JSP/Servlet web applicatin and
    I want to make it a portal application.
    I was following Weblogic Portal Development
    Guide 7.0. I found the section
    "Adding portal to an existing domain" is very incomplete
    or confusing and I cannot do it. Is there any better document
    for this?

  • Master data to be deleted after adding attribute

    Hii All,
    I have a master data info object, which contains the data.what will happen if i add new attribute to this master data info object.
    right now this master data info object doesn't contain any data for this newly added attribute.
    then i tried to delete data from the master data info object.but it is not allowing me to do so as it is used in three info cubes. i think if i delete the data then it will allow me to delete data from master data info object.But that is not possible as subsequently i have to delete the data from info cube in productio also.
    So ran full update for the master data info object now i have the data for the newly added attribute.But when i am running report and try to drill down on the newly added characteristic it shows "#" not assigned.
    What should i do..
    pls help..
    Regards,
    Viren

    Hi Rana
    1. <i>I have a master data info object, which contains the data.what will happen if i add new attribute to this master data info object.</i>
    Nothing will happen if you add a new attribute to the existing one. If your adding in the dev system, it will as you to create a request when you activate it.Just create a request the transport it.
    2.<i>But that is not possible as subsequently i have to delete the data from info cube in productio also.</i>
    You can delete the data in the dev system cube irrespective of production server cube data. If you delete the cube then you have to worry but deleting the data from the cube is not to worry. You can go ahead with deleting the data in the cube in dev server.
    3.<i>So ran full update for the master data info object now i have the data for the newly added attribute.But when i am running report and try to drill down on the newly added characteristic it shows "#" not assigned.</i>
    AFter loading the data . right click on the master data object and clik on Activate masster data or RUn apply hierarchy attribute change in Tools menu.
    Hope this helps
    Ram

  • POWERLIST: Subnode or attribute DY_OFN already exists (termination: RABAX_STATE)

    Hello,
    I've made a Powerlist to show Quality notifications. It works fine, except when I click on "Change Query", the dump "ERROR: Subnode or attribute DY_OFN already exists (termination: RABAX_STATE)" appear.
    DY_OFN is actually one of my selection criteria fields, and seems that when I click on change query goes on dump because the instance of this element already exists.
    Any clue about how to solve this problem?
    How can I do to debug when "Change query" is clicked?
    Thanks in advance

    Hi David,
    Here the issue is, you are trying to create a node in context and the logic is getting called again. As the node already exists, it cannot create the node again with the same name.
    You need to put a condition to restrict the logic to execute only once.
    Example:
    IF FIRST_TIME = abap_true.
         " Here place your code
    endif.
    Hope this helps you.
    Regards,
    Rama

  • XPATH select where an attribute doesn't exist

    Hi All,
    How can I select out an element where an attribute does not exist?
    eg:
    <Item Block="MYBLOCK">
    <Properties>
    <Property Name="ScrollbarXPosition">5542</Property>
    <Property Name="ScrollbarYPosition">903</Property>
    <Property Name="RecordVisualAttributeGroupName">EMPHASIZE</Property>
    </Properties>
    </Item>
    <Item Block="MYBLOCK" Name="ITEM1">
    <Properties>
    <Property Name="RecordVisualAttributeGroupName">CG$TEXT_ITEM</Property>
    <Property Name="VisualAttributeName">CG$TEXT_ITEM</Property>
    <Property Name="PromptVisualAttributeName">PROMPT_NORMAL</Property>
    </Properties>
    </Item> What I would like to do is select the Elment RecordVisualAttributeGroupName from the first elements where the Item Block="MYBLOCK" and Name is NULL. I've had a look through XPATH and can't find the function.
    Something along the lines :
    Item[@Block='MYBLOCK' and Name IS NULL]/Properties/Property [@Name='RecordVisualAttributeGroupName']/text()"regards,
    Steve

    Hello Steve,
    How about:
    Item[@Block='MYBLOCK' and (not(@Name) or @Name='')]/Properties/Property[@Name='RecordVisualAttributeGroupName']/text()You can try it out against the following document:
    <root>
         <Item Block="MYBLOCK">
              <Properties>
                   <Property Name="ScrollbarXPosition">5542</Property>
                   <Property Name="ScrollbarYPosition">903</Property>
                   <Property Name="RecordVisualAttributeGroupName">EMPHASIZE</Property>
              </Properties>
         </Item>
         <Item Block="MYBLOCK" Name="ITEM1">
              <Properties>
                   <Property Name="RecordVisualAttributeGroupName">CG$TEXT_ITEM</Property>
                   <Property Name="VisualAttributeName">CG$TEXT_ITEM</Property>
                   <Property Name="PromptVisualAttributeName">PROMPT_NORMAL</Property>
              </Properties>
         </Item>
         <Item Block="MYBLOCK" Name="">
              <Properties>
                   <Property Name="RecordVisualAttributeGroupName">CG$TEXT_ITEM</Property>
                   <Property Name="VisualAttributeName">CG$TEXT_ITEM</Property>
                   <Property Name="PromptVisualAttributeName">PROMPT_NORMAL</Property>
              </Properties>
         </Item>
    </root>Using the following code:
    import java.io.FileReader;
    import oracle.xml.parser.v2.DOMParser;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLElement;
    import org.w3c.dom.NodeList;
    public class Demo {
        public static void main(String[] args) throws Exception {
            FileReader fileReader = new FileReader("sample.xml");
            DOMParser parser = new DOMParser();
            parser.parse(fileReader);
            XMLDocument document = parser.getDocument();
            XMLElement rootElement = (XMLElement) document.getDocumentElement();
            NodeList result = rootElement.selectNodes("Item[@Block='MYBLOCK' and (not(@Name) or @Name='')]/Properties/Property[@Name='RecordVisualAttributeGroupName']/text()");
    }-Blaise

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • Error when Refresh Planning after adding attribute V9.2.1

    Has anyone encountered this and what is the solution:
    Added new attribute dimension in planning web and added attribute members. When I try to do incremental or full refresh, receive error message:
    Errors detected (AssocAttrDimension, 1060057) Could not associate attribute with member (attribute,member) Decanatura, Career -2147218881
    Career is the dimension and Decanatura is the attribute added
    Using 9.2.1
    Thanks
    Jeff

    Hi Jeff,
    please find some findings from planning DBAG which may be useful to resolve your issue:
    You can assign attributes only to sparse dimensions.
    You cannot assign attributes to label-only members.
    After you create attributes and attribute values, you can assign attribute values to each member of the dimension.
    You must assign attribute values to dimension members at the same member level within a dimension.
    You can define attribute values for Entity, user-defined custom dimensions, and Account
    members if the Account dimension is designated as a sparse dimension in all plan types. You
    can then assign attribute values to members of a dimension.
    Attribute values for an attribute must be assigned to the same-level sparse dimension members.
    Assigning an attribute value to another level causes an error during the application refresh.
    hope this helps.
    www.dornakal.blogspot.com
    Edited by: Dornakal on May 28, 2009 5:55 AM

  • How do I get an attribute on a simple element?

    I am trying to get an attribute on a simple element that has a type of "nonNegativeInteger". I've tried numerous ways to do this and the validator rejects them all.
    I tried the following:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    type="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    bit I get the following:
    <Line 110, Column 38>: XSD-2027: (Error) Invalid element 'complexType' in 'element'
    This was suggested previously:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    base="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    where the type in the <element> is changed to base but it gives the message:
    <Line 110, Column 39>: XSD-2026: (Error) Invalid attribute 'base' in element 'element'
    The following works but does not provide any type checking for the data in the tag:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <complexType content="mixed">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    The following is accepted but the attribute definition is ignored and the XML is flagged as having an invalid attribute.
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <simpleType base="nonNegativeInteger">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </simpleType>
    </element>
    How can I have both attributes and type checking on a simple element?

    Did you try the following:
    <element name = "birthdate">
    <complexType>
    <complexContent>
    <extension base="nonNegativeInteger">
    <attribute name="format"
    type="string"/>
    use="default"
    value="CCYYMMDD"/>
    </extension>
    </complexContent>
    </complexType>
    </element>
    The element is defined to be a complexType and having complexContent because it has an attribute. The complexContent can have either extension or restriction as its children. They define the type of derivation of the element from the base.
    Hope this helps..
    Cheers,
    Chetan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Paul Anderson ([email protected]):
    I am trying to get an attribute on a simple element that has a type of "nonNegativeInteger". I've tried numerous ways to do this and the validator rejects them all.
    I tried the following:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    type="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    bit I get the following:
    <Line 110, Column 38>: XSD-2027: (Error) Invalid element 'complexType' in 'element'
    This was suggested previously:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    base="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    where the type in the <element> is changed to base but it gives the message:
    <Line 110, Column 39>: XSD-2026: (Error) Invalid attribute 'base' in element 'element'
    The following works but does not provide any type checking for the data in the tag:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <complexType content="mixed">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    The following is accepted but the attribute definition is ignored and the XML is flagged as having an invalid attribute.
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <simpleType base="nonNegativeInteger">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </simpleType>
    </element>
    How can I have both attributes and type checking on a simple element?<HR></BLOCKQUOTE>
    null

  • Adding Attributes to Approval Form

    Hi,
    I've customised IDM 8.1 to fire off an approval to IdmManager if a user updates their own attributes. I want to customise the Approval Form displayed to the approver to show only the attributes that have been updated by the user.
    I see the Approval Form has an "approvalAttributes" variable which can be passed in to define which attributes are displayed. I also see that this list can be configured by adding attributes on the "Server Tasks -> Configure Tasks -> Update User Template -> Approvals" tab. What I can't see is where this list of attributes is stored when you add new ones. Does anybody know? If I knew this I hope I could customise the object to push out a dynamically generated list of attributes, rather than a static list.
    Thanks,
    Paul

    Solved - they're kept, somewhat unsurprisingly, in the "Update User Template" object. I was confused by the "Template Library Repository" appearing to store a very similar list which gets polled every time the form is loaded, but editing this appears to have no bearing on anything.

  • XML element,if not including any attributes and/or child elements then

    XML element in SQLX,if not including any attributes and/or child elements then the tag should not appear, how to achive this?
    ex:Consider for <enumeration> tag where it is having some value.
    <attribute>
    <name>Ethernet Access</name>
    <enumeration>
    <StringValue>Bandwidth</StringValue>
    </enumeration>
    </attribute>
    When <enumeration> tag is not have any Value in this, then output should be as follows.
    <attribute>
    <name>Ethernet Access</name>
    </attribute>
    But what i am getting is
    <attribute>
    <name>Ethernet Access</name>
    </enumeration>
    </attribute>
    Please suggest me the solution for this.
    I tried , but when xmlelement() is not having data it will display empty tag ie </enumeration>, If xmlforest() are null it wont show tag, But i have to use xmlelement only. how can that be achived using xmlelement .

    Use a SQL case - when - else end construct to only execute the xmlelement if data is present. The SQL/XML standard is very clear, xmlElement will generate an empty element if no data is present. xmlforest will not.

Maybe you are looking for

  • Movies in my iMac's iTunes do not show up Apple TV(1st Gen)

    So frustrated. Movies in my iMac's iTunes do not show up on my Apple TV(1st Gen) in the Shared Movie area. I've done the Media Type fix to "movie." I've re-started and re-booted and changed the Apple TV from ethernet to wireless and re-connected iTun

  • Multiple iphones, 1 itunes library, 1 account - how to share ratings?

    Hi all, My husband and I share one itunes account, one music library and we log into the computer with one account. We have the same music available on our iphones which we rate - than delete the rest (from the library and the computer). Problem come

  • Oracle Clusterware error while installing

    Hi all, I am installing Oracle Clusterware (10.2.0.1) on solaris SPARC 5.10...and while installing Clusterware i am getting the following error Exception PRKC-1044 : Failed to check remote command execution setup for node1 using shells /usr/bin/ssh a

  • Re: ALV OUTPUT

    Dear Experts,         I have a report which is displaying 2 types of reports( based on the selection of radio button in selection screen assembly report, production report) both are having same fields and different fieldcatalogs Now, My requirement i

  • Multicast not working SCCM 2012 SP1

    Hi, Am having issues getting multicast working with SCCM 2012 SP1 / Server 2008 R2. We have followed all the guidelines in this forum but still no joy - Multicast setting enabled on DP - Multicast Enabled on OS Image - Task Sequence set to down conte