Announcement Announcement Module
No announcement yet.
How to Externalize the resource(propeties) file on WAS. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Externalize the resource(propeties) file on WAS.

    I am using spring in my project. It is deployed on to Websphere. Following is the configuration used in my application.

    <bean id="messageSource"
    class=" eBundleMessageSource">
    <description>The resource bundles</description>
    <property name="basenames">

    The should be externalized such that my application picks up the keys in Where should the properties file needed to be placed in websphere and what should be the change in the above configurations to be made such that application picks the properties file which is present in Websphere but not in my application.

    Please let me know your thoughts on this.


  • #2
    Hi Vijay - I would like to clarify your objective with this. My understanding is that you want to store your file somewhere which is outside of your application's EAR file? Is there a particular reason why you want to do this?

    If you really want to do this, there are some directories in WebSphere which are configured to be on the classpath out of the box. You can also configure additional directories to be on the classpath via the Admin Console/WSAdmin.


    • #3
      H Bronst,

      Thanks for your response. My application will be talking to another application to which we will be passing some attributes present in The values present in might affect the performance of the other one. So, in order to check the performance of the other application we need to play around with the by changing the values. So we thought of placing it somewhere in WAS but not in my application.

      I understood that some of the directories will be under in Websphere under classpath. Sould i change any kind of configuration given above such that the configuration checks for the in the Websphere classpath.