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