Configuration in OSB11g properties file

Hello

I'm looking for the best way to come up with the properties of Configuration file in OSB11g. I want to use it as a search in one of my activities in the stream of messages of proxy service.

I can create a file and read the file using service proxy, but always looking for better or any other out of the box functinonality OSB (similar to DVM in SOA). Please let me know about it.

Thank you
Siva

Re: store values of constants in OSB captures the previous discussion.
Re: OSB: what is recommended for reading configuration information

Please go over the links and to see that they meet your needs.

Thank you
Maury

Tags: Fusion Middleware

Similar Questions

  • Connection of the server data source that is configured in the DirectJTDataSource_management.properties file?

    Hello

    I am new to the CSC ATG and when I installed CCS, 3 Server instances were created for Production servers, edition and Agent.

    The installation of the ATG contains a DirectJTDataSource_management.properties file that contains a JNDIName property with a default value (JNDIName = ATGMysqlDS).

    Data source from the server, which the DirectJTDataSource_management.properties should point (Production, edition or Agent)?

    He points to the schema of the edition.

  • Reading a .properties file by calling custom?

    Hey experts!

    I have a custom, component I want to use a standard pot we use that reads some configuration values in a .properties file. But when I try and add the properties file in the class path he does not see it. After a few tests, it seems that WCC is looking in the directory of the top level of the file, rather than the custom component directory. I tried to put the path in the .hda file, but that doesn't seem to work. Is there a way to do this?

    Thank you.

    Hello

    Why not use the .cfg file to store the values as a pair key / value and then use to load the same in the custom component.

    There are many examples with samples of package you can get from the site of the documentation of Complutense University of MADRID. Please see the samples for Oracle Universal Content Management .

  • 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.

  • JDeveloper: unable to locate the properties file

    Hello Experts,

    I work with JDeveloper11R1, and I need to load information from a properties file.
    I copied the config.properties file on the WEB - INF directory and in the project of com / / directory, but when trying to load with a class placed also in the directory of project/com...
            Properties prop = new Properties();
            try {
                prop.load(new FileInputStream("config.properties"));
    OR
                prop.load(new FileInputStream("/config.properties"));
    OR
                prop.load(new FileInputStream("/com/project/config.properties"));
    OR
                prop.load(new FileInputStream("/WEB-INF/config.properties"));
    I have all of the above, I get the file not found error:

    java.io.FileNotFoundException: /com/project/config.properties (the system cannot find the path specified)
    at java.io.FileInputStream.open (Native Method)
    at java.io.FileInputStream. < init > (FileInputStream.java:106)
    at java.io.FileInputStream. < init > (FileInputStream.java:66)
    to com.project.Loader. < init > (Loader.java:35)
    at com.project.Loader.main(Loader.java:133)
    Process has finished with exit code 0.

    I guess I have to configure the Classpath in JDeveloper, but also load the directory of "project properties - library/Classpath ', it does not work.

    Could you please help?

    Thank you

    Check out my blog on reading a file property of a pot of http://tompeez.wordpress.com/2012/08/02/jdeveloper-access-resources-from-the-applications-jar-or-classpath-in-the-model-or-viewcontroller/

    Timo

  • How to configure partial between 2 files?

    How to configure partial between 2 files?

    I recommend the second copy.  Other options are Microsoft SyncToy and Karen's Replicator . Boulder computer Maven

  • AutoVue Office: syntax to specify a file of .gui custom in the .properties files

    Hello.

    My company must specify a menu custom for some users.

    We do not use the client desktop application built-in but Autovue

    It is possible to specify a custom file 'users.gui' in a property like 'autovue.properties' file, in order to distribute tho files on already installed customers.

    If I ' am on the wrong means to tell me.

    Thanks in advance

    Hello

    When you use AutoVue Desktop Deployment, you can specify the GUI file customized in the autovue.properties file by using this option:

    param - GUIFILE = mynewguifile.gui

    It should be added to autovue.cmdline.

    Also the new GUI file should be in your folder "\bin\Profiles".

    Thank you

    Daniel

  • Debug using iOS Simulator (cvm.properties file missing)

    Hello

    I'm trying to debug your sample of JavaDemo. I already have the deploy in an iOS Simulator and I have done the job. But now I'm changing a little more sample and I would like my debugging code.

    I followed the instructions of Testing and Debugging ADF Mobile Applications - 11g Release 2 (11.1.2.3.0)

    Can't get to step 3 to specify the debug cvm.properties file settings. Without this clarification, I can't debug my app.

    Where is this file or how it create?

    Thank you for your attention,

    Kind regards

    Will be.

    Watch this video - https://blogs.oracle.com/mobile/entry/debugging_adf_mobile_apps_on

    You can find the cvm.properties file in JDeveloper under the accordion of application under descriptors resources.

  • Essbase properties file

    Hello

    We have the essbase property file in Essbase server and the APS Server. I'll edit the essbase property file in Server APS at excel from the correct timeout problems. If I change the file properties to the APS, if I need to change the properties file in Essbase server also? I just want to know the difference between these files.

    Thank you

    Michel K

    It is questions of timeout to Smart View you encounter? If you connect to Essbase via Smart View then it will use the file of essbase.properties APS, but it is worth noting that delays Smart View can be customer-related and sometimes require editing the registry.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • If the RequestLocale.properties file included in the pipeline... ?

    Hi all


    I created a RequestLocale.properties file... which would be included in the Pipeline services... And is it mandatory to create the RequestLocale.properties Java class file (IE I just created .properties file without creating a Java class)... ?


    Thanks in advance,
    Laurie Bovlla

    for the 2nd part of your question,.

    No - it is not required to create a java file - unless you want to replace/add a method.

  • How to access the values of the properties file

    Hello

    I use Jdeveloper 11.1.2.2

    I need to get some of the values of the properties file to use in a java class.

    How can I access the .properties file and the values in them.

    Thank you
    Nigel.

    Nigel,
    If you are using FileReader, you must specify the actual path where the file is located. In your sample, the file must be in "/ foundation/model/am/view/Test.propeties". I guess that you don't have this access path on your system as it look like the path to your source folder.

    I use the ResourceAsStream like this:
    Create a file de.hahn.testproxy.backingbeans.test.properties with the following content:

    Test=hallo
    Test2=world
    

    the path is relative my source in the test project path.

    Then, I implemented a listener like:

        private static ADFLogger _logger =
            ADFLogger.createADFLogger(XxyyzzBean.class);
        public void propertiesTestListner(ActionEvent actionEvent) {
            // instead of using the de.hahn.testproxy.backingbeans.test.properties you have to use de/hahn/testproxy/backingbeans/test.properties
            InputStream asStream =
                this.getClass().getClassLoader().getResourceAsStream("de/hahn/testproxy/backingbeans/test.properties");
            if (asStream == null) {
                // file not found
                _logger.info("file not found");
                return;
            }
            Properties p = new Properties();
            try {
                p.load(asStream);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (!p.isEmpty()) {
                _logger.info("Properties: " + p.toString());
            }
        }
    

    and get the result if I bind the listener to a button in the user interface:

    Properties: {Test = hallo, Test2 = world}

    And make sure that the Test.properties file is copied to the output directory.

    Timo

  • 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)

  • 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)

  • The MA Configuration problem, emom.properties

    Hello

    I am trying to configure Enterprise manager using the Oracle 11 g on win 7

    I created the repository successfully.

    On the use

    EMCA - config dbcontrol db


    I have error in the logs do I paste the last part here...

    INFO: Download of the configuration in the repository of EM data (this may take a while)...

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMReposConfig invoke

    INFO: Downloaded configuration successfully data

    November 11, 2013 21:07:16 oracle.sysman.emcp.ParamsManager getParam

    CONFIG: No value has been set for the ORACLE_HOSTNAME parameter.

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMDBCConfig updateEmomsProps

    CONFIG: updating file D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties...

    November 11, 2013 21:07:16 oracle.sysman.emcp.ParamsManager getParam

    CONFIG: No value has been set for the ORACLE_HOSTNAME parameter.

    November 11, 2013 21:07:16 oracle.sysman.emcp.util.FileUtil _deleteFile

    CONFIG: Remove the file D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties

    November 11, 2013 21:07:16 oracle.sysman.emcp.util.FileUtil copyFile

    CONFIG: exception caught in copyFile:

    oracle.sysman.emcp.exception.FileUtilException: copy the file D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca to D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties

    at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)

    at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)

    at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)

    at oracle.sysman.emcp.EMDBCConfig.updateEmomsProps(EMDBCConfig.java:926)

    at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:408)

    at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)

    at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:144)

    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:255)

    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)

    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)

    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)

    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)

    Due to: java.io.FileNotFoundException: D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties (access is denied)

    at java.io.FileOutputStream.open (Native Method)

    in java.io.FileOutputStream. < init > (FileOutputStream.java:179)

    in java.io.FileOutputStream. < init > (FileOutputStream.java:131)

    at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)

    ... 11 more

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMDBCConfig updateEmomsProps

    CONFIG: Copy the file D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca in D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMConfig perform

    SEVERE: Error updating D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties

    See the log file at D:\app\IST-85\cfgtoollogs\emca\orcl\emca_2013_11_11_20_58_39.log for more details.

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMConfig perform

    CONFIG: Stack Trace:

    oracle.sysman.emcp.exception.EMConfigException: error updating D:\app\IST-85\product\11.2.0\dbhome_1\sysman\config\emoms.properties

    at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:413)

    at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)

    at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:144)

    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:255)

    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)

    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)

    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)

    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)

    November 11, 2013 21:07:16 oracle.sysman.emcp.EMConfig restoreOuiLoc

    CONFIG: Restoration of oracle.installer.oui_loc to D:\app\IST-85\product\11.2.0\dbhome_1\oui

    Please take a look at it and let me know where I have error.

    Thank you

    Aamir.

    Hi Aamir,

    Follow these steps

    1. click on menu start-all programs-online accessories online => of Windows right click on "Command prompt" => run as administrator

    2. click Yes when the prompt

    3. set ORACLE_HOME=D:\app\IST-85\product\11.2.0\dbhome_1

    4. set ORACLE_SID =

    5 %ORACLE_HOME%/bin/emca - config dbcontrol db

    Kind regards
    Rahul

  • Jdev v.10.1.3.4 properties file

    Hello

    I have a web project that has a display object and calls to a database. I was wondering if someone could point me in the direction of creating a file of properties of some sort to control the connection settings?

    Thank you

    amcqator,

    Couple of thoughts...

    (1) use a data source as your connection instead of a JDBC url - then the deployer can simply configure the data source to the application server and should not be messing with the file bc4j.xcfg - is the best way.

    (2) another technique I used is to use ANT to generate the EAR file (my article on the technique should be published soon on OTN - it reviews now)-in 10.1.3.x, I created several bc4j.xcfg files and them stuck in a separate Directory, then when I build the EAR, I simply use the appropriate one. I didn't use it to change the DB connection in my case, but to change the other parameters in the same file (such as AM pooling), but the same technique would work. However, for the information of DB connection, I simply use a data source and I can't change anything.

    John

Maybe you are looking for

  • Control Panel audio DTS

    I have a hp pavilion 15-e078ea, core i5 processor, clocked at 2.6 ghz, 8 GB ram, 8.1 64-bit windows after update to 8.1 windows control panel audio dts does not allow me to use the audio improvements or the graphic equalizer I looked on hp support an

  • Power Manager for Windows 8

    Hey,. Any news on the release date for the mangager of power for windows 8? I hate charghing my battery to 100%, I'm trying to extend my battery life but it is impossible without the power manager!

  • Cannot locate component user32.dll

    OK... so... help my mother at a distance. Yesterday, everything was fine... Today she then turns on his Dell to this error: "Stop c0000135 Unable of component located. This application has failed to start because user 32. dll not found.  Reinstalling

  • Suggestion for the next version of firmware!

    This may seem silly, but I really wish she were! My suggestion is, to make the Visual EQUALIZER that you get when you press the Center button during music playback to have an unlimited time! Appreciate very much if you could apply only to the next ve

  • small business computerized

    My company has been one of the BETA testers for MS Small Business Accounting 2007, I ran and used since on my desktop PC running Windows XP from I've recently updated my PC that installed Windows 7 The software was released on Mamut which are totally