Best way to handle .properties and .xml files

Hi,
I have an application which contains so many properties and XML files, these are a part of WAR file which we deployed in
tomcat server. Whenever we make changes to these properties and XML files we redeploy the app and start the server.
Is there any way we can make sure that these files can take changes without redeploying or starting the server?
Please clarify.
Thanks.

Sure - keep them outside of the war. Pick any directory where you can put them (a directory where the server is allowed to read of of course), load them from that directory in your application. Make sure you can reach that directory through (S)FTP to easily be able to modify them. Then all you need is a way to reload them in the application, should the information be cached.

Similar Messages

  • Best way to handle audio and video?

    Can someone give me suggestions on best way to handle audio and video clips. 2 issues:
    Audio- I want to avoid problems for visitors who may need to install something to listen, and would like them to be able to remain viewing page while listening. I understand how to set up the Iweb player option, and I understand how to simply link to a mp3 file that relies on the visitors player. I'm thinking I need to "embed a player" (?) which is something I haven't dealt with yet.
    Video- I have a link to a .mov file. It plays it in either a real small box, or if you enlarge it , the image deteriorates. Is there a better way to handle this?
    http://www.imaginerecoveryonline.com/IMAGINERECOVERYONLINE.COM/THE_JOURNEY_1.htm l
    Thanks for any help

    Yes that should work for what you want.

  • Best way to handle large number video files for a project..

    Hey, I was looking at getting some insight from the community here. Bascially there is a project that is being worked on that requires large amount of footage to be sifted through that only a small percentage will be used. These are mostly HD files and while most of the footage has been watched on Quicktime with notes taken, my question is this.
    What is the best way to take only small portions of each file without having to load everything into final cut and without any loose of quality. Should I just trim and rename from Quicktime or is there an easier way?
    Reason this needs to be done this way is the smaller segments will each be sent to other editors and rather then send huge files we want to split it to smaller amounts for each editor to use.
    Thank you so much for any input regarding this, I look forward to what you have to say

    Open the clip into the viewer. Mark In and Out points on the section you want. Make it a subclip Cmd-U. Drag the subclip into the bin for the editor who needs it. Repeat.
    If you batch export from a clip there is a selection to choose whether to export the whole clip or check box to export the marked I/O.
    This does not sound like a good project on which to being learning FCP.

  • Best way to remove applications and unneeded files

    I have an Imac running slow. Duo Core processor. 4 mgs Ram. Disabled Java in Safari. Getting all my photos off the computer. Safari runs slow. Beachball forever. Have removed past Mac Keeper. Want to know the best way (Until I can add more RAM, if I can, to speed up my mac. I have had to purchase Adobe Cloud to replace Photoshop etc and want to remove all files on my computer not needed for Adobe and any other files slowing down my computer. Also, need Safari to be working. I wait for ever for pages to load and to access Gmail. Want to defragment my hard drive as well.
    Any suggestions would be greatly appreciated.

    Empty the trash in the Dock as well as iPhoto’s trash!
    Open up your application folder & go through all your apps.  Trash all the apps you no longer want and/or use.
    An easier way to do this is to open the Application folder in list view & press the Command+j keys.
    In the the dialog that appears, click the "This Window Only" button & the "Calculate All Sizes" check box.
    Wait a bit until your file & folder sizes have all been calculated, then click the "Size" column to sort your apps from the fattest to the most anorexic.
    Get rid of all your photo files you don't want and/or need.  Same goes for those pics off the websites you downloaded (gifs, jpegs, etc.).  Or transfer/move them all to a photo/movie storage site like ImageShack and Photobucket, 2 of the most popular  FREE  storage sites.
    Get rid of all your video & music files you no longer view and/or listen too.  Especially, if you already have the actual CD/DVDs or you can later redownload from a website.  Or transfer them all to a FREE video/movies and/or music storage site.
    Use Spotlight to make sure you got rid of everything.  You can even trash directly from Spotlight!  Better yet, download this FREE software called Find File.  This app puts Spotlight to shame (works w/Mountain Lion).
    Drag what you don't want and/or need to the trash.  Better yet, download this neat little shareware app *demo* called AppZapper.  It basically does all the work for you by not only trashing the apps but the apps preference files, caches & all its associated files.
    Another software that does the above is AppDelete.  Best of all this software is free!
    Burn what you want and/or need onto CDs or DVDs. Not everyone has the  luxury of purchasing an external HD and/or the system requirements for iCloud to store their "stuff.”
    Dropbox is a free storage utility to check out.
    You can check with your ISP to see if they offer *free* storage space.  Most if not all do now-a-days.   There are thousands if not millions of *free* storage facilities on the web also.  Use your favorite search engine to search them out as they come in different storage sizes to fit your needs & wants.
    Check for duplicate fonts.
    Applications>Font Book
    Select “All Fonts”
    If you see any “black dots” next to any fonts this mean you have duplicates and/or multiple versions of these fonts.
    To clean this up, select a “black dotted” font or the Apple + *click* to select multiple dotted fonts;
    Edit>Resolve>Duplicates.
    What the above does is turns off the duplicates & multiple version fonts.  Not delete them.
    More than likely the “extras” were installed by other programs and/or other users.
    Clear out font caches
    Use FontNuke.  It does all the work for you.  And, best of all it’s *FREE*.
    Printer Drivers
    Get rid of all the printer drivers you don’t need & use except the ones for your *current* printer(s)/scanner(s).
    HD>Library>Printers Folder
    If you accidently threw something out that you needed for your printer/scanner it can be easily obtained from the manufacturer’s website and/or from the CD that came w/the printer/scanner.
    Garage Band
    Has about 1GB of loops stored.  Get rid of some some them.  You surely don’t use, like and/or need them all.
    HD>Library>Audio/Apple Loops>Apple>Apple Loops For GarageBand
    Or just get rid of the Garage Band app altogether if you don’t use it.
    Get rid of extra languages
    Strip your computer down to your “native” tongue.
    You can do this with a *FREE* utility called Monolingual.  Another app that apparently does all the work for you.  I’ve never used it.  However, a lot of users here swear by & recommend it highly.
    However, there is a warning for *native English speakers*. Make sure you keep BOTH English and English (United States).
    Other Resources:
    HD Space Checkers:
    Disk Inventory X (FREE)
    WhatSize (SHAREWARE)
    OmniDiskSweeper (FREE)
    GrandPerspective (FREE - donation)
    ==================
    Mac Performance Guide
    Slimming your hard drive
    Rule of thumb: You should never let your hard drive get to where you have only 10-15% of space left.
    ===============
    Quick fix
    How To Quickly Free Up Hard Drive Space on Mac OS
    http://www.youtube.com/watch?v=fO-mlLApEuk
    =================
    Suggest you post in the Safari forum for your beach ball problem if the suggestions mentioned in the Troubleshoot the spinning beach ball article are of no help. 

  • Best way to burn m2v and ac3 files to DVD

    I recently compressed an exported final cut movie into DVD files - an ac3 audio file and an m2v video file.
    I used Toast to burn them to a DVD but it did not finish correctly. I can hear the audio, but there is no video on the disc...just some graphic.
    What is the best app to use to burn these files to a DVD? DVD Studio Pro? I don't need a menu, all I need is for the disc to play when it's inserted. I find that DVDSP is somewhat complex for burning a simple DVD.
    I am going to try doing everything in Toast this time, but I've read that Toast is slow when it comes to encoding. Compressor was able to encode my 1hr 40min video in under 30 minutes....

    My guess is that you added the .ac3 file directly to Toast and ended up with a Toast music DVD. The setting to use in Toast is DVD video in the Video window. Add only the .m2v file. Toast automatically adds the matching .ac3 file if it has the same name except for the extension and is in the same folder. If Toast can't find the audio it asks you to locate it.
    You can choose Save as Disc Image and then mount the disc image for preview in DVD Player. If all is good burn the disc image to DVD using the Image File setting in the Copy window.

  • Best way to view .pdf and .doc files on an iPhone

    thank you if you know and are willing to post - cheers

    ok, email attachments definitely worked, was able to read .pdf files for sure.
    Problem is those emails, a week later, are buried under 100 new ones. VERY INCONVENIENT.
    This is how far the iPhone has come in 18 months ?
    The Google phone is starting to look very interesting. . .

  • Best way to load a local XML

    What's the best way to load a local XML file into a Datagrid
    without using the HTTP service?
    Thanks

    Use Class.getResource() and Class.getResourceAsStream,
    when you eventually jar it up, just put the same
    hierarchy in the jar and they can be found.
    BufferedInputStream in = new
    BufferedInputStream(Class.getResourceAsStream("foo/bar/
    yimg.jpg"));for example.
    That should work out of the Jar too.Thanks v. much - got it all going some days ago but found it all fell apart when I ran the code within the jar. However I used the similar ClassLoader routines and found that if you first get a uri for the resource then it is a fully-qualified file uri. This works ok when running directly against files on disk, but once they are in a .jar it all turns to custard, giving you "java.lang.IllegalArgumentException: URI is not hierarchical".
    I followed your suggestion to use Class.getResourceAsStream and it now works perfectly - thanks again!

  • Best way to handle large files in FCE HD and iDVD.

    Hi everyone,
    I have just finished working on a holiday movie that my octagenarian parents took. They presented me with about 100 minutes of raw footage that I have managed to edit down to 64 minutes. They have viewed the final version that I recorded back to tape for them. They now want to know if I can put it onto a DVD for them as well. Problem is the FCE HD file is 13Gb.
    So here is my question.
    What is the best way to handle this problem?
    I have spoken to a friend of mine who is a professional editor. She said reduce the movie duration down to about 15mins because it's probably too long and boring. (rather hurtful really) Anyway that is out of the question as far as my oldies are concerned.
    I have seen info on Toast 8 that mentions a "Fit to DVD" process that purports to "squash" 9Gb of movie to a 4.7Gb disk. I can't find if it will also put 13Gb onto a dual layer 8.5Gb disk.
    Do I have to split the movie into two parts and make two dual layer DVD's? If so I have to ask - How come "Titanic", 3hrs+ fits on one disk??
    Have I asked too many questions?

    Take a deep breath. Relax. All is fine.
    iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
    iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
    In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD

  • Best way to handle text files in OD10g

    We have a requirement to store reports in text format into a database field, to be able to view the reports, and to print them if desired using Forms 10g. What is the best way to handle this?
    - define the field in the database as clob or blob?
    - if CLOB is the choice, what tools to use to upload CLOBs to the database (since webutil transfer is for blob only)?
    - in Forms 10g, can one use the Forms data type LONG for CLOB?
    - can you do Forms search on clob and blob fields?
    - how can reports that are stored in fields be viewed without first downloading to the client workstation?
    - in Forms 10g, what is the best way to view text files residing in local PCs: "host notepad myFile"?
    Thanks much for your reply!
    gk

    Take a deep breath. Relax. All is fine.
    iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
    iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
    In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD

  • Best way to handle all erros and get performance(OCI)?

    Hi there,
    Im using[b] Oracle Call Interface to execute batch file process. But I have got a problem.
    I set ExecuteBatch with the same number of commit time, i.e: 100, 1000 or just 10, for thats ok.
    ((OraclePreparedStatement)globalStmt).setExecuteBatch(commit);
    And I handle executeUpdate to catch all SQL Exceptions. I made some proposital files with invalid erros but when I handle "executeUpdate" it�s doesn�t get the corrent error line, and puts out another line that is corret.
    ((OraclePreparedStatement)globalStmt).executeUpdate();
    Check in the code I concluded that its always get the same sequence of commit number like the error line. For example, I have between line 1 - 50 a line error, this line is 31, but I set the commit time for 50, its show me that line errror is 50 wherever 31. But if I put setExecuteBatch with '1' so it can handle corret lines erros, but the system performance bring down. What is the best way to handle all erros and keep the perfronace?
    Sorry for my english, I am not native. Thanks all.

    So by doing this, everything will transfer and look exactly the way I have it on the old machine?
    That is correct, if your old machine is Intel based after using MA the new machine will look just like the old machine. Here is information from Apple on MA, I'd recommend looking it over.
    My recommendation is to answer NO when setting up the new machine when it asks "Are you moving from another Mac?" The reason being let you new machine get set up and run for a couple of hours to ensure it's fine. Then launch MA and follow the prompts, it's very easy and if you use a fast connection like FW it should go smoothly.
    Regards,
    Roger

  • Best way to handle source files

    Hi there,
    After some pretty general advise please.
    The company I work for looks after a lot of websites, and one
    of the
    headaches we have is the best way to handle source files. By
    source files I'm
    referring to Photoshop files, Flash .fla files and also other
    none Adobe
    files that relate to a site, not the .html, .asp, .aspx,
    .css, .js etc type
    files.
    Now I'm NOT after a version control system, just a simple way
    to store the
    source files in a location that is separate from the website
    but still to be
    able to have a smooth workflow between the Dreamweaver site
    and it's source
    files.
    At the moment, and I know this is unwise, we have a
    subdirectory within the
    site where we store the source files, and use WebDAV to
    transfer both site
    and source files to and from the server. But I really want to
    separate the
    site from source but still maintain a link between site and
    source...... if
    you see what I mean. I think the upshot is I would like to be
    able to open a
    site within Dreamweaver and instantly be able to access that
    sites source
    files if needed. This method needs to be shared across a
    small team spread
    round the UK.
    I looked at the Repository Subversion version control, but
    like I said I'm
    not after a source control system, plus it appeared to
    conflict with WebDAV
    and Contribute, that some of our clients use to maintain
    content on their
    sites. I also looked at Version Cue which looked promising,
    but can't see a
    clear workflow between Dreamweaver and Version Cue which
    separates site from
    source. I might be missing something.... part of my brain
    perhaps. :)
    Would be grateful for any advice please.
    Cheers,
    @ndyB

    Take a deep breath. Relax. All is fine.
    iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
    iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
    In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD

  • The best way to read properties file

    Hi folks,
    The best way to read properties file i.e.. using ResourceBundle or FileInputStream . if so how to do it , my properties file is n WEB-INF/classes/myprop.properties.It's urgent.
    Thanks & Regards,
    Rajeshwar.

    WEB-INF/classes should be in your classpath. The web container takes care of that.
    All you have to do is call ResourceBundle.getBundle("myprop").
    It'll append the .properties for you.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String)

  • Best way to handle calling the EP logon page

    I would like to be able to handle the following:
    1. Start EP in anonymous/guest mode (basically unauthenticated).
    2. Present an iview that allows a user to fill in some information but when he/she clicks on a button it would first check if the user is logged on and if not -- call up the EP logon page/self registrtion page.  After logging in/self-registrating, the iview would continue processing.
    What is the best way to handle this?
    Regards,
    Mel Calucin
    Bentley Systems, Inc.

    Hi,
    You have to download the com.sap.portal.logon standar "par" and modify the jsp file to simplify the logon page (maybe only input fields for user and password).
    then upload the new .par file to the portal and update the authschems.xml file to redirect the default method to the new ".par".
    You can insert an "enter" button in the home page that launh a pop up to a dummy page with property "default" authentication scheme. Automatically the Portal shows you in the little pop up the simplyfied login page to insert login data. The dummy page need to redirect the parent page to the portallauncher component and close itself.

  • (workflow question) - What is the best way to handle audio in a large Premiere project?

    Hey all,
    This might probably be suitable for any version of Premiere, but just in case, I use CS4 (Master Collection)
    I am wrestling in my brain about the best way to handle audio in my project to cut down on the time I am working on it.
    This project I just finished was a 10 minute video for a customer shot on miniDV (HVX-200) cut down from 3 hours of tape.
    I edited my whole project down to what looked good, and then I decided I needed to clean up all the Audio using Soundbooth, So I had to go in clip by clip, using the Edit in SoundBooth --> Render and Replace method on every clip. I couldn't find a way to batch edit any audio in Soundbooth.
    For every clip, I performed similar actions---
    1) both tracks of audio were recorded with 2 different microphones (2 mono tracks), so I needed only audio from 1 track - I used SB to cut and paste the good track over the other track.
    2) amplified the audio
    3) cleaned up the background noise with the noise filter
    I am sure there has to be a better workflow option than what I just did (going clip by clip), Can someone give me some advice on how best to handle audio in a situation like this?
    Should I have just rendered out new audio for the whole tape I was using, and then edit from that?
    Should I have rendered out the audio after I edited the clips into one long track and performed the actions I needed on it? or something entirely different? It was a very slow, tedious process.
    Thanks,
    Aza

    Hi, Aza.
    Given that my background is audio and I'm just coming into the brave new world of visual bits and bytes, I would second Hunt's recommendation regarding exporting the entire video's audio as one wav file, working on it, and then reimporting. I do this as one of the last stages, when I know I have the editing done, with an ear towards consistency from beginning to end.
    One of the benefits of this approach is that you can manage all audio in the same context. For example, if you want to normalize, compress or limit your audio, doing it a clip at a time will make it difficult for you to match levels consistently or find a compression setting that works smoothly across the board. It's likely that there will instead be subtle or obvious differences between each clip you worked on.
    When all your audio is in one file you can, for instance, look at the entire wave form, see that limiting to -6 db would trim off most of the unnecessary peaks, triim it down, and then normalize it all. You may still have to do some tweaking here and there, but it gets you much farther down the road, much more easily.Same goes for reverb, EQ or other effects where you want the same feel throughout the entire video.
    Hope this helps,
    Chris

  • Best way to handle session timeout

    Hello All,
    oracle 11g, Apex ver 3.1.2
    I am bit confused about the sessoin handling mecahnism for the users .
    Which is the best way to handle session for the users is it programatically or by DBA admin level.
    What are the pros and cons going DBA Level and Programmatica level.
    Before hand I got to have some information on hand for justification.
    thanks/kumar

    Hi,
    I've done a great deal of work with mobile accounts in Snow Leopard and I'm now having a "play" with Lion. To be honest you have to sit down and think about why you need mobile accounts.
    If your user only uses one computer then your safer having a local account backed up by a network Time Machine, this avoids the many many woes that the Servers FileSyncAgent brings to the table.
    If your users are going to be accessing multiple computers on the network and leaving the network then a mobile account is good for providing a uniform user experience and access to files etc. However, your users will have to make a choice as to whether they want their iPhoto libraries on one Local machine (backed up by Time Machine) or whether they want their library to be hosted on the server and not part of the Mobile Home Sync schedule (adding ~/Pictures to the excluded items on the home sync settings).
    With the latter, users will be able to access their iPhoto libraries on any computer when they are within the network (as it's accessed from the users server home folder).
    With the first option the user would have their iPhoto library on one computer (say the laptop they used the most) but then would not be able to access it from other computers they log on to.
    iPhoto libraries are a pain, and I'm working hard to come up with a workaround. If your users moved over to using Apeture then you could include the aperture library as part of the home sync thanks to Deeport (http://deepport.net/archives/os-x-portable-home-directories-and-syncing-flaw-wit h-bundles/)
    He does suggest that the same would work with IPhoto libraries - but it doesn't for a number of mysterious reasons regarding how the OS recognizes thie iPhoto bundle (it does so differently compared to Apeture).
    Hope this helps...

Maybe you are looking for

  • Coupla questions after updating to Snow Leopard

    Hi folks.  I just upgraded from Tiger 10.4.11 to Snow Leopard 10.6.8, and boy, do I have some questions! 1. Are there any rules of thumb on reducing the probability that this OS X 10.6.8 will lock up?  For example, it seems that if I'm getting the co

  • URL redirection in a mutinode 12.1.3 environment

    Hi,      We have a multinode (2 Apps Tier Nodes) implementation of Oracle E-Business Suite Version 12.1.3 with a shared APPL_TOP. Here is the configuration information DB Tier Node Server Name : UXD012 Operating System : HP-UX Itanium 11.31 64-Bit Or

  • Create a rule to delete older messages in a folder

    I'm finding housekeeping in my Mac Mail time consuming and wanted to create a rule for a particular folder to delete messages older than say 2 weeks. I've tried googling and looking around for help but I can't find much. I also have another issues I

  • Keynote viewer on Windows

    I understand that I can export Keynote files to powerpoint formats and others so they can be viewed on windows. But, as these options can loose some transitions, etc, is there a viewer that I can use just for windows? Just to show people/present it i

  • Scheduled sleep time is not correct in OS X 10.10.2

    I have my computer scheduled to sleep every day at a certain time.  The dialog box warning that the system will sleep in 10 minutes comes up, however, the actual time it tries to go to sleep is wrong. I tried changing the time +/- an hour but it stil