Just to follow that up. The following code will open a property file and read a
property:
| String confFile = System.getProperty("jboss.server.config.url") +
confFilename;
| System.out.println("Will look for configuration settings in: " + confFile);
| URL url = new URL(confFile);
| defaultProperties = new Properties();
| defaultProperties.load(url.openStream());
| queryTIMEOUT =
Integer.parseInt(defaultProperties.getProperty("QueryTimeout",
Integer.toString(defaultQueryTIMEOUT) ));
|
Hope somebody finds this useful.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082951#4082951
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082951
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user