Based on internal research I found that shared access mode does not currently support Oracle JDBC connector only in Single/Assigned access mode.
There is a feature request to include Oracle connector as part of the Lakehouse Federation. Once it is included, the shared access mode will support it without issues, at the moment it's unfortunately unsupported.