I've got the same error message with other drivers as well. So there seems to be a general problem related to the Web Console (3.2.1.Final).
But the drivers are created anyway although it is not displayed in the "JDBC Drivers" section.
This can be verified via boss-cli
This errors come up also when trying to create the Datasource. But here the Datasource is not created at all.
You may Download the source from GitHub - hal/console at master
The console is meanwhile on version 3.2.5 where the correction is apparently already applied.
So all you would have to do is compile and install the console as described at the bottom of that page.
You should also use JDK 8 and skip the tests eg
mvn clean install -Dts.skipTests=false
1 of 1 people found this helpful
Hello Carl Walker
I have been able to fix this issue for Wildfly 18 datasource. From the source files though, not from the console.
You have to create a directory : C:\wildfly-18.0.1.Final\modules\system\layers\base\org\postgresql\main
see below the content of module.xml file.
Then goto : C:\wildfly-18.0.1.Final\standalone\configuration
Use and editor (Notepad++) to standalone.xml, under the node <datasources><datasources/> you will see the default h2 there, you have to add your own.
<datasource jndi-name="java:/databasename" pool-name="databasename" enabled="true" statistics-enabled="true">
The last step is to add your driver details under the same node '<datasources><datasources/>'
Thanks, unfortunately the console is a requirement as operations staff needs a UI and can't bring down the app server to hand-edit XML.
You do not need to edit the xml file.
You can also add the datasource via jboss-cli while the server is up like
[standalone@localhost:9990 /] /subsystem=datasources/data-source=mysqltest1:add(jndi-name="java:jboss/datasources/mySQLTest1", driver-name=mysql,user-name=[username},password=[password},connection-url="jdbc:mysql://...")
Guys...the console is critical. We have training procedures (documentation, videos, screenshots) around this and I can't push staff to the command line either.
Then I'd suggest to download the source and upgrade the Console as described above.