Add file config for hole application?

Hi everyone,
Is there any one worked with build file config for hole fusion adf application? It is similar with web.config in .NET ASP web site. I think in jdeveloper, we can use web.xml for add some parameter but don't know how to read this parameter?
Any help is appreciate!
Thank.

User, please tell us your jdeveloper version!
In general you can read context or innit parameters from web.xml.
You get to them via the servlet context
String databaseHost =getServletContext().getInitParameter("database.host");
And to get to the servlet context use
FacesContext ctx = FacesContext.getCurrentInstance(); ServletContext servletContext = (ServletContext) ctx.getExternalContext().getContext();
Timo

Similar Messages

  • Problem in Creating Source Files (Templates) for Original Application Files

    Dear Friends,
    I am trying to ccreate "Source Files (Templates) for Original Application Files" . I checked the link
    http://wiki.sdn.sap.com/wiki/display/PLM/Templates-Document+Management
    I created a new DOc. type TMP with no statuses, checked in KPO, assigned no. ranges.
    Created  DIR & assigned the template file, checked into storage category. DIR no. 10000000390 created.
    In Workstation application "DOX" in define templates for originals : doc. type: ZGA, application: DOX; language- EN; no - 01; In source doc- entered doc. type- TMP, doc. no.- 10000000390, part & version
    Assigned for required source file copy" ZGA doc. type. -- Default Appl. as "DOX" workstation application.
    Now created a DIR with ZGA doc. type, when clicking on originals , DOX prompted and clicking on "create with template" . TMP doc. 10000000390 template open in a new window. I edited & saved. close the MS word window. When comes to DIR, it prompted, Original was changed Do you want to save the original?.
    clicked on yes.
    Saved the ZGA DIR. When I saw the new ZGA DIR created it didn't capture. Where I went wrong ?
    Regards,
    Sai Krishna

    Dear Ravindra,
    By going this below link, it seems we can use template for creating ne wdocument & attach the same.
    http://wiki.sdn.sap.com/wiki/display/PLM/Templates-Document+Management
    Following messages if you read, it may be clear.
    By having templates in place we can utilize the pre-defined documents instead creating right from scratch.
    Entries can be done in the Template and save the document.
    Templates are used for standardization and uniformity. By using templates time consumption for creation of documents will reduce as most of the details are maintained in the master template and the same can be utilize by using the template when creating documents.
    If in DMS editing functionality is not there what is the use of templates- documentation?
    Regards,
    Sai Krishna

  • Where can I find the file sizes for each application before downloading?

    Where can I find the file sizes for each application before downloading? I have limited download (525 MBs/day) because of Hughsnet and I need to know each applications total size before I download.

    You can go to the trial page to get an estimated size.  As the Creative Cloud products change over time though this may become less accurate.
    If you are on a limited bandwidth account then you may want to consider purchasing a perpetual copy of Creative Suite 6 as opposed to subscribing to the Creative Cloud.

  • [svn] 3662: + add throttle configs for new and improved policy and other throttle features

    Revision: 3662
    Author: [email protected]
    Date: 2008-10-15 13:01:21 -0700 (Wed, 15 Oct 2008)
    Log Message:
    + add throttle configs for new and improved policy and other throttle features
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/messaging-config.mods.xml

    How about the random pausing when streaming a movie from itunes that was converted from a DVD? I know myself, and, a few others from what i can see are experiencing this same issue. Anyone else?

  • Solaris 10 zone config for one application

    I have a Solaris 10 x86 server with 48GB of memory and 8 CPUs (although I believe hyperthreading is turned on because prsinfo shows 16 CPUs). The server is dedicated to one big application which spawns many processes/threads. Performance is extremely important for this application so I need to give it all of the resources possible.
    I tried just allowing the application to run in the global zone because there's nothing else it will interfere with (aside from the OS) but I couldn't get it to utilize all of the CPUs this server has. My guess is the global zone is only designed for running the OS and playing traffic cop for the other zones, so it's not suited for running applications. Is that correct?
    So my question is, assuming I do need to setup a dedicated zone for this monster application, how do I configure it to dedicate all CPUs and all memory (or as close to all of it as I can get)?
    Also, is there some default limit on how much CPU % a process can have? Because I have tried getting one process to utilize 100% of a CPU and can't get anywhere near that... unless prstat doesn't display per CPU utilization information.
    Any help would be appreciated.

    Kupacmac wrote:
    I have a Solaris 10 x86 server with 48GB of memory and 8 CPUs (although I believe hyperthreading is turned on because prsinfo shows 16 CPUs). The server is dedicated to one big application which spawns many processes/threads. Performance is extremely important for this application so I need to give it all of the resources possible.
    I tried just allowing the application to run in the global zone because there's nothing else it will interfere with (aside from the OS) but I couldn't get it to utilize all of the CPUs this server has. My guess is the global zone is only designed for running the OS and playing traffic cop for the other zones, so it's not suited for running applications. Is that correct?No. Unless you have dedicated CPUs to zones (so they are not available to the global zone), or unless you're running under a project which restricts CPU usage, the global zone has access to all virtual CPUs.
    Can you see your process spawning threads? How much CPU is it able to use?
    Also, is there some default limit on how much CPU % a process can have? Because I have tried getting one process to utilize 100% of a CPU and can't get anywhere near that... unless prstat doesn't display per CPU utilization information.One thread can only use one CPU. So you'd either need to run 16 single threaded processes, or your process would need to spawn 16 threads that were CPU-heavy. No, there's no default limit on a process.
    Darren

  • Binary file support for web application in 10.3?

    There is such paragraph in Release notes for Flash Player 10.3:
    Binary file support
    Add more power to your web application with direct byte access to binary data. Control and access data in new ways, such as adding support for new file and data types or manipulating sound data in real time to create new sound effects.
    Does anyone know what do they mean by this exactly?

    Real programmers do it in binary!! ;-)

  • JAR files required for Portal Application

    Hi Experts
    I am currently migrating my custom Masthead application from NW 7.0 to NW 7.3. However, when I migrated the PAR into EAR using migration tool from Portal and imported this EAR file into NWDS7.3, the JSP pages in it shows error. Also when this EAR is directly deployed on the NW 7.3 system, it gives Portal Runtime exception.
    <%@ page import = "com.sapportals.portal.prt.session.IUserContext" %>
    <%@ page import = "com.sapportals.portal.prt.component.*" %>
    <%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
    <%@ page import = "com.sap.security.api.*" %>
    <%@ page import = "com.sapportals.portal.prt.service.license.ILicenseService"%>
    <%@ page import = "com.sapportals.admin.wizardframework.util.ILocaleListService"%>
    <%@ page import = "com.sapportals.portal.navigation.*" %>
    <%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>
    <%@ page import = "com.sapportals.portal.prt.util.StringUtils" %>
    <%@ taglib uri="prt:taglib:tlframework" prefix="frm" %>
    The errors shown in the JSP page are due to missing JARs. But I am having trouble in locating the required JAR files on the server. Can anybody tell about which all JARs are required and where i can find them??
    Also the imported Framework library is not accessible in the application thus there is error "Can not find the tag library descriptor for "prt:taglib:tlframework"".
    Can anybody tell me what i am missing here??
    Regards,
    Deepak

    Hi Deepak,
    Can you tell me which JAR files you added to resolve build time errors.
    I am facing the following errors after importing Std masthead from portal7.3.
    Can not find the tag library descriptor for "prt:taglib:tlframework"
    Can not find the tag library descriptor for "prt:taglib:tlhtmlb"
    componentRequest cannot be resolved
    ILocalesListService cannot be resolved
    ILocalesListService cannot be resolved to a type
    noBtn cannot be resolved
    Syntax error on token "}", delete this token
    Syntax error, insert "}" to complete Statement
    The import com.sap.portal.core cannot be resolved
    The method enableCloseAll() is undefined for the type NavigationEventsHelperService
    The method getDynamic(String, null) is undefined for the type IUMParameters
    The method getDynamic(String, String) is undefined for the type IUMParameters
    yesBtn cannot be resolved
    Please give your mail Id if possible.
    Regards,
    Sumangala

  • Add attachment Button for Job application

    Hi all
    I have done a bit of research on this but have found no answers, maybe you can help.
    I want to make a job application form in indesign as an interactive PDF. I know the submit button will send the form information to an e-mail address which is half of what I am after, however I am also looking for an "attach resume" type thing. After posting in the Indesign forum they suggested I come here.
    I know there is forms central which is ok, however I am after a bit more flexibility with the layout and input.
    In summary, an option to be able to attach a file to an interactive PDF. I have seen the comment/mark up option, but I feel this would be too complicated for job applicants to get.
    Thanks

    Assuming the file is going to be used in Reader, the Attach a File commenting tool is the only option.
    Of course, you can always ask the users to attach the file to the email, instead of to the PDF...

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • How can I add an icon for an application into the dock?

    I just installed an application that I will using often, but I cannot add it to the dock for some reason. I tried dragging it from the applications menu but that didn't work. How can I get it on the dock? Thanks in advance

    Launch the application and then press the Control key or hold down the mouse/trackpad button while clicking on its icon in the Dock; choose Keep In Dock from the menu which appears.
    (20007)

  • Where are the files stored for shared applications?

    Hello,
    When I go to iTunes/iPad/Apps and then choose Pages under "File Sharing" and move a few files over, where are those files stored? Does iTunes make another copy and store it somewhere or does it just reference the location I copied from?
    Also, if I move a file over and then delete that file, does it delete from the File Sharing section as well the next time I sync?

    The information/data for apps is stored together with the app in both the iPad and in the backup on your computer. When you drop a file in the file sharing section of apps it gets added to the backup and to the iPad. When you delete it it get deleted from the backup and from the iPad.

  • Files directory for a Labview executable in Windows 7

    I'd like to hear some opinions on this and ask what other people do. Most of my programs save data files that need to be accessible to the user, and some of them read text files that have been created by the user, e.g. a file containing a sequence of moves for a robot.
    Where's a good place to put those files? In XP you could just stick them in a sub-directory in the application's directory in Program Files. Deprecated I'm sure, but simple. I think Windows 7 gets stroppy if you try to access files in an application's directory, and Windows 8, who knows? I'm pleased to say I've managed to avoid it so far.
    Is there a "proper" place to put files that should be accessible to both the application and users? It must be accessible to all users, not just the one who's logged on. I've searched online and found remarkably little information about this.
    For the sake of simplicity I'm tempted to just create a directory on the C: drive like C:\My Company\Program Name\. is there anything wrong with that?

    Yeah it is a bit more complicated now, but Microsoft tells us it is for the best.
    It is pretty common to have a Application.INI in the same directory as your Application.EXE and in the past I'd use that file to hold basic config for my application.  You can still do this with LabVIEW but you need to add an extra step in the installer creation which tells Windows that the INI file should be able to be read and written by all users.   Just check the Unblock for that file when making an installer.
    http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/file_set_install_page/
    It's non-standard technically, but it is handy to copy the EXE and config together and move them around and have everything still work, instead of now needing to copy config files to various user app data folders.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • File Share for OEL 6.4 VM on Azure

    We try to create a File Share for our application servers running OEL6.4 on Azure.  I ran into problem mounting the File Share directory, and was told File Share doesn't OEL6.4.  Can you confirm if this is true?  If not, can you help me to
    mount a share file directory onto OEL VM? 
    If File Share doesn't work on OEL 6.4, how can we create NFS for Linux VM on Azure?
    Thanks,
    Lam

    Nice to see a proper redundant storage fabric layer for once on OTN. ;-)
    We've been in a similar position using multipath with a custom storage layer (Infiniband based). Like you we hunted for a best-match config - and then stress tested the fabric layer using fio (Flexible I/O Tester). And don't forget to pull some fibre cables, or shutdown/powerdown one of the fibre channel switches, while fio tests are running.

  • Hi iam unable to add file chooser

    hello,
    iam trying to add file chooser for application but getting following error..
    regards,
    sam
    401)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:52
    at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.jav
    76)
    at java.lang.System.getProperty(System.java:626)
    at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:295)
    at java.io.Win32FileSystem.resolve(Win32FileSystem.java:311)
    at java.io.File.getAbsolutePath(File.java:471)
    at sun.awt.shell.Win32ShellFolder2.<init>(Win32ShellFolder2.java:213
    at sun.awt.shell.Win32ShellFolder2.listFiles(Win32ShellFolder2.java:
    at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:100)
    at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManage
    ava:191)
    at sun.awt.shell.ShellFolder.get(ShellFolder.java:230)
    at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Me
    ileChooserUI.java:417)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Metal
    ChooserUI.java:188)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChoo
    I.java:135)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChoo
    I.java:123)
    at javax.swing.JComponent.setUI(JComponent.java:624)
    at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755)
    at javax.swing.JFileChooser.setup(JFileChooser.java:366)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:332)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:285)
    at Sampath.init(Sampath.java:111)
    at sun.applet.AppletPanel.run(AppletPanel.java:354)
    at java.lang.Thread.run(Thread.java:566)

    Hello,
    Unless you sign your applet, I don't think the security manager will authorize access to the hard drive.
    Search this forum for "applet" + "JFileChooser" and you'll find many posts of people facing the same problem.

  • Why can't I add keyboard shortcuts for Adobe GoLive 9?

    Since the demise of Unsanity's Menu Master on Leopard, I've been taking the more tedious (and problematic) route of using System Preferences > Keyboard & Mouse > Keyboard Shortcuts to add and modify keyboard shortcuts for menu actions.
    I just tried to add my first shortcut to Adobe GoLive 9, which resulted in this uninformative error dialog:
    "You cannot add keyboard shortcuts for the application Adobe GoLive 9."
    Why? (The only real problem I've had with the previous 11 applications is ambiguous menu items, i.e., the same menu action name in more than one menu sub-action.)
    (I'm now resorting to an even more tedious shortcut technique - QuicKeys X3. QuicKeys is great, but it's overkill for a simple keyboard shortcut.)

    I've found another:
    "You cannot add keyboard shortcuts for the application Adobe Reader."

Maybe you are looking for

  • How to get multiple selected fields in list

    Hello all, I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3. Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php

  • New iMac as second display for MacBook Pro not working

    I just bought the new thin 2012 27" iMac as a replacement to the last model I had. I want to use the iMac as a second display for my 2012 MacBook Pro. I have a Mini Display Port to Mini Display Port cable that used to work with my previous setup and

  • Row To Column with distinct values

    Hi Oracle Gurus, Please help me on this regard. A table has columns statuscode,reasoncode,date with valid values as statuscode -> status1,status2,status3,status4,status5 reasoncode -> a,b,c,d,e Date will be passed by runtime. Requirement is to take t

  • How to get the real reason of bdb's err?

    The application used some bdb's c-funcs, and get a err-log like below: PANIC: fatal region error detected; run recovery txn_checkpoint: log failed at LSN [1 6638626] DB_RUNRECOVERY: Fatal error, run database recovery How to get the real reason of the

  • SELECT OID FROM clause not working

    The following statements gets ORA-00904: "OID": invalid identifier. The SELECT OID FROM clause is intended to pull in a REF to the MANAGER with MGR_ID= 000001. Oracle seems to think there are no OIDs for the entries in the MANAGERS table. INSERT INTO