It's not a secret anymore!
The moose likes BEA/Weblogic and the fly likes how to use variable in config.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "how to use variable in config.xml?" Watch "how to use variable in config.xml?" New topic
Author

how to use variable in config.xml?

tommaso rizzi
Greenhorn

Joined: Mar 16, 2011
Posts: 1

Hi,
for monitoring requirement, we need to log the Garbage Collector and the log file should be always with different name

in the past, with WL 6.1, adding in the config.xml the option like
Xloggc:/FS01/logiciel/preprod/ariba/test/Downstream/Server/logs/gc-buyerserver1.$$.log

it worked fine, replacing $$ with the process ID and then the file name was for example gc-buyerserver1.7345.log

at the moment, with WL 10, it doesn't replace the $$ with the process ID, but it creates all the time the file with the same file name gc-buyerserver1.$$.log


so, the question is: how can we use variables in the config.xml, with WL 10?


many thanks
Tommaso
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to use variable in config.xml?
 
Similar Threads
How to map domain names to weblogic server?
How to submit a form with out a name in javascript
DailyRollingFileAppender
Weblogic and EJB3 JNDI lookup
Weblogic 8.1