Substitute the value of weblogic - application.xml at startup?

Is it possible to override a value in an application.xml file - weblogic by specifying it on the command line? I need to start an ear in two different instances, but need to have one of them uses a different cookie name of session handle. The ear is big enough, so I don't want to duplicate and deploy separately to change just that one value. Any suggestions?

Hello

Try to use the 'plan '.

Thank you.

Naour Vijay.

Tags: Fusion Middleware

Similar Questions

  • need a sample of weblogic - application.xml for weblogic 10.3.5

    Hello

    Could someone please provide a weblogic - application.xml for weblogic 10.3.5 sample?

    Thank you

    "http://xmlns.Oracle.com/WebLogic/WebLogic-application" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" "xsi: schemaLocation ="http://xmlns.oracle.com/weblogic/weblogic-applicationhttp://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">..." "

    Examples can be found here: extracts of Middleware: the class loading and packaging of the Application

    Description of all items can be found here: Enterprise Application Deployment Descriptor éléments.

  • Save and read the value of control using xml

    I need to read and update the controls with the values they have the previous time the vi has been run. Joined a vi that I come up with. I can record control values; When I apply the section which should read and update control values, I get this error "the XML tag describing the type of data does not match the wired type". Do we know why? Attachment: test vi and xml control file.

    As far I can tell it seems that you have found a bug. The XML Unflatten handles not properly cluster in a chain, and a variant of something. The Get All method returns an array of clusters, with each group being a string and a Variant.

    If you follow these steps:

    no error is generated.

    But, if you do this:

    you get an error.

    Looks like a bug to me.

  • How to get the value of a literal XML node content in BPEL 2.0?

    Hello!

    I have a problem creating A Expression in the distribution of the XML literal one activity, I would like to help me...

    Well, I have the same activity in the 1.0 version of BPEL and is now different is BPEL 2.0,.

    I have a Web Service < WSEjecutaComandos > when having a function of controls remote that connects,

    Entries of my Web Service: "int numEquipo, String [] comandos, int numCta, int publicar, int, String date version"

    The second argument is an array of string type...

    Now in my BPEL process, I do is the following assignment:

    ************************************************************

    < assign the name = "AssignCreaPath" >

    < copy >

    < from >

    < literal >

    " < fnCRexecElement xmlns =" http://Servicios/ ">

    < numEquipo > 2 < / numEquipo >

    < comandos >mkdir etl/entries/mmkis /< / comandos >

    < numCuenta > 1 < / numCuenta >

    < publicar > 0 < / publicar >

    < / fnCRexecElement >

    < / literal >

    < / from >

    < to > $InvokeClear_fnCRexec_InputVariable.parameters < /pour >

    < / copy >

    < copy >

    (< a >concat(ora:getContentAsString($InvokeClear_fnCRexec_InputVariable.parameters/comandos),$inputVariable.payload/client:fecha)< / from >

    < to >$InvokeClear_fnCRexec_InputVariable.parameters/comandos< /pour >

    < / copy >

    < copy >

    < a > $InvokeVersion_fnGetVersionProcesoByFecha_OutputVariable.parameters/version < / from >

    < to > $InvokeClear_fnCRexec_InputVariable.parameters/version < /pour >

    < / copy >

    < copy >

    < a > $inputVariable.payload / client: date < / from >

    < to > $InvokeClear_fnCRexec_InputVariable.parameters/date < /pour >

    < / copy >

    < / assign >

    ***************************************************

    Well the conflict I have is as follows,

    previously defined an entitlement with the XML Fragment copied on the payload to the Web Service (WSEjecutaComandos), input variable

    and the XML code is copied to each of the variables,

    Then him concatenating input values (I noted in red) < comandos > with the value of 'farm' (String), and once again copy Variable < comandos > and has not had any problems

    but now with the new BPEL 2.0, I do the same thing now using literal XML (this good!) but the option to concatenate (that I've noticed in red) and copied to the same variable ( I noticed blue ), I mark the following error message:

    Error1.png

    I should know, I am doing wrong, or you need to to XPath function as the value that they already have the variable < comandos > will concatenate date,

    and is the final value of my entry, my Web Service.

    must be defined as table of values of type < comandos [i] >

    define the following activities before $InvokeClear_fnCRexec_InputVariable.parameters/comandos [1],

    but it seems that this BPEL 2.0 does not respect me in the form of hooks index.

    Thank you...

    See you soon,.

    I found the solution to get the value of an xml element and it concatenated with another variable within a beneficiary.

    is:

    ORA: getNodeValue (ora:getChildElement($InvokeCreaPath_fnCRexec_InputVariable.parameters,2))

    first get the desire here in my tree xml element is position 2 < comandos=""> and then get the value of this node.

    See you soon,.

  • How to set the value of a * APPLICATION * with apex.server.process?

    If I have a page named point P1_MY_PAGE_ITEM, I could put its value in the session by doing this:

    $s('P1_MY_PAGE_ITEM', 'I Like Pie!');
    
    apex.server.process(   'dummy'
                           , { pageItems: "#P1_MY_PAGE_ITEM" }
                           , { dataType: "text",
                             async: false,
                               complete: function( ajaxResponse )
                                     {
                                          var ignoredReturn = ajaxResponse.responseText;
                                     }
                             });

    Which works very well. If you check the session, the P1_MY_PAGE_ITEM will now have the value: I like pie!

    However, if I have an Application element (not a page element!) named MY_APP_ITEM, how could I do the same thing? How can I use apex.server.process to set the value of MY_APP_ITEM in the session? I wouldn't be able to use "pageItems" because MY_APP_ITEM is not a page element, it is a part of the application.

    What is the correct syntax to do this?

    Thank you

    -Joe

    Hey Joe,

    Returning to that thread you made a couple of months ago, the answer is here:

    Post adjustment Application items in the apex.server.process for a * process application *.

    Defining a point of application is as easy as providing the name of the application element to p_arg_names Bay and set a corresponding value in the p_arg_values table.

    For example, in an application with article SOME_ITEM of the application, I can put the value as follows:

    (function(){
    var arrNames = [], arrValues = [];
    arrNames.push("SOME_ITEM");
    arrValues.push('some value');
    apex.server.process(   'dummy'
                         , { p_arg_names: arrNames, p_arg_values: arrValues }
                         , { dataType: "text"
                           });
    })()
    

    Any required application process. Should the item be free that you set it from the browser.

  • Please help me on the jdeveloper to weblogic application deployment

    At the beginning I just thought after developing an adf application then just deploy as an .ear file and deploy it in the weblogic console and everything will be ok. But actually I had a lot of problems. Then I had a tutorial for it and I do what he says step by step, but some new problems occurred. This is the tutorial I mentioned: [how-to: ADF Deployment Guide | http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.htm]

    Now, could someone tell how did deploy your adf application?

    Here are the errors I got.

    It's the packege of installation and the operating system I use:
    1. 6.3_x64 + jdeveloper11123.jar(include wls10.3.5) + adr centOS (the package name is ofm_appdev_generic_11.1.1.6.0_disk1_1of1.zip) [and earlier, I used a solaris11 of oracle vm and install jdeveloper11.1.2.3, the same probem occurred as CentOS.]
    2 Win7_x64 + jdeveoper11123.exe(include wls10.3.5) + adr mentioned above

    Here are the problems I get:
    in case 1, after that I installed the jdeveloper (using the sun jdk 1.7), the weblogic seems to be fine but I na not configure a domain. But after I opened a
    request (which I get from the oracle jdeveloper tutorial demo, which works well in my Win7 env) and I run it, the integrated weblogic can not get
    has started. First in the console it says identifier jrocket - is not recognized, then I edit the setDomainEnv.sh and the startWebLogic.sh file in the
    integrated wls area (that of the Director of .jdeveloper) to assign to the variable JAVA_VM - server. After that another problem emerged: when the
    WLS goes to the 'start-up' status, it is blocked and I turn to System Monitor shows only a thread of java using more than 1 GB of memory in my system
    and occupy 150% of my cpu (it's a dual-core computer). I wait about 5 minutes, when an error came up said "PermSize is too small".so I change the
    setDomainEnv.sh file to set the PermSize be 1024 m and MaxPermSize to 2048. (the name of the variable is something like that, maybe not the)
    exactly on time. "I think you can understand that one is). But the problem is still there.

    then in 2 cases in the first place the jdev and integrated wls works fine, but when I deploy an application that works well in one ear of the file, and then deploy it to a
    WLS (10.3.5) autonomous it never Works.the dumb mistake is something libraries of reference/dependencies was not found. Then I tried again a server connection to
    the autonomous wls and I got the tutorial [how_to_deploy_adf | http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html], as the tutorial says I my standalone patch
    WLS with adr and everything is fine, no error reported. Then I tried the new server in the new slot machine the adminserver management and apply the
    the ADF model in him will overload / console em. But after I restarted the new server (by the console, and then by file stop + startweblogic.bat) the server is running
    the application in the new server is just 'not available '. I tried for three times in three computer, two of them are running win7, it runs Windows XP.

    I don't know what the problem is and I'm quite a beginner on this subject. Someone help me please. Thank you very much!

    respect, Neo.

    Neo,
    There are a few problems. First of all, jdev comes with its own jdk provided in the product (jdk 1.6_x). The next thing is that if you use JDev 11.1.2.3.0 to build an application you must use a wls 10.3.5 and 10.3.6 where you need to install the appropriate on runtime. In your case, you first install adf runtime 11.1.1.6.0 and then you need to install two patches that update the adf to 11.1.2.3.0 life. These husks are only available through support.oracle.com, which means that you need a support contract to get.
    More information you can find in my blog http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
    The rest of your problems disappear once you have installed the adf right on your server runtime.

    Timo

  • Impossible to deploy the Jdeveloper to Weblogic application!

    [14: 36:19] WebLogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: the source "c:\temp\webapp1.war" for the "webapp1" application could not be loaded on the server ' http://172.16.9.43:80/bea_wls_deployment_internal/DeploymentService.
    Server returned HTTP response code: 407 for URL: http://172.16.9.43:80/bea_wls_deployment_internal/DeploymentService

    Why jdeveloper try find file. WAR in c:\temp when in the deployment profile properties WAR - "C:\jtest\mywork\Application1\Project1\deploy\webapp1.war" file
    I find the wl_comp1472137365997981357.jar file that contains app\webapp1.war in c:\temp

    I have a problem after reinstalling JDeveloper and Weblogic.
    How to solve this problem?

    What version of JDeveloper and WLS?
    How you try to deploy (from the WLS console, JDeveloper, etc.)?
    You have a proxy between you and the WLS Server? (HTTP 407 means that the proxy server login)

    John

  • How to extract the value of a tag XML using regular Expressions

    We get a response XML from a WEB SERVICE.

    I convert it to VARCHAR2.

    Now, I want to get the real answer that is inside the tag of the response.

    I tried this:

    DECLARE

    V_1 VARCHAR2 (30000): = ' < soap: Body > < ns:ProcessArgusFeedsResponse xmlns:ns = "urn: PegaRULES:SOAP:ArgusToPegaFeeds:Services" > ' |

    '< response > good < / answer >< / ns:ProcessArgusFeedsResponse > < / soap: Body > ';

    v_response VARCHAR2 (100);

    BEGIN

    DBMS_OUTPUT. PUT_LINE (V_1);

    v_response: = REGEXP_SUBSTR (v_1, ' / < >(.+?) < \/Response > answer /');

    dbms_output.put_line (v_response);

    END;

    It does not work.

    Any help would be greatly appreicated.

    Hello

    user12240205 wrote:

    We get a response XML from a WEB SERVICE.

    I convert it to VARCHAR2.

    Why?  XML has its own native ways of analysis; Why not use them?

    If you use regular expressions, then REGEXP_REPLACE, as shown above, is a good option in Oracle 10, but starting in Oracle 11.1, you can use REGEXP_SUBSTR like this:

    REGEXP_SUBSTR (v_1

    , '(.+?)'

    1

    1

    NULL

    1

    )

    The 6th argument is like a backreference; "He tells REGEXP_SUBSTR did not return to the entire organization, but only the part inside the 1st left '(' et correspondant à sa droite).

    The '?' to make it non-greedy is necessary only if v_1 can contain more than one response.

    Now, I want to get the real answer that is inside the tag of the response.

    I tried this:

    DECLARE

    V_1 VARCHAR2 (30000): = "" |

    'Good';

    v_response VARCHAR2 (100);

    BEGIN

    DBMS_OUTPUT. PUT_LINE (V_1);

    v_response: = REGEXP_SUBSTR (v_1, ' /(. +?)) <\ esponse="">/');

    dbms_output.put_line (v_response);

    END;

    It does not work.

    That's because it's looking for a slash ("/") before the '' tag and another after the ' tag.

    The backslash ("\") is not necessary here, but it is not nothing wrong.

  • doc XML format based on the values in a different xml doc

    Version of database: Oracle 10 g

    I have a file of XML "data" and an associated error file which is also XML. I want to take the data XML file and highlight visually in an html file only tag fields and content that are there in the file 'error.


    There are many fields in the data file, so the error could be just about anywhere. Can someone please tell me what I should read or give me advice on how should I proceed?

    I built a style sheet for the file "data" - but of course it's static. I need 2 style sheets and apply both somehow? I also thought that I use the "error" xml doc and simply rewrite the nodes of the error in the "data" file and then use the stylesheet to annotate the data file based on what I'm rewriting.
    for example
    If the data are
    < Field1 > content field 1 < / field1 >

    and the error file Field1 in there, I would like to rewrite the data file to have say < error > content field 1 < / error > and just mark the <>error using the style sheet. Is this a reasonable solution? Even then I need help on the actual xml/sql functions, I need to rewrite the xml data.


    I am a beginner in this rank and I apologize - what seems such a newbie question that must have been asked before - I wish just that I could find it in the forum.


    Thank you!

    Published by: user13112667 on October 15, 2010 12:38

    A small improvement on the method of the XSLT.

    For faster access, we can define a key on the couple ": segment element" of the list of errors, for example:

    
    
    
    
     
      
       
       
       
    err
  • Difference between prefer application-packages in weblogic.xml and weblogic application. XML?

    Hello!

    When you deploy a WAR for WebLogic 10.3.5, what is the difference between the prefer-application-package element in the weblogic.xml and weblogic application files. XML?

    In my WARs WEB-INF/lib / I have a JAR that contains classes that are already provided by the container (but older versions).

    If I do not prefer-application-packages use my application gets then the classes provided by the container.

    If I use prefer-application-packages in weblogic.xml can I get classes in WAR/WEB-INF/lib, which is expected.

    But if I use prefer application-packages in weblogic - application.xml, then I get the versions of container. Why?

    Is there a difference between these two options?

    The exact data that I use are:

    (foo.bar. * is the name of the conflicting package;) Add or remove the linex tagged XXXX)

    WEB-INF/weblogic.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
        xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
        <wls:container-descriptor>
            <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>
            <wls:prefer-application-packages> <!-- XXXX -->
                <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX -->
            </wls:prefer-application-packages> <!-- XXXX -->
            <wls:prefer-application-resources>
                <wls:resource-name>META-INF/services/some....</wls:resource-name>
                <wls:resource-name>META-INF/services/unrelated...</wls:resource-name>
                <wls:resource-name>META-INF/services/stuff...</wls:resource-name>
            </wls:prefer-application-resources>
        </wls:container-descriptor>
        <wls:jsp-descriptor>
            <wls:page-check-seconds>-1</wls:page-check-seconds>
            <wls:precompile>true</wls:precompile>
            <wls:precompile-continue>true</wls:precompile-continue>
            <wls:keepgenerated>true</wls:keepgenerated>
        </wls:jsp-descriptor>
        <wls:session-descriptor>
            <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type>
        </wls:session-descriptor>
    </wls:weblogic-web-app>
    

    META-INF/weblogic - application.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">
        <application-param>
            <param-name>webapp.encoding.default</param-name>
            <param-value>UTF-8</param-value>
        </application-param>
    
        <xml>
            <parser-factory>
                <saxparser-factory>
                    org.apache.xerces.jaxp.SAXParserFactoryImpl
                </saxparser-factory>
                <document-builder-factory>
                    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
                </document-builder-factory>
                <transformer-factory>
                    org.apache.xalan.processor.TransformerFactoryImpl
                </transformer-factory>
            </parser-factory>
        </xml>
    
        <prefer-application-packages>
            <package-name>foo.bar.*</package-name> <!-- XXXX -->
            <package-name>javax.jws.*</package-name>
            <package-name>javax.xml.ws.*</package-name>
            <package-name>org.apache.cxf.*</package-name>
            <package-name>antlr.*</package-name>
            <package-name>org.xmlsoap.schemas.wsdl.*</package-name>
        </prefer-application-packages>
    </weblogic-application>
    

    WebLogic - application.xml has no meaning in wars, it is only used in the ears.

  • How to change weblogic application. XML

    I have create one EAR based on hudson.ear using jdev 11.1.1.4. Due to conflict jar files, I need to change the weblogic - application.Xml.
    I EAR and rename the rar and extract it. Then I add tag < prefer-application-packages > weblogic application. XML by hand. And
    I can't find weblogic - application.xml in Jdeveloper. I want to change this file in Jdeveloper before you deploy this application to the EAR.
    How to do?

    There isn't a folder, it is a (accordion) pane in the navigation Application - normally it's just above the pane controls data and below the projects pane

  • Need help to retrieve the value of an xml tag.

    Hi all

    Hello all, I have problem to extract a value from an xml tag. I created an xml schema based on the schema, I created an xmltype table and inserted a value to the table. When I try to extract a value of a particular tag I can't do... Kindly help me to solve this problem. Here by I write all working, I did...

    I use the following client:
    -----------------------------------

    SQL * more: Release 10.2.0.1.0 - Production on Mon 31 Jan 11:44: 59 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.


    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options


    ////////////////////////////////// XML Schema ///////////////////////

    Start
    () dbms_xmlschema.registerSchema
    "http://www.oradev.com/chipsxml.xsd,"
    ' < scheme xmlns = "http://www.w3.org/2001/XMLSchema".
    targetNamespace = "http://www.oradev.com/chipsxml.xsd."
    xmlns:SAMP = "http://www.oradev.com/chipsxml.xsd".
    version = "1.0" >

    < feature name = 'Field1' >
    < complexType >
    <>sequence
    < element name = "UTI" >
    < complexType >
    <>sequence
    < element name = "U01" type = "string" / >
    < element name = "U02" type = "string" / >
    < element name = "U03" type = "string" / >
    < element name = "U03a" type = "string" / >
    < element name = "U03b" type = "string" / >
    < element name = "U03c" type = "string" / >
    < element name = "U04" type = "string" / >
    < element name = "U05" type = "string" / >
    < / sequence >
    < / complexType >
    < / item >
    < / sequence >
    < / complexType >
    < / item >
    < / schema > ',
    (TRUE, TRUE, FALSE, FALSE);
    end;


    A table that has several column.

    CREATE TABLE chipsxmltable1)
    Identification number, XMLDATA XmlType)
    XMLTYPE XMLDATA STORE AS OBJECT / RELATIONAL
    XMLSCHEMA 'http://www.oradev.com/chipsxml.xsd '.
    ELEMENT 'field1 ';


    Insert the query in chipsxmltable.

    INSERT INTO (VALUES) chipsxmltable
    XmlType.CreateXml ("<?") XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    Y < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    ((< / samp: field1 > '));


    To display the data in a field with the structure:
    --------------------------------------------

    1. motion:
    ----------
    Select * from chipsxmltable1;

    Output:
    -------


    ID XMLDATA
    ---------- -----------------------------------------------------------------
    1 <? XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    No. < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    < / samp: field1 >


    2 query: (both the query shows the same result)
    ----------

    SELECT X.xmldata.getClobVal ('XMLDATA' FROM chipsxmltable1 X);

    Select extract (XMLDATA, "/ Field1'") .getstringval ("XMLDATA" chipsxmltable1 x);


    Output:
    --------

    XMLDATA
    -----------------------------------------------------------------
    <? XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    No. < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    < / samp: field1 >


    To display the data as a single string without structure using "getstringval()":
    ---------------------------------------------------------------------------------

    3 query
    ---------

    Select extract (XMLDATA, "//text()').getstringval()"CHIPS - XML"of chipsxmltable1 x;)

    Output:
    -------

    CHIPS - XML
    ---------------------
    NoNoYYYYYY


    To display the data as a single string without structure using "getclobval()":
    ---------------------------------------------------------------------------------

    4 query
    -------

    Select extract (XMLDATA, "//text()').getClobVal()"CHIPS - XML"of chipsxmltable1 x;)

    Output:
    --------

    CHIPS - XML
    -----------------
    NoNoYYYYYY


    To display the data in a tag with or without structure (which does work) using the function "EXTRACT":
    -------------------------------------------------------------------------------------------------------------

    6.query:
    ---------

    Select extract (XMLDATA, "/Field1/text()').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI/U01').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI/U01/text()').getstringval()"XMLDATA' chipsxmltable1 x;


    Output:
    --------

    CHIPS - XML
    ---------------------------------------



    The queries above are not fetch the value.



    To display the data in a tag with or without structure (which does work) using the function "EXTRACTVALUE":
    ------------------------------------------------------------------------------------------------------------------

    7 query:
    ----------

    Select extractValue (XMLDATA, ' / Field1/UTI ') 'XMLDATA' of chipsxmltable1 x;

    Select extractValue (XMLDATA, ' / U01/UTI/Field1 ') 'XMLDATA' of chipsxmltable1 x;


    Output:
    --------

    X
    -



    The queries above are not fetch the value.


    My question is:
    --------------------
    How to extract the values of xml tag when the value are inserted through xml schema?


    My apologies if the description is not clear. Kindly let me know if further details are required. Thanks a lot for your help.

    Very cordially,
    Godwin Castro C.V.

    Hello

    You must declare the namespace of each element used in the XPath expression, like this:

    SQL> select extractvalue( XMLDATA
      2                     , '/samp:Field1/UTI/U01'
      3                     , 'xmlns:samp="http://www.oradev.com/chipsxml.xsd"' ) "XMLDATA"
      4  from chipsxmltable1 x
      5  ;
    
    XMLDATA
    --------------------------------------------------------------------------------
    No
     
    
    SQL> select extract( XMLDATA
      2                , '/samp:Field1/UTI'
      3                , 'xmlns:samp="http://www.oradev.com/chipsxml.xsd"'
      4                ).getstringval() "XMLDATA"
      5  from chipsxmltable1 x
      6  ;
    
    XMLDATA
    --------------------------------------------------------------------------------
    
      No
      Y
      Y
      Y
      Y
      Y
      Y
      Y
    
     
    

    Please see EXTRACT and EXTRACTVALUE documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions051.htm#i1006712
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions052.htm#SQLRF06173

    BTW, 'XMLDATA' is a pseudo-column used by Oracle. I don't know if it will never cause any conflict, but perhaps you need to rename your column.
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/pseudocolumns010.htm#SQLRF00256

    Kind regards.

  • The value of charset-params Weblogicv12

    Hi guys! I'm deployment artifact to the format of the war . It has parameters in the weblogic.xml file. In this file I added the tag charset params for example:

    < charset params >

    < input-charset >

    > resource path < / * < / resource-path >

    < java-charset name > UTF-8 < / java-charset-name >

    < / input-charset >

    < / charset params >

    The deployment completed successfully!

    But, when I build artifacts ear with the war (the war has the same charset params parameter in weblogic.xml file)

    then during the deployment process, I get following error:

    Caused by: weblogic.descriptor.DescriptorException: VALIDATION of the PROBLEMS have BEEN FOUND

    problem: cvc-complex - type. 2.4 b: element not allowed: charset params @ http://xmlns.Oracle.com/WebLogic/WebLogic-Web-app in the weblogic-web-app element @ http://xmlns.oracle.com/weblogic/weblogic-web-app: < null >

    to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:245)

    to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:231)

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

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

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

    Truncated. check the log file full stacktrace

    How can I use charset params parameter in the latter case?

    Thanks for the help everyone!

    I found the decision.

    In the second case, I had only not to use charset params. Instead it I use setting webapp.encoding.default (search by this title: things application.xml deployment descriptor - weblogic) in weblogic - application.xml example:

    WebApp.Encoding.default

    UTF-8

    Note: This settings I added in weblogic - application.xml for ear artifact

  • Select the block of text of XML structure

    I try to move the specific text blocks created if an XML to import to the bottom of the page (low mounting table) as info Folio and slug.

    I can choose the text associated with an XML "VTag" element, but not the text block. Any help would be appreciated.

    Thank you

    property myHoHoV: {}
    on myLoopLoop (myElement)

    Tell application "Adobe InDesign CS4"
    tell the active document
    the value moreElement for each XML element of myElement
    Repeat with 1 x to (moreElement County)
    the value of element x of moreElement em1
    Select em1
    If (the tag name of the em1 is "VTag1") then
    em2 Set to em1
    Set the properties of the display preferences {horizontal measurement units: inch, vertical measurement units: inches, origin origin: the rule page}
    at the top left anchor the transform value point of reference of the window layout 1
    Select text of em2
    Tell application "Adobe InDesign CS4"
    move the em2 text to {5, 5}
    tell the end
    end if
    Tell me myLoopLoop (point x of the moreElement)
    end repeat
    tell the end
    tell the end
    end myLoopLoop

    Hi Kyran,

    If the previous code has a problem, then try this code below.

    Tell application "Adobe InDesign CS4"
    activate
    the value myPageHeight at the height of the page of the preferences of the document 1 document
    the value myPageWidth to the width of the page of the preferences of the document 1 document
    the value myOldRulerOrigin at the origin of the rule of document 1 display preferences
    the original value of the rule of 1 at the origin of the page display preferences
    Set the zero point of the document 1 to {0, 0}
    the value mapping page active of the active window
    tell document 1
    the pgcnt value to count pages
    Repeat with 1-pgcnt p
    tell the page p
    the txtframe value to count blocks of text
    Repeat with 1-txtframe f
    the value paracnt to count paragraphs of text frame f
    tell text frame f
    Try
    TagName {} Set
    Repeat with 1 paracnt access point
    end game of tagname to (name of the tag to (point 1 of the associate XML elements) paragraph ap) as string
    end repeat
    If ((comte de tagname) is equal to 1) and (each point of tagname contains "VTag1") then
    Select
    move to {0.125, myPageHeight + 0.125}
    on the other
    don't select anything
    end if
    try to end
    tell the end
    end repeat
    tell the end
    end repeat
    tell the end
    activate
    Display dialog "process is complete...". "with the 1 icon
    tell the end

    Concerning

    MANi

  • Cannot get the value

    Hello

    I'm trying to get the value of salesmgr below xml using the query

    Select extract (' object_value, ' / abcprj:Project/@salesMgr','xmlns:abcprj="http:/sun.com/com/sun/cd/prj/1.0 ')

    ') of Project2

    However, I have some selected lines. I'm trying to get John Smith. Can someone please help me correct the request.

    <? XML version = "1.0" encoding = "UTF-8"? >

    "< abcprj:Project activeSubProject="//@subProjects.0 "startDt =" "2014-01 - 18 T 09: 56:23.491 - 0800 ' salesMgr ="John Smith""

    "' xmlns:abcprj="http:/sun.com/com/sun/cd/prj/1.0 ' xmlns:xmi = ' http://www.omg.org/XMI "xmi:version ="2.0"> "

    < subPrj = 'Test' mfg name = 'USA' >

    < / subPrj >

    < / abcprj:Project >

    Thank you

    Please close this message. content XML was bad so above query did not work.

Maybe you are looking for