Property file should be externalize and outside the archive (say ear) ?

My team architect is suggesting me to externalize the property files like locale resources (e.g messages.en.properties ), log4j (e.g log.properties) etc .The reason is to avoid recompiling incase of changes to this resources.
Example tomorrow if something goes wrong in production and we want to enable the debug log,then we can change the property file ,restart the server and we are good.If it was inside the archive file we have to create a brand new
a brand new archive file ,redeploy it and restart the server again.
In my entire work experience I never externalized this resources because they are inherent part of the archive file.Hence any changes then recreate the archive file and redeploy.
The team architect might have some good reason.
Please advice.
Thanks
m

Manjit wrote:
My team architect is suggesting me to externalize the property files like locale resources (e.g messages.en.properties ), log4j (e.g log.properties) etc .The reason is to avoid recompiling incase of changes to this resources.
Example tomorrow if something goes wrong in production and we want to enable the debug log,then we can change the property file ,restart the server and we are good.If it was inside the archive file we have to create a brand new
a brand new archive file ,redeploy it and restart the server again.
In my entire work experience I never externalized this resources because they are inherent part of the archive file.Hence any changes then recreate the archive file and redeploy.
The team architect might have some good reason.
Please advice.
Thanks
mIf the major hurdle is changing log levels dynamically..you could look at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PropertyConfigurator.html#configureAndWatch%28java.lang.String%29

Similar Messages

  • I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down eliminate

    I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down menu with the gear box symbol to eliminate

    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots.  Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
    See Pondini's page for more explanation:   What are Local Snapshots?   http://pondini.org/TM/FAQ.html
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    You have tested the library on the external drive, and so your photos are save there.  
    The local TimeMachine snapshot probably now contains a backup of the moved library.  Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots.

  • In Photoshop Elements 12, is there a way to batch process all photos in a file with 'Auto Tone' and save the changes?

    In Photoshop Elements 12, is there a way to batch process all photos in a file with 'Auto Tone' and save the changes?

    Thank you, that was perfect!
    Yoni

  • SharePoint 2010 Allow User to Add Comments to Files in a Library and to the Header of the Web-Page

    (1) I need to allow an end-user to be able to add comments to files either when they are added to a library or after they are added. I didn't see a Column available for adding to a Document Library for "Comments".
    (2) I need the same user to be able to add text/comments to the Header of the web-page that contains the library (above the library at the top of the screen).
    When I (the SP Admin) add the "Content Editor Web-Part" to the top of the web-page that contains the Document Library, the Toolbar disappears. The Content Editor Web-Part would be ideal to allow the end-user to add comments to the Header, but I
    really need the Toolbar available.
    Is there another Web-Part that I could use for allowing comments to be added to the Header of a web-page without disabling the Toolbar, or is there a known-fix for allowing the Toolbar to be available and functional after adding a Content Editor Web-Part?
    JCashon

    Hi,
    According to your post, my understanding is that you want to add Comments to Files in a Library and to the Header of the Web-Page.
    (1)If you use the document content type in the library, it will contain the “Comments” field automatically. When you add the document, you can enter the conments. You can also edit the “Comments” field after the document added.
    (2)If you add the add the "Content Editor Web-Part" to the AllItem.aspx Page, you can add the text to the web part as the Header.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I have sent files several times now and when the recipient clicks the link to open. it says page cannot be found.  This just started happening.  what needs to be corrected?

    In Adobe Send, I have sent files several times now and when the recipient clicks the link to open, it says page cannot be found.  This just started happening.  What needs to be corrected?

    I can think of a couple of reasons for this behavior.
    You inadvertently turned off the sharing for the files.
    The link that the user is clicking on is incomplete; perhaps it got broken across lines in an email message. Are you sending Anonymous Links or Personalized Invitations? If the former, are you certain that you copied the entire link?
    Some things to try.
    Have the user send the link back to you so that you can test it. Does it work for you?
    If you look at your Sent Files list, is the name in the Sent To column struck through (e.g., John Smith)? That would indicate that it has been unshared.
    If you could get back to me with answers, perhaps we can get to the bottom of this.

  • Class file is referencing a type outside the classpath???

    Hi All,
    I'm developing a EJB project in NWDS.
    I'm getthing the below syntax error.
    This compilation unit indirectly references the missing type com.sap.exception.BaseException (typically some required class file is referencing a type outside the classpath)
    Can you please help me to resolve this?
    Thanks in advance.
    Sundar

    Hi Sundar,
    You need to add the ejb20.jar file to your Project classpath.
    If you are developing the project locally then the jar file can be directly added to the class path using the Project Properties --> Java build PAth --> Libraries tab --> Add External Jar.
    If it is a DC development, the ejb20.jar can be found under the SAP-JEE software component of your track.
    Hope it helps.
    Regards,
    Alka.

  • Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Thanks for the speedy reply.  I have read so many comments about Flash being incompatible with Lion I was wondering whether to download it or not.  So many sites on the Web still require flash, however, you almost don't have a choice but to download it even if it is incompatible.  I gather a better version of Flash will be available for Lion soon.  Again, thanks for the help.  I will download the latest version of Flash.

  • When copying raw files from Extreme IV card to hardrive, finder copies a few files then exits task and wipes the card clean of all images.

    When copying raw files from Extreme IV card to hardrive, finder copies a few files then exits task and wipes the card clean of all images.  Have tried new card and card-reader to no avail.  Have done this many times on other macs with no problems.
    Can edit files off the card, in CameraRaw, prior to 'copying' them, ie can 'save as' to the hard drive, so files seem okay on card, before I try to copy them using copy and paste.
    Running OS 10.8.3 on a new macbook pro.

    Rita,
    The process for determining what is causing the files to be corrupt can be a tedious one depending on the following:
    1. Can you review the images on your camera's LCD screen without problems? If not then the problem is most probably either a corrupted/faulty memory card or a faulty camera. If this is the case then your best bet at recovery (of sorts) is to use a program such as BrezzeBrowser from BreezeSys to extract the embedded jpeg versions of the corrupted RAW files from within each RAW file. Chances are, you won't manage to actually repair the corrupted RAW file but the jpegs are better than nothing.
    2. If the images review ok on your camera but are corrupted when viewing on your computer and there seems to be no other problem with other files on your computer then it may be either a faulty card reader or usb/firewire cable between the card reader and the computer that is the culprit. Try the card reader with a different cable and also try a different card reader to determine the cause of the corruption.
    3. If your symptoms are that you get different files corrupting over time when viewing them on your computer then the problem may be any one of either failing RAM memory, hard disk, hard disk controller or IDE/SATA hard disk cables. This is where the troubleshooting can be pretty tedious testing then eliminating each item from the list of suspicious pieces of hardware. Try the card and card reader on an altogether different computer to see if the files transfer correctly to that computer. If so then the problem lies with your computer hardware. If you haven't already done so at this stage, backup all your important data immediately (hopefully you keep backs anyway).
    Hope this helps.

  • I have accidentally deleted off my Mac a preferences file for Adobe photoshop and now the program cannot initialize. I have talked to Apple and then say that if Adobe can isolate the file they can help me restore it from my time machine. How do I isolate

    I have accidentally deleted off my Mac a preferences file for Adobe photoshop and now the program cannot initialize. I have talked to Apple and then say that if Adobe can isolate the file they can help me restore it from my time machine. How do I isolate the file ?

    Do you have the path to this file and name of this file?

  • When I connect my ipad to the computer and click import photos and videos, the computer says that there are no photos or videos on the ipad it says the file is empty I can't even add anything to the file!!!!!

    When I connect my ipad to the computer and click import photos and videos, the computer says that there are no photos or videos on the ipad it says the file is empty I can't even add anything to the file!!!!!

    It looks like the card may be the problem, and your best bet is to try the Card Reader - this will make the card accessible by the Finder and you may be able to drag the pics off to the desktop or, at worst, try recover the pics with an app like MediaRecover
    Regards
    TD

  • When I am open file with adobe Pro and reader the resolution in my computer failing, change the resolution from 1920x1200 to 800x600. my video card is nvidia quadro 2000. w7 & 32 bits

    when I am open file with adobe Pro and reader the resolution in my computer failing, change the resolution from 1920x1200 to 800x600. my video card is nvidia quadro 2000. w7 & 32 bits

    Hi fabiangs,
    I'm not sure that I follow. Are you saying that when you open a PDF file in Acrobat or Reader, that the display resolution changes automatically on your system?
    What version of Acrobat/Reader are you using? Do you see this same issue in other files/applications?
    I look forward to hearing back from you.
    Best,
    Sara

  • How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    Who is the email account provider?
    With an Apple iCloud account, there is a preference setting with the account settings on the iPhone to archive messages - save deleted messages in your Archive folder.
    I believe the same is available with a Gmail account.

  • TS3212 i am trying to download itunes 10.7.  i have windows vista 32-bit.  when i click on download.  the pop up window comes up and ask to save or cancel, and then the webpage says thank you for downloading.  it hasn't downloaded it.  what can i do to fi

    i am trying to download itunes 10.7.  i have windows vista 32-bit.  when i click on download.  the pop up window comes up and ask to save or cancel, and then the webpage says thank you for downloading.  it hasn't downloaded it.  what can i do to fix this?

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Hey Guys. I have a 1st gen dual 2.3 powerPC G5. I just recently upgraded my OS to Leopard 10.5. I cannot for the life of me, get FlashPlayer to work. I Downloaded and installed the archived 10_1r102_64 version, but it still doesn't work. Help?

    Hey Guys. I have a 1st gen dual 2.3 powerPC G5. I just recently upgraded my OS to Leopard 10.5. I cannot for the life of me, get FlashPlayer to work. I Downloaded and installed the archived 10_1r102_64 version, but it still doesn't work.
    Everytime I click on a video it says I need to update to the newest version of flash, but my computer doesn't support the updated version. So I feel like I'm in a Catch-22. 
    Any suggestions?

    Jay, you may very well be up a creek without a paddle.
    See in each Browser which version of Flash it thinks it has...
    http://kb2.adobe.com/cps/155/tn_15507.html
    Then Test Adobe Shockwave & Flash Players...
    http://www.adobe.com/shockwave/welcome/
    If it in fact says you do have 10.1.102.64, & some sites say you need higher, it is a catch 22.

  • I recently got my iphone from AT&T which came with a charger and know the charger says "this cable is incompatible with this iphone and is not reliable" can anyone tell me how I can fix this or what to do?

    I recently got my iphone from AT&T which came with a charger and know the charger says "this cable is incompatible with this iphone and is not reliable" can anyone tell me how I can fix this or what to do?

    Contact AT&T to have them replace the cable.

Maybe you are looking for

  • Adobe Bridge CC (Mac) isn't showing collections generated in Bridge CS6

    Opening Adobe Bridge CC doesn't show the collections I generated in Adobe Bridge CS6. Both versions of Bridge are on the same Mac and opened within the same User account (of the operating system). In Bridge CS6 (which seems to not open while running

  • File Manager selection

    Not to say Nautilus is bad or anything of the sort, but what are some other file managers out there you guys would recommend? I like simplicity, but I want it to look great and not too basic. Basically I'm just asking you guys to rant about your file

  • How do I get my video to play in the background?

    I have music videos and the other videos that are for music and I want to listen to the them when I lock the screen, or have another application open, but it won't let me like my iPod did. Any tips for the iPhone 4S?

  • Break execution after custom run-time error handler callback

    I am using Teststand 2010 SP1 and have written a custom runtime error handler based on the ErrorHandlerExample example that ships with TestStand. It has been implemented as a StationPostStepRuntimeError callback in my Station Callbacks folder.  I hav

  • Account types allowed for document type

    Hello, when i am in the edit mode of document types through IMG, i can see the account types listed and can select the account types which can be posted with this document type. but the issue is there are only 5 account types predefined, what if i ha