It has already gotten a fashion that the java update again gave us the most headache. While this time the TLS/SSL ciphers have not been changed (and thus didn’t cause issues), Oracle decided to improve the behavior of URL parsing and make it more secure (https://www.oracle.com/java/technologies/javase/8u331-relnotes.html; JDK-8278972). This made it impossible on two of our SOA environments to sign in into the Fusion Middleware Enterprise Manager on SOA Suite 12.2.1.4 environments. Somehow the ADF components tried to establish an ldap connection to ldap://[soacloudtest.intern.dns]:7001 which was not considered a valid IPV6 address:
<Apr 22, 2022 5:51:57,555 PM CEST> <Warning> <oracle.ods.virtualization.engine.backend.jndi.DefaultAuthenticator.BackendJNDI> <LIBOVD-40403> <Connect timeout not set, defaulting to 15000ms.>
<Apr 22, 2022 5:51:57,804 PM CEST> <Warning> <oracle.ods.virtualization.engine.backend.jndi.DefaultAuthenticator.BackendJNDI> <LIBOVD-40118> <Could not automatically detect binary attribute list: Malformed IPv6 address at index 8: ldap://[soacloudtest.intern.dns]:8001.>
<Apr 22, 2022 5:51:57,835 PM CEST> <Error> <oracle.help.web.rich.OHWFilter> <BEA-000000> <ADFSHARE-00120: Error encountered while creating the MDS Session. Application state will be reset. Please logout and log back in if problem persists.
oracle.adf.share.ADFShareException: ADFSHARE-00120: Error encountered while creating the MDS Session. Application state will be reset. Please logout and log back in if problem persists.
Wherever that square brackets were coming from in the URI I’ve so far not been able to analyze. At least changing the setDomainEnv.sh of the environment to include
JAVA_PROPERTIES="-Dcom.sun.jndi.ldapURLParsing=legacy ….”
did solve the issue and made it possible to finish the upgrade. Oracle is still investigating this, since it happened only on some of our customer environments (and e.g. only on SOA Suite, never on OAM/OID) I’m so far not sure what is wrong “under the hoods” that lead to that wrong URL being called.
Update: In the meantime Oracle released an official patch for this issue: EM Console Login Not Working After Installing JDK 1.8 331 (Doc ID 2864820.1)
However the above workaround might be helpful in other areas /custom applications as well that are not 100% properly coded so far.