Siteminder Adminui smjndisetup.sh not working "java.lang.IllegalArgumentException: Illegal character in scheme name at index 0"
search cancel

Siteminder Adminui smjndisetup.sh not working "java.lang.IllegalArgumentException: Illegal character in scheme name at index 0"

book

Article ID: 398946

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

Attempting to use the smjndisetup.sh to update the External Store Admin's password resulting in below Exception 

java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: x.x.x.x:xxx
        at java.net.URI.create(URI.java:852)
        at com.sun.jndi.ldap.LdapURL.validateURI(LdapURL.java:216)
        at com.sun.jndi.ldap.LdapURL.fromList(LdapURL.java:193)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:76)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:695)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
        at javax.naming.InitialContext.init(InitialContext.java:244)
        at javax.naming.InitialContext.<init>(InitialContext.java:216)
        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
        at com.ca.commons.jndi.JNDIOps.openContext(JNDIOps.java:777)
        at com.ca.siteminder.webadmin.configuration.LDAPUtilities.testConnection(LDAPUtilities.java:65)
        at com.ca.siteminder.tools.jndisetup.JNDISetup.resetPassword(JNDISetup.java:527)
        at com.ca.siteminder.tools.jndisetup.JNDISetup.main(JNDISetup.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.ca.siteminder.tools.launcher.Main.run(Main.java:262)
        at com.ca.siteminder.tools.launcher.Main.main(Main.java:195)
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: x.x.x.x:xxx
        at java.net.URI$Parser.fail(URI.java:2847)
        at java.net.URI$Parser.checkChars(URI.java:3020)
        at java.net.URI$Parser.checkChar(URI.java:3030)
        at java.net.URI$Parser.parse(URI.java:3046)
        at java.net.URI.<init>(URI.java:588)
        at java.net.URI.create(URI.java:850)
        ... 18 more

 

Environment

All supported Siteminder releases 12.7 , 12.8 SP8 CR01 and 12.9 

Cause

This is caused by a Defect with the smjndisetup.sh

Resolution

Please open a case with Broadcom Support to get the updated "webadmin-configuration.jar" based on the version you are running on  to note that this Defect will be addressed officially in 12.9 SP1 release.

The Fix to be applied following the below steps:

**** Step 1 --> copy the provided "webadmin-configuration.jar"  to    --> /CA/siteminder/adminui/standalone/deployments/iam_siteminder.ear/user_console.war/WEB-INF/lib

**** Step 2 --> copy the following two jars (bc-fips.jar & bcpkix-fips-1.0.0.jar) as follows 
 
  * copy adminui_home/standalone/deployments/iam_siteminder.ear/library/bcpkix-fips-1.0.1.jar    to  adminui_home/runtime/jre/lib/ext

  * copy adminui_home/standalone/deployments/iam_siteminder.ear/library/bc-fips.jar                    to  adminui_home/runtime/jre/lib/ext
  
Confirm that bcpkix-fips-1.0.1.jar and bc-fips.jar are now exist under adminui_home/runtime/jre/lib/ext and the permission on it is set as the other lib under this location 


2) Run smjndisetup.bat --reset-password.
3) Provide the new Admin user password in the command line
4) Password change should succeed.
5) start the Adminui and Check the login