Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebLogic – configureSecurityStore.py throws StringIndexOutOfBoundsException and fails to initialize security store

Goemon PhamApr 23 2025

Hi everyone,

I'm trying to run configureSecurityStore.py using wlst.cmd to initialize the security store on my Oracle WebLogic domain.

However, it fails with the following errors in the log:

Apr 22, 2025 9:13:44 PM oracle.security.audit.Auditor init
WARNING: IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified.
Apr 22, 2025 9:13:44 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Apr 22, 2025 9:13:44 PM oracle.security.jps.internal.audit.AuditServiceImpl validateLogPossible
WARNING: No audit log directory is set. Cannot perform audit operations for component JPS.

Exception in thread "main" java.lang.RuntimeException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911)
at oracle.security.jps.internal.tools.configuration.ldap.ConfigurationArgument.getOutput(ConfigurationArgument.java:289)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.persist(LdapServiceEnabler.java:526)
...
Error: Failed to initialize security store.
Error: Join operation has failed.

My environment:

  • WebLogic version: 11g
  • OS: Windows 10
  • Domain already created using config wizard
Comments
Post Details
Added on Apr 23 2025
0 comments
85 views