tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject Re: XML parser issue while defining a Realm
Date Wed, 21 Feb 2007 15:06:27 GMT

1) This is not an ldap or filter error, this is an xml wellformness
error. That mean tomcat can not parse your xml file
2) You say you can cut and paste it inside and ldap browser and it work?
Are you sure it is "&amp;" that is inside your search rule? I mean your
ldap browser most probably do not parse xml entities, and as such, you
must probably feed it with '&' instead of '&amp;' So check you have
correctly, in your xml, all '&' replaces by '&amp;'
3) Send us you xml file as attachement if it still does not work :)

En l'instant précis du 02/21/07 14:43, Serlet Jean-Claude s'exprimait en
ces termes:
> Hello
> My environment :
> Windows 2003 server
> Tomcat 5.5.12
> What i tried :
> userSearch="(&amp;(uid={0})(|(dncomp=ou=Oneorgunit)(dencomp=ou=AnOtherOU)))"
> while defining a Realm using an LDAP directory
> I gave a xml parser error when i started the Tomcat Instance :
> org.xml.sax.SAXParseException: The entity name must immediately follow the
> '&' in the entity reference.
> When i use this filter through an LDAP browser (replacing {0} with a valid
> uid) that works well
> Thanks
> Jean-Claude

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message