Notes:
Changes: Java Service Wrapper Revision History. -------------------------------------- 3.2.1 * Fix a problem with the solaris-sparc-64 makefile. * Add a solaris-x86-64 makefile. * Merge in a patch by Hugo Weber to make it possible to configure the Wrapper to pull the JRE from the system registry on windows. * Fix a batch file bug added in 3.2.0 where the scripts would not function correctly if the full path to the batch file contained spaces. Bug #1450601. * Modify the message shown when a native library fails to load so the exception message text is now shown in the log without having to enable debug log output. * Modify the UNIX shell script to be more informative if the script is unable to locate a wrapper binary due to a executable bit permission problem. * Fix a minor permission problem with the build for the delta-pack. * Commit a patch by Juergen Hermann to make the error shown when realpath fails clearer. * Add the ability to use a default wrapper.conf file that is in the same directory as the wrapper binary. The file will be named based on the name of the wrapper binary. * Synchronize the command line so that both the Windows and UNIX versions are now the same. The old command line syntaxes are now supported everywhere so there will be no compatibility problems. * It is no longer possible to specify arguments using the '/c' syntax. This was undocumented so hopefully it is not being used. The documented '-c' syntax must now be used. The change was necessary to synchronize the command line between UNIX and windows platforms. * The 32-bit HP-UX 3.2.0 build was generating a libwrapper.so file rather than libwrapper.sl. * Make the WrapperManager.setConsoleTitle, getWrapperPID, and getJavaPID methods available through JMX. * Fix a state engine problem introduced in 3.2.0 which was causing the wrapper.on_exit.<n> properties to be ignored in most cases. * Fix a potential problem that could have caused crashes when debug logging was enabled. * Fix a problem where signals were not being handled correctly on some UNIX platforms, including AIX. This was making it impossible to shutdown the wrapper cleanly with the TERM signal. Bug #1477619. * Add new default environment variables which can be referenced in a configuration file to configure platform specific directories and file names. WRAPPER_OS, WRAPPER_ARCH, and WRAPPER_BITS. * Add a -v argument to make it possible to request the version from a wrapper binary. * Add support for registering the WrapperManager MBean with the PlatformMBeanServer when run on a 1.5+ JVM. See the JMX section in the documentation for details. * Rework the way timeout properties are handled. Values of 0 now actually disable the timeouts rather than setting them to a large value. To avoid overflow problems when converting to internal timer ticks, timeouts are now restricted to a maximum of 20 days, or 1728000 seconds. Change affects the wrapper.cpu.timeout, wrapper.startup.timeout, wrapper.ping.timeout, wrapper.shutdown.timeout, and wrapper.jvm_exit.timeout properties. For values less than 20 days, there should be no change in functionality. * Add support for debuggers. The Wrapper will now show a warning on startup and then again the first time a timeout occurs. But all timeouts will be ignored. This is to avoid problems with the Wrapper restarting a suspended JVM in the middle of a debugging session. The wrapper enters this mode if the wrapper.java.command ends with the string "jdb" or "jdb.exe", or the "-Xdebug" parameter is passed to the JVM. * Add 'athlon' to the list of supported architectures. * Fix a problem where the environment variables loaded when a service was started were always the system environment even if the service was running as a specific account. The environment of a specific account will now be loaded on top of the system environment if the USERNAME environment variable is set by the system. Bug #1491138. * Added new wrapper.ntservice.pausable and wrapper.ntservice.pausable.stop_jvm properties to make it possible to pause and resume the Wrapper when installed as a Windows service. * Added new Pause and Resume batch files as well as modified the command batch file to support pause and resume. * Added PAUSE and RESUME commands for use by the wrapper.commandfile property. * Fix a problem with the wrapper.pidfile, wrapper.java.pidfile, wrapper.anchorfile, wrapper.commandfile, wrapper.statusfile, wrapper.java.statusfile, wrapper.java.idfile, and wrapper.lockfile properties where forward slashes in paths were not being changed to back slashes on Windows versions. * Simplify the code used to load a native library by using the System.mapLibraryName method rather than doing the same thing manually. * Add a new wrapper.syslog.facility property which makes it possible to specify the syslog facility on UNIX systems. Thanks for the patch from Bruce Pennypacker. * Removed the custom thread counting used to keep track of when the wrapped Java application has completed. It is now done in a different way that will work on all Java implementations without requiring any special consideration of the current JVM. Deprecated the wrapper.monitor_thread_count and wrapper.thread_count_delay properties. Bug #1470265. * The WrapperStartStopApp helper class still requires thread counting if the stopWait parameter is set to true. Previous versions all hardcoded the system thread count to 1 which worked for most JVMs. A new system property, org.tanukisoftware.wrapper.WrapperStartStopApp.systemThreadCount, was added to make it possible to customize. It currently defaults to 1. * Make it possible to extend the WrapperSimpleApp and WrapperStartStopApp helper classes. Feature Request #1510274. * Add warning messages if the old org.silveregg.wrapper package classes are still being used. They will be removed in the next release.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use