Editing my application.xml file

The server hosting our FMS does not have space to adequately store the media files over time.  I have since connected a 500GB external drive to the server.  This drive is mapped as the Z drive.  I am not exactly sure how I need to edit my application.xml for all http requests to point to this external drive.  Below is a small sample of the file.  How would I correctly edit this file?  Would I just add a line that says <Streams>/;${Z:\VOD_DIR}</Streams> ???  Do I need to delete either of the below lines?
- <Application>
- <StreamManager>
- <VirtualDirectory>
- <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
</VirtualDirectory>
</StreamManager>

It doesn't seem to work.  Does this only apply to rtmp:// ???  Because we are only using http:// to view our media.
My current application.xml looks like the below.  I can still play all media located in the webroot\vod directory but not from the external drive.  Do I need to delete <Streams>/;${VOD_COMMON_DIR}</Streams> and <Streams>/;${VOD_DIR}</Streams> ???  The Z drive is the external hard drive.  Did I add the entry correctly?
<Streams>/;Z:\vod</Streams>
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>

Similar Messages

  • Can I unzip the .ipa file and edit the application.xml file

    I want to modify the below info to also have an additional string value of 2, which somewhere along the line tells something somewhere that the app can run on the ipad. Is there some info in the compiled application that will error out if I modify this document?
    <InfoAdditions>
    - <![CDATA[ <key>UIDeviceFamily</key><array><string>1</string></array> ]]>
    </InfoAdditions>
    into this
    <InfoAdditions>
    - <![CDATA[ <key>UIDeviceFamily</key><array><string>1</string><string>2</string></array> ]]>
    </InfoAdditions>

    you can change the file extension to zip, unzip it, find the application.xml file in one of the subdirectories, edit it, rezip the files, change the file extension to ipa and install.

  • How open and edit the coherence.xml file?

    How can I open and edit the coherence.xml file?
    I cannot find the coherence.xml file in the coherence.jar package.
    Thank you,
    June

    If you are intent on changing the coherence.xml file, then you could use the JAR command (that comes with Java) to extract the coherence.xml file from coherence.jar and the later repackage the coherence.jar file using the udpated coherence.xml file, e.g.:
    C:\java\opt\coherence-331\lib>jar -xvf coherence.jar tangosol-coherence.xmlextracted: tangosol-coherence.xml>
    Instead of using JAR, on Windows you can associate the .JAR, .WAR and .EAR extensions with WinZip and use it to access / modify the contents of JAR files.
    However, the suggested approach is as follows, and does not include any changes to the tangosol.jar file:
    The tangosol-coherence-override-dev.xml file can be found in the coherence.jar file. After editing this file (in this case to define a unique value for the port system-property value for the multicast listener), save the file and add it to the server's classpath. When the server is executed, the values in the tangosol-coherence-override-dev.xml file will override any corresponding settings in the tangosol-coherence.xml file.Peace,
    Cameron Purdy | Oracle Coherence

  • How to edit the web.xml file

    hi friends,
    i have been working with netbeans for webapplications so far therefore its not ever been requerd to edit the web.xml file that automatically done by IDE itself.
    now, i am just trying to deploy the servlet and jsp's externally without using any tool and i found a requrement to map the servlet and jsp in web.xml file. when i try to edit inside this file it seems noneditable, nothing gonna change. i have an alternate to do this is firstly copy the content of this file into txt file and after making the requred changes overwrite this file in .xml formate to orignal web.xml file.
    am i going in right way?? please help me
    regards
    san

    open it in a text editor and modify it.
    %

  • Non-default system-application.xml file?

    There's mention in the OC4J documentation regarding specifying a non-default system-application.xml file; however, I cannot find the string defining it in any of the OC4J files, nor in the documentation though I might have missed it in that.
    I am attempting to have multiple instances run out of the same ORACLE_HOME, and I'd like to point the logs to separate places per instance. Every other one is pretty clear (defined in the customized server.xml), this one with its logging parameter I cannot find a method for keeping a separate log file per instance other than simply creating multiple oracle or at least j2ee homes. Short cut for keeping things consistent for many settings and deployments, though may not be feasible for a running environment.
    Any information or points in the right direction would be appreciated. Thanks,
    Geoff

    You can modify the <log> tag in system-application.xml to rotate the system log file.
    System application is a key internal component that is critical to OC4J startup, the system-application.xml file should not be modified except for the <jazn> and <log> tags.
    You can modify the <jazn> tag as needed to specify changes to the security provider, the location of the OC4J security configuration file (system-jazn-data.xml), or both. For more information about <jazn> and the system-jazn-data.xml file, see the Oracle Containers for J2EE Security Guide.
    There's no reference of system-application.xml in other config files.
    -Frances

  • Why is the assests panel disabled when editing css or xml files?

    It's immensely annoying. Is there anyway to stop it?

    That doesn't really explain why a very useful panel is disabled. What's the logic behind it?
    This is a user-to-user forum, not Adobe customer support. You asked whether there was any way to prevent the Assets panel from being disabled when editing CSS and XML files. The answer is no.
    If you want Adobe to change the way the program works, file a feature request.

  • Air plugin for dreamweaver breaks application.xml file

    the air plugin for  dreamweaver breaks the application.xml file when the version is  changed from 2.0 to 2.7
    How to fix this?

    Hi Roberto,
    I'm sorry I don't know the answer to this one, but I'll ask around.  Have you checked out the dreamweaver forum?
    Chris

  • Application.xml file?

    What is the use of the Application.xml file in enterprise application> If we not specified it...what will happen?
    Thanks,
    R.

    The application.xml file specifies metadata about the Java EE application as a whole. The main pieces of information are the list of modules(ejb-jar, .war, application client, etc.) in the .ear. It was required for J2EE 1.4 and earlier but is optional in Java EE 5, where the module type is derived based on the contents of the modules themselves.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Why even unchecked my crash reports are sent? I have to manually edit the "application.ini" file at every update! This is unacceptable to the user's choice!

    Why even unchecked my crash reports are sent? I have to manually edit the 'application.ini' file at every updates! This is unacceptable for the user's choice!

    Check the SubmitCrashReport (DWORD) key in the registry and set the value to 0.
    *HKEY_LOCAL_MACHINE\Software\Mozilla\Firefox\Crash Reporter\SubmitCrashReport: DWORD
    *HKEY_CURRENT_USER\Software\Mozilla\Firefox\Crash Reporter\SubmitCrashReport: DWORD
    You may need to check the HKLM\Software\Wow6432Node\ node on 64 bit Windows.
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter

  • EAR proects deploys but has no application.xml file!

    Hello,
    I working my through a Web Logic tutorial and the very first step is to create a the application projects like this:
    # Select File > New > Project.
    # In the New Project dialog, open the node Workshop Quick Start Applications and select WebLogic/Beehive Web Application.
    Click Next.
    # In the Application Name field, enter CustomerCare.
    Next to Domain home click the Browse button. Browse to <BEA_HOME>/workshop_10.3/samples/domains/workshop. Click OK.
    Click Finish.
    The applications are create and I can deploy the ear project, but it doesn't contain an application.xml file and I don't understand how this can work. Can someone enlighten me please.

    The applications are create and I can deploy the ear project, but it doesn't contain an application.xml file and
    I don't understand how this can work. Can someone enlighten me please.
    The wizard created three projects: CustomerCare, CustomerCareEAR and CustomerCareSharedCode. I'm assuming
    that the project is being deployed is an EAR.The CustomerCareEAR is an EAR project in your application. The application.xml file will be located in CustomerCareEAR/EarContent directory.
    I'm not entirely sure where the project is getting deployed to. I thought it would be to <BEA HOME>\user_projects,
    but I can't see an EAR or directory structure in there that would suggest that this is the deployment directory.
    As I am deploying the project from within Eclipse it is possible (perhaps) that eclipse is deploying the project directly
    from my workspace - but I can't be sure.The deployment does not use user_projects directory. It happens largely directly from the Eclipse workspace with assistance of a few temporary directories. The structure of deployment is not something that you need to be concerned about.
    If you want to see what the EAR will look like when you are done, export an EAR archive using the wizard under File -> Export. Point the wizard at CustomerCareEAR project.
    - Konstantin
    - Konstantin

  • WLST script to edit application.xml

    We have an EAR that is being deployed to 6 different domains. I was wondering if there is a way to dynamically set the value of the "web-uri" and "context-root" elements of the application.xml file for all the modules inside the EAR, based on the domain in which the EAR is being deployed.
    Currently, we are making 6 copies of the EAR, editing the application.xml file in each EAR and deploying them through the weblogic admin console. I thought I would write a script to automate the process.

    Hi,
    If you want to dynamicall make any Modifications in your Deployment Descriptors like "application.xml"..."weblogic.xml"...etc then you can use *"Plan.xml"* feature provided bu WebLogic....
    Example : http://jaysensharma.wordpress.com/2009/11/29/shared-library-with-plan-xml/
    Example : http://jaysensharma.wordpress.com/2009/12/16/updating-cookiename-using-plan-xml/
    Thanks
    Jay SenSharma

  • Application.xml in ear file

    Hi
    When we deploy to ear file the application.xml file is created with the following root tag:
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    Previously (Jdev10.1.2) it was created with only:
    <application>
    We are running on an older app server which does not accept the new tag. Any way to set up 10.1.3 to deploy the same tag as the previous version?
    If I manually edit the ear file and change the application.xml file, it runs fine on the older app server. We do not want this manual intervention.
    Thank you

    Does setting a target platform in the deployment profile that points to a 10.1.2 application server works?
    Also you can create a 1.3 application.xml using New->deployment descriptor->J2EE deployment descriptor wizard

  • WebLogic 10.3 , ear file, application.xml only finds first context root

    I just can't find out what this is. I have two web service projects (JAX-WS) and am trying to put them in an .ear file to deploy to WebLogic 10. Normally, this is done by creating an .ear with both projects .war files in it and an application.xml file in the META-INF directory that defines the context-root for each .war file. However, nothing I do for WebLogic 10 seems to work, it only see's the first context-root and sets that same context-root for both web services. I have verified this by switching the order in the application.xml file. Also, this exact same .ear file deploys to the Sun Enterprise Server (Glassfish) and acts correctly. Using a weblogic.xml file in each .war and deploying them individually they end up having the correct context root, just not from an .ear using application.xml. I even tried deleting the application.xml file and just having the weblogic.xml files in each .war define the context root and it still only came up with one context root for both. It's as if only one context root is allowed in an .ear for WebLogic 10, which can't be correct as we are doing this on WebLogic 9.2 (JAX-RPC) with multiple .war files in an ear.

    Hi,
    Try to increase severity of the server logging to avoid more logging.
    Avoid Debugs and and info and better select the severity to notice which will avoid more logging.
    Regards,
    Kal

  • Deploy given EAR file having application.xml and change context-root

    hi
    Please consider deploying a given EAR file on WebLogic Server 10.3.5 (part of JDeveloper 11.1.1.6.0) and changing the context-root for its web-module.
    For example an EAR file with only a web-module (ReviewContextRootFirstApp.ear [1]) or an EAR file with a web-module and an ejb-module (ReviewContextRootSecondApp.ear [2]).
    Given documentation appendix B section "context-root" [3] saying
    "... A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml. ..."
    and documentation section "Typical Deployment Configuration Workflows" [4] saying
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. However, if an application is deployed as a library, you can either change the context-root through an weblogic-application.xml file or use the deployment plan to change the context-root in an weblogic-application.xml file. "
    Some observed behaviour:
    - scenario (sc1) : deploy ReviewContextRootFirstApp.ear without deployment plan, results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc2) : deploy ReviewContextRootFirstApp.ear with deployment plan fa-plan.xml (tries to configure "/rcrfaweb11"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc3) : deploy ReviewContextRootSecondApp.ear without deployment plan, results in context-root "/rcrsaweb" (as in application.xml)
    - scenario (sc4) : deploy ReviewContextRootSecondApp.ear with deployment plan sa-plan.xml (tries to configure "/rcrsaweb21"), results in context-root "/rcrsaweb" (as in application.xml)
    The blog post "Defining the context root of a web application in Oracle WebLogic server" [5] by Silviu Leahu in its section "Defining the context root in deployment plan" suggests to
    "Remove the META-INF/application.xml DD from the EAR"
    - scenario (sc5) : remove application.xml from ReviewContextRootFirstApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan fa-plan.xml, results in context-root "/rcrfaweb11" (as in fa-plan.xml)
    - scenario (sc6) : remove application.xml from ReviewContextRootSecondApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan sa-plan.xml, results in context-root "/rcrsaweb21" (as in sa-plan.xml)
    One could expect that using a deployment plan (like in scenario's (sc2) and (sc4)) would allow to configure/change the context-root, whithout having to make changes to the EAR file to make this possible. (Somewhat like "Figure 4-2 Single Deployment Plan Workflow")
    Only in scenario's (sc5) and (sc6) I see something close to what I would like to achieve, but there the application.xml file has been removed from the EAR file.
    So ...
    - (q1) Is it impossible to change the context-root at deploy-time for a web-module in a given EAR file that includes an application.xml file, without changing the EAR file?
    - (q2) Is working with EAR files that don't have an application.xml file a supported approach (to change the context-root at deploy-time)?
    Seems like a simple goal, but I must be missing something that is required to achieve it.
    - [1] ReviewContextRootFirstApp/deploy/ReviewContextRootFirstApp.ear in the ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [2] ReviewContextRootSecondApp/deploy/ReviewContextRootSecondApp.ear in the (same) ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [3] http://docs.oracle.com/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#WBAPP623
    - [4] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [5] http://blog.leahu.net/it/2011/01/04/defining-the-context-root-of-a-web-application-in-oracle-weblogic-server/
    many thanks
    Jan Vervecken

    Thanks for your reply René van Wijk.
    René van Wijk wrote:
    You can use deployment plans in order to change the context-root ...That is what I tried and describe in scenario's (sc2), (sc4), (sc5) and (sc6) in this forum thread.
    Because the application.xml file (in the "given EAR file"), added by JDeveloper 11.1.1.6.0 when deploying to an EAR file, doesn't have id attributes on its application/module elements, I first tried a different XPath expression:
    "/application/module/web[web-uri/text()="WebProject.war"]/context-root"
    But, that didn't work.
    Although the "given EAR file" does not have the suggested id attributes, I tried adding a deployment descriptor application.xml file that does have such id attributes [2], allowing an XPath expression like the one suggested:
    "/application/module[id="WebProject"]/web/context-root"
    - scenario (sc7) : deploy ReviewContextRootFirstApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan fa-plan-application-xml-with-id.xml (tries to configure "/rcrfaweb14"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc8) : deploy ReviewContextRootSecondApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan sa-plan-application-xml-with-id.xml (tries to configure "/rcrsaweb24"), results in context-root "/rcrsaweb" (as in application.xml)
    So, it does not seem to work.
    ... you have to use a variable assignment in the right part of the deployment plan (in this case the application.xml) ...My observations I describe above (that it does not seem to work) seem to confirm the Oracle documentation [1] I referred to in this forum thread before:
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. ... "
    ... By using an xpath expression, you can define which part of the xml has to be changed. ...The values for the deployment-plan xpath elements seem to be "peculiar".
    Although it should not be a problem in an XPath expression, using single quotes (like module[id='WebProject'] ) instead of double quotes (like module[id="WebProject"] ) results in:
    "java.lang.AssertionError: Attributes must be defined as name value pairs, eg, name="value" -- [id='WebProject']"
    Because an XPath predicate expression would use an "@" to refer to an attribute, I also tried to replace what you suggested module[id="Web"] with something like module[@id="Web"] but that also did not make a difference.
    - [1] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [2] http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.02.zip
    regards
    Jan Vervecken

  • Creating a Link with XML Files

    Hi,
    I am trying to import a XML file in a table structure following instructions from the Adobe help file (could only find a CS3 one, I am using CS4, the link to it: http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf). Now the import works fine and my table is displayed correctly. My plan for this is to have XML files created from a database so when they get overwritten it will automatically update the tables in the file. While importing it I chose the "Create Link" option and I can see it in the links panel. All that seems fine. My problem is from this point if I do any changes to this file it gets added into my template along with the original with no formatting. So normally imported it looks like:
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    and if I edit it it then looks like this:
    5.00
    Each
    Product A
    10001
    PRICE
    UNIT
    DESCRIPTION
    CODE
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    And all I edited was the code value to be 10001 on the link yet it makes all these changes. Now if I edit the original XML file again it will crash Adobe CS4 and it freezes and says encountered error and closes. Does anyone have any advice on this situation? Is there a simple way to get XML tables inserted into a document that will change in the document if I edit the original file. If I have to change the XML that is fine as I can output it from the database pretty much whichever way I want.
    Here is the code for the XML file:
    <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">CODE</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="59">DESCRIPTION</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">UNIT</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">PRICE</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">10000</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Product A</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Each</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">5.00</Cell>
    </Table>
    Any help would be appreciated.

    I wasn't using "Edit Original" before, but now that I do, I'm still unable to duplicate your result. When I edit and save, the results are just as one would expect. What application are you using to edit the XML? I am using Text Wrangler. What platform are you one? I've been testing this on a Mac, but could try it on Windows of that's what you are using. Also, out of curiosity, what does your XML structure look like? Here's mine:
    <Root>
      <Article>
        <Story>
          <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
            <Cell ..... (your cell nodes here)
          </Table>
        </Story>
      </Article>
    </Root>    

Maybe you are looking for

  • Cs4 on a mac machine

    hi can i install cs4 on a MacPro on the windows os side and have access to all the hardware 8gb of ram and dual quard core ets. any suggestions or comments will be appreciated.

  • Make itunes8 more intelligent

    In iTunes 7 there was a feature that asked me if i import a folder with musicfiles which already are in my library. since iTunes 8 this is not working no more!! as much as i drop the folder on the playlist i want the files to be in....as much duplica

  • BDC for CJ20N

    Hi Sapgurus, I written one bdc program for CJ20N. My requirement is to create project defination by using existing project defination. In recording iam clicking network overview buttton but that ok-code is not capturing what might be the reason. Iam

  • Migo_gr dump in background

    hi all,         we are running the call transaction for tcode migo_gr in foreground which is working fine,when we try the same doing by background scheduling  we are leaving at dump side.pleas can anyone help on this.why it is behaving like this.. th

  • Rlogin information required

    Hi, In general on Linux boxes we can find rlogin status in /etc/xinted.d/rlogin eg : # default: on 2 # description: rlogind is the server for the rlogin(1) program. The server \ 3 # provides a remote login facility with authentication based on \ 4 #