Class Config XML support.

Hello

I have a system that takes care of your tank of properties a class that reads an xml file. For example sysconfig.xml years that contains all the properties of the system. Now I need to load the properties xml to another class, for example a class that read files from another application, and I need to store the password, login, path, etc...

What is the best approach for creating a generic class that receives a string that represents the xml and load?

Is too ugly receives a string with the name of xml to load?

Thanks for the suggestions...

If the method does not know the name of the file that is supposed to load, then passing the file name as a parameter seems to be a perfectly ordinary thing to do. What was really your question?

Tags: Oracle

Similar Questions

  • ORA-29541: class MW.oracle/support/mw/SupportRuntime cannot be resolved

    Setup Wizard Maintenance information

    Domain = cl.xxxxxx.com
    Oracle Home DB/d01/10201/oracle /
    Connection string = orcl
    Password = < not displayed > system
    The MW = database schema
    Maintenance Wizard Patch placement = / d01/10201/oracle/DB/eof/patches
    Email for anonymous FTP = [email protected]
    Protocol = http
    Port = 8080 HTTP
    Name of host HTTP Proxy = no proxy used
    Number of HTTP Proxy port = no proxy used
    My Oracle Support Username = [email protected]
    My Oracle Support = < not displayed > password
    Maintenance Wizard password = < not displayed >
    ***********************************************************************

    The values above are correct? Y (Y/N)
    Removing old schema Wizard Maintenance (MW)... Fact.
    Create a new schema in the Maintenance Wizard (MW)... Fact.
    Assistant Maintenance (MW) tool schema import... Fact.
    Compilation of the objects schema (MW) of the Maintenance Wizard... Fact.
    Check the status of ANONYMOUS account... Fact.
    Creating configuration files... Fact.
    Creating a DAD embedded PL/SQL gateway... Fact.
    Implementation of XML DB Repository... Fact.
    Creating XML DB Dir images... Fact.
    Creating XML DB Dir of folklore... Fact.
    Maintenance Assistant Java classes.../setup.sh loading: line 1093: /d01/10201/oracle/DB/eof/config/load_mw_java.sh: permission denied
    Fact.
    Creating portfolio for password encryption... Fact.
    Update the attributes declare...
    *
    ERROR on line 1:
    ORA-29541: class MW.oracle/support/mw/SupportRuntime cannot be resolved
    ORA-06512: at "MW. EOF_TOOLS', line 2750
    ORA-06512: at "MW. EOF_UTIL', line 171
    ORA-06512: at line 4 level

    Fact.
    Stopping listening process... Fact.
    From listening process... Fact.
    Checking the process of listening... Fact.
    Closing database orcl... Fact.
    From orcl database... Fact.
    Preparation to upload static content... Fact.
    Download of static content to images... Fact.
    Download of static content to folklore... Fact.

    To start the Maintenance Wizard configuration, go to the following URL
    http://xxxxxxxx:8080

    Web browsers supported are Internet Explorer 6.0 and Firefox 3.0 and liked

    Completed the installation Maintenance Wizard 2.18.


    Any idea what this may be?
    Thanks in advance

    The error

    ERROR on line 1:
    ORA-29541: class MW.oracle/support/mw/SupportRuntime cannot be resolved
    ORA-06512: at "MW. EOF_TOOLS', line 2750
    ORA-06512: at "MW. EOF_UTIL', line 171
    ORA-06512: at line 4 level

    is probably caused because /d01/10201/oracle/DB/eof/config/load_mw_java.sh failed: permission denied

    Based on this script, that I would like to check to see if sqlplus is executable from the same environment that you have run setup.sh.

    Before running setup.sh please be sure that your database environment is accessible using sqlplus under user MW.

    You could place a set - x at the top of the load_mw_java.sh so that we can see more production which does not run.

    Source language:

    # $Header: 1.06 load_mw_java.sh 2009-07-24 11:30 procedures ship $
    ## +=========================================================================+

    With the command set - x:

    # $Header: 1.06 load_mw_java.sh 2009-07-24 11:30 procedures ship $
    Set - x
    ## +=========================================================================+

  • Error 25004 config.xml not specified as a configuration xml file is valid must be created during deployment (null)

    Error 25004 config.xml not specified as a configuration xml file is valid must be created during deployment (null)

    Hello niecy1963,

    Thanks for posting on the Microsoft answers Forum.

    If you get this error when you try to install Office 2007, then be sure that you have uninstalled the trial versions of Office from your computer.
    It may be a software problem with an uninstall of Office add-in Microsoft any component snap-in via the control panel. Reset. Then you can reinstall the add-in.

    You can also follow the article below for assistance.
    KB Article ID: 928218 -how do I uninstall manually Office system 2007 if you cannot uninstall it by using the function "Add or Remove Programs".

    If you experience this error with another program and not Office 2007, with more details please reply and we will be happy to help.

    If please give an update and let us know your status.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Deployment configuration, review, Jabber - config.Xml

    Hi all

    Doing my best to get better acquainted with Jabber and its configuration and to improve its functionality beyond the current "It works", but I have meet some roadblocks, including a few I will detail here.

    The first thing I wanted to address was last updated the file config.xml - jabber with some specific parameters common to our business, trivial as failing for the landline phone rather than the phone software, to things more as actually specifying a server update here on the premise.  The first and perhaps the main question I have is trying to deploy this file (the one I created using jabber - config.html).  I can't yet confirm that I have configured correctly because I can't deploy in the way I want.

    Currently, jabber - config.xml does not live locally on my PC.  There is a jabberlocalconfig.xml, but no jabber-config.  I found on the TFTP server, i.e. a config.xml file - jabber in the list of downloaded files, so I guess it's crazy.  Maybe not.  I would like to deploy the file I created in this very way, but until I can test it locally, I am not prepared to transfer to the masses (assuming again, it grows at all).  I tried to empty this file in the configuration file local under AppsData\Roaming...etc etc and even deleted all files jabberlocalconfig (she and her backup) before spinning towards the top of Jabber, but the moment that Jabber launches, the config.xml file - JAB is deleted and soon replaced by the file jabberlocalconfig (now ' white' (no previous stored parameters)).

    My first thought is that jabberlocal is perhaps a reflection of the config.xml file - jabber being pushed down, and our implementation partner did nothing to customize.  Download my file to TFTP could probably solve the problem.  Before that, I would have preferred to go over all that happens with the existing jabber-config on TFTP file, but I can't seem to download, CLI tftp SERVER get jabber - config.xml, either through the http://SERVER:6790 / jabber-config.  Be able to see the existing file would allow me to compare it to what is recreated and perhaps to make sense of it.

    The other idea is just that maybe jabberlocal is just ignorant jabber-config and for some reason, the local settings are common.  Similarly, maybe jabber-config is not yet pushed.  I restart the TFTP service on the pub and the sub as a Hail Mary of all kinds.

    TL; DR: Is there a way I can download a copy of the file config.xml - jabber in show in the TFTP on CUCM files list so that I can see him again?  Is it supposed to be a local copy of a config xml file called jabber - config.xml, or the local copy of the configuration settings is called something else?  Is there a way I can deploy a jabber - updated config.xml to date the only Jabber user (me) for testing purposes before pushing it at all without that crushing the Jabber Client at startup?

    Bonus questions:

    1.) something else I wanted to address this custom configuration jabber has been getting images of work on our fleet of iPad/iPhone.  Another thread suggested here that you may need allow photos contact EDI collection methods and BDI host Windows and non-windows.  Is it true, or is there a simple method to import photos that satisfied both environments?

    2.) was the control of menu updates to Jabber 10.6.x?  I remember seeing it on 10.5.x (and having it fail because I do not think that it either has been implemented at the time), but I could not find in the menu to 10.6.2.  Maybe he'll show up if I can get this config file (which I hope correctly pointing to updated web site) or maybe the functionality has been decommissioned.

    My apologies if this sounds elementary, I'm still learning the tricks of the trade with this kind of thing.

    You can download the same as a file for setting up the phone

    http://docwiki.Cisco.com/wiki/Endpoints_FAQ#How_to_download_a_phone_.cnf...

    And Jabber documentation also covers this:

    To verify that the configuration file is available on your TFTP server, open the configuration file in any browser. As a general rule, you can access the global configuration file to the following ADDRESS: http://tftp_server_address:6970 / jabber - config.Xml

    No, in 10.6 there no local copy, only in previous versions.

    Yes, jabber documentation covers how to define the scope of support for Cisco, so you can use a specific configuration for certain endpoints, it applies only to the J4W and J4M. For Jabber clients which do not show the field of support, you can't anything in addition to the default config file

    On photos and directory, Yes, config EDI applies only to the J4W, all other clients, require the BDI config to work. If you have a mix, you need two directory entries configured.

    I'm running 10.6.1 and I do not see the verification of updates, very probably, you must enable and configure the feature appears, I have not tested in my lab.

  • Documentation for config.xml for playbook

    Hey RIM,.

    When you're you going to get out of the documentation for the file config.xml... all that right with a graphical interface for us in the web plugin eclipse...

    I don't expect the same for the playbook, but really I don't know what should be the content of this file... No documentation would be not good (or if someone could tell me that would be great).

    Right now, I'm just coding in the dark... I do a little better comments about what I think should be allowed in the XML (such as adding other areas...)

    EC

    Here's the documentation you request: technical - grade Configuration Document .

    This document is in the section BlackBerry WebWorks Developer Guides Web site.

    Note: there is at least an inconsistency with the supported elements.  The element ' rim: transitionEffect "is not supported by the SDK WebWorks for PlayBook (but is for the Smartphone SDK).  I have a pending request with our documentation team to provide details on the other gap analysis.

    Sincerely,

    Adam

  • Encrypt the password weblogic in the config.xml file

    Hi friends,

    I get the below error. while trying to start the administration server.

    < 17 November 2015 14:18:09 IST > < opinion > < Log Management > < BEA-170019 > < server log file /u01/app/orawls/product/fmw11g/user_projects/domains/ClassicDomain/servers/AdminServer/logs/AdminServer.log is open. All events in the log server-side will be written to this file. >

    < 17 November 2015 14:18:09 IST > < critical > < WebLogicServer > < BEA-000386 > < server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:175)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy.decrypt (DescriptorManager.java:192)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl.decrypt (DescriptorManager.java:114)

    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)

    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:737)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:173)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.security.internal.encryption.EncryptionServiceException

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:139)

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:187)

    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    Truncated. check the log file full stacktrace

    I searched the support of oracle in this regard. In one mentioned to modify the config.XML and add either encrypted or clear text.

    I don't know how to change the file and that all entries have to be changed. I enclose the config file. Could you please suggest me.

    Kind regards

    Prates

    What doc id you are referring to? If you need to replace the password encrypted with password plain text in the config.xml file, just edit it with a text editor and replace the values starting with {ESA}.

  • config.XML Malformed

    Hi all

    I'm a noob total when it comes to PhoneGap and app building, but have managed to pull something together for a project database, I'm working on.

    When I try to download my zip file, which was created using AppPresser (a tool of building the app wordpress plugin), I get the config.xml incorrect error.

    Here is my xml file, hoping someone can report errors?

    ------------------------------------------------------------------------------------------ --------

    <? XML version = "1.0" encoding = "UTF-8"? >

    <!-config.xml reference: https://build.PhoneGap.com/docs/config-XML -->

    < widget xmlns = " " http://www.w3.org/ns/widgets "

    xmlns:gap = " " http://PhoneGap.com/ns/1.0 "

    ID = "com.thekoapp.app".

    version = "1.0.0" >

    <!-change app (above) id, name, description and author. The application ID can be any reverse domain name, such as--> com.mycompany.app

    < name > The App KO < / name >

    < description >

    News, highlights, results and other items from the annual NSW Aboriginal Rugby League Knockout.

    -Stay up-to-date with all the action

    -All games

    -Men's, women's, U12, U15 and U17

    -News

    -Highlights of the matches

    - And more

    < / description >

    " < author href = ' http://Muru.com.au "email =" " [email protected] "> "

    Muru Corporation

    < / author >

    < platform name = 'ios' > < / platform >

    < platform name = "android" > < / platform >

    < name of option = "phonegap-version" value = "cli - 6.1.0" / >

    < name of option = "android-minSdkVersion" value = "14" / > <!-Android 4.0 is minimum supported-->

    < gap: config-platform leader = parent "ios" = "CFBundleShortVersionString" > < String > 100 < / string > < / gap: config-file >

    <!--you can comment on the features that you do not use - >

    < name of the ditch: plugin = "statusbar-plugin-cordova" source = 'MNP' spec = "2.1.3" / >

    < name of option = "StatusBarOverlaysWebView" value = "false" / >

    < name of option = "StatusBarBackgroundColor" value = "#000000" / >

    < name of option = "StatusBarStyle" value = "lightcontent" / >

    < name of the ditch: plugin = 'pushwoosh-bmp-plugin' source = 'MNP' spec = "5.1.2" / >

    < name of the ditch: plugin = "cordova-plugin-x-socialsharing" source = "MNP" spec = "5.1.1" / >

    < name of the ditch: plugin = "cordova-plugin-whitelist" source = 'MNP' spec = "1.2.2" / >

    < name of the ditch: plugin = 'cordova-plugin-camera' source = 'MNP' spec = "2.2.0" / >

    < name of the ditch: plugin = 'cordova-plugin-device' source = 'MNP' spec = "1.1.2" / >

    < name of the ditch: plugin = 'cordova-plugin-contacts' source = 'MNP' spec = "2.1.0" / >

    < name of the ditch: plugin = "cordova-plugin-dialogues" source = 'MNP' spec = "1.2.1" / >

    < name of the ditch: plugin = source "cordova-plugin-file" = "MNP" spec = '4.2.0' / >

    < name of the ditch: plugin = 'cordova-plugin-transfer files' source = 'MNP' spec = "1.5.1" / >

    < name of the ditch: plugin = "cordova-plugin-Geolocation" source = 'MNP' spec = "2.2.0" / >

    < name of the ditch: plugin = "cordova-plugin-inappbrowser" source = "MNP" spec = "1.4.0" / >

    < name of the ditch: plugin = "cordova-plugin-media-capture" source = 'MNP' spec = "1.3.0" / >

    < name of the ditch: plugin = 'cordova-plugin-network-information' source = 'MNP' spec = "1.2.1" / >

    < name of the ditch: plugin = 'cordova-plugin-splashscreen' source = 'MNP' spec = "3.2.2" / >

    < platform name = "ios" >

    < name of the ditch: plugin = "Ionic-plugin-keyboard" source = 'MNP' spec = "2.2.1" / >

    < / platform >

    < name of the ditch: plugin = 'cordova-plugin-admob-simple' source = 'MNP' spec = '3.0.4' / >

    <!--crosswalk improves the performance of Android, but decreases the size of the app more-->

    < name of the ditch: plugin = "cordova-plugin-concordance-webview" source = "MNP" version = "1.8.0" / >

    <!-to show app faster autohide, set true. iOS-only >

    < name of option = "AutoHideSplashScreen" value = "false" / >

    < name of option = "StatusBarOverlaysWebView" value = "false" / >

    < name of option = "webviewbounce" value = "false" / >

    < name of option = "KeyboardDisplayRequiresUserAction" value = "false" / >

    <! - if you see a white screen on Android when you load the app, uncomment SplashScreenDelay preference - >

    < name of option = "SplashScreenDelay" value = "10000" / >

    <!--no need to edit below this line-->

    < src = "splash.png" / gap: splash >

    "< src="res/screen/ios/screen-iphone-portrait.png gap: splash "gap: platform ="ios"width ="320"height ="480"/ >

    "< src="res/screen/ios/screen-iphone-portrait-2x.png gap: splash "gap: platform ="ios"width ="640"height ="960"/ >

    "< src="res/screen/ios/screen-iphone-portrait-568h-2x.png gap: splash "gap: platform ="ios"width ="640"height ="1136"/ >

    "< src="res/screen/ios/screen-ipad-landscape.png gap: splash "gap: platform ="ios"width ="1024"height ="768"/ >

    "< src="res/screen/ios/screen-ipad-portrait.png gap: splash "gap: platform ="ios"width ="768"height ="1024"/ >

    "< src="res/screen/ios/screen-ipad-landscape-2x.png gap: splash "gap: platform ="ios"width ="2048"height ="1496"/ >

    "< src="res/screen/ios/screen-ipad-portrait-2x.png gap: splash "gap: Platform = 'ios' width ="1536"height ="2008"/ >

    "< src="res/screen/ios/screen-iphone6-portrait.png gap: splash "gap: platform ="ios"width ="750"height ="1334"/ >

    "< src="res/screen/ios/screen-iphone6-landscape.png gap: splash "gap: platform ="ios"width ="1334"height ="750"/ >

    "< src="res/screen/ios/screen-iphone6-plus-portrait.png gap: splash "gap: platform ="ios"width ="1242"height ="2208"/ >

    "< src="res/screen/ios/screen-iphone6-plus-landscape.png gap: splash "gap: platform ="ios"width ="2208"height ="1242"/ >

    "< src="res/icon/ios/icon-29.png icon "gap: platform ="ios"width ="29"height ="29"/ >

    "< src="res/icon/ios/icon-48.png icon "gap: Platform = 'ios' width = '48' height = '48' / >

    "< src="res/icon/ios/icon-57.png icon "gap: platform ="ios"width ="57"height ="57"/ >

    "< icon src="res/icon/ios/icon-58.png "gap: Platform = 'ios' width ="58"height ="58"/ >

    "< src="res/icon/ios/icon-64.png icon "gap: platform ="ios"width ="64"height ="64"/ >

    "< icon src="res/icon/ios/icon-72.png "gap: platform ="ios"width ="72"height ="72"/ >

    "< src="res/icon/ios/icon-57-2x.png icon "gap: platform ="ios"width ="114"height ="114"/ >

    "< src="res/icon/ios/icon-72-2x.png icon "gap: platform ="ios"width ="144"height ="144"/ >

    "< src="res/icon/ios/icon-320.png icon "gap: platform ="ios"width ="320"height ="320"/ >

    <!-iPhone 6 / 6 + ->

    "< src="res/icon/ios/icon-87.png icon "gap: platform ="ios"width ="87"height ="87"/ >

    < icon src = "res/icon/ios/[email protected]" gap: platform = "ios" width = "180" height = "180" / >

    <!-iPhone / iPod Touch->

    "< src="res/icon/ios/icon-60.png icon "gap: platform ="ios"width ="60"height ="60"/ >

    < icon src = "res/icon/ios/[email protected]" gap: platform = "ios" width = "120" height = "120" / >

    <! - iPad - >

    "< icon src="res/icon/ios/icon-76.png "gap: platform ="ios"width ="76"height ="76"/ >

    < icon src = "res/icon/ios/[email protected]" gap: platform = "ios" width = "152" height = "152" / >

    "< src="res/icon/android/icon-36-ldpi.png icon "gap: Platform = 'android' gap: density ="ldpi"/ >

    "< src="res/icon/android/icon-48-mdpi.png icon "gap: Platform = 'android' gap: density ="mdpi"/ >

    "< src="res/icon/android/icon-72-hdpi.png icon "gap: Platform = 'android' gap: density ="hdpi"/ >

    "< src="res/icon/android/icon-96-xhdpi.png icon "gap: Platform = 'android' gap: density ="xhdpi"/ >

    "< src="res/screen/android/screen-hdpi-landscape.png gap: splash "gap: platform = gap: qualifier 'android' ="Earth-hdpi"/ >

    "< src="res/screen/android/screen-hdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-hdpi"/ >

    "< src="res/screen/android/screen-ldpi-landscape.png gap: splash "gap: platform = gap: qualifier 'android' ="Earth-ldpi"/ >

    "< src="res/screen/android/screen-ldpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-ldpi"/ >

    "< src="res/screen/android/screen-mdpi-landscape.png gap: splash "gap: platform = gap: qualifier 'android' ="Earth-mdpi"/ >

    "< src="res/screen/android/screen-mdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-mdpi"/ >

    "< src="res/screen/android/screen-xhdpi-landscape.png gap: splash "gap: platform = gap: qualifier 'android' ="Earth-xhdpi"/ >

    "< src="res/screen/android/screen-xhdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xhdpi"/ >

    < src = "icon.png icon" / > "

    < src = "index.html of content" / > "

    < access origin = "" * "subdomains ="true"/ >"

    < allow navigation href = "" * "/ > <! - iOS made happy iframe - >"

        <!-- https://github.com/PhoneGap/build/issues/508 -->

    < allow intention href = "" Tel: * "/ >"

    < allow intention href = "" sms: * "/ >"

    < allow intention href = "mailto:*" / >

    < allow intention href = "" geo: * "/ >"

    < platform name = "android" >

    < allow intention href = "' market: *" / > "

    < / platform >

    < platform name = "ios" >

    < allow intention href = "" itms: * "/ >"

    < allow intention href = "" itms-apps: * "/ >"

    < / platform >

    < / widget >

    You can post your own XML using an online service: http://www.xmlvalidation.com/

    In this case, your problem is using a '&' - you must use "&" instead.

  • How to define the rules of navigation in faces - config.xml dynamically?

    In jdev 12.1.2 I am studying and performing the adf faces demo (12.1.2 version).

    I am trying to implement the function of navigation like this:

    1. in the navigation tree in the left panel of the accordion will show the features of an application which is read from database tables;

    2. When you click on a node in the navigation tree, a corresponding function/page will be launched in the Panel to the right of the home page;

    3. the navigation tree nodes display names and information pages target will be resident in the database tables and will be read in my case, the control of data bindings.

    and now I know, the click action was executed in this file in the demo: componentGallerySideBarTree.jsff:

    ->action = "#{stamp.actionOutcome}"

    < af:tree id = "tree" value = "#{attrs.menuModel}" var = "stamp" = "single" rowSelection fetchSize = "200" "

    Summary = "#{uploading." Summary}"disclosedRowKeys =" #{attrs.menuModel.foldersTreeState} "autoHeightRows = '0'"

    displayRow selectedRowKeys = "#{attrs.menuModel.selectionState}" = "selected" "

    contentDelivery = 'immediate' emptyText = "there are no demos for this category.

    styleClass = "AFStretchWidth" >

    < f: facet name = "nodeStamp" >

    < af:panelGroupLayout id = "nodePgl" >

    < af:image source = "#{stamp.ico}" styleClass = "GalleryIcon" shortDesc = "Image of a tree node" "

    ID = "nodeImg" / >

    < af:switcher facetName = "#{stamp.children == null?' leaves ': 'notLeaf'}" id = "nodeSw" > "

    < f: facet = "journal batch name" >

    < af:link id = text = "#{stamp.label"leafLink"} '"

    shortDesc = "#{stamp.label} #{stamp.deprecated eq 'real'?" (not recommended) " :"} »

    action = "#{stamp.actionOutcome}"

    inlineStyle = "#{stamp.deprecated eq 'true'?-style: italic; color: gray':"} ' "

    selected = "true" >

    < af:target execute="@this"/ >

    < / af:link >

    < / f: facet >

    < f: facet name = "notLeaf" >

    < af:outputText id = value = "#{stamp.label"notLeafText"} ' shortDesc =" #{stamp.label} "/ >"

    < / f: facet >

    < / af:switcher >

    < / af:panelGroupLayout >

    < / f: facet >

    < / af:tree >

    and the value of actionOutcome was entered in this file DemoConfusedComponentsMenuModel.java:

    (for the case of the confused component navagation tree folder)

    private TreeModel _initConfusedComponents()

    {

    Confused components

    The list < DemoItemNode > confusedComponentsNodes = new ArrayList < DemoItemNode >)

    {

    {

    ..

    Add (new DemoItemNode ("Tabs", "/ confusedComponents/tabs.jspx","/adfdt/panelTabbed.png","confused.tabs"));

    Add (new DemoItemNode ("iterators","/ confusedComponents/iterators.jspx","/adfdt/iterator.png","confused.iterators" ""));

    }

    };

    DemoItemNode confusedComponentsGroup = new DemoItemNode ("Often confused", "/ images/folder.png", confusedComponentsNodes);

    List ConfusedComponentsList = new ArrayList();
    confusedComponentsList.add (confusedComponentsGroup);

    TreeModel confusedComponents = new ChildPropertyTreeModel (confusedComponentsList, _CHILDREN);
    Return confusedComponents;
    }

    In addition, there are elements in faces-config .xml to define the rules of navigation for the actions 'by clicking on the tree node.

    <>navigation-case

    < from outcome >confused.iterators< / de-results >

    < to view - id > /confusedComponents/iterators.jspx< / to-view-id >

    <!-< redirect / >->

    < / navigation-case >

    So, I can add a new entry in the navigation tree, like this:

    1. in DemoConfusedComponentsMenuModel.javaof the file: Add

    Add (new DemoItemNode ("Iterators", "/confusedComponents/cms.jspx","/ adfdt/iterator.png","confused.cms" ""));

    2. in the file faces - config.xml, add:

    <>navigation-case

    < from outcome >confused.cms< / de-results >

    < to view - id > /confusedComponents/cms.jspx< / to-view-id >

    <!-< redirect / >->

    < / navigation-case >

    and it works!- I have successfully added a new node in the navigation tree, called a new page created by myself cms.jspx.

    If I implement them using database tables (links datacontrols EO/VO),.

    I think I can put action = "#{stamp.actionOutcome}" by links.

    But how can I pay the entry in the faces-config file. XML? -That is to say:

    How to define the rules of navigation in faces - config.xml dynamically?

    Thanks in advance!

    ADF 12 c comes with support for JSF 2.0, you can use the implicit navigation feature.

    In short: you don't need to add case action property, any set of navigation in the name of the page (and include the path if necessary).

    In your case, the name of the action will be: ' / confusedComponents/cms.jspx ' and of course, you can link the action property of method that returns this string.

    If you want to add by the case of navigation program, try ConfigurableNavigationHandler.

    For example:

    Manager of ConfigurableNavigationHandler = (ConfigurableNavigationHandler) FacesContext.getCurrentInstance () .getApplication () .getNavigationHandler ();

    handler.getNavigationCases () .put (...);

    Dario

  • java.io.FileNotFoundException:.\config\jps-config.xml

    Hello

    I will carry out the Java code examples in 'The Developer Guide for Oracle imaging and process management' document (E12784-03). I have followed the "Startup" section and set up the environment. I have the environment that meets the above requirements. However the when I run the example of presentation given in point 2.3, it gives me below error.

    SEVERE: java.io.FileNotFoundException:.\config\jps-config.xml (the system cannot find the path specified)

    SEVERE: Error loading class interceptor oracle.fabric.common.BindingSecurityInterceptor

    Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.IllegalStateException: java.lang.NullPointerException

    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:867)

    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)

    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)

    at oracle.j2ee.ws.client.jaxws.WsClientProxyInvocationHandler.invoke(WsClientProxyInvocationHandler.java:254)

    to $Proxy6.login (Unknown Source)

    at oracle.imaging.proxy.ProxyServicesFactory.authenticate(ProxyServicesFactory.java:205)

    at oracle.imaging.ServicesFactory.login(ServicesFactory.java:376)

    to project1. UpdateDcoument.main (UpdateDcoument.java:18)

    Caused by: java.lang.IllegalStateException: java.lang.NullPointerException

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.createManagedInterceptorChain(InterceptorChainManager.java:152)

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.getManagedInterceptorChain(InterceptorChainManager.java:230)

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:275)

    at oracle.j2ee.ws.client.mgmt.runtime.SuperClientInterceptorPipeline.handleRequest(SuperClientInterceptorPipeline.java:96)

    at oracle.j2ee.ws.client.jaxws.DispatchImpl.handleRequest(DispatchImpl.java:619)

    at oracle.j2ee.ws.client.jaxws.DispatchImpl.handleRequest(DispatchImpl.java:597)

    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:806)

    ... 7 more

    Caused by: java.lang.NullPointerException

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.createInterceptor(InterceptorChainManager.java:379)

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.createManagedInterceptorChain(InterceptorChainManager.java:318)

    at oracle.integration.platform.common.mgmt.InterceptorChainManager.createManagedInterceptorChain(InterceptorChainManager.java:150)

    ... 13 more

    Process has finished with exit code 1.

    I couldn't find the file config/jps - config.xml in the field who has installed Imaging. However, imaging works very well and it is also integrated with EBS. Do I need to do any additional setup?

    Help, please.

    Kind regards

    Vikrant Korde.

    I'm following "The Oracle imaging and process management Developer Guide" document (E12784-03). on the net, the new version is available at slot location.

    Configure the class path for the Imaging API - 11g Release 1 (11.1.1)

    I could solve the problem. Initially, I was creating in Jdev JAVA project. Now, I created the project ADF and run the example even. I also had to import 2 pots mentioned in the document that is ecm - client.jar and ecm - client.jar. These two present on the IPM server.

    It worked...

    Thanks for the quick responses Srinath.

    Kind regards

    Vikrant Korde.

  • Do not use SOA components custom cache config xml

    I created a Java class to interact with consistency. The class is called using the SISM BPEL. Created a custom config cache file, jared it and added the jar in the classpath library. The composite, has deployed the java class is within a SOA project. After you run the composite, the class is called but joined 'SOADistributedCache' defined in 'fabric-runtime.jar!/soa-coherence-cache-config.xml' instead of joining the 'DistributedCache' defined inside my coherence_config.xml. The soa-coherence-cache-config is configuration by default from cache SOA folder as each join of SCA components. The pot is in server classpath and it overrides the property of my "tangosol.coherence.cacheconfig" system which I'll put in my class.
    Here's my class
    public class CoherenceReader {}


    public String readFromCache (String key) {}

    System.out.println ("before calling cache");
    Dim retVal = (String) cache.get (key);
    System.out.println ("value:" + retVal);
    Return retVal;
    }
    static cache of NamedCache = null;

    public static
    {
    System.setProperty ("tangosol.coherence.cacheconfig", "coherence_config.xml");
    System.setProperty ("tangosol.coherence.localport", "8088");
    System.setProperty ("tangosol.coherence.wka", "localhost");
    System.setProperty ("tangosol.coherence.wka.port", "8088");
    Thread thread = Thread.currentThread ();
    ClassLoader = thread.getContextClassLoader () loderPrev;
    try {}
    thread.setContextClassLoader (NamedCache.class.getClassLoader ());
    CacheFactory.ensureCluster ();
    System.out.println ("before call getCache");
    cache = CacheFactory.getCache ("employeecache");
    System.out.println ("cache:" + hide);
    }
    {Finally
    Thread.currentThread () .setContextClassLoader (loderPrev);
    }

    }
    }

    The result is:
    < 29 Aug 2011 18:54:35 IST > < WARNING > < coherence > < BEA-000000 > < 2011 - 08 - 29 18:54:35.269/806.656 Oracle coherence GE 3.6.0.4 < WARNING > (thread = Cluster, Member = n/a): this member is configured with a compatible but different WKA list then the senior member (Id = 1, Timestamp = 2011-08-29 17:10:55.356, address = 172.18.21.94:8088, MachineId = 43870, Location = site: India.TCS.com machine: 01hw299069, process:2508, role = CoherenceServer). It is strongly recommended to use the same list to all WKA is the cluster members. >
    cache: SafeNamedCache: ViewMap {Name = employeecache, ClassLoader=sun.misc.Launcher$AppClassLoader@1a16869, ServiceName = SOADistributedCache}

    Although coherence_config.xml is in the classpath of the project is not taken/overridden by the fabric-runtime.jar!/soa-coherence-cache-config.xml.
    Simply, you can test this by adding a class inside the SOA project and try to access the cache of it.
    Any help on the use of custom for the SOA components cache configuration?

    Hello

    There are 2 files that you will need to develop/specify for the use of the class from BPEL:

    1 tangosol-coherence - override.xml: this file defines the cluster and it should be created separately for each consistency group. Remember, you must have a different cluster created consistency that is used by the components of SOA deployments and discovery. This file will include all your names of WKA and cluster and so on. You can override all the elements specified in the tangosol - coherence.xml in this file. The file can be loaded using the tangosol-coherence-override system property.

    2 coherence-cache - config.xml: this file is used to specify how data is managed within the cluster? Yet once again, this file must be used to manage the cluster which is called using your BPEL code.

    I am sure that you do not specify the tangosol-coherence - override.xml which makes your BPEL class joining the cluster used by SOA to manage components.

    I hope this helps!

    See you soon,.
    NJ

  • not the substitution of the coherence-cache - config.xml, but showing the error...

    Hello

    I created a file called file tangosol-coherence - override.xml in the specified path which is "C:\Program Files\Oracle\Coherence for.NET"

    and the coherence.jar file is located in the path that is "C:\Program Files\Oracle\Coherence for." NET\lib ".

    but it is not the substitution of the XML... with the default file...


    C:\Program Files\Oracle\Coherence pour.NET\examples\ContactCache.Java > C:\Progra «»
    m Files\Java\jdk1.6.0_11\bin\java"- Server showversion-Xms128m-Xmx128m - Dtang
    STATUS ONLINE. Coherence.TTL = 0 - Dtangosol.coherence.cacheconfig = contact-cache - config.xml.
    CP 'config; lib\custom - types.jar; C:\Program Files\Oracle\Coherence for .NET\lib\c
    OHERENCE.jar' com.tangosol.net.DefaultCacheServer
    Java version "1.6.0_11.
    Java (TM) SE Runtime Environment (build 1.6.0_11 - b03)
    Java hotspot Server VM (build 11, 0 - b16, mixed mode)

    2011-06-20 15:06:57.607/2.366 Oracle coherence 3.7.0.0 < Info > (thread = hand, member)
    ER = n/a): responsible operational configuration of jar:file:/C:/Program%20Files/Ora «»
    cle/Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence.xml ".
    2011-06-20 15:06:57.989/2.748 Oracle coherence 3.7.0.0 < Info > (thread = hand, member)
    ER = n/a): operational substitutions of jar:file:/C:/Program%20Files/Oracle/ load «»
    Coherence%20For%20.NET/lib/coherence.jar!/tangosol-coherence-override-dev.xml ".
    2011-06-20 15:06:58.049/2.808 Oracle coherence 3.7.0.0 < D5 > (thread = main Member,
    (= n/a): configuration optional override ' / tangosol-coherence - override.xml ' is not
    specified
    2011-06-20 15:06:58.062/2.821 Oracle coherence 3.7.0.0 < D5 > (thread = main Member,
    (= n/a): configuration optional override "/ custom - mbeans.xml ' is not specified

    Oracle Version 3.7.0.0 Build 23397 consistency
    Grid edition: development Mode

    Thanks in advance

    The classpath is not the same as the path. It is similar, but a classpath is a set of directories or jar Java files use to search for resources and executable code.

    Assuming you are using the sample file of Start-cache - server.cmd which is supplied with the .net examples to start your server you can put the file tangosol-coherence - override.xml in the C:\Program Files\Oracle\Coherence pour.NET\examples\ContactCache.Java\config directory because it's on the class path when using this script.

    JK

  • v shud add cachesettings in content compulsorly - config.xml for cachepurpose

    I HAV added p13n-content - config.xml and also changed the time to live in the properties Advanced dettings in the administration console.
    It is now that i shud add details hidden content-file config.xml also for her effective b.
    If so, shud I just copy what p13n-content-config and paste in content-config.

    In general, I would recommend to put the cache configuration in p13n-cache-config. XML (with the exception of binary-max-entry-the cache size).

    Here is an example of content file - config.xml with this setting:




    WLP_Repository
    Test repository
    com.bea.content.spi.internal.RepositoryImpl
    Bea.WLP.Content.Repository

    Data source defined for the repository of Test Portal
    CM_DATA_SOURCE
    contentDataSource


    Disable repository for research events.
    cm_fireRepositoryEvents
    fake


    The class object of webdav when this Jack in pension is used with webdav
    WEBDAV_TYPE
    webdav_type

    fake
    1024
    true
    fake

    I did not understand your question about p13n-cache - config.Xml. If you are looking to change the cache settings at run time, you can do so via the portal administration tools (Administration of Service page).

    Cache (not just caches CM) configuration is cached p13n - config.xml, not content-config. XML (with the exception of binary-max-entry-the cache size)

    -Steve

  • kb2596615 causes ade to failure, error was 459: object or class does not support the set of events

    A couple of my users started getting our application error messages ade grown after you apply this update. Everything is well after its withdrawal. First mistake was 459: object or class does not support the set of events. Basically, no event has worked. Why is this update break my application? It should be removed from the queue of the update.

    Okay, I've worked on it with Microsoft, and the actual cause turns out to be:

    MS12-060 security update affects the functionality of Access database
    http://support.Microsoft.com/kb/2748410

    This article updated fingers MS12-060, specifically KB 2687441, as the culprit.

    It turned out that ActiveX controls on the form (specifically the Microsoft Common Controls 6.0 Toolbar), caused the failure.

    The solution was simple: on a patched machine, open each form with an ActiveX control in design mode, compile and save it. It worked for me. Ignore the details of the solution that I wrote in the previous post!

    You may need to resave MSCOMCTL. OCX, as suggested in the article, to get your databases to work.

    -Ken

  • I'm unable to print Web sites. I get the error: "an error has occurred in the script on this page. Error: class doesn't support automation. »

    My printer does not work online I get. An error has occurred in the script on this page. Error: class doesn't support automation. Could someone help me please.

    Hello

    1. what version of internet explore do you use?

    2. What is the brand and model of the printer?

    3 - is the problem occurs when you use Internet Explorer or other documents too?

    4 have have there been recent changes made on the computer before the show?

    Please try following methods and an update with the results.

     

    Method 1: Impossible to print or view the print preview of a Web page in Internet Explorer

    http://support.Microsoft.com/kb/973479

    Method 2:

    If you are having problems with Internet Explorer, I suggest you to refer to the links and check if it helps.

    Correct errors in Internet Explorer

    http://support.Microsoft.com/kb/822521

    How to resolve script errors in Internet Explorer on Windows computers

    http://support.Microsoft.com/kb/308260

    Let us know if it helps.

  • vWorkspace 8.6.1 connector self-configuring config.xml

    We have just upgraded to the server vWorkspace v8.6.1. When we used 8.0.1, we had connectors 8.0.1 windows that would automatically get "'vworkspace.somedomain/config.xml ' and automatically configure the VDI settings clients." I've updated the client to v8.6.309.4062 and this time I'm just introduced to enter 'Web site or e-mail address' in the text box. Here, at the University, we loved this feature because it that VDI has been automatically configured and students do not have to enter the URL. Who feature has been removed from this version?

    Hello

    I believe it has been deleted, but several alternatives have been introduced.

    I know that the reg key to set the path always exists HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Provision Networks\Provision - Client\AutoConnectURL IT and still works with this version of vWorkspace.

    This is a string value that contains the path to your broker (if you use the new connector management functionality) or to your file config.xml if you use the old style.

    With the new direction of connector, the intention was to make it easier for new users. Everything they need to do is go to a (properly configured) Web site and it will install the connector for them and configure it automatically.

    If you don't want to use this option, you can either 1, use the URL of automatic connection mentioned above. 2, teach them the URL to download the config 3, create a DNS entry to use the E-mail address configuration option.

    Thank you, Andrew.

Maybe you are looking for