I have a spring boot application and am using camunda version 7.
when i try to run my app , it gets stuck on a line that seems to be related to Camunda configuration and never reaches the RUNNING state
i have enabled debug level logging for camunda.bpm logs and here is the log I am talking about:
2024-08-06 15:48:20 INFO org.camunda.bpm.spring.boot - STARTER-SB040 Setting up jobExecutor with corePoolSize=5, maxPoolSize:20
2024-08-06 15:48:20 INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'camundaTaskExecutor'
2024-08-06 15:48:20 INFO org.camunda.bpm.engine.cfg - ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJpaConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, camundaDeploymentConfiguration, failedJobConfiguration, eventPublisherPlugin]' activated on process engine 'default'
2024-08-06 15:48:20 DEBUG o.c.b.s.b.s.c.i.DefaultDeploymentConfiguration - resolving deployment resources for pattern classpath:/process/**/*.bpmn
2024-08-06 15:48:20 DEBUG o.c.b.s.b.s.c.i.DefaultDeploymentConfiguration - processing deployment resource class path resource [process/requestProcess.bpmn]
2024-08-06 15:48:20 DEBUG o.c.b.s.b.s.c.i.DefaultDeploymentConfiguration - added deployment resource class path resource [process/requestProcess.bpmn]
2024-08-06 15:48:20 INFO org.camunda.bpm.spring.boot - STARTER-SB021 Auto-Deploying resources: [class path resource [process/requestProcess.bpmn]]
2024-08-06 15:48:21 INFO o.c.b.s.b.s.e.EventPublisherPlugin - EVENTING-001: Initialized Camunda Spring Boot Eventing Engine Plugin.
2024-08-06 15:48:21 INFO o.c.b.s.b.s.e.EventPublisherPlugin - EVENTING-003: Task events will be published as Spring Events.
2024-08-06 15:48:21 INFO o.c.b.s.b.s.e.EventPublisherPlugin - EVENTING-005: Execution events will be published as Spring Events.
2024-08-06 15:48:21 INFO o.c.b.s.b.s.e.EventPublisherPlugin - EVENTING-007: History events will be published as Spring events.
2024-08-06 15:48:21 INFO org.camunda.feel.FeelEngine - Engine created. [value-mapper: CompositeValueMapper(List(org.camunda.feel.impl.JavaValueMapper@4b42972c)), function-provider: org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunctionTransformer@7858fc00, configuration: Configuration(false)]
2024-08-06 15:48:22 DEBUG org.camunda.bpm.engine.cfg - ENGINE-12004 Database product name Oracle
2024-08-06 15:48:22 DEBUG org.camunda.bpm.engine.cfg - ENGINE-12005 Database type oracle
2024-08-06 15:48:27 DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- SchemaOperationsProcessEngineBuild ----------------------
VERY IMPORTANT NOTE: this issue does not happen always and sometimes the app somehow runs , actually I have transferred my app to another VM and it runs with no problem!
the strange point is the two machines are almost the same as of the OS type and resources dedicated to them!
related properties in my application.yml:
camunda.bpm:
job-execution-enabled: true
history-level: FULL
auto-deployment-enabled: true
id-generator: strong
checkProcessDefinitions: true
deployment-resource-pattern: classpath:/process/**/*.bpmn
data-source:
type: com.zaxxer.hikari.HikariDataSource
schema-update: true
schema-name: activiti
jdbcUrl: jdbc:oracle:thin:@***
username: ***
password: ***