Correct location for the ADF - settings.xml?

What is the correct location for the adf ADF - settings.xml in JDev 11 g applications file? Documentation conflicted says:

(1) as by Frank & Lynn Oracle Fusion Developer Guide pg 92, it appears in the correct location for the ADF - settings.xml is < workspace >/.adf/META - INF.

(2) according to the ADF Web Guide, it seems, it must be < workspace > / < project > / META-INF: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/ap_config.htm#BABCBJAB

Which is correct? With our thanks,

DMI

Chris,

the recommendation to create the ADF - settings.xml in the project source META-INF directory solves the problem of two projects to be used in a single workspace. If the two projects use ADFc MDS got confused. Notes version in R1 mentioned as follows:

If your J2EE ADF (EAR) application contains several modules web application (WAR files) and contains more than one ADF task flows, then you can get unexpected behavior due to the web application using another its flow XML file with the same name of task (the problem is more likely to occur with the adfc config.xml file because each web application has usually one). You can avoid this problem by defining a 'root web application' separate for each web application (WAR). Web application at most one cannot have any parameters of root web app. To set the "web app root" for an application, you must add an XML file called META-INF/adf - settings.xml to WAR under WEB-INF/classes with content as follows:

+
xmlns:WAP = "http://xmlns.oracle.com/adf/share/http/config" >
++
++
+
+
++

The value of the rootName attribute can be any name that uniquely identifies the web application (war) within the overall application (ear).

In JDeveloper, the new file can be added as follows:

+ 1. Expand the web application project in the browser Application.
+ 2. Right-click on "Sources of the Application", and then select the item 'new ' +.
+ 3. Select "XML Document" and click OK.
+ 4. Type "adf - settings.xml ' under the file name +.
+ 5. Click on the "Browse" button, select the source directory of the project, click the iconic button "Create a new subdirectory" at the top right, type "META-INF" directory name and click OK, then click Select.
+ 6. You should now have a directory and file name "adf - settings.xml ' name '/META-INF +.
+ 7. Click OK to create the new file.
+ 8. In the Source Editor, paste in the XML file above and put a value appropriate for the rootName attribute (this is known as the parameter 'root web application').
+ 9. Make sure that the deployment for the Web application profile includes the new file META-INF/adf - settings.xml under WEB - INF / classes.

So, if your application has a single web project then this configuration as documented in the book is good to use. To avoid the problem described above (which is in response to bug 8395585) you set it in the project's source. Note that adding adf - setting.xml in the project was presented as a work-around. The bug is closed with a fixed rate per 11.1.1.2, which means that, since the PS2 there should be no need to store the ADF - settings.xml in the source of the project more.

So long answer that leads to a simple answer: the book is good and the documentation lists always bypass it. However, I'll fill a bug against documentation and make report understand (do not have the time to check the issue being fixed)

Frank

Tags: Java

Similar Questions

  • How temporary disable the security for the ADF?

    Hi, OTN,.
    I have developed security policies in my ADF application. Now I want to disable temporary for development to accelerate.
    Development guide suggests only pass authentication ADF - I still need to enter my credentials each redeployment - or safely remove - I should not really remove all my development security.

    Is there a way to disable temporary real?

    Thank you.
    11.1.1.3 JDev

    Security is controlled by two attributes (authorizationEnforce and authenticationRequire) in the ADF - config.Xml. look at this tag in adf - config.xml:

          
    

    Set the false values and allows you to disable the authentication and authorization. Note that if you disable authentication you may still have problems with authentication due to security constraints defined in the web.xml file.

    A more standard approach is to keep security settings intact, but to use the role of ADF fail-safe "test-all." Configure the security of the ADF to use test-all role and grant it to all objects. This way developers will have access to all objects secured without giving any privileges explicitly.

    Dimitar

  • Here are two correct graphics for the Pavilion dv7-4270us cards:

    Here are two correct graphics for the Pavilion dv7-4270us cards: ATI Mobility Radeon 6370 AND AMD880G with ATI Mobility Radeon HD 4250?

    An overview chart problems and need to ensure.

    Well, after all the day I found my answer in a review of this laptop on amazon.  That is this HP forum.  I never get help here.

  • How can I reset Adobe Acrobat for the default settings?

    How can I reset Adobe Acrobat for the default settings?

    Hi sharonc7 ,

    You can try to reset the preferences, here is a link on how to reset preferences: How to reset preference settings in Acrobat format.

    Also. Visit this link, which deals with the same subject: How to reset Adobe to its original settings? (Acrobat Reader) .

    Thank you

    Shivam

  • I downloaded the bridge output module and copied the files to the correct location but the output pane remains empty

    I downloaded the bridge output module to create contact sheets and copied the files to the correct location, but the output pane remains empty.

    I removed and replaced the files including the! $AdobeOutputModule file $ but still no luck...

    I have reset the workspaces, preferences...

    How can I completely remove it and start again?

    Thanks in advance!

    Settled myself

  • Some sizes of icons are missing in the AIR for the android settings

    In the new CC animate, icons in 'AIR for iOs parameters' list have been updated (180, 60, 75, 87, 167 have been added), but the icons in the list in 'AIR for Android settings' is always the same...

    We need icons for 144px and 192px:

    < image144x144 >... < / image144x144 >

    < image192x192 >... < / image192x192 >

    For now, I have to add them manually whenever I opened the AIR for Android defining which reset the app descriptor file, it's really annoying.

    Is it possible to change this list somewhere in a config file, update animate IDE?

    Always on management of icons in flash/animated in the IDE.

    When go us for iOs AIR and AIR for Android, icons lists are reset every time and we have to choose each one icons again, is such a waste of time.

    Why the specifications of the icons are not stored for each platform?

    And a little more automatic to set these icons would be very great, a few ideas:

    • Double click directly in the list to open the Browse dialog box directly
    • Add the ability to directly select a directory map and automatic files icon in the list

    Hello

    We are currently working on adding the sizes of icons in the AIR for the Android settings dialog box. Will update you did once.

    I added your other suggestions related to the management of icon to our backlog of product for review.

    Thank you!

    Mohan

  • What is the default location for the cache?

    I made the mistake to change my default location for the cache for Adobe Bridge and now I want to change it back... but I can not find the folder or know the path.

    Hi lorenkahle

    • Navigate to C:\Users\"Your user name' \AppData\Roaming\Adobe\Bridge CC\Cache (Windows)

    / User/Library/Caches/Adobe Bridge CC/Cache / (MAC)

    Bridge Cache in the Cache folder.

    You can set it to this place

    • If this does not help, you can reset bridge default preferences that will change the location of the cache.

    For so press and hold the CTRL, ALT, Shift (Windows) / Cmd + Option + Shift (MAC) during the start-up of bridge and make check reset preferences, and then click Ok

    Concerning

    Assani


  • The cloud of document can be used as a network location for the sending of request for comments to a greater number of commentators?

    The cloud of document can be used as a network location for the sending of request for comments to a greater number of commentators?

    I manage not rather these comments by e-mail, and we do not have a webdav server that is accessible from the outside.

    Thank you

    Hi Jeff,

    No you cannot use Doc Cloud for this purpose. For detailed information, please see the following link: using Acrobat | Prepare a PDF review

    Kind regards
    Rahul

  • Record WLST scripts for the card settings

    Hello

    I'm new to the WLST Script recording tool.

    I am trying to save my settings for JmsAdapter create a new Pool of outbound connections, but the registration tool does not seem to be able to capture changes in the settings of the map file is empty after the changes have been made.

    Anyone know why this is?

    Is there a way make the folder working tool for the card settings?

    If this is not the case, if anyone knows the necessary functions/directories in a WLST to create outbound connections Pools in the JMSAdapter settings?

    Any help will be very appreciated!

    Thank you

    Al

    JMS adapter uses the deployment plan where wlst can't save this.

    The recording feature intercepts calls JMX and translated into corresponding WLST scripts, as well as features that use deployment plans fall outside the coverage area of the "Record" feature.

    Best regards

    Vivek Vishal

  • 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

  • What is the best practice for the enumeration for the ADF?

    Dear all,

    What is the best practice for the enumeration for the ADF?

    I need to add the enumeration to my request. ex: sex, marital status.

    How to deliver? Declarative custom components or is there another way?

    Thank you.
    Angelique

    Check out this topic - '5.3 fill view object Rows with static data' in Guide of Dev
    http://download.Oracle.com/docs/CD/E17904_01/Web.1111/b31974/bcquerying.htm#CEGCGFCA

  • Adobe still the software that is used to decode the media is not available on this system. install the correct decoders for the file you are editing can help fix the problem

    Hello

    I got this message after the import on ten H.264 files that I coded for Adobe media encoder.  "It is not available on this system from adobe yet the software that is used to decode the media. install the correct decoders for the file you are editing can help fix the problem. »

    The files that we have shot with HD cameras.  Edited in Premiere Pro CS3.  I installed the update 3.0.1 with always the same error.

    I also tried a new project and after about ten or so files imported into a timeline, the breakdown of the system.  I tried twice...

    Thanks in advance

    Please report to us. I don't know the exact specifications. for stills in still, the limit is 4000 pixels in the largest dimension for PrPro.

    Now, I must add that in PS. resizing algorithms are better, in my opinion, than those of PrPro and again. This means that there is nothing to gain and quality of untying, important images much larger than the size of the frame of the project, i.e. of 720 x 480 for NTSC SD projects yet. The size of the image will be the limiting factor, so scratch that.

    Even in projects PrPro, I resize to exactly what I need. If I will not pan on a zoomed image, I resize it to the size of the image of the project. If I move on a zoomed image, I resize just what I need.

    Good luck

    Hunt

  • Need confirmation that my streaming rtsp for the WVC54GCA settings are correct

    I have therefore recently implemented the WVC54GCA for viewing remotely via internet. I use Verizon DSL Westell Versalink 327W bridge, with the latest firmware (4.4.3) I was able to transmit an alternate HTTP port (1025), which allows the two TCP/UDP to my static IP of cams. I was also able to transfer the RTSP port (554), which allows the two TCP/UDP to my static IP cam. My problem is that my router will not forward any additional ports other than 1025 and 554.

    There is a setting on the camera for RTP data port (ranked from port 5000) and I can't transfer port 5000. I tried to change the setting of the cam to a bunch of different other than 5000 ports (6881, 1024, 1900, etc.), but no matter what I try, no other ports can be opened through my router. It seems to work via routers firmware (i.e., it looks like fixing to 1025 and 554, which advance) but when I check the port using canyouseeme.org or RCMP the port is classified as closed or camouflaged.

    I am able to view the cam of my office at rtsp://camname:554 / xxxxx using Quicktime or Realplayer.  However, neither my phone nore my friends can connect.

    My question, since I can see the flow of mobile streaming outside my local network using Realplayer or Quicktime, is "am I configured correctly for mobile (rtsp) streaming?  What is a cell phone rather than a problem of configuration problem?

    Sorry for the post above, I confirmed that my cam is correctly mobile video streaming.  The video stream has been consulted using a Samsung Omnia and Blackberry Curve.

    I am now home and confirms that, even if I've implemented port 5000 port forwarding, this port is listed as closed via canyouseeme.org.  The power supply works well, so I'm happy.

  • Location of the icon library XML file?

    My installed version of LabVIEW 2015, full, SP1, does not glyphs/icons available, so I am trying to download the required files.  I downloaded the zip file with success, but when I try to download the XML file, the link takes me to a page containing the raw code.  When I copy, paste and save this code in an XML file, I get an error when I try to sync manually.  Automatic synchronization will fail also.

    Here's the location of the xml file that does not work after being cut and pasted: http://www.ni.com/swf/iconlib/icons_filtered.xml

    Anyone know where I can find an XML file that will work?

    Of course, if there is a better way to get my glyphs work, let me know.

    Thank you.

    So a number of things might happen.  This computer has multiple users?  Glyphs are installed for the user who installed LabVIEW, but nobody else.  If you don't like this design, you should go vote for this idea.

    http://forums.NI.com/T5/LabVIEW-idea-Exchange/shared-icon-editor-glyphs-directory/Idi-p/3253351

    With respect to the glyph broken, updated tool, I have no idea.  The stupid thing just never worked for me.  OR even a standalone program once for the update of glyphs and it doesn't seem to work or else the other.  To help with this, I have attached my glyphs and you can simply copy and past in your \LabVIEW Data\Glphys folder.  In addition to those that come with LabVIEW 2015 I also added a Hooovahh folder with many a library open icons and a few I did.  After copying restart them LabVIEW and open the icon editor, then wait a few seconds while it lists the directory of icons.

    Given the time, I bet that someone could make a tool that synchronizes correctly, download and install the icons correctly, especially since I think that most of the icon editor is open source.

  • HP 8600 printer range does not have the correct password for the wireless access

    OK, it's frustrating. New HP 8600 printer will not check the password to my wireless internet. I am sure that the passrod as I type this IS 100% correct. I am trying to connect to a router from Apple. I used this password for a period of fuse, and have several Mac laptop and a new LG TV connected wirelessly. Any ideas before taking the machine back? Thank you

    Set the printer back to the default settings and try again.  In no joy, hard reset the router, reconfigure your settings and try again.

Maybe you are looking for