Namespace added to already existing XML

Hello

I created an xml using XMLTYPE (object, oracle). Now, I want to add a namespace at the root. How can I achieve this?

Currently
< RESPONSE >
Jack < TAG1 > < / TAG1 >
< TAG2 > < TAG2 > LUN
< / ANSWER >

Desired ouput
< xmns RESPONSE = "http://aloha.com" >
Jack < TAG1 > < / TAG1 >
< TAG2 > < TAG2 > LUN
< / ANSWER >


Thank you
VJ

Published by: AKVK on October 11, 2009 14:44

michaels2 wrote:
In addition to a simple REPLACEMENT, you can also do

SQL>  SELECT XMLELEMENT (response,
xmlattributes ('http://aloha.com' "xmns"),
xmltype ('jackmon').EXTRACT ('RESPONSE/*')) resp
FROM DUAL
/
RESP
--------------------------------------------------------------------------------
http://aloha.com">jackmon
1 row selected.

I thought about something like that than I am, but my purist mind was telling me "no, you can't retrieve the subelements of ANSWER because who wouldn't return an XML document valid. Sheesh, I wish I had tried it now. ;)

Tags: Database

Similar Questions

  • Error adding keywords that already exist

    Hello.

    I am trying to add a single keyword to multiple photos to export.  It works on the first image, but fails on all images.  Is it possible to generate the keyword by testing the catalog to determine if the key already exists, and if not, then add it?

    Is there a way to do with/without first running through all the hierarchy of keywords from the catalog?

    Thank you

    In addition, if you know the keyword parent for the keyword you are looking for, you can use the parameter "returnExisting" of the catalogue: createKeyword() to create the keyword (if it does not exist) or return it (if it exists).

  • Check for the existing XML element

    Hi all

    I'm writing a simple script first check if an XML element exists and creating so if it's not. I tried to change a piece of code that I used previously to do the same for paragraph styles, but apparently it's not that simple. Currently, all I get is the error "Unable to run the script in the 'main' target engine!" Without checking them, adding the XML element based on the result of the search works very well.

    /* Find all instances of the word "Superscript" */
    app.findTextPreferences.findWhat = "Superscript";
    var mySuperscript = myDocument.findText(); // Save search result for future reference
    
    /* See if an XML element named "Superscript" already exists, and create it if that's not the case; then add it to all instances of the word "Superscript" */
    var myXMLElementSuper = myDocument.xmlElements.item("Superscript");
    try {
    var myName = myXMLElementSuper.name;
    }
    catch (myError){
        var myXMLElementSuper = myDocument.xmlElements.add({markupTag:"Superscript", xmlContent:mySuperscript[i]});}
    

    Any help would be greatly appreciated!

    Regards and thanks in advance.

    Julian

    The myDocument.xmlElements always has a single element - the root element.

    If you want your element directly below that, you have to work a level down.

    To try-catch for such situations regular aid is bad because you spend so usually the ESTK option stop on exceptions and real problems don't miss. Use the isValid property.

    var rootXE = myDocument.xmlElements.item(0);
    var superXE = rootXE.xmlElements.itemByName("Superscript");
    if( !superXE.isValid )
      superXE = rootXE.xmlElements.add(...
    else
     superXE = superXE.getElements()[0]; // take first of potentially multiple elements
    
  • How can I include a glued profiles bookmarks and login info/autofill etc. in a profile already existing in use?

    Hello, I read how to transfer and create a new profile in the Terminal and I stuck a profile (not 1) content of computer1 to the folder ~/library/apsupport/profiles to computer2 with the new profile created etc. and he opens in Nice Firefox - but-
    Computer2 to which I added Profile1, already had an original profile used with bookmarks and etc too many connections before I wanted to paste stuff from comp1 in there which would be a pain to try to sort manually in it - is there a way to join them if I can put them in total cus if I paste the content it replaces just if I get is comp1 or comp2 profile!

    Also how would switch to the profile orig comp2 if I wanted to cus at the moment it's still in ~/library/application support/firefox/profiles, but firefox uses the mer1 that I just created in the Terminal and then glued profile comp1 in!
    Hope that all of the senses.
    Looks like something really obvious, but I can't seem to understand this, so sorry if this is a totally silly question.

    Any help would be greatly appreciated. Thank you.

    If you want to add data (fusion) to an existing profile, then you will need to install extensions in this profile that add such a feature.

    For bookmarks, you can export the Favorites to an HTML file and import this file.

    For passwords, you can use the password exporter extension.

    For form data, you can use this extension;

    There is no way to merge form data directly without using an extension.

  • How to disable and enable fields already existing lines dynamically in the update page?

    Hi all

    I have a requirement where in detail RN (updated), I don't want the user to update the already existing line.

    In the area of retail, I have two columns, 1)-> existing supply must be read-only.

    -> Enabled 2) must be editable.

    For a newly added line (after clicking on add a line), offer both enabled column must be editable.

    For this model, I did table detail with text entry fields and set read only property: ${oa.offervo1.isOfferdis}-> offerDis is a transient (boolean) added in OfferVO.

    I should be able to field offers to read only to existing data.

    How can I set isOfferdis as true (aside from CO or AMimpl)

    and

    How do I set iaOfferdis as fake when add line button (I add line set up features)

    Thank you and best regards,

    Gauthier

    Hi AJ,.

    A surprise, I was able to reach the requirement,

    The code in RowImpl remains even as you suggested.

    However the default value of the transitional isOfferDis attribute as false (in VO).

    Then it works.

    I don't know why our code in AmImpl could not achieve this goal.  If you have any solution please share will try...

    Thank you and best regards,

    Gauthier

  • BeanAlreadyExistsException: Bean already exists

    Hi all

    I am getting error while deploying Sample Application shared @ below Andrejus Baranovskis Blog: how to ADF PopUp alignment control

    I already rebooted the server, but it didn't work as well as I researched the weblogic.xml file that is not available in the project.

    Please suggest how to solve this problem?

    < cannot load the C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\ADFP descriptor

    opUpHelpApp/META-INF/weblogic-application.xml of the ADFPopUpHelpApp module. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed

    to weblogic.descriptor.internal.MarshallerFactory$ 1.createDescriptor(MarshallerFactory.java:161)

    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)

    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)

    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)

    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)

    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)

    at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:324)

    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)

    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)

    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)

    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)

    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)

    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)

    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 000 (DeploymentReceiverCallbackDeliverer.java:13)

    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 1.run(DeploymentReceiverCallbackDeliverer.java:46)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@863b9f35 (/ LibraryRefs [[CompoundKey: adf.oracle.domain]]).

    at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)

    to com.bea.staxb.runtime.internal.RuntimeBindingType$ BeanRuntimeProperty.setValue (RuntimeBindingType.java:539)

    to com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$ QNameRuntimeProperty.fillCollection (AttributeRuntimeBindingType.java:381)

    at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)

    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)

    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)

    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)

    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)

    to weblogic.descriptor.internal.MarshallerFactory$ 1.createDescriptor(MarshallerFactory.java:150)

    ... more than 27

    Caused by: weblogic.descriptor.BeanAlreadyExistsException: bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@863b9f35 (/ LibraryRefs [[CompoundKey: adf.oracle.domain]]).

    at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

    at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)

    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.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)

    ... 35 more

    . >

    < 28 April 2014 13:56:53 IST > < error > < hats > < BEA-149605 > < cannot create some App/Comp mbeans for AppDeploymentMBean ADFPopUpHelpApp. Error - weblogic.management.DeploymentException: Unmarshaller failed.

    weblogic.management.DeploymentException: Unmarshaller failed

    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)

    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)

    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)

    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)

    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.descriptor.BeanAlreadyExistsException: bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@863b9f35 (/ LibraryRefs [[CompoundKey: adf.oracle.domain]]).

    at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

    at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Truncated. check the log file full stacktrace

    >

    < 28 April 2014 13:56:53 IST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1398673612046 'for task 1'. Error is: "' weblogic.management.DeploymentException: Unmarshaller failed '"

    weblogic.management.DeploymentException: Unmarshaller failed

    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)

    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)

    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)

    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)

    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.descriptor.BeanAlreadyExistsException: bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@863b9f35 (/ LibraryRefs [[CompoundKey: adf.oracle.domain]]).

    at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

    at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Truncated. check the log file full stacktrace

    >

    < 28 April 2014 13:56:53 IST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "ADFPopUpHelpApp" >.

    < 28 April 2014 13:56:53 IST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery

    weblogic.management.DeploymentException: Unmarshaller failed

    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)

    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)

    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)

    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)

    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.descriptor.BeanAlreadyExistsException: bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@863b9f35 (/ LibraryRefs [[CompoundKey: adf.oracle.domain]]).

    at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)

    at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Truncated. check the log file full stacktrace

    >

    [13: 56:53] # incomplete deployment.  ####

    [13: 56:53] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    # Cannot run application ADFPopUpHelpApp due to the deployment on IntegratedWebLogicServer error.

    [ADFPopUpHelpApp application stopped and cancelled Server Instance IntegratedWebLogicServer]

    His associates to weblogic follow the procedure below:

    1. close your weblogic Server.

    2. remove the file ear mywork--> deployment folder

    3. run your application that will work

  • The data store name already exists

    Hello

    I have 3 hosts in my group and I am trying to add a 4th. The host, I'm trying to add part of the cluster, but it was removed there because it has been used a few weeks somewhere else. I have since reinstalled ESX and try to add back to the cluster.

    When I try and add a NFS data store to the host named "NAS-storage" added it is automatically renamed to "NAS-storage (1)", if I try the rename without (1) I get an error message...  "The NAS-storage name already exists." 3 other guests are currently connected to the data without any problem store.

    How can I fix it?

    I tried to reboot the host, restart the service of railway infrastructure and to rename the data store on the other hosts to something else.

    Welcome to the forums.

    Make sure that you add the store of data with exactly the same name/IP address and the name of path as those mounted on other hosts

    You can get the correct mount point by running

    esxcfg-nas -l
    

    Maish

    VMTN moderator | vExpert

    Author of VMware vSphere Design

    @maishsk | My Blog

  • vSphere PowerCLI w / vi toolkit extensions '74794', Get-TkeSnapshotExtended errors with Add-Member SizeMB already exists

    I'm trying to generate a report of all snapshots in the ESX environment.

    (1) installed PowerShell 2.0 for Windows XP

    (2) installed VMware PowerCLI 4.0 U1

    (3) installed VMware VI Toolkit for Windows 1.5

    (4) added PSSnapin VMware.VimAutomation.Core

    (5) any module viToolkitExtensions.psm1 version 74794

    (6) found recommended community command of the ' Get - VM | Get-TkeSnapshotExtended | Select Name, VM, SizeMB '.

    It does not work! However powershell returns the following error between each instant result:

    Member add: unable to add a member with the name "SizeMB" because a member with the same name already exists. If you want

    replace the Member anyway, use the Force parameter to overwrite.

    C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\viToolkitExtensions\viToolkitExtensions.psm1:2453 tank: 20

    +                 $s | Add-Member < < < < - type noteproperty - name "SizeMB" - value ($totalSize / 1 mb)

    + CategoryInfo: InvalidOperation: (% 2f14% 2f2010 o7: PSObject) , InvalidOperationException

    + FullyQualifiedErrorId: MemberAlreadyExists, Microsoft.PowerShell.Commands.AddMemberCommand

    Does anyone know what causes this or how to fix?

    The problem you see is that the object returned by

    Get-VM  | Get-Snapshot
    

    already contains a property named SizeMB in PowerCLI 4u1.

    The simplest solution is to comment out this line in the file viToolkitExtensions.psm1, like this

    # Add this to the input object and pass it through.
    # $s | add-member -type noteproperty -name "SizeMB" -value ($totalSize / 1mb)
    $s
    

    But in fact the Extensions community complete need for a review.

    With PowerCLI 4.1 module does not at all since all object types have been modified.

    BTW, there is no need to install VI Toolkit 1.5 and PowerCLI 4.0u1. The two are different versions of the same product.

    The confusion probably comes from the name change that occurred when PowerCLI 4.0 was released.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Unable to create placeholder virtual machine already exists

    We try to change a test of Protection Group to a new group of Production and I get the following error on some of our virtual machines that are not protected.

    Protect the VM cannot create the VM space reserved on the recovering site: machine virtual recovery could not be created: the

    name ' already exists.

    It's VShere 4.1 reproducing with recover Point separator 3.2

    Any enlightenment is appreciated.

    I have (had) the same problem. It seems that there is a bug in the system. When you delete an old or protection group test it does remove all the place SRM LUN support files.

    My fix, browse the place holder SRM datastore, after the withdrawal of your protection group, remove while flying over the records in the data store. After that, check the inventory of the VM, if all protected servers are still right click on each one and select Remove from the inventory.

    Once all the old data is deleted you can re - create your protection group and all servers must be added without problem. If you still have trouble to re-post here and I'll try to help.

    Thank you

    Graham

  • Need help - domain deleted and cannot add-fault domain already exists - website down

    Trying to reconfigure our domain configuration, I removed the main domain name to add again so that it does not point to an external DNS server.

    I deleted the domain and now when I try to add again, I get the following error:

    Domain already exists.  Please delete all the records associated with this domain before adding it again.

    I have no way to present a plane ticket when I go to help and support and our site is now down from the home page.  I need help as soon as POSSIBLE.

    I was able to submit a case when I switched browsers (Chrome apparently does not display the bar/case of research presentation).  The case is

    OBNW5020171

    The area, I'm trying to add is surfaid.org

    Hey Mike.Avocado26,

    I think I erased the field wildwasatchmedia.com in our database. Can you please try adding it again now?

    See you soon.

  • How can I insert record in DB ONLY if it does not already exist?

    I am using Microsoft Access and I have 3 tables: jobs, KSAs, and JobKSAs. JobKSAs is a link table, that is, it connects the KSAs that relate to a particular job.

    A KSA can be bound to more than one job, but it must be bound to a single job only once. (i.e., is there any reason why the Saudi Arabia "communication skills" should be linked to employment 'seller' more than once.)

    Unfortunately, I discovered I could bind a Kingdom of Saudi Arabia for a job all of times that I wanted, that is, a new record would be added to the Table: JobKSAs.

    KSA - Job link is created (or revised) using a form in a file titled "add_ksa.cfm".

    Table: JobKSAs contains these fields:
    JKID (the primary key of this table),
    frn_JobID (foreign key referring to the unique ID of the given work) and,
    frn_KSAID (foreign key referring to the unique ID of the given Saudi Arabia).

    The form data are transmitted to the 'ksa_au_pro.cfm', that I hope will run a check to see if there is already a record in JobKSAs with the frn_JobID and frn_KSAID data. If such a file already exists, I don't want a new record added to the table: JobKSAs. In addition, I want the user to be taken to "ksa_already_linked.cfm", which informs the user that Saudi Arabia has already been given job-related.

    If a record in Table: JobKSAs containing frn_JobID and frn_KSAID does not already exist, then I want to be added to the Table: JobKSAs, and for the user to 'ksa_confirm.cfm', that informs the user that Saudi Arabia has been linked to the job.

    Here is my code for "ksa_au_pro.cfm".

    Thanks for any help with this!

    Luke

    I think I've answered my own question. The code below seems to work:



    SELECT *.
    OF JobKSAs
    WHERE frn_JobID = #form.frn_JobID #.
    AND frn_KSAID = #form.frn_KSAID #.


  • Error starting service: a context with this name already exists: Portal

    I'm running into errors when starting Windows for ALUI 6.5 services. The error is:

    Error analysis of the application in the file data: D:\bea\alui_65\ptws\6.5\bin\...... \.. \common\... \settings\portal\portalconfig-SSO.xml: a context with this name already exists: Portal

    Can you shed some light on this or help me solve it?

    Thank you.

    I think that what he says GIS that there is a duplicate of a component called entry: portal in the file xml, and you must delete it.

    Sorry, I saw and probably encountered this error before but this means there is something wrong in the .xml file.

    I don't think that to 6.5, there is a file portalconfig - sso.xml more... I think that it is portalconfig.xml only, but I could be wrong. 10.3 has only portalconfig.xml

  • How can we check that the data already exist in the database

    Hi friends

    I'm trying to create a procedure for adding clients in the database with the customer id as input parameter... but if the customer details database already exists that I would update this detail and is not in the database I want to add this detail in the database... How could I do that...

    any help would be appreciated

    Thank you
    Rommy

    Hello

    If your condition is to add to a table, and if the record exists in the other table, the merge statement does not work

    Example (Please check the column name and the parameter names). I do not commit or rollback because I do not know if you control the transaction within this procedure or outside it.

    CREATE OR REPLACE PROCEDURE add_cust(I_CUST_ID        IN VARCHAR2,
                                         I_CUST_F_NAME    IN VARCHAR2,
                                         I_CUST_L_NAME    IN VARCHAR2,
                                         I_CUST_ADD       IN VARCHAR2,
                                         I_CUST_CITY      IN VARCHAR2,
                                         I_CUST_STATE     IN VARCHAR2,
                                         I_CUST_ZIP       IN VARCHAR2,
                                         I_CUST_DOB       IN DATE,
                                         I_CUST_          IN VARCHAR2,
                                         I_CUST_ACCT_TYPE IN VARCHAR2,
                                         I_START_BAL      IN NUMBER) IS
    BEGIN
       INSERT INTO CUSTOMERS C
          (CUST_ID,
           CUST_F_NAME,
           CUST_L_NAME,
           CUST_ADD,
           CUST_CITY,
           CUST_STATE,
           CUST_ZIP,
           CUST_DOB,
           CUST_)
       VALUES
          (I_CUST_ID,
           I_CUST_F_NAME,
           I_CUST_L_NAME,
           I_CUST_ADD,
           I_CUST_CITY,
           I_CUST_STATE,
           I_CUST_ZIP,
           I_CUST_DOB,
           I_CUST_);
    
    EXCEPTION
       WHEN DUP_VAL_ON_INDEX THEN
          INSERT INTO CUSTOMER_ACCT
             (CUST_ID,
              CUST_ACCT_NO,
              cust_acct_type)
          VALUES
             (I_CUST_ID,
              CUST_ACCT_SEQ.NEXTVAL, -- CUST_ACCT_SEQ is a sequence, isn't?
              I_CUST_ACCT_TYPE);
    
    END add_cust;
    

    Kind regards

  • Mail-ad: dieser account already exist

    Moin! I had mein Freenet account in Apple Mail Debby, weil're auf POP adjusted war und ich auf IMAP winds wanted, wie auf meinen other Geräten auch. Seither ist are mir nicht mehr possible das Konto wieder zu create, weil schon too equal zu beginning beim Einrichten die message kommt, dass dieses Konto already exist. ICH habe alle myself Lösungen, die im Internet vorgeschlagen werden, ohne versucht Lösung.

    -Die E-mail-address ist NICHT dieselben meiner Apple-ID.

    -Das Abmelden von iCloud und danach zu try, das Freenet-Konto einzurichten, hat NICHTS geändert.

    Freenet-Einträge im Schokoladenfondue zu löschen hat NICHTS geändert. invaluable message beim Einrichten

    -Neustarts change auch nichts und das ist nirgends mehr aktiv Freenet account.

    Uber die Lösung dieses problem würde ich mich freuen.

    Lieben Gruss!

    Mike

    Habe eine Lösung found!

    -Account hinzufügen

    -others account Mail

    -dann UNVOLLSTANDIGE Email angeben,

    Dann sich ein Fenster, wo man alle Daten again typing great SMS kann, und danach hat bei mir works at least, depending on ich eine Woche gesucht habe im Internet und keine der rum sleeps vorgeschlagenen Lösungen bei mir hatten works. Nerviger Mail Bug!

  • Firefox says my account already exists, but cannot me access

    I recorded with the help of mozilla, and I can connect using my username and password. To configure a synchronization, I have to use my email address. When I try to do, it is said that an account with my address already exists, even if I never put in place. At the same time, it will not recognize my password for support, or it will allow a new password without messing up the account.

    Any thoughts?

    Data synchronization are deleted from the synchronization servers when change you your password to allow you to walk away with your same account synchronization - it does not make you create a new account. Data on the individual devices are not affected.

    A load of fresh data will be sent to the server synchronization you plug each device with the new password.

    When the password is changed all the data on the synchronization, the server becomes worthless - the password is used to create a unique "key" to encrypt your data because it "leaves" devices for the sync server. On the "return" from the server to one of your devices, these data are of-encrypted via the "password." The synchronization server stores your synchronization data encrypted - without the 'key' unique (which is recorded in your installation of Firefox) , no one can read your data.

    minor editing for clarity

Maybe you are looking for