Jsvc is a set of libraries and applications for making Java applications run on
UNIX more easily. It allows the application (e.g. Tomcat) to perform some
privileged operations as root (e.g. bind to a port < 1024), and then switch
identity to a non-privileged user.
Provides
Requires
License
Apache-2.0
Changelog
* Mon Jun 16 2025 fstrba@suse.com
- Added patch:
* apache-commons-daemon-gcc15-compat.patch
+ Fix build with GCC 15
* Mon Mar 31 2025 gus.kenion@suse.com
- Upgrade to 1.4.1
* Bug Fixes:
+ several issues around Java OS and header files location
detection.
+ Correct several log messages where an incorrect placeholder
led to truncation of the inserted values.
* New Features
+ Add protection to avoid high CPU usage for applications
running in JVM mode that do not wait for the stop method to
be called before the start method returns. Fixes DAEMON-460.
+ The minimum Java version has been increased to Java 8
- Remove apache-commons-daemon-JAVA_OS.patch - patched in 1.4.1
* Mon Aug 12 2024 gus.kenion@suse.com
- Upgrade to 1.4.0
* Fixes:
+ [StepSecurity] ci: Harden GitHub Actions #95.
+ Procrun. Enable Control Flow Guard for Windows binaries.
Fixes DAEMON-429.
+ Procrun. Better label for command used to start service shown
in Prunmgr.exe. Fixes DAEMON-461.
+ jsvc. Fix warnings when running support/buildconf.sh
+ jsvc. Fix compilation issue with newer compilers. Fixes
+ Procrun. Refactor UAC support so that elevation is only
requested for actions that require administrator privileges.
* New Features:
+ Procrun. Add support for hybrid CRT builds.
+ jsvc. Add support for LoongArch64 support #92.
* Update dependencies:
+ Bump commons-parent from 57 to 69 #155.
+ The minimum support Java version has been upgraded from Java
7 to Java 8.
+ Bump commons-parent from 69 to 70.
- Revise apache-commons-daemon-gcc14-compat.patch for compatibility
with version 1.4.0
* Mon May 06 2024 gus.kenion@suse.com
- Add apache-commons-daemon-gcc14-compat.patch for GCC 14
compatibility.
- Correct offset in apache-commons-daemon-JAVA_OS.patch.
* Tue Feb 20 2024 dimstar@opensuse.org
- Use %patch -P N instead of deprecated %patchN.
* Tue Feb 06 2024 fstrba@suse.com
- Disable LTO to avoid undefined symbols on some platforms
* Tue Oct 17 2023 david.anes@suse.com
- Update to 1.3.4:
* Procrun. Configured stack size now applies to the main thread
when running in JVM mode. Fixes DAEMON-451.
* Procrun. If the specified log directory does not exist, attempt
to create any missing parent directories, as well as the
specified directory, when the service starts. Fixes DAEMON-452.
* Procrun. Allow Windows service dependencies to be managed by
Procrun or by 'sc config ...'. Fixes DAEMON-458.
* jsvc. Fix DaemonController.reload() only working the first time
it is called. Fixes DAEMON-459. Thanks to Klaus Malorny.
* jsvc. Remove incorrent definition 'supported_os' which defined
in psupport.m4 file to fix jsvc build error on riscv64.
* Bump commons-parent from 54 to 57 #71, #91.
* Wed May 03 2023 pmonreal@suse.com
- Update to 1.3.3:
* Fixes:
- Procrun. Follow-up to ensure all child processes are cleaned
up if the service does not stop cleanly.
- Procrun. Fix creation of duplicate ACL entries on some
Windows platforms.
* Updates:
- Bump actions/cache from 3.0.8 to 3.0.11.
- Bump actions/checkout from 3.0.2 to 3.1.0.
- Bump actions/setup-java from 3.5.1 to 3.6.0.
- Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.3.0.
* Fri Oct 21 2022 pmonreal@suse.com
- Update to 1.3.2:
* Fixes:
- Procrun. Remove noisy INFO log message that triggered logging
once per minute while the service was running.
- Fix typos in Javadoc and comments.
- Procrun. The DependsOn parameter is no longer ignored when
updating the service configuration.
- Fix crash and provide an error level log message when the
user attempts to start the service without configuring a
JVM and none is available via the registry.
* Updates:
- Bump actions/cache from 3.0.3 to 3.0.8.
- Bump ac