|
From: Elham N. <naj...@gm...> - 2014-04-20 09:21:01
|
Hello, I have a problem with java wrapper service. I defined some events such as 'jvm_started' , 'jvm_stoped' , 'wrapper_started', and... in my wrapper.conf file. Also some parameters are defined for these events including '%WRAPPER_TIME_YYYYMMDDHHIISS%' Now the problem is this: when wrapper_start event occurs the parameter "wrapper_time" gets value of current time. but for all events the value of wrapper_time is same as wrapper_time in wrapper_start event!!!! here is my wrapper.conf: wrapper.event.wrapper_start.command.argv.1=./foo.sh wrapper.event.wrapper_start.command.argv.2=%WRAPPER_TIME_YYYYMMDD_HHIISS% wrapper.event.wrapper_stop.command.argv.1=./foo.sh wrapper.event.wrapper_stop.command.argv.2=%WRAPPER_TIME_YYYYMMDD_HHIISS% and here is my wrapper.log: DEBUG | wrapper | 2014/04/20 12:18:45 | Enqueue Event 'wrapper_start' DEBUG | wrapper | 2014/04/20 12:18:45 | Event Command 'wrapper_start': Command line[0] : ./foo.sh DEBUG | wrapper | 2014/04/20 12:18:45 | Event Command 'wrapper_start': Command line[1] : *20140420_121845* DEBUG | wrapper | 2014/04/20 12:23:21 | Enqueue Event 'wrapper_stop' DEBUG | wrapper | 2014/04/20 12:23:21 | Event Command 'wrapper_stop': Command line[0] : ./EventLogger.sh DEBUG | wrapper | 2014/04/20 12:23:21 | Event Command 'wrapper_stop': Command line[1] :* 20140420_121845* Thank you. |