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

initializeTelemetry property doesn't work in bpm-platform/standalone xml

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.14.0, 7.14.0-alpha4
    • 7.14.0-alpha3
    • None
    • None

      Scenario:
      Add initializeTelemetry engine configuration property to bpm-platform or standalone xml file.

      Expected behavior:
      The telemetry is initialized with the desired configuration.

      Observed behavior:
      An exception is thrown and the engine cannot start:

      17:17:34,719 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80) MSC000001: Failed to start service org.camunda.bpm.platform.process-engine.default: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.process-engine.default: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08039 Cannot set property 'initializeTelemetry' on instance of class 'org.camunda.bpm.container.impl.jboss.config.ManagedJtaProcessEngineConfiguration'
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$1.run(MscManagedProcessEngineController.java:101)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
              at java.lang.Thread.run(Thread.java:745)
              at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08039 Cannot set property 'initializeTelemetry' on instance of class 'org.camunda.bpm.container.impl.jboss.config.ManagedJtaProcessEngineConfiguration'
              at org.camunda.bpm.container.impl.ContainerIntegrationLogger.cannotSetValueForProperty(ContainerIntegrationLogger.java:285)
              at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperty(PropertyHelper.java:91)
              at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperties(PropertyHelper.java:110)
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController.startProcessEngine(MscManagedProcessEngineController.java:177)
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$2.run(MscManagedProcessEngineController.java:135)
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$2.run(MscManagedProcessEngineController.java:133)
              at org.camunda.bpm.container.impl.jboss.util.Tccl.runWithTccl(Tccl.java:54)
              at org.camunda.bpm.container.impl.jboss.util.Tccl.runUnderClassloader(Tccl.java:46)
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController.startInternal(MscManagedProcessEngineController.java:133)
              at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$1.run(MscManagedProcessEngineController.java:94)
              ... 8 more
      Caused by: java.lang.IllegalArgumentException: argument type mismatch
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperty(PropertyHelper.java:88)
              ... 16 more
      

      Workaround:

      Hint:
      With CAM-12377 the type of initilizeTelemetry process engine configuration was changed from `boolean` to `Boolean`.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: