removing H2 driver from wildfly 26.1.3

87 views
Skip to first unread message

Marik Shorin

unread,
Aug 7, 2024, 11:03:52 AM8/7/24
to WildFly
could be a replica, since i already posted this, but cant seem to find the new discussion, so im opening a new one:

I've been trying to remove the H2 driver + ExampleDS
even though I've been able to remove the H2 references from standalone-full.xml
or deleting the H2 jar file,
during pod startup, pod does not finalize properly, every time it throws a different error.
I've also tried installing Wildfly using Galleon CLI.
but with no good results.
here are some of the errors I've been encountering

using jboss-cli to remove H2 
"WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.h2"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.driver-demander.java:jboss/datasources/ExampleDS is missing [jboss.jdbc-driver.h2]",

removing the H2 jar file itself leads to:
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "org.wildfly.data-source.ExampleDS is missing [jboss.jdbc-driver.h2]",
        "jboss.driver-demander.java:jboss/datasources/ExampleDS is missing [jboss.jdbc-driver.h2]",
        "org.wildfly.data-source.ExampleDS is missing [jboss.jdbc-driver.h2]"
    ]

while using Galleon and removing the H2 layers from the wildfly installation, i get the following:
The following layers configured to be excluded from configuration [model=standalone name=standalone.xml] would not have otherwise been installed: h2-driver,h2-datasource,h2-default-datasource. Either remove the corresponding exclusions or add ignore-not-excluded-layers option

yet looking at standalone-full.xml i can still see references for h2 driver.
what am i missing here?

Reply all
Reply to author
Forward
0 new messages