Conversation:
Notices
-
this is owned by the proper user: [centos@ip-10-250-75-75 16:44:13 wildfly-19.0.0.Final]$ ls -la /opt/wildfly-19.0.0.Final/modules/com/mysql/main/mysql-connector-java.jar -rw-r--r-- 1 wildfly wildfly 883898 Jun 2 16:21 /opt/wildfly-19.0.0.Final/modules/com/mysql/main/mysql-connector-java.jar But it doesn't show up as a JDBC driver in the #wildfly #HAL. I did use a different pro…
-
so I think the driver may have shown up and I was looking under Data Sources, not Drivers.
Regardless, now I have three different mysql drivers. idk which one is right, so time to pick one :)
-
they all appear to be the same version...maybe they all work
-
the driver name is just the jar name. Why don't they just say that?
-
username and password correct...not sure why I can't connect to db
-
post is open via IP and localhost so that's not the issue...
-
I couldn't post the stacktrace here...too many char. Here's a link: https://joindiaspora.com/posts/18277830
-
lol: "As I was going through this task, I ran into the whole “there’s so much documentation, but none of it is working or makes sense” problem that’s so common with the JBoss Application Server. So, this post is designed to help out!"
-
@musicman You could use the pastebin at https://pointer.federati.net/
-
Dumb questions, as I've never used #Wildfly, but is that the usual location for a #JDBC driver? Could it be looking elsewhere?
Secondly, is there a Wildfly config file that has an option like JDBC driver path? (or full path of a desired JDBC driver)?
-
https://joindiaspora.com/posts/6dfd1d2087d80138be8a002590d8e506#3bd27e6087f10138bec2002590d8e506
Is the #MySQL #JDBC mysql-connector-j driver very different from the #MariaDB version? I would expect that they try to stay pretty close to upstream, so that their software is easily inserted in place of #Oracle MySQL.
-
in theory, HAL should be taking care of the location, as I uploaded it through a deployment. I suppose uninstalling the driver I installed via yum wouldn't hurt though.
-
that was my first assumption as well. I can diff the source, of course, but I suspect there will be lots of meaningless differences that I won't understand. It can't hurt to try though.
-
beware of typos in https://loadaverage.org/url/5940821 module != moduels
-
Did the Medium blog post solve your problem with Wildfly and the MySQL JDBC driver?
-
nope. I don't see how this is a 19.x vs 17.x issue, but maybe. I have the driver installed, but when I used the same document to create a datasource, the CLI says the datasource was created but it does not show up in HAL.
-
this is the one I ended up using, but it is against Wildfly 12, so again, might be part of the problem with HAL: https://www.techgalery.com/2019/09/add-mysql-driver-to-wildfly.html