LDAP password with special characters in JWS

Solution Verified - Updated -

Issue

  • Getting a fatal parse error:

    SEVERE org.apache.tomcat.util.digester.Digester.fatalErrororg.apache.tomcat.util.digester.Digester.fatalError Parse Fatal Error at line 112 column 276: The reference to entity "myPassword" must end with the ';' delimiter. org.xml.sax.SAXParseException; systemId: file:/opt/jws-3.1/tomcat8/conf/server.xml; lineNumber: 124; columnNumber: 322; The reference to entity "myPassword" must end with the ';' delimiter.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)  
    
  • In the server.conf the password has ampersand character &

Environment

  • Red Hat JBoss Web Server (JWS)
    • 3.1

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