Hi,
I’m trying to deploy Web Modeler in local development environment to make a proof of concept, but I receive an error when starting Web Modeler Rest API about the license. A development environment is supposed to allow 5 concurrent users without license, but this service doesn’t finish to start. I receive the following error:
{"timestamp":"2025-03-25T14:17:42.869Z","thread":"main","logger":"io.camunda.modeler.service.project.LicenseChecker","message":"CAMUNDA_LICENSE_KEY is not set","context":"default","severity":"INFO"}
This is the full log:
Full log
_ _ _
| | | | | |
__ _____| |__ _ __ ___ ___ __| | ___| | ___ _ __
\ \ /\ / / _ \ '_ \ | '_ ` _ \ / _ \ / _` |/ _ \ |/ _ \ '__|
\ V V / __/ |_) | | | | | | | (_) | (_| | __/ | __/ |
\_/\_/ \___|_.__/ |_| |_| |_|\___/ \__,_|\___|_|\___|_|
:: Spring Boot (v3.3.9) ::
{"timestamp":"2025-03-25T14:46:47.162Z","thread":"main","logger":"io.undertow.websockets.jsr","message":"UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used","context":"default","severity":"WARN"}
{"timestamp":"2025-03-25T14:46:47.463Z","thread":"main","logger":"io.undertow.servlet","message":"Initializing Spring embedded WebApplicationContext","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:53.661Z","thread":"main","logger":"com.zaxxer.hikari.HikariDataSource","message":"HikariPool-1 - Starting...","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:55.756Z","thread":"main","logger":"com.zaxxer.hikari.pool.HikariPool","message":"HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@3fe7c87c","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:55.758Z","thread":"main","logger":"com.zaxxer.hikari.HikariDataSource","message":"HikariPool-1 - Start completed.","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:56.156Z","thread":"main","logger":"org.flywaydb.core.FlywayExecutor","message":"Database: jdbc:postgresql://camunda-platform-identity-postgresql:5432/webmodeler (PostgreSQL 15.10)","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:57.166Z","thread":"main","logger":"org.flywaydb.core.internal.command.DbValidate","message":"Successfully validated 67 migrations (execution time 00:00.794s)","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:57.262Z","thread":"main","logger":"org.flywaydb.core.internal.command.DbMigrate","message":"Current version of schema \"public\": 20240916","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:57.359Z","thread":"main","logger":"org.flywaydb.core.internal.command.DbMigrate","message":"Schema \"public\" is up to date. No migration necessary.","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:58.863Z","thread":"main","logger":"org.hibernate.jpa.internal.util.LogHelper","message":"HHH000204: Processing PersistenceUnitInfo [name: default]","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:59.259Z","thread":"main","logger":"org.hibernate.Version","message":"HHH000412: Hibernate ORM core version 6.5.3.Final","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:46:59.567Z","thread":"main","logger":"org.hibernate.cache.internal.RegionFactoryInitiator","message":"HHH000026: Second-level cache disabled","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:47:20.969Z","thread":"main","logger":"org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator","message":"HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)","context":"default","severity":"INFO"}
{"timestamp":"2025-03-25T14:47:50.073Z","thread":"main","logger":"org.ehcache.core.EhcacheManager","message":"Cache 'tokenCache' created in EhcacheManager.","context":"default","severity":"INFO"}
This is the yaml file (only the relevant parts of it):
example.yaml (6.0 KB)
Be aware that the webModeler.restapi.externalDatabase.existingSecret key is being used as database password. I have not gotten deeper on this, but I found that this value was passed directly to env variables and it is not used as it is supposed to do.
Is anything wrong from my side?
Edit: This is the command line a use to install:
helm install camunda-platform camunda/camunda-platform -f values-10.1.1.yaml --version=11.2.2 -n camunda
Note: I use a larger values.yaml file, with Identity, Zeebe, Zeebe gateway, Keycloak and so on. All works fine but Web Modeler Rest API.
I also modified identity database to allow Web Modeler Rest API to create its own tables. This is done this way to preserve local resources.
Thanks,
Rodrigo