search cancel

Issue with logging in with LDAP after upgrading to jdk-11.0.16

book

Article ID: 252941

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After upgrading Java to JDK 11.0.16, an Access Denied error message is returned when logging in to AWI:

Logon error: Access denied

The WP logs show the space between the LDAPS server names

U00045033 Log on to LDAP server 'server1.domain.com:636;  server2.domain.com:636' with user 'DEPARTMENT\USERNAME'.
          Unhandled Exception in thread MQWorker-1 ID=41

Environment

Release : 12.3.x and 21.0.x

Cause

There was a space between the LDAP server names in the UC_LDAP file. 

Resolution

Manually type in the server names, making sure there are no blank spaces.
Do not copy/paste the server names from another file as this could add unintentional coding from the application the information is copied from.

Before -  server1.domain.com:636;  server2.domain.com:636
After    -  server1.domain.com:636;server2.domain.com:636

 

Additional Information

Even with the space between the server information, when rolling back the Java version to 11.0.13, the login was successful. 
The WP logs show the space between the server names

U00045033 Log on to LDAP server 'server1.domain.com:636;  server2.domain.com:636' with user 'DEPARTMENT\USERNAME'.
          Unhandled Exception in thread MQWorker-1 ID=41
U00045014 Exception 'java.lang.IllegalArgumentException: "Expected authority at index 8: ldaps://"' at 'java.net.URI.create():883'.
U00045015 The previous error was caused by 'java.net.URISyntaxException: "Expected authority at index 8: ldaps://"' at 'java.net.URI$Parser.fail():2913'.
U00003620 Routine 'com.automic.kernel.impl.DefaultExceptionHandler' forces trace because of error.
U00003450 The TRACE file was opened with the switches '0000000000000000'.
U00003449 Output to the TRACE file is finished.

The trace log will also show the index 8: ldaps:// error message:

               ----------------------- Stack Trace -----------------------
               java.lang.IllegalArgumentException: Expected authority at index 8: ldaps://
                at java.base/java.net.URI.create(URI.java:883)
                at java.naming/com.sun.jndi.ldap.LdapURL.validateURI(LdapURL.java:216)
                at java.naming/com.sun.jndi.ldap.LdapURL.fromList(LdapURL.java:193)
                at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:107)

Attachments