[JAVA-2855] New mongo-srv schema doesn't work in OSGi environment Created: 08/May/18 Updated: 28/Oct/23 Resolved: 10/May/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection Management |
| Affects Version/s: | 3.6.3 |
| Fix Version/s: | 3.8.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tomek R?kawek | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When using the mongo-srv schema in OSGi environment, following exception is logged:
It's caused by the fact that the DnsResolver class uses types from the javax.naming package, but the package itself isn't listed in the Import-Package section of the manifest. |
| Comments |
| Comment by Githook User [ 10/May/18 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: The driver took a dependency on javax.naming and javax.naming.directory |
| Comment by Githook User [ 10/May/18 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: The driver took a dependency on javax.naming and javax.naming.directory |
| Comment by Jeffrey Yemin [ 10/May/18 ] |
|
How quickly do you need a fix for this? We can probably slip it into a 3.7.1 release, or otherwise wait for 3.8.0 in a couple of months. |