File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes how to use variable in config.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how to use variable in config.xml?" Watch "how to use variable in config.xml?" New topic

how to use variable in config.xml?

tommaso rizzi

Joined: Mar 16, 2011
Posts: 1

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

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
I agree. Here's the link:
subject: how to use variable in config.xml?
It's not a secret anymore!