Skip to content

[RUN-3585 ] add rundeck windows as service jvm mode#1817

Merged
fdevans merged 1 commit into
4.0.xfrom
RUN-3585-rundeck
Jun 10, 2026
Merged

[RUN-3585 ] add rundeck windows as service jvm mode#1817
fdevans merged 1 commit into
4.0.xfrom
RUN-3585-rundeck

Conversation

@ronaveva

Copy link
Copy Markdown
Contributor

This pull request improves the Windows installation documentation for Rundeck by adding clearer instructions for installing the service using Apache Commons Daemon (procrun) in both java and jvm modes. The update introduces a tabbed section to help users choose the correct mode and provides detailed guidance for the jvm mode, including troubleshooting tips for JVM path issues.

Documentation improvements for Windows service installation:

  • Added a tabbed section to docs/administration/install/windows.md to separate instructions for standard (java mode) and JVM (jvm mode) service installation, making it easier for users to follow the correct steps.
  • Added detailed instructions and example commands for installing Rundeck as a Windows service in jvm mode, which captures logging directly and requires specific JVM configuration.
  • Included a warning and troubleshooting tips about setting the correct --Jvm path and ensuring the architecture of prunsrv.exe and jvm.dll match, addressing common setup pitfalls for users.

@ronaveva ronaveva added this to the 5.20.1 milestone Jun 10, 2026
@ronaveva ronaveva requested review from a team, Copilot and fdevans June 10, 2026 16:10
@fdevans fdevans merged commit a57b04c into 4.0.x Jun 10, 2026
4 of 5 checks passed
@fdevans fdevans deleted the RUN-3585-rundeck branch June 10, 2026 16:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Rundeck Windows installation documentation to provide clearer, tabbed instructions for running Rundeck as a Windows service via Apache Commons Daemon (procrun), adding a new jvm-mode variant intended to capture stdout/stderr logging in-process.

Changes:

  • Added a tabbed section to separate “Standard (java mode)” and “JVM mode (captures logging)” service installation commands.
  • Documented a jvm-mode procrun setup including --Classpath, WarLauncher, and required --add-opens options for Java 17.
  • Added a warning/troubleshooting note about --Jvm/jvm.dll path and architecture matching.

@tab Standard (`java` mode)

```batch
rundeck.exe //IS/rundeck ^
Comment on lines +188 to +189
--StdOutput=C:\rundeck\service.log ^
--StdError=C:\rundeck\service.log ^
Comment on lines +173 to +174
--Jvm="%JAVA_HOME%\bin\server\jvm.dll" ^
--LibraryPath="%JAVA_HOME%\bin" ^
Comment on lines +194 to +195
In `jvm` mode, `--Jvm=auto` often fails with `no JVM configured or found in registry` (many JDK/JRE builds don't register in the Windows registry, and the `LocalSystem` account doesn't see a user-level `JAVA_HOME`). Replace the `--Jvm` and `--LibraryPath` values above with your actual Java installation directory (the same path as `JAVA_HOME`).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants