Exception when connecting with shaded java driver in OSGI

Description

When using the shaded 3.0.0 java driver in Apache Karaf we get the following error when the driver is connecting to the cluster:

Something to note is that we did not have SSL enabled while connecting and also that this stopped working when going from versions 2.1.9 -> 3.0.0. There is a different netty version between the two, 4.0.27.Final and 4.0.33.Final.

The problem seems to be that in netty-common there is an OSGI package import for javax.security.cert which is not imported in the shaded java driver. The fix would be to add javax.security.cert to the import package of the shaded java driver. This problem will probably affect version 2.1 of the java driver as well, but there hasn't been a release with the newer netty version yet.

Environment

Shaded 3.0.0 java driver

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Marcus Olsson

Labels

PM Priority

None

Reproduced in

3.0.0

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Priority

Major
Configure