Location of the environment properties file

Hi all

I am a beginner and I have a question about the property file...

What would be the best location for the environment.properties file? We are looking at two places field House and House of bea, which one would be the best option.

Add entries in the environment.properties file, we need to restart the field or just redeploy application would pickup the changes?
.
Thank you
Win

Hello

** is the best place to put your properties files. No need to restart your server after you change these files if your application reads the files properties as mentioned below.

It is also another good Option to add the property file situation including the Filename in the setDomainEnv.sh script CLASSPATH property. (but in this case it may restart the server if you want to change something in the file properties)

I tested it and it works with charm...
After you have placed any property inside the "root of the field" file (example :) directory can be read without restarting the server... I tried the following after placing "a.properties" within the root of the domain... Even I changed the values in the file property 2 to 3 times and each time it is reflected in my JSP as *(No need to restart the Servers) *.

* "a.Properties" *.
City = New York (SpiderMan City)
country = America

* "index.jsp". *
<%@ page import="java.util.*" %>


Hey it's Wroking



< %="">< br="">InputStream is = new FileInputStream (". / a.properties"); < br=""> Properties prop = new Properties (); < br=""> prop.load (East); < br=""> out.println ("City:"+ prop.getProperty ("City") "); < br=""> out.println ("country:"+ prop.getProperty ("country") "); < br=""> %>


.
.
Thank you
Jay SenSharma
http://WebLogic-wonders.com/WebLogic (WebLogic wonders are here)

Tags: Fusion Middleware

Similar Questions

  • Move the location of the VM swap file in another data store

    Hi all

    Was in a task to move the 1000 to the file location of VM swap on another data store which is newly assigned to Exchange us to the existing store database file that will be decommissioned.

    Eager to check if anyone has made movement swap of VM location of the files to a data store to another and that all measures taken to move.

    Require some VM downtime?

    Thanks in advance a ton.

    Yes it is possible without interruption of service to virtual machines.

    1. make sure that your cluster is configured to use swap data store specified by host

    2. take a host in the cluster in maintenance mode, change the location of the VM configuration file to point to the new data store

    3. do this for all hosts in the cluster

    When you vMotion a VM from one host to another the swap file will get moved to the new data store. Later when you take guests to the maintenance and return output mode, vMotion occurs for each computer in the cluster virtual and file is moved.

  • Can I change the location of the vmx config file?

    Hello

    I have Esx 3i 3.5 running in the cluster, and installing vCenter 2.5 Update5 as virtual machine within this cluster of ESXi. I put the configuration file vmx to this virtual machine on the wrong number of unit logic (data store). How can I change the location of the vmx configuration file to another location?

    All boards have a lot appreciate.

    Thank you

    First remove you the inventory (Yes, it's unsubscribe in my mind), and after copying you use add to inventory.

    StarWind Software R & D

  • I get ERROR U44M1P7: location of the error log file: C:\Program Files (x 86) \Common Files\Adobe\Installers

    Updated Photoshop CS6 (CC) I get ERROR U44M1P7: location of the error log file: C:\Program Files (x 86) \Common Files\Adobe\Installers. First Installation and actual functioning rooms without problem, only on the update. I tried several times with the same error.

    Hi Alberto Pomares

    Please visit the Doc KB: http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • How can I change the looks of Access Infrastructure Web location for the virtual machine files?

    How can I change the looks of Access Infrastructure Web location for the virtual machine files?

    My default is set to MACHINES C:\VIRTUAL.  But I want to change it to turn to an external drive connected with an eSata cable. Can I do this?

    Hello

    Add just like a new data store.

    Login to your web access, select your host (not the virtual machines) in the left menu.

    You should see a link on the right side with "Add data store", give it a name of store and add the directory.

    Now, you can add a virtual machine to this place.

    Good luck!

    --

    Wil

    _____________________________________________________

    Visit VMware developers at http://www.vi-toolkit.com wiki

  • Evaluation of XML Namespace by using the java properties file

    Hi all

    In my java class, I get the XML as a string. I am convert this string to xml. So in order to evaluate the xpath expression, I'm able to evaluate the xpath expression by using the namespace prefix and the namespace url as key / value in my properties file. It has worked well.


    But my project is that,

    I can receive different xmls with different sets of namespaces. For each xml namespace prefix and url wil set. While I can keep track of a set of namespace prefix and url for each xml.

    The problem here is that
    XML_A is to have its own prefix - ns1 pointing to 'http://orders.com/purchase', ns2, pointing to "http://orders.com/invoice".

    XML_B is to have its own prefix - ns1 pointing to 'http://sales.com/stock', ns2, pointing to "http://sales.com/item" - I mean same ns1 and ns2


    Kindly tell me, it's possible in the file build.properties, to bring together the key pair / value. while I have not lead to any conflict, of having the URL of the different namespace
    for the same key "ns1."

    ns1 = http://orders.com/purchase


    ns1 = http://sales.com/stock


    I want the above two lines occur in the same file build.properties. Also, when using MapObj.get ("ns1") - (where MapObj will see the values of keys to the build.properties file.)
    I want to differentiate the ns1 under certain conditions (xml_name in my case).

    Here for the prefix, I have no other don't be concat something to make a difference like A_ns1 and B_ns2. This will create problems. So kindly help me by giving an alternative.



    Thank you
    Sabarisri. N

    Hi Sabarisri,

    First, there's a material typo in my previous post (hmap2 must be read hmap, all along). I who will edit later because it is annoyingly confusing. But leave it for now.

    I think I was so explicit that I was able to convey the idea that ns1, ns2, etc., if there is more, used by the author of XML_A and XML_B are unimportant as long as you, as the consumer of them, are concerned. Apparently, I was not very successful.

    Let me do it again.

    Assume that XML_A contains the prefixes and namespace URIs like this. I even add one more by way of illustration which may overlap in the two documents.

    xmlns:ns1 = "http://orders.com/suppliers".
    xmlns:ns2 = "http://orders.com/stock".
    xmlns: x = "http://orders.com/serial."

    Then in XML_B, these.

    xmlns:ns1 = "http://customers.com/contact".
    xmlns:ns2 = "http://customers.com/billing".
    xmlns:y = "http://orders.com/serial".

    (ns1, ns2, x) and (ns1, ns2, y) are appearing as such when xml documents are served. x and there are still pointing to the same namespace (think of it as the namespace where the serial number of the orders they need later use to gather the two sets of data.) x and there is maybe not even the same same alphabet their semantics (namespace uri) are the same, the same namespace.

    Put yourself in the situation of consuming them. You know you have to deal with totally 5 namespace uri. You build the dictionary: a HashMap or unique or other properties file. Under your control are the namespace prefixes. You can ignore absolutely what they use ns1,... x, y. Design you your own. That's all.

    hmap.put("p","http://orders.com/suppliers");
    hmap.put("q","http://customers.com/contact");
    hmap.put("r","http://orders.com/serial");
    hmap.put("s","http://orders.com/stock");
    hmap.put("t","http://customers.com/billing");
    

    One more time (p, q, r, s, t) are figurative, you name it what you please as long as they are in line with the production of the grammar of namespace prefix.

    With the help of (p, q, r, s, t), you build your xpath query. The namespace context Manager can resolve correctly. You can't even say what namespace prefix must be used by querying the xml, A or B.

    Hope that makes it clearer by the repetition by another speech.

    Published by: tsuji 7 Sep 2011 08:13 (typos only)

  • Change the default location for the recording of files and downloads

    I want to move the user folders of my C drive (which I'll use to program files) on my D drive (which I will use for the data files). for win 7 ASUS laptop. I don't have the 'location' tab in my properties under the "user" folder, it is replaced by 'ASUS WebStorage"tab?  No information or advice will be greatly appreciated. Thank you.

    Change the default save location,

    http://Windows.Microsoft.com/en-us/Windows7/customize-a-library

    http://www.SevenForums.com/tutorials/595-Library-set-save-folder.html

  • vSphere ESXi - location of the VM swap file - filling dedicated LUN

    Hello

    Just picked up a great vSphere environment of the Admin who wrote nothing down. It has configured all VM paging files to be placed on a dedicated LUN, that LUN fills up now. So if I want to put the VM swap with the virtual machine files other files I need to edit [and to connect to each host], but what would be the effect on the direct environment?

    all the vm must be restarted?

    and of course, that I'll need to map the size of swap file to VMDK location to make sure I didn't accidentally filling the virtual computer production LUNS.

    Thank you.

    If you change the location of the swap file, vm may require reboot.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1004082

  • Changing the location of the .pag &amp; .ind files

    Hi all

    Essbase environment 9.3.1
    Are there problems with changing the location of the data and Index files?
    c:\Hyperion\AnalyticServices\app\Sample1 in c:\Data egChanging



    Thank you
    Maury

    Not really. There are a few considerations
    1. If you already have data, changing the location will not change when the existing data. you need to erase the data and the re - export import.
    2. you must make sure that you stop and restart the application before doing step 1, but after changing the location of the file
    3. If you have a backup routine, make sure that you change where it picks up the page and index of files to back up

  • Fichier.conf OTC has no details of the location of the ssl wallet file

    Hi gurus B2B.

    All by the HTTPS configuration had we observed that certain lines of were missing in the fichier.conf located in < Oracle_Home > \Apache\Apache\conf. The mentioned below, the lines are missing en.conf OTC but present OracleB2B dans.conf
    Location of the ssl file same portfolio is also absent in the fichier.conf of TBT as mentioned below.
    Can u please let us know as why these lines are missing or you manually add these lines when we do HTTPS on OTC?




    Listen 4444



    < VirtualHost default: 4444 >

    # General setup for the virtual host

    DocumentRoot "E:\Oracle_b2b\cachehome\Apache\Apache\htdocs".

    ServerName DSCP17506. TechMahindra.com

    ServerAdmin [email protected]

    ErrorLog "| E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/error_log 43200 "

    TransferLog "| E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/access_log 43200 "

    Port 443

    # The SSL engine switch:

    # Enable/disable SSL for this virtual host.

    SSLEngine on

    # Suite of SSL encryption:

    # List of encryption algorithms that the client is authorized to negotiate.

    All SSLCipherSuite!: ADH:! EXPORT56: + HIGH: + MEDIUM: + LOW: + SSLv2: + EXP

    # Server Wallet:

    # The server wallet contains the server private key certificate

    # and certificate trust. The value of SSLWallet in the portfolio directory

    # using the syntax: file: < path-to-door-currency-directory >

    SSLWallet file:E:\Oracle_b2b\cachehome\Apache\Apache\conf\ssl.wlt\default



    # Certificate lists CRL (CRL):

    # Set the path of the CA revocation where to find CA CRL to customer

    authentication # or alternatively a huge file containing all the

    # of them (file must be PEM encoded)

    # Note: Inside of the SSLCARevocationPath you need hash symlinks

    # to point to the certificate files. Use the provided

    # Makefile to update the hash symlinks after changes.

    #SSLCARevocationPath conf\ssl.crl

    #SSLCARevocationFile conf\ssl.crl\ca-bundle.crl



    # The authentication of the client (Type):

    # Client certificate verification type and depth. The types are

    # No, optional and require

    Need to #SSLVerifyClient



    # Access control:

    # With SSLRequire, you make a directory-based access control

    # on arbitrary complex Boolean expressions containing server

    # variable control and other directions of research. The syntax is a

    mixture of # between C and Perl. See the mod_ssl documentation

    # For more details.

    # < location / >

    #SSLRequire (% {SSL_CIPHER}! ~ m/^(EXP|)) (NULL)-/.

    # and eq % {SSL_CLIENT_S_DN_O} "powder of snake oil, Ltd.".

    # % {SSL_CLIENT_S_DN_OU} in {"staff", "CA", "Dev"}.

    # % {TIME_WDAY} > = 1 and % {TIME_WDAY} < = 5.

    (# % {TIME_HOUR} > = 8 and % {TIME_HOUR} < = 20).

    # % {REMOTE_ADDR} = ~ m/^192\.76\.162\. [0-9] + $/

    # < / location >



    # SSL engine options:

    # Set different options for the SSL engine.

    # o FakeBasicAuth:

    # The client X.509 translate basic authorization. This means that

    # the standard Auth/DBMAuth methods can be used for access control. The

    user name of # is 'a line' version of the X.509 client certificate.

    # Note that no password is obtained from the user. All entries in the user

    # file needs this password: 'xxj31ZMTZzkVA '.

    # o ExportCertData:

    # This operation exports two additional environment variables: SSL_CLIENT_CERT and

    # SSL_SERVER_CERT. These documents contain the PEM-encoded certificates of the

    # (still existing) server and client (existing only when customer)

    (# authentication is used). This can be used to import the certificates

    # in CGI scripts.

    # o StdEnvVars:

    # This operation exports the standard SSL/TLS related ' SSL_ * ' environment variables.

    # By default this export is disabled for performance reasons.

    # because the extraction step is an expensive operation and is usually

    # no need for static content. If we allow in general of the

    # to export queries CGI and SSI only.

    # o CompatEnvVars:

    # This operation exports obsolete environment for backward compatibility variables

    # for Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. use this

    # to ensure compatibility to the existing CGI scripts.

    # o StrictRequire:

    # This denies access when it is "SSLRequireSSL" or "SSLRequire" applied even

    # in a situation of "Satisfy", i.e. when it applied the access is denied

    # and no other module can change.

    # o OptRenegotiate:

    # This allows optimized connection handling SSL renegotiation when SSL

    # directives are used in the context of the directories.

    #SSLOptions FakeBasicAuth ExportCertData CompatEnvVars StrictRequire

    < files ~ "------." (cgi | shtml) $">"

    SSLOptions + StdEnvVars

    < / files >



    < directory "E:\Oracle_b2b\cachehome\Apache\Apache\cgi-bin" >

    SSLOptions + StdEnvVars

    < / Book >



    SetEnvIf User-Agent ".» * MSIE.*"nokeepalive ssl-unclean-shutdown

    # Server logging:

    # The House of a custom SSL log file. Use this setting when you want one

    # compact without error SSL logfile on a base of the virtual host.

    "CustomLog E:\Oracle_b2b\cachehome\Apache\Apache\logs\ssl_request_log"%t % {SSL_PROTOCOL} % {SSL_CIPHER} x \"%r\ x hour" %b ".

    < / VirtualHost >



    Thank you for your help in advance.

    Kind regards
    Priyanka

    Not sure that the CTA is expected to take in charge the entire feature. Please add entries manually. Let us know.

  • Location of the Windows Update files

    Where are these downloaded files stored?

    * Title *.
    Download of updates for MicroSoft

    Hi Boardman,

    If you are referring to Windows update then the default location of the file being downloaded from windows update update is automatically saved to C:\windows\software distribution\downloads.

    If you specify a file downloaded from the internet manually, by default downloaded files will be stored in the slot location: C:\Users\personal

    You can visit the links to learn more below:

    Download files from the Internet: frequently asked questions:http://windows.microsoft.com/en-us/windows-vista/Downloading-files-from-the-Internet-frequently-asked-questions

     

    Updates: frequently asked questions:http://windows.microsoft.com/en-us/windows7/Updates-frequently-asked-questions

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • find the location of the program database file

    I'm having the same problem. I tried the approach of a file 'save data' and appearing in the file of users/app data.

    There are 2 problems with this: 1) application data file does not appear in the Explorer for me to access, even if I know it is exisits and 2) I'm trying to transfer a backup file, and the program is very specifically looking for a c:\programdata\... etc.

    Where can I find the program data file?

    Thank you

    Joan

    Hi Joan,

    Application data are not a real record, it is a crossroads which is only there for backward compatibility. A crossroads is a shortcut that redirects the programs and files to another location, and for the most part hidden.

    This particular junction points to the C:Users\username\AppData\Roaming folder.

    Also the steps suggested by Dave 9 from this link.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/how-do-i-find-the-AppData-file-location/bf8c7d84-55ba-45B0-A378-0ca1d4acb34f

  • How to show the LOCATION of the search results file (drive &#62; folder) that used to make Windows XP?

    Search works well in all indexed locations. However, when you click on "see more results", you get a huge list of random hits in alphabetical order. It's not exactly a blessing:

    • because you know not the title if it's the document or image that you want to or not, it would be useful to know the name of the folder it contains and on which drive this file can be found.
    • XP would provide the location of the file and the title of a column in another column. This is the behavior I want to make the default for searches.
    • If you double-click an entry to select it, you agree to this one, it opens and you lose all your search results (if you guessed wrong, you need to perform a new search).
    • the only way to learn the location of an item is to right-click and choose "Open file location" but it is very tedious when you get a lot of results.

    Is there a way to change the way in which the "see more results" window displays the results?

    Hi Tachi,

    To see the path of the files, right-click on the search window, goto view , then select Details.

    If you want to save the current search, click on save search.

    Kind regards

    Vinoth Santana

    MCSA | MCSE | MCTS | MCITP

  • Location of the FRReportSRV.log file?

    Hello

    We are eager to see a newspaper when our users run reports.  This journal should have the time, report and username.  I heard that the FRReportSRV.log file would be very useful, but I can't seem to find it.  As far as I know, there is no BI or BIplus folder anywhere on our servers.  We have only the Financial Reporting and other BI applications.  This could be a problem of version?  We are version 11.1.2.2.300.  We had this in our old environment file, 11.1.1, but I can't seem to find in our new environment.  Is there a different newspaper, that I should be looking?  Really any help on this would be welcome.

    Thank you

    Jeff C.

    Hi Jeff,

    Yes, there is change in the directory structure in 11.1.2.x.  You should find EN newspapers under user_projects\domains\EPMSystem\servers\FinancialReporting0\logs.

    FRLogging.log is the journal name, you should seek instead of FRReportSRV.log.

    Here are the details on EMP 11.1.2.2 newspapers: Installation and Configuration Guide Release 11.1.2.2 Troubleshooting

    In addition, you can activate "Follow user" the workspace to track the activities of FR.

    Kind regards

    Santy.

  • Difference in the gateway.properties file when you access of PIA and the opening of the PSIGW folder in the domain of the web server

    Hello

    When I open the file gateway.properties by ITTO's domain\application\peoplesoft\psigw web server directory, I see certain values that are not the same, when I open the file gateway.properties of PIA by navigating to Peopletools-> Integration Broker - > gateway configuration-> gateway.properties file. I tried to clear the web server cache, restart the web server. Even then, I see quite different values of these two places. If I do any change in one of the two places, his not reflecting only with access to another place.

    Could someone delete the following point?

    -I think there is only a file gateway.properties under the web server's domain. When access us the PIA file, wherever to be included in?

    -Is the file stored somewhere in the database as well? where it recovers when PIA accesed?

    -The two are always in sync from different modes?

    -How to synchronize these two?

    Thank you

    Dinkar

    There is only one file per domain. It is read by a web service call when you view it in the PIA. This allows you to edit files from another server. The only time they will be different, that is if the URL of your entry point to a server other than the local server.

    If the URL of your entry points to the same server as your local file, then the only advantage to use the PIA to modify the file (except easy access), it is that sometimes it will update the properties in memory. Change the file in the file system requires to restart the web server for the properties to reload in memory.

Maybe you are looking for

  • How to import folders of bookmarks in Safari?

    I did Foxfire my browser by default and you have several files of bookmarks in Safari, I want to import bookmarks in Foxfire. How can I do this?

  • S5-1200z cd door

    Trying to figure out where the black wire (2 pins) on the cover of the cd case connects to my motherboard. The wire allows you to open the door of cd case by pressing a button... I have a HP Slimeline s5-1200z with an AAHD2-HY(Holly2) motherboard Onl

  • screenshot using lenovo a238t how?

    Hello. I use lenovo a238t.I don't know how sreenshot using this device.I can just screenshot using my browser.I can't print screen of my home/apps/etc pageI had tried clicking the button / stop and volume button at the same time, but it did not work.

  • Anyone use netbook for before LV

    Just walk if the netbook is good enough to support LV I want to run a few LV duration of programming for hardware DAQ with USB 5133 etc. Can I know if anyone has experience before, thank you.

  • You will need to update the video card in my hp a1240n.

    We have an integrated video card, but I need graphis better to play better games. Can I install a geforce 8400 gs?