"ruxit_initialized" error message when attempting to start Bamboo instance with a new Java JDK version

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When attempting to start Bamboo with Java JDK 11 via <BAMBOO_INSTALL>/bin/start-bamboo.sh, the following error shows up in the command line interface: java.lang.NoSuchFieldError: ruxit_initialized 

Error: LinkageError occurred while loading main class org. apache.catalina.startup.Bootstrap
java.lang.NoSuchFieldError: ruxit_initialized

Environment

The issue happens when attempting to run Bamboo with Java JDK 11, where the Dynatrace plugin is installed on the Linux operating system.

Diagnosis

Once the below error message appears on the machine's terminal, Bamboo shuts down immediately, and no logs are created in <BAMBOO_HOME>/logs/atlassian-bamboo.log

NOTE: Picked up JDK_JAVA_OPTIONS:
--add-opens=java.base /java. lang=ALL-UNNAMED --add-opens=java.base/java.¡o=ALL-UNNAMED
--add-opens=java.base/java.uti1=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=AL
L-UNNAMED--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Error: LinkageError occurred while loading main class org. apache.catalina.startup.Bootstrap
java.lang.NoSuchFieldError: ruxit_initialized

Cause

There may be more technical interferences between the plugin Dynatrace monitoring agent and the JVM of the Linux OS, affecting the execution or performance of the application. However, it's hard to say precisely why the Dynatrace tool doesn't allow using Java JDK 11 since Atlassian did not develop such a plugin.

Solution

If you'd like to keep the Dynatrace plugin, we recommend you check with your team or Dynatrace plugin documentation to see if there is a way to make the plugin's agent work with the Java JDK you would like.

In case the issue persists and the above action is not possible, our suggestion is to remove the plugin by following the steps below:

  1. Stop Bamboo.
  2. Make sure that Dynatrace is fully uninstalled from the server.
  3. Start Bamboo with the adequate Java JDK version, depending on your Bamboo version compatibility.

Last modified on Mar 15, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.