Important note for upgrading wrapper to 3.4
The behavior on the 'wrapper.java.command' setting did change: It must be a symlink or direct path to the java executable. A symlink is resolved and called directly. On most distros just 'java' or '/usr/bin/java' gives you a symlink to a distro specific java wrapper, which is again a symlink to the choosen java install, so the tanuki wrapper calls the java wrapper directly…
It will look like this: STATUS | wrapper | 2010/04/10 23:02:10 | --> Wrapper Started as Daemon STATUS | wrapper | 2010/04/10 23:02:10 | Java Service Wrapper Community Edition 64-bit 3.4.0 STATUS | wrapper | 2010/04/10 23:02:10 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2010/04/10 23:02:10 | http://wrapper.tanukisoftware.org STATUS | wrapper | 2010/04/10 23:02:10 | STATUS | wrapper | 2010/04/10 23:02:10 | Launching a JVM... ERROR | wrapper | 2010/04/10 23:02:10 | JVM exited while loading the application. INFO | jvm 1 | 2010/04/10 23:02:10 | * run-java-tool was invoked directly INFO | jvm 1 | 2010/04/10 23:02:10 | * run-java-tool should only be used via symlinks to it STATUS | wrapper | 2010/04/10 23:02:14 | Reloading Wrapper configuration... STATUS | wrapper | 2010/04/10 23:02:15 | Launching a JVM... snip ERROR | wrapper | 2010/04/10 23:02:29 | JVM exited while loading the application. INFO | jvm 5 | 2010/04/10 23:02:29 | * run-java-tool was invoked directly INFO | jvm 5 | 2010/04/10 23:02:29 | * run-java-tool should only be used via symlinks to it FATAL | wrapper | 2010/04/10 23:02:29 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. FATAL | wrapper | 2010/04/10 23:02:29 | There may be a configuration problem: please check the logs. STATUS | wrapper | 2010/04/10 23:02:29 | <-- Wrapper Stopped
Using 'wrapper.java.command=%JAVA_HOME%/bin/java' did fix it for me. On distro installs JAVA_HOME should either point directly to the jre or to a symlink that points to the choosen jre, so i expect the ' %JAVA_HOME%/bin/java' to work on any distro.