Forgerock AM configuration issue on Windows

Hi,

Seeing the following issue while configuring AM with external Forgerock Directory server. Any help is appreaciated.

Registering service amAuthJDBC.xml
…Success.
Registering service amAuthLDAP.xml
AMSetupServlet.processRequest: error java.lang.IllegalArgumentException: Illegal group reference
at java.base/java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1067)
at java.base/java.util.regex.Matcher.appendReplacement(Matcher.java:997)
at java.base/java.util.regex.Matcher.replaceAll(Matcher.java:1181)
at java.base/java.lang.String.replaceAll(String.java:2946)
at org.forgerock.openam.core.placeholder.PlaceholderAnnotationUtils.insertDefaultValueIntoPlaceholder(PlaceholderAnnotationUtils.java:38)
at com.sun.identity.sm.CreateServiceConfig.attributeValuesFromXmlNode(CreateServiceConfig.java:570)
at com.sun.identity.sm.CreateServiceConfig.getAttributeValuePairs(CreateServiceConfig.java:533)
at com.sun.identity.sm.CreateServiceConfig.getAttributeValuePairs(CreateServiceConfig.java:519)
at com.sun.identity.sm.CreateServiceConfig.createSubConfig(CreateServiceConfig.java:269)
at com.sun.identity.sm.CreateServiceConfig.createService(CreateServiceConfig.java:207)
at com.sun.identity.sm.ServiceManager.registerService(ServiceManager.java:487)
at com.sun.identity.sm.ServiceManager.registerServices(ServiceManager.java:388)
at com.sun.identity.sm.ServiceManager.registerServices(ServiceManager.java:366)
at com.sun.identity.setup.RegisterServices.registerService(RegisterServices.java:184)
at com.sun.identity.setup.RegisterServices.registers(RegisterServices.java:135)
at com.sun.identity.setup.AMSetupServlet.configure(AMSetupServlet.java:920)

Hi @kavim

Did you possibly use a $ in any of your values when configuring the user store? Perhaps in the password for your admin user? The java.lang.IllegalArgumentException: Illegal group reference error can occur when using the replaceAll method with a value containing a $.