Try to create a new install of Moqui from the instructions I gave. That’s not enough information to actually figure out why Moqui can’t connect to h2.
Here are the steps I have to configure the moqui framework
-
cloning moqui-framework from github:
git clone GitHub - moqui/moqui-framework: Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration. moqui
cd moqui -
Download runtime :
./gradlew getRuntime -
add to addons.xml
-
Download the Olbius component:
./gradlew getComponent -Pcomponent=moqui_vi_VN -
./gradlew downloadElasticSearch
-
./gradlew load
=> ERROR main .moqui.i.e.EntityDatasourceFactoryImpl Error connecting to DataSource transactional (h2), try 4 of 5: java.lang.ExceptionInInitializerError: Exception bitronix.tm.internal.BitronixRuntimeException: error initializing JdbcProxyFactory [in thread “main”]
@Winterv93 Please create a new post to respond to this message
Make sure you have
java -version
openjdk version "11.0.16.1" 2022-08-12
...
Maybe between step 5 and 6 do a ./gradlew build
What operating system are you on?
Thank you very much. I installed it