This content has been marked as final.
Show 2 replies
-
1. Re: how to configure application from global properties file
peterj Jul 28, 2006 2:47 PM (in response to magdalena.piller)Try something like this:
String dataDir = System.getProperties("jboss.server.data.dir"); InputStream is = new FileInputStream(dataDir + "global.properties"); Properties globalProp = new Properties(); globalProp.load(is);
-
2. Re: how to configure application from global properties file
magdalena.piller Aug 3, 2006 6:19 AM (in response to magdalena.piller)thx, I tried this and the fact that this property was also not set, lead me to the solution: th call was coming form the client side, duh! it ws the only client side call of this method, so i didn't realize for quite some time, but now everything works fine (wrote a service method to delegate)