java - YAJSW - Startup script to clear .lck files -


we use yajsw (11.08) wrap our java application service, when switching java 8, noticed if application did not terminate gracefully, .lck files generated logger, not cleared.

we in process of switching new logger, in mean time need start script clear these .lck files.

i read here yajsw supports shell , groovy scritps, answer this question answer claims supports groovy scripts.

as far can tell need indicate state @ script executed, me assume it's start state.

i have added wrapper.conf:

wrapper.script.start=scripts/clean-up.bat 

what missing or doing wrong? running scripts not available in version i'm using? or shell scripts not supported?

edit: updated yajsw version 11.11 (latest) - still not work

run process console , see error messages get. running 11.11 java 8 , noticed though documentation specifies want this: wrapper.script.start=scripts/clean-up.bat yajsw looks in scripts directory default, , have make sure script in directory. can see file not found error when running in console. problem getting 'returned 1' error. beginning doubt yajsw run .bat files have made mine simple test , still fails.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -