This content has been marked as final.
Show 2 replies
-
1. Re: JBoss variables
anguyen Oct 10, 2005 7:59 AM (in response to kevinlam)From what I've seen, log4j will automatically replace ${...} with the corresponding value in system properties. So if you include ${my.log.dir} as a value in your log4j.properties, you could specify -Dmy.log.dir=/path/to/log/dir in the command line and /path/to/log/dir will be substitued for ${my.log.dir} by log4j.
You could also create a properties file that contains my.log.dir=/path/to/log/dir and pass it to JBoss's main program using -P my.properties. -
2. Re: JBoss variables
kevinlam Oct 10, 2005 8:29 AM (in response to kevinlam)Thx for your reply, I am a bit confused... How to start JBoss with the -D or -P options?
I am using eclipse plugin for starting JBoss at the moment.
Also, is there not a kind of xml configuration file which I can specifies the variables name? :)
Thx
Kev