Skip to content

OF-2793: Bundle an Oracle database driver#2673

Merged
Fishbowler merged 1 commit intoigniterealtime:mainfrom
guusdk:OF-2793_Oracle-Database-Driver-inclusion
Feb 7, 2025
Merged

OF-2793: Bundle an Oracle database driver#2673
Fishbowler merged 1 commit intoigniterealtime:mainfrom
guusdk:OF-2793_Oracle-Database-Driver-inclusion

Conversation

@guusdk
Copy link
Copy Markdown
Member

@guusdk guusdk commented Feb 6, 2025

Given changes in the Oracle license, we can now bundle their database drivers with Openfire. The changes in this commit do just that.

I've opted to use ojdbc11-production rather than ojdbc17-production as the latter is documented to be compatible with Jakarta. We do not use Jakarta. ojdbc11 has been documented to be compatible with Java 17 and 21, which should be good enough for us for now.

Jetty's JSP compiler plugin is not happy with the standard Oracle dependencies. It fails on expecting but not finding oracle.i18n.util.LocaleMapper. The internet suggests that this is caused by Oracle's xmlparserv2 dependency. Excluding that 'fixes' the problem. I'm not sure what functionality this affects.

As a side-effect, the lib folder of a distribution now contains an unneeded POM file. I can't find an easy way to exclude that.

Given changes in the Oracle license, we can now bundle their database drivers with Openfire. The changes in this commit do just that.

I've opted to use ojdbc11-production rather than ojdbc17-production as the latter is documented to be compatible with Jakarta. We do not use Jakarta. ojdbc11 has been documented to be compatible with Java 17 and 21, which should be good enough for us for now.

Jetty's JSP compiler plugin is not happy with the standard Oracle dependencies. It fails on expecting but not finding oracle.i18n.util.LocaleMapper. The internet suggests that this is caused by Oracle's xmlparserv2 dependency. Excluding that 'fixes' the problem. I'm not sure what functionality this affects.

As a side-effect, the `lib` folder of a distribution now contains an unneeded POM file. I can't find an easy way to exclude that.
@Fishbowler Fishbowler merged commit 8c2164f into igniterealtime:main Feb 7, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants