|
From: coderobo <cod...@gm...> - 2007-08-01 22:55:30
|
I would like to customize (and if possible internationalize) the error messages that come out of wrapper start up script (Linux). For example if wrapper can not locate java on the path, it spits out - STATUS | wrapper | main | 2007/08/01 04:23:58.138 | Launching a JVM... ERROR | wrapper | main | 2007/08/01 04:23:58.142 | Unable to start JVM: No such file or directory (2) ERROR | wrapper | main | 2007/08/01 04:23:58.252 | Unable to start a JVM I would like to give a more detailed message explaining what is expected of the admin. In this instance my wrapper.conf contains "wrapper.java.command=%MY_JAVA_HOME%/bin/java" . I would like to spit out an error message asking the admin to set the MY_JAVA_HOME env variable. Short of changing the code, any way to customize this via wrapper.conf properties ? I looked through the docs couldn't find any thing relevant. Thanks -- View this message in context: http://www.nabble.com/How-to-customize-wrapper-startup-error-messages--tf4203212.html#a11955492 Sent from the Java Service Wrapper mailing list archive at Nabble.com. |