Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13532

Allow external JVM options in Camunda Run

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.16.0, 7.16.0-alpha3
    • None
    • None
    • None

      User Story (Required on creation):

      I want to start the java agent and pass such an argument when starting Camunda Run, for example via the Docker container.

      -javaagent:/camunda/javaagent/applicationinsights-agent-3.1.0.jar
      

       

      Functional Requirements (Required before implementation):

      • JVM options can be passed on to Run when starting it.
      • This works for the Docker container and the "plain" distribution (ZIP, tarball)

      Technical Requirements (Required before implementation):

      • Integrate an environment variable into the start scripts that can hold additional Java options

      Limitations of Scope (Optional):

      Workaround:

      Adjust the start script on the local distribution with required Java options.

      Hints (Optional):

      • Docker allows to pass JAVA_OPTS when starting Java
      • JAVA_OPTS could be integrated in start scripts when starting Java in the Run distribution

        This is the controller panel for Smart Panels app

            [CAM-13532] Allow external JVM options in Camunda Run

            Yana Vasileva added a comment - - edited

            Hi PetrF,

            Thank you for reaching out to us with this request.
            I will send the ticket for a decision.
            Edit: Meanwhile, as a workaround, I would suggest to adjust the start script on your local distro with required java options. (Of course the approach is not so convenient as out of the box feature.)

            Please let us know if you are interested in providing a pull request on the topic, we will support you along the way.

            Best regards,
            Yana

            Yana Vasileva added a comment - - edited Hi PetrF , Thank you for reaching out to us with this request. I will send the ticket for a decision. Edit: Meanwhile, as a workaround, I would suggest to adjust the start script on your local distro with required java options. (Of course the approach is not so convenient as out of the box feature.) Please let us know if you are interested in providing a pull request on the topic, we will support you along the way. Best regards, Yana

            Hi PetrF,

            thanks again for bringing this to our attention. We agree that this feature request makes sense in general. However, due to other commitments and priorities we will not add this to our roadmap for now.

            That being said, we are of course happy to accept a pull request in case you would like to move forward with this yourself. Any help that you need for that, let us know!

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi PetrF , thanks again for bringing this to our attention. We agree that this feature request makes sense in general. However, due to other commitments and priorities we will not add this to our roadmap for now. That being said, we are of course happy to accept a pull request in case you would like to move forward with this yourself. Any help that you need for that, let us know! Best, Tobias

            Petr Formanek added a comment - - edited

            Hi Tobias,

            I understand your point. I use customized start script and hope that one day it gets priority.

            All the best

            Petr

            Petr Formanek added a comment - - edited Hi Tobias, I understand your point. I use customized start script and hope that one day it gets priority. All the best Petr

            Hi PetrF,

            glad to hear you found a solution for your use case. Please note that after updating your version of Camunda Run in the future you might be forced to adjust your scripts again in case we made adjustments in that part. Since the scripts are not public API, we do not provide guarantees or migration guides for them.

            Best
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi PetrF , glad to hear you found a solution for your use case. Please note that after updating your version of Camunda Run in the future you might be forced to adjust your scripts again in case we made adjustments in that part. Since the scripts are not public API, we do not provide guarantees or migration guides for them. Best Tobias

            Hi PetrF,

            we decided to add support for passing JVM options to Camunda Run via environment variable JAVA_OPTS with 7.16.
            The code is merged and will be part of the next release.

            Thanks again for bringing this up, this will for sure be useful for a lot of users.

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi PetrF , we decided to add support for passing JVM options to Camunda Run via environment variable JAVA_OPTS with 7.16. The code is merged and will be part of the next release. Thanks again for bringing this up, this will for sure be useful for a lot of users. Best, Tobias

              Unassigned Unassigned
              PetrF Petr Formanek
              Tobias Metzke-Bernstein Tobias Metzke-Bernstein
              Miklas Boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: