How to read domain info from "config.xml"

Is it possilble to access information about the domain (say, the notes) from
the
config.xml? If it is, how? Also, is it possible to add an attribute to the
root ("domain")
element and, again, access it programmatically?
Thank you,
Vladimir Grabarchuk

"vladchuk" <[email protected]> wrote in message
news:3aca8370$[email protected]..
Is it possilble to access information about the domain (say, the notes)from
the
config.xml? If it is, how?Just get the DomainMBean and invoke getNotes() on it. For information on how
to get MBeans see
http://e-docs.bea.com/wls/docs60/isv/overview.html &
http://e-docs.bea.com/wls/docs60/isv/program.html
Also, is it possible to add an attribute to the
root ("domain")
element and, again, access it programmatically?
Thank you,
Vladimir Grabarchuk

Similar Messages

  • How to read configuration data from an xml file (not web.xml)?

    Hi,
    I want to separate the application specific configuration parameters in a separate xml file and read them as and when they are needed? I know that I can use the wb.xml but I want to separate them in a different xml file because I don't want the web.xml file to be played around later after deployment. If any change is needed then it should be done in the application-config.xml.
    How can I read the parameters from this xml file in my jsp code and also what should be the location of this file if I have
    ../webapps/Root/application
    directoty structure ?
    Any help is greatly appreciated.

    can you give an example of a property file and also
    it is loaded in the jsp ?Hmm... loading properties in a JSP is not a very good idea. You should do it in a separate class, rather than mixing the logic with the display logic.
    Properties properties = new Properties();
    properties.load(UtilClass.class.getResourceAsStream("config.properties"));
    // Add a try - catch block around the load
    // for IOException...

  • How to read the extended-cache-config.xml file. in C++ API

    I want to create my own XML config file and define the config values in that, so that C++ Client (using Coherence C++ API) application can access the config files.
    Also how to get the instance of configuration values which Coherence client has read,
    i.e.
    TangosolCoherenceOverride=$PATH/examples/config/tangosol-coherence-override.xml
    TangosolCoherenceCacheconfig=$PATH/examples/config/extend-cache-config.xml
    How to get the instance of this XMLDocument ? and read values from it.
    Thanks,
    Naveen

    Hi,
    You can get the cache-config that was read by getting it from the ConfigurableCacheFatory (which you can get from the CacheFactory) via getConfig(). See:
    http://download.oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_cache_factory.html
    http://download.oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_configurable_cache_factory.html
    There is no way to get the actual XmlDocument object from the cluster that is read for the cluster-config (though you could open the same path yourself).
    thanks,
    -Rob

  • ASP / PHP pages: How to get streaming info from a XML file?

    Hi all
    I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
    I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.
    I simply can't find any file / address to get this kind or output out of FMS - can you help?
    Thank you
    Kind regards,
    Jens

    hi,
    can you share php code for grabbing data. i make php code using "simplexml_load_file" but the problem is it takes 2-3 minutes before it show the result. i want to monitor the current video if stop feeding.
    http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname
    xml
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <result> 
    <level>status</level> 
    <code>NetConnection.Call.Success</code>
    <timestamp>3/21/2015 7:47:17 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    <data> 
    <_0>appname</_0> 
    </data>
    </result>
    here;s my php code:amsstats.php
    <?php
        $result = simplexml_load_file("http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname");
        echo $result->data[0]->_0;
    ?>
    result:
    http://server2/stats/amsstats.php

  • How to read the info from the card?

    I'm using the GemPC410 reader and i'm succesfull to get the atr # of the card. Now i'm trying to get all the info that is in the card. Can someone help me out on how I can read all the info from this card?

    You need to establish a secure channel between reader/card using Global Platform.
    Look at the Global Platform Specifications on how to Authenticate to the card using ExAuth. That is the command to establish the secure channel. If you have developer cards, everyone ( except Gemplus ) uses keyset 0xff , 40 41 42...4f.

  • Read justification info from text layer.

    How to read  justification info from text layer?
    myLayer.property("Source Text").value.justification;
    return
    6612 - Left, 6613 - Right, 6614 - Center  in CS6
    6814 - Right, 6813 - Left, 6815 - Center  in CC
    it is right for any computer and operating system?

    I would try to steer clear of using the numbers, only because they have changed in each version of After Effects and probably will continue to. You should compare the justification value against the ParagraphJustification options. Pg. 185 in the CS6 scripting guide has the list of choices:
    TextDocument justification attribute
    textDocument.justification Description
    The paragraph justification for the text layer.
    Type
    A ParagraphJustification enumerated value; read-only. One of:
    ParagraphJustification.LEFT_JUSTIFY
    ParagraphJustification.RIGHT_JUSTIFY
    ParagraphJustification.CENTER_JUSTIFY
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_LEFT
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_RIGHT
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_CENTER
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_FULL
    Here is a simple test function that will alert the justification value when it's matched. You can change the alerts to return whatever code you want based on the justifaction value found.
    /*     SAMPLE FUNCTION THAT CHECKS FOR JUSTIFICATION VALUE     */
    var myLayer = app.project.item(1).layer(1);
    textJustVal(myLayer);
    function textJustVal(myLayer){
              var val = myLayer.property("ADBE Text Properties").property("ADBE Text Document").value.justification;
              if(val == ParagraphJustification.LEFT_JUSTIFY){
                        alert("Left");
              }else if(val == ParagraphJustification.RIGHT_JUSTIFY){
                        alert("Right");
              }else if(val == ParagraphJustification.CENTER_JUSTIFY){
                        alert("Justified");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_LEFT){
                        alert("Lastline Left");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_RIGHT){
                        alert("Lastline Right");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_CENTER){
                        alert("Lastline Center");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_FULL){
                        alert("Lastline Full");
              }else{
                        alert("There must be an error.");

  • How to read the data from Excel file and Store in XML file using java

    Hi All,
    I got a problem with Excel file.
    My problem is how to read the data from Excel file and Store in XML file using java excel api.
    For getting the data from Excel file what are all the steps i need to follow to get the correct result.
    Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
    Thanks & Regards,
    Sreenu,
    [email protected],
    india,

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

  • Help on how to read the content of an XML file from the payload

    I have a receiver channel / mail adapter, that sends e-mails with a XML attachment.
    I’m trying to write a Bean, that should make it possible to rename the attached XML file dynamically.
    In the Bean I want to read the content of the attached XML file, it could be the “order number”.
    The filename should then be “Order number”.XML.
    <u><i>Can anyone help me with how to read the content of the XML file from the payload.</i></u>
    <i><b>Frank</b></i>

    hi,
    check this: http://jakarta.apache.org/poi/

  • How do you xfer info from ipad2 to iMac?  Is there a specific icon in iTunes for this?

    How do you xfer info from ipad2 to imac? Is there an icon on itunes to do this?

    What info do you want to transfer and from which app(s) ? If it's contents/files of apps then for some it'll be via the File Sharing section at the device's apps tab when connected to your computer's iTunes, other apps may have wifi functionality so you can transfer files to/from your computer via your wifi network.

  • How do you transfer info from an external hard drive from a PC to a Mac

    How do you transfer info from a external hard drive from a pc to a imac?

    Expanding on what Niel said, a Mac can mount and read just about any hard drive from a Windows system. It can't write to an NTFS-formatted drive without third-party drivers, but it can read them. So as Niel indicated, you should be able to just connect the drive to your Mac and drag-copy over whatever you want. If you want to save things from the Mac to that drive, then it will need to be formatted either as FAT32 or exFAT, or if it's NFTS you'll again need drivers.
    Regards.

  • How to read XMP metadata from a Jpeg

    This seems like it should be a no-brainer, but I can't find any classes to do this ?? I can find classes to read song titles from MP3 files, I want to do similar with jpeg image files.
    In photoshop and lightroom you can set up titles and captions (and copyright info) in the metadata. When you save a jpeg this gets embedded in the file.
    How to read this info and parse it and use it once you have loaded it into a BitMapData???
    I am Flash/AS3.0 code only no IDE -  please no flex/AIR examples!
    Thanks!

    http://www.adobe.com/devnet/xmp/

  • Reading rule sets from an XML file

    Hi all,
    How can I read rule sets from an XML file? I have been given some rules in XML
    format and using those I have to query some content. I am using WLP4.0
    Also how can I code rules in java?
    Thanks in advance.

    You can have the following classes:
    Players class deriving from Vector (or containing a vector), and then
    Player class with attribute 'name'.
    class Players
               Vector myVector = new Vector();
                void addPlayer(Player p)
                      myVector.add(p);
                Player getPlayer(int index)
                      myVector.get(index);
    class Player
             private String myName = null;
             Player(String name)
                    this.myName = name;
             String getName()
                    return myName;
    }Then while handling the SAX events you can do the following:
    class MySAXHandler implements ContentHandler (or whatever the itnerface is)
                 public void startElement(String name,....)
                          Players p = null;
                          if(name.equals("Players"))
                                 p = new Players();
                         else if (name.equals("Name"))
                                p.add(new Player(value));
    }HTH,
    Kalyan.

  • How do i copy info from email to notes

    how do i copy info from email to notes? synch does not take all notes from outlook. how can i copy info from an email to a new note?

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    Apple also includes a Safari bookmark for access to the User Guide with Safari on the iPhone.

  • Retrieve applications name from config.xml

    Hello everybody.
    Is there a way to retrieve all applications name from config.xml?
    Is there a HelperClass from BEA to do this task for me?
    Thanks.

    Please make reference to WebLogic MBean at
    http://e-docs.bea.com/wls/docs81/jmx/index.html
    <Denilson Marcos> wrote in message news:[email protected]..
    Hello everybody.
    Is there a way to retrieve all applications name from config.xml?
    Is there a HelperClass from BEA to do this task for me?
    Thanks.

  • How to read the file from a folder.

    Hi All,
    How to read the file from a folder or directory from the non sap server / remote server.
    Regards
    Sathis

    open dataset filename for input in text mode
                         encoding default.
    filename is character type variable with the destination filename.
    Edited by: Jino Augustine on Apr 19, 2010 1:31 PM

Maybe you are looking for