Adding a runtime option in opmn.xml had no effect

We just [added a java-option|http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/sysprops.htm#CHDEEDAA] (-Djbo.debugoutput=silent) for an oc4j container (10g 10.1.3.0.0) but it had no effect.
What could be the reason for this?
The following line still keeps appearing in the logs:
10/01/10 11:36:41 Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)

Welcome to the forum.
One of the issues with Widescreen material is that most 16:9 TV's, and even some DVD/BD players, have settings on how 16:9 material will be displayed.
As a test, choose Burn to Folder (on your computer), which will result in a VIDEO_TS folder with the IFO, BUP and VOB files inside (plus an OpenDVD folder). Use a DVD software player, such as CyberLink's PowerDVD, or the free MediaPlayer Classic HC, to play that VIDEO_TS folder. Does that software player display the material as 16:9, or as 4:3?
That should tell us if there is an issue with the VIDEO_TS folder's files and the PAR flag, or if the issue might be elsewhere.
Good luck,
Hunt

Similar Messages

  • Windows command length execeeded when add java options in opmn.xml

    Hi All,
    I have a Oracle AS 9i installed on Windows 2000. There are some requirement from my application that need to add additional java-options when start up OC4J. So, I updated the opmn.xml by add my things to <data id="java-options" > for start-parameters.
    But when I start up server, I got following information in ipm.log:
    06/05/16 17:18:06 create_proc: Windows command length exceeded: D:\ora9ias\jdk\bin\javaw.exe
    I have tried Oracle AS 10g with the same OS and java-options, the server can start up without any problem.
    Is there anyway to make Oracle AS 9i work in this situation?
    Thanks for any help.

    Hi again,
    Solved the issue simply by editing the xml file with sed:
    VAR1='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=128M -Xms512M -Xmx1024M -XX\:AppendRatio\=3\"\/\>'
    VAR2='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=256M -Xms512M -Xmx1024M -XX\:AppendRatio\=3 -Duser\.country\=SE -Duser\.language\=sv\"\/\>'
    sed "s/$VAR1/$VAR2/" opmn.xml > Newopmn.xml; cp Newopmn.xml opmn.xml
    This is a text string that contains start parameters and it can be found here:
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/OC4J_I413/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -XX:MaxPermSize=128M -Xms512M -Xmx1024M -XX:AppendRatio=3"/>
    //Kerstin

  • Numprocs option  in opmn.xml is not working for me

    Hi Folks,
    I wat to try numprocs=2 to create 2 JVMs and try some load runs to check the performance improvements.
    When I went to server Config page in administration tab of EM. There I see the "number of VMs" input box is disable.
    So I directly went to opmn.xml and changed the numprocs="2" from 1. Now when I restarted the App server, I find 2 JVMs are running which is fine.
    But the issue here is that I not able to open EM when I am using numprocs=2. I am getting following error when i open my EM...
    Error: Application Server Control cannot run on an OC4J instance with more than one Java Virtual Machine (JVM).
    So I doubt I am doing some thing wrong. Please let me know what is the issue..
    1. Why the number of VMs input box is disabled?
    2. Why I am not able to open EM when I manualy change opmn.xml.
    Please help me out as early as possible... Thanks in advance...
    Regards,
    Sree

    You might want to post this on the OC4J forum:
    OC4J

  • When i use IE9, i go to my emails and any pics in the mail open with the mail but with FF i have to download them is there a way to make the pics open in the mail, i set yahoo to load images automatically in the options menu this has had no effect, thanks

    some pictures(jpeg or gif) come as part of email if i use IE9 these images open as part of the mail, but with firefox i have to download them separately and then they don't appear in email. i have been in the options menu and allowed yahoo.com to automatically load images but this has had no effect, thanks

    Sounds like you did this on the fly.
    MM is supposed to open the Marker Panel Dialogue
    M just sets a marker
    Not sure if either are intended for on the fly during playback .
    There is also a Marker Icon on the Source Window Pane  >>

  • How do you add start parameters in opmn.xml with a command?

    I'm trying to make a shell script to install an OC4J automatically. What I need to do now is adding start-parameters to the opmn.xml. Obviously, I don't want to go into the file itself and manually add the text. Is there a command to set them?? Or is there any other way around this?
    I.e., I want to add -Duser.country=SE and -Duser.language=sv as below:
    <process-type id="OC4J_I413" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-Doc4j.formauth.redirect=true
    -Dhttp.session.debug=true
    -Duser.country=SE
    -Duser.language=sv"/>
    </category>
    </module-data>
    </process-type>
    Thanks a lot!
    Kerstin

    Hi again,
    Solved the issue simply by editing the xml file with sed:
    VAR1='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=128M -Xms512M -Xmx1024M -XX\:AppendRatio\=3\"\/\>'
    VAR2='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=256M -Xms512M -Xmx1024M -XX\:AppendRatio\=3 -Duser\.country\=SE -Duser\.language\=sv\"\/\>'
    sed "s/$VAR1/$VAR2/" opmn.xml > Newopmn.xml; cp Newopmn.xml opmn.xml
    This is a text string that contains start parameters and it can be found here:
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/OC4J_I413/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -XX:MaxPermSize=128M -Xms512M -Xmx1024M -XX:AppendRatio=3"/>
    //Kerstin

  • Process for adding a boolean option to the web service API

    Hey guys,
    Here's a little background:
    I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the date handling while I'm at it (I want null instead of mangled dates when receiving bad data when strict mode is off).
    This is for my benefit at the moment as I'm tired of spending time debugging Flex code when XFire and Oracle are spitting out rubbish (like empty xsd:DateTime nodes, DateTimes in xsd:Date nodes, etc) - but I'm sure other people would like to use it too while we don't have a response validator, so I'd like to do it in a way that I can submit as a feature request (with patch) on Jira.
    My questions are about the procedure for stuff like this- where should this option be made public in the API, and who would I talk to about it? Or would it be best for it to always be strict? - That's how I'd like it :) Perhaps it should just log errors when it encounters bad data?
    This is the first thing I'd like to "add" to the SDK rather than a simple bug-fix, so I just want to do things in a kosher manner. Sorry if I come across like a total noob :)
    Cheers,
    -Josh
    "Therefore, send not to know For whom the bell tolls. It tolls for thee."
    :: Josh 'G-Funk' McDonald
    :: 0437 221 380 ::
    [email protected]

    Hey Josh,<br /><br />I'm swamped at the moment but appreciate your interest and your<br />contributions to Flex and WebServices thus far. I'll try and get some<br />time to look into your specific request and what you're hoping to do at<br />the code level, but to answer your question about test cases, you should<br />consider the NIST testsuite for XML Schema datatypes.<br /><br />BlazeDS has historically maintained the WebService implementation, so it<br />appears their test case for NIST based schema tests starts out here (and<br />refers to many data type test cases in the /nist subdirectory).<br /><br />http://opensource.adobe.com/svn/opensource/blazeds/branches/3.0.x/qa/app<br />s/qa-regress/testsuites/flexunit/src/tests/flexunit/xml/NISTXMLSchemaTes<br />t.as<br /><br />Pete <br /><br />________________________________<br /><br />From: [email protected] [mailto:[email protected]] On Behalf Of Josh<br />McDonald<br />Sent: Tuesday, July 08, 2008 8:21 PM<br />To: [email protected]<br />Subject: Re: Process for adding a boolean option to the web service API<br /><br /><br />A new message was posted by Josh McDonald in <br /><br />Developers --<br />  Process for adding a boolean option to the web service API<br /><br />Yeah I knew it'd have to be somewhere outside of SchemaMarshaller, as<br />it's [ExcludeClass] anyway so end users don't see it, nor is it<br />documented in the api docs. Just wasn't sure where it should be. I'll<br />have a think about it some more when I get some down time to work on it,<br />but webservice was where I was thinking it should be too. Didn't think<br />about having it settable on operation as well though, so thanks for that<br />:)<br /><br />Anybody know a good source of valid values for various XSI types (date<br />and DateTime mainly) for testing purposes? Or even who I should contact<br />to get access to that sort of thing? I assume the W3C will take 6 months<br />to answer me, and the answer will be "buy our $10,000 compliance testing<br />suite" or something along those lines.<br /><br />-Josh<br /><br />On Wed, Jul 9, 2008 at 9:46 AM, Matt Chotin <[email protected]><br />wrote:<br /><br /><br />     A new message was posted by Matt Chotin in<br />     <br />     Developers --<br />      Process for adding a boolean option to the web service API<br />     <br />     I think for a top-level user option I would put the new option<br />on the mx.rpc.soap.Operation class (I think that's the name).  You'd<br />then have that propagate through to the underlying schema classes as<br />they are used.  I'd then also add an option to the WebService class<br />itself, and basically in the Operation it should see if it has its own<br />value set and if not check the value on the WebService.  We do this for<br />a couple of other flags too I think.<br />     <br />     End users in general wouldn't look at any classes other than the<br />WebService and maybe the Operation classes, so asking them to set<br />options on the schema classes themselves probably wouldn't work.<br />     <br />     Matt<br />     <br />     <br /><br /><br /><br />-- <br />"Therefore, send not to know For whom the bell tolls. It tolls for<br />thee."<br /><br />:: Josh 'G-Funk' McDonald<br />:: 0437 221 380 :: [email protected] <br /><br /><br />________________________________<br /><br />View/reply at Process for adding a boolean option to the web service API<br /><a href=http://www.adobeforums.com/webx?13@@.59b5be89/1> <br />Replies by email are OK.<br />Use the unsubscribe<br /><a href=http://www.adobeforums.com/webx?280@@.59b5be89!folder=.3c060fa3>  form<br />to cancel your email subscription.

  • Setting ProGuard options in build.xml (SOLVED)

    Hi guys,
    I'm trying to obfuscate my MIDlet so I can use BCrypt and the bouncy castle library. I'm getting the following error and I see that I need to add '-dontskipnonpubliclibraryclasses' and/or '-dontskipnonpubliclibraryclassmembers'. I've read ProGuard's instructions on adding options to an xml file but they are incompatible with Netbeans 6.8's build.xml. How can I set these two options for ProGuard through my build.xml file? I've included the obfuscation related part of my build-imp.xml.
    NetBeans Output:
    Building jar: C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar
    ProGuard, version 4.4
    Reading program jar [C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\midp_2.0.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\cldc_1.1.jar]
    Note: duplicate definition of library class [java.io.ByteArrayOutputStream]
    Note: there were 1 duplicate class definitions.
    Warning: shared.BCrypt: can't find referenced method 'java.lang.Object clone()' in class java.lang.Object
    Warning: there were 1 unresolved references to program class members.
             Your input classes appear to be inconsistent.
             You may need to recompile them and try again.
             Alternatively, you may have to specify the options
             '-dontskipnonpubliclibraryclasses' and/or
             '-dontskipnonpubliclibraryclassmembers'.
    Error: Please correct the above warnings first.
    C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build.xml:94: Obfuscation failed with error code 1.
    BUILD FAILED (total time: 13 seconds)build-imp.xml's obfuscation:
    <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>Thanks guys,
    jangozo
    Edited by: jangozo on Jan 24, 2010 1:55 PM
    I just got rid of the BCrypt file.

    I ran into this same problem when using ProGuard 4.1 for Java obfuscation. The problem is that there is a space in the path to your JDK/JRE, for example: c:\Program Files\Java\jdk1.6.0_03. Because there is a space before the word "Files", it isn't working. The solution to to wrap quotes around that particular command-line argument. In ANT, I needed to use single-quotes (because double-quotes were already in use for the XML attribute) such as:
    <java jar="proguard.jar" fork="true" timeout="30000">
    <arg value="-libraryjars"/>
    <arg value="'${java.home}/lib/rt.jar'"/> <!-- Notice both double and single quotes used on this line. -->
    ...rest of the arguments go here...
    </java>
    Alternatively, using ProGuard's custom ANT Task, it would look something like (notice the use of double-quotes around the rt.jar location):
    <proguard>
    -libraryjars "${java.home}/lib/rt.jar"
    ...rest of the arguments go here...
    </proguard>
    Anyways, I hope this helps you or anyone else who runs into the same problem. Both of these approaches have worked for me.

  • OPMN.XML - strange caracters after lauching the Iasconsole

    Hello all,
    Something very strange started to happen and I cant see why :(
    When I launch the IAs console the file opmn.xml is changed by the application and some strange caracters show up in the file.
    example: caracters like "â" "m":
    <data id="java-options" value="-server -Xms128M -Xmx1024M âXX:MaxPermSize=128m
    Djava.security.policy=/u01/app/oracle/product/ias_10.1.2/j2ee/OC4J_TEST/config/java2.policy -Djava.awt.headless=true"/>
    Because of the strange caracters I cannot launch the opmn and I get the following error when executing the
    opmnctl startall:
    ERROR:
    In line 1 of /u01/app/oracle/product/ias_10.1.2/opmn/conf/opmn.xml:
    LPX-00200: could not convert from encoding UTF-8 to ISO-8859-1
    XML parse failed: error 200.
    The workaround is not to start the console, edit the opmn.xml removing the strange caracters, and launch the opmn with "opmnctl startall".
    If the opmn is up and I try to launch the iasconsole the console starts but the opmn goes down.
    Has anyone see this? Can anyone help me out?
    I appreciate your help on this one.
    Tks
    Thanks in advance.
    Joao

    This might have to do with regional settings, or "funny" keyboard settings. Do you use a localized OS (ergo: is you *nix talking english and are you using US intl. keyboards?)                                                                                                                                                                                                                                                                                                                                                               

  • Missing opmn.xml in OC4J standalone

    Hi, I just downloaded the latest standalone version of OC4J. When I unpack it, there is no opmn.xml file in the archive at all.
    I need to set some JVM options, and all instructions say to use this file. Is there some other way to set java options with the standalone version?
    Thx in advance,
    Davis

    Davis,
    You do not need opmn.xmml file for the standalone OC4J, and you can pass all the VM parameters on command line or add them in the start up batch file.
    Please review this link.
    Hope this helps.
    Deepak

  • UserThreads not configurable in opmn.xml 10.1.3.1

    I need to use the -userThreads option with oc4j.
    I try to configure the opmn.xml file with startup option -userThreads.
    An error occurs with bad option message.
    How can i configure userThreads option with opmn / oc4j startup ???

    Hello,
    Could you please copy your OPMN entry in the forum?
    Regards
    Tugdual Grall

  • HT1473 I got my MAC PRO installed with iOS lion and since then i'm unable to add music on my iTunes and i tried adding to library option but still it copies and at the end it stays empty, doesn't even open new songs on it. any suggestions ?

    hey,
    I've rebooted my mac before installing new ios lion, so after everything was done i copied my data back to my mac book pro, then simple clicked on adding to library option in itune and it only synced half of the track and rest simply didnt copy, i thought maybe some error occured and i tryed the same procedure again but its not adding more tracks in it. and i just notice when ever i try play a new song through my data it does not open in itune these are the same tracks and songs i been listening to since ages on different note books and pods..
    Help me i've tryed everything but nathing seems to be working. and my itune is uptodated =S

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • When I open iWeb it does not "Highlight" the New site or new page options. It ahs had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    When I open iWeb it does not "Highlight" the New site or new page options. It has had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    Open iPhoto, select a couple of photos and use the Share ➙ iWeb ➙ Photo page menu option.  That has jump started iWeb for others.  I could take a couple of tries.
    If that doesn't work try the following:
    1 - delete the iWeb preference file, com.apple.iiWeb.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iWeb folder. 
    Click to view full size
    3 - launch iWeb and try again.
    OT

  • Whenever i click on word or powerpoint it always brings up a recent document. I want to have the option like when i had first opened the app that gives the options of new document and the variety of different documents. how do i get it back to that?

    whenever i click on word or powerpoint it always brings up a recent document. I want to have the option like when i had first opened the app that gives the options of new document and the variety of different documents. how do i get it back to that?

    tbreezy wrote:
    THANK U!! K ONE MORE QUICK QUESTION. HOW DO I GET RID OF THAT POP UP BOX?
    Not sure, try googling "the global template normal.dotm is already open as an add-in program"

  • Optional attributes in XML to ABAP transformation

    Hi,
    I have to deserialize (transformation xml to abap) an xml input file.
    I want to use SAP ST (Simple Transformations).
    This xml format is using attributes
    Such attributes can be transformed in ST with
    <tt:attribute name="item_id" value-ref="MATNR"/>
    I realized 2 problems:
    1. If the xml file does not contain every attribute which is in the transformation.
    This can be solved by tt:cond
    Sample
              <tt:cond>
                <tt:attribute name="uom" value-ref="BASE_UOM"/>
              </tt:cond>
    Now attribute uom is optional. Without the tt:cond the ST prragrom would throw exception if it is not in the file.
    2. If the xml file contains an attribute which is not used in the transformation.
    I tried to use tt:skip but it is not working for "<tt:attribute name= ... value-ref=... name" but only for "<tt:value-ref=...".
    I only want to get the values I need out of the parameter list.
    How can I achieve this without defining a transformation for every parameter in the xml file?
    Thanks and regards
    Michael

    Hi,
    thanks for reply. It took me into the right direction. You have to distinguish between elements (ordered structured nodes) and attributes (unordered structured nodes). In my case they are using attributes for the values of a material master.
    Here is a snippet (sample of the XML):
    <?xml version="1.0" encoding="utf-8"?>
    <TcPLMXML>
      <TCifEngPart item_id="1-3000-3630-00"
                   seMaterialType="HALB"
                   uom="ST"
                   seWeight="2000.0" seWeightUnit="KG">
      </TCifEngPart>
      <TCifEngPart item_id="1-30000-41002-00"
                   seMaterialType="HALB"
                   uom="ST"
      </TCifEngPart>
    </TcPLMXML>
    and my transformation:
          <tt:loop ref="MATERIAL_LIST">
            <TCifEngPart>
              <tt:attribute name="item_id" value-ref="MATNR"/>
              <tt:attribute name="object_name" value-ref="MATL_DESC"/>
              <tt:attribute name="seMaterialType" value-ref="MATL_TYPE"/>
              <tt:attribute name="uom" value-ref="BASE_UOM"/>
              <tt:cond>
                 <tt:attribute name="seLength" value-ref="LENGTH"/>
                 <tt:attribute name="seWidth" value-ref="WIDTH"/>
                 <tt:attribute name="seHeight" value-ref="HEIGHT"/>
              </tt:cond>
              <tt:skip>
                 <tt:attribute name="seWeight" />
                 <tt:attribute name="seVolume" />
              </tt:skip>
            </TCifEngPart>
          </tt:loop>
    Length, width and hight are optional in the XML and will be transferred to the corresponding SAP fields if they are in the input file Weight and volume will be ignored.
    This means all attributes I don't need I have to put within the tt:skip.
    Without this skip the transformation throws an error.
    In consequence if the partner system add new attributes I have to enhance the transformation in SAP.
    Is there any other way?

  • Adding an extra element to a XML message

    Hello,
    We are generating XML-files using DBMS_XMLQUERY on a Oracle Database 10g Enterprise Edition Release 10.2.0.3.0.
    This works fine. But now one of our customers needs an extra element (header) in the XML file. How do I get this job done?
    The XML-file needs to look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <header>
    <retailPartnerCode>retailPartnerCode</retailPartnerCode>
    <bestandsNaam>bestandsNaam</bestandsNaam>
    <berichtNaam>berichtNaam</berichtNaam>
    <berichtDatumTijd>2001-12-31T12:00:00</berichtDatumTijd>
    </header>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    Currently the output looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    The code generating this XML:
    procedure create_xml_file(
    is
    l_xml clob;
    l_ctx DBMS_XMLQUERY.ctxhandle;
    PROCEDURE clob_to_xml (p_file IN VARCHAR2,
    p_clob IN CLOB,
    p_dir in varchar2,
    p_setrowsettag in varchar2 default 'Dataset',
    p_setrowtag in varchar2 default 'Table'
    IS
    l_output UTL_FILE.file_type;
    l_amt NUMBER DEFAULT 5000;
    l_offset NUMBER DEFAULT 1;
    l_length NUMBER DEFAULT NVL (DBMS_LOB.getlength (p_clob), 0);
    BEGIN
    l_output := UTL_FILE.fopen (p_dir, p_file, 'w', 32760);
    WHILE (l_offset < l_length)
    LOOP
    UTL_FILE.put (l_output, DBMS_LOB.SUBSTR (p_clob, l_amt, l_offset));
    UTL_FILE.fflush (l_output);
    l_offset := l_offset + l_amt;
    END LOOP;
    UTL_FILE.new_line (l_output);
    UTL_FILE.fclose (l_output);
    END clob_to_xml;
    BEGIN
    l_ctx := DBMS_XMLQUERY.newcontext('select mvw.rpr_artikel_nr "artikelNummer",
    mvw.rpr_kleur_nr "kleurNummer",
    mvw.rpr_maat_code "Maat",
    mat.locus_status_code "Status",
    mat.ontvangen_aantal "aantalOntvangen",
    mat.werkelijke_aankomst_datum "werkelijkeAankomstDatum",
    mat.ontvangst_order_nr "ggb",
    mat.ontvangst_order_nr "goederenSoort"
    from wdp_magazijn_aankomsten mat
    , wdp_rpr_artikel_maat_vw mvw
    where mvw.maa_id = mat.maa_id;);
    DBMS_XMLQUERY.setrowsettag (l_ctx, 'aankomstBevestiging' );
    DBMS_XMLQUERY.setrowtag (l_ctx, 'aankomst');
    DBMS_XMLQUERY.setdateformat (l_ctx, 'dd-MM-yyyy HH:mm:ss');
    DBMS_XMLQUERY.setencodingtag (l_ctx, 'UTF-8');
    l_xml := DBMS_XMLQUERY.getxml(l_ctx);
    DBMS_XMLQUERY.closecontext (l_ctx);
    clob_to_xml (p_file_name,l_xml, l_dir );
    end if;
    end;
    /

    Posted this messages also in PL/SQL XML programming
    Adding an extra element to a XML message

Maybe you are looking for

  • How do I get iPhoto to use my Mail address book and no Themes?

    How do I get iPhoto to stop themes and use mail to share my photos? I have corrected this on another system (iMac and MacAir) but do not remember how I did it.

  • BSIS and BSIK table Fields

    Dear Experts, I m coding a Vendor GL report and using bsik and bsis table. problem is when i check for a document ( say 1100000290 open document), i dont get any entry of prctr, bupla or secco in bsis and bsik tables. but when i chek same document in

  • How to retrieve pic from a contact

    Hi. A bit bizarre but true. I had made a pic on my iphone, added it to my contact of choice - a okay. But the picture wont show up in the album, only with the contact. Now I need this pic on my desktop but I do not see an option to retrieve this pic

  • Windows explorer context menu missing print option

    A few days ago I was able to select 1 or more than one pdf file as a  group in windows explorer, right click and select print. Now  that print option has  disappeared. Has anybody else run into this?  I suspect some Windows updates may have done this

  • Need help  Development Planning : Part of Talent Management

    Hi All, I need to turn on new functionality for Development Planning (part of Talent Management), I looked online for material..I did find some but none of them explains configuration steps. Can someone guide me on the same. Regards, Shweta