loadFromSource(String) expects the "contents" of the file and not a path to
a file. Based on the "content", it tries to determine whether the source is
YAML, JSON or name value pairs (property file content). Your example is
determined to be a property file.
Apparently, your source of 'conf/adasd' is not malformed enough for the
Properties class to load and trigger an exception. If it was malformed
enough, you would see a SettingsException.
On Thu, May 26, 2011 at 7:56 PM, Anurag firstname.lastname@example.org wrote:
I am running ES in embedded mode and giving it a wrong config path
while starting the node; shouldn't the line below fail: