Mendix docker run StringIndexOutOfBoundsException at HsqldbDataStoreConfigurator

0
Hello everyone, I’m trying to run my mendix docker image using built-in (hsqldb) database, but now I’m stuck at StringIndexOutOfBoundsException somehere in HsqldbDataStoreConfigurator, see stacktrace below. Will appreciate any help. INFO: Started Mendix Cloud Foundry Buildpack v4.3.3 [commit:Git_Com] WARNING: CF_INSTANCE_INDEX environment variable not found. Assuming responsibility for scheduled events execution and database synchronization commands. WARNING: External file store not configured, uploaded files in the app will not persist across restarts. See https://github.com/mendix/cf-mendix-buildpack for file store configuration details. INFO: Using Java version: INFO: openjdk version "11.0.3" 2019-04-16 INFO: OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7) INFO: OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3+7, mixed mode) INFO: Trying to start the MxRuntime... ERROR: Unable to fixup permissions of directory 'model' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/model', Ignoring. ERROR: Unable to fixup permissions of directory 'web' with mode 755: [Errno 1] Operation not permitted: '/opt/mendix/build/web', Ignoring. ERROR: Unable to fixup permissions of directory 'data' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/data', Ignoring. INFO - Logging: Logging to file: /opt/mendix/build/log/out.log, max size: 1099511627776KiB, max rotation: 10 INFO - Core: Mendix Runtime 8.9.0.5487 (build 5487). Copyright © 2003-2020 Mendix bv. All rights reserved. INFO - M2EE: Setting MaxFormContentSize for Runtime Server to 10485760 INFO - Services: Adding 0 authority certificate(s) ERROR - M2EE: An error occurred while initializing the Runtime: begin 12, end -1, length 20 ERROR - M2EE: com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: begin 12, end -1, length 20 at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:424) Caused by: java.lang.StringIndexOutOfBoundsException: begin 12, end -1, length 20 at java.base/java.lang.String.checkBoundsBeginEnd(Unknown Source) at java.base/java.lang.String.substring(Unknown Source) at com.mendix.connectionbus.connections.jdbc.implementations.hsqldb.HsqldbDataStoreConfigurator.shouldStayAlive(HsqldbDataStoreConfigurator.java:99) at com.mendix.connectionbus.connections.jdbc.implementations.hsqldb.HsqldbDataStoreConfigurator.createDefaultDataSource(HsqldbDataStoreConfigurator.java:85) at com.mendix.connectionbus.connections.jdbc.implementations.hsqldb.HsqldbDataStoreConfigurator.createDataSource(HsqldbDataStoreConfigurator.java:105) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreConfigurator.initialize(JdbcDataStoreConfigurator.java:65) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.<init>(ConnectionManager.java:29) ... launching my app using these params: docker run --name mendix-prototypes-atlasuimodule -d -p 8181:8080 -v mendix-prototypes-atlasuimodule_data_files:/opt/mendix/build/data -e ADMIN_PASSWORD=admin123 -e MXRUNTIME_DatabaseType=HSQLDB -e MXRUNTIME_DatabaseJdbcUrl="hsqldb:file:mendixdb" -e MXRUNTIME_DatabaseUserName=SA -e MXRUNTIME_DatabasePassword= mendix-prototypes/atlasuimodule:latest  
asked
1 answers
1

According to the documentation found here, the HSQL database is not supported:

 

Current limitations

  • PostgreSQL and SQLSERVER database supported
  • This setup will use a trial license for your application by default
answered