File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
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://aspose.com/file-tools
 
subject: how to use variable in config.xml?