Unexpected character in the LDAP configuration for RHPAM 7

Solution Verified - Updated -

Issue

Running RHPAM 7.13.1 in OCP 4 with the following LDAP configuration:

spec:
auth:
 ldap:
   baseCtxDN: 'ou=People,dc=jbpm,dc=org'
   roleAttributeID: member
   bindDN: 'uid=admin,ou=People,dc=jbpm,dc=org'
   baseFilter: (uid={0})
   searchScope: SUBTREE_SCOPE
   roleFilter: '(&(objectClass=groupOfUniqueNames)(uniqueMember={1}))'
   url: 'ldap://localhost:10389'
   rolesCtxDN: 'ou=Roles,dc=jbpm,dc=org'
   loginModule: optional
   roleNameAttributeID: cn
   roleAttributeIsDN: true
 roleMapper:
   from:
     kind: ConfigMap
     name: rhpamcentr-roles-mapping
   rolesProperties: rhpamcentr-roles-mapping.properties

The error below appears and the pod can not start:

[0m [31m11:09:58,067 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller@15.0.15.Final-redhat-00001//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)
at org.jboss.as.server@15.0.15.Final-redhat-00001//org.jboss.as.server.ServerService.boot(ServerService.java:408)
at org.jboss.as.controller@15.0.15.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:447)
at java.base/java.lang.Thread.run(Thread.java:829)

[0m [31m11:09:58,069 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[0m [0m11:09:58,143 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.4.6.GA (WildFly Core 15.0.15.Final-redhat-00001) stopped in 71ms
[0mCannot start embedded server: WFLYEMB0021: Cannot start embedded process: JBTHR00005: Operation failed: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
/opt/eap/standalone/configuration/standalone-openshift.xml.bkp:280: parser error : Unescaped '<' not allowed in attributes values
e from="cn"                         to="Roles"                         filter="(
                                                                            ^
/opt/eap/standalone/configuration/standalone-openshift.xml.bkp:280: parser error : attributes construct error
e from="cn"                         to="Roles"                         filter="(
                                                                            ^
/opt/eap/standalone/configuration/standalone-openshift.xml.bkp:280: parser error : Couldn't find end of Start Tag attribute line 280
e from="cn"                         to="Roles"                         filter="(
                                                                            ^
Executing delayedpostconfigure.sh

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.13.1
  • Business Automation Operator
    • 7.13.1
  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content