> Hi,
> I've been tasked with writing code that simply reads values from a
[quoted text clipped - 11 lines]
>
> Thanks in advance!
You are better off putting the file into the class path, and use
InputStream fp
MyClass.class.getClassLoader().getResourceAsStream(PROPERTIES_FILE);
Also, I would think its a bad idea to load your properties file in
with the System properties file, unless you REALLY want to do that.
Alternatively, if its just a few properties, and they should be in the
system properties, you might consider simply modifying the script you
use to start JBoss and add -Dprop.name=value for the properties you
want to set.