Bug 166018 - DriverManager service does not handle passive registration
Summary: DriverManager service does not handle passive registration
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 07:34 UTC by prrvchr
Modified: 2025-07-14 19:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prrvchr 2025-04-03 07:34:04 UTC
Description:
I try to use passive registration in my extensions and I confirm that the css.sdbc.DriverManger service cannot see or load drivers declared in passive mode.

I have two extensions that differ only in the registration mode, i.e., the files:

- package.components
- META-INF/manifest.xml

And in passive mode, the connection pool (i.e., Tools -> Options -> LibreOffice Base -> Connection) does not see the passive driver.

- jdbcDriverOOo in passive registration: https://github.com/prrvchr/jdbcDriverOOo/blob/passive-registration/source/jdbcDriverOOo/jdbcDriverOOo.oxt
- jdbcDriverOOo in active registration: https://github.com/prrvchr/jdbcDriverOOo/blob/active-registration/source/jdbcDriverOOo/jdbcDriverOOo.oxt





Steps to Reproduce:
1. Install jdbcDriverOOo in passive registration mode.
2. Go to Tools -> Options -> LibreOffice Base -> Connection.
3. You dont see the jdbcDriverOOo driver

Actual Results:
After installing the extension you dont see the jdbcDriverOOo driver in the connection pool.

Expected Results:
After installing the extension you see the jdbcDriverOOo driver in the connection pool.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
no