Wildfly 26 -> 31 ojdbc8 module

352 views
Skip to first unread message

D E

unread,
Apr 4, 2024, 7:24:43 PM4/4/24
to WildFly
We have an ojdbc8 wildfly module that we are moving from Wildfly 26 to 31:

<?xml version='1.0' encoding='UTF-8'?>
<module xmlns='urn:jboss:module:1.8' name='com.oracle.jdbc'>
  <dependencies>
    <module name='javax.api' />
    <module name='javax.transaction.api' />
  </dependencies>
  <resources>
    <resource-root path='ojdbc8-19.21.0.0.jar' />
  </resources>
</module>

For the dependencies, mapping, the following seems straightforward:

javax.transaction.api -> jakarta.transaction.api

However I'm not certain what should be done with javax.api or if it is even needed anymore


D E

unread,
Apr 8, 2024, 8:40:09 AM4/8/24
to WildFly

I did find this which answered my question:  https://docs.wildfly.org/31/Admin_Guide.html

# PostgreSQL driver module ./bin/jboss-cli.sh "embed-server, module add --name=org.postgresql --resources=/tmp/postgresql.jar \ --dependencies=java.se\,jakarta.transaction.api"
Reply all
Reply to author
Forward
0 new messages