-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DnsContextFactory not accessible in java 17 #25210
Comments
#22360 was supposed to help this, but maybe the package name was wrong or it has changed. |
Unfortunately this didn't help. I think it is because the namespace is different:
|
Sorry, I will start working on this. |
Hi @dominikrebhan. To help with this recreate, can you please give me a specific example of an attribute name I can use in this line? |
You can simply use any address. It won't go any further, it creates immediately the ffdc:
I tried this with the vanilla zip from the download page on a fresh windows vm. I just had to copy the java9.options to my local server jvm.options, because it seems this isn't loaded either. But this may be another issue or just some local error. It happened on macOS as well, but I think the DNS-issue is more relevant. |
@dominikrebhan Thanks for sending the messages.log file, that helped. I was getting the same DNS error and thought I was doing something wrong. However, I don't get the Looking at your
In mine, I have:
But when I switch to use the |
@dominikrebhan never mind, Jared figured out I was missing the
Then I get the same Thank you for taking your time to report this to us so we can make Open Liberty even better! |
@dominikrebhan I have merged the PR to get this fixed. I expect it to be in our next release. Thanks again for reporting it! |
Describe the bug
With Java 17 and Liberty trying to make a dns lookup fails. A ffdc is created with this message:
Steps to Reproduce
Expected behavior
Successful dns lookup
Diagnostic information:
Additional context
I think it is necessary to add this to the java9.options starting with java 17. This resolves my problem:
https://github.com/OpenLiberty/open-liberty/blob/integration/dev/com.ibm.ws.kernel.boot/publish/platform/java/java9.options
The text was updated successfully, but these errors were encountered: