Hi
  Thax will try this

cheers
Dushan

On Sat, Apr 14, 2012 at 8:27 AM, Supun Malinga <sup...@wso2.com> wrote:

> Hi Dushan,
>
> We don't have CARBON_HOME/lib/core/ anymore, after tomcat osgification.
> Think we should move those property files into
>   CARBON_HOME/repository/conf/advanced.
>
> thanks,
>
> On Thu, Apr 5, 2012 at 7:04 PM, Dushan Abeyruwan <dus...@wso2.com> wrote:
>
>> Hi
>>   Btw I tested this one with the very recently built
>> ESB wso2esb-4.0.0-SNAPSHOT.zip
>>
>>
>> On Thu, Apr 5, 2012 at 7:02 PM, Dushan Abeyruwan <dus...@wso2.com> wrote:
>>
>>> Hi
>>>   Seems like the property files resides in
>>> ESB_HOME/lib/core/WEB-INF/classes not loading I think this may be due the
>>> recent changers done on carbon core can some one tell me the alternatives
>>> we can follow to get this work done ref
>>> https://wso2.org/jira/browse/ESBJAVA-946
>>>
>>> MiscellaneousUtil.java
>>>
>>>  public static Properties loadProperties(String filePath) {
>>>
>>>         Properties properties = new Properties();
>>>         ClassLoader cl = Thread.currentThread().getContextClassLoader();
>>>
>>>         if (log.isDebugEnabled()) {
>>>             log.debug("Loading a file '" + filePath + "' from
>>> classpath");
>>>         }
>>>
>>>         InputStream in = cl.getResourceAsStream(filePath);
>>>         if (in == null) {
>>>             if (log.isDebugEnabled()) {
>>>                 log.debug("Unable to load file '" + filePath + "'");
>>>             }
>>>
>>>             filePath = "conf" +
>>>                     Fil
>>>
>>> cheers
>>>  Dushan Abeyruwan
>>> *Senior Software Engineer*
>>> *Integration Technologies Team*
>>> *WSO2 Inc. http://wso2.com/*
>>> *Mobile:(+94)714408632*
>>>
>>>
>>
>>
>> --
>> Dushan Abeyruwan
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com/*
>> *Mobile:(+94)714408632*
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com <sup...@wso2.com>
> mobile - 071 56 91 321
>
>


-- 
Dushan Abeyruwan
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/*
*Mobile:(+94)714408632*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to