Quantcast

problem with "Wrapper_time" parameter of events

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem with "Wrapper_time" parameter of events

Elham Najafzadeh
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.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Wrapper-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wrapper-user
Loading...