On 8/31/07, Ted Fines <[EMAIL PROTECTED]> wrote: > Hi, > > I am setting up a new Roller test install and trying to get LDAP Auth > working. I am following the instructions at: > http://rollerweblogger.org/wiki/Wiki.jsp?page=LDAP_SSP_FAQ > > Here is my AUTHENTICATION section from server.xml, followed by the log > output when I restart Tomcat and try to access Roller with this > server.xmlin place. (I have replace the bind dn and pass with > "SECRET_DN" and > "SECRET_PASSWORD".) > > While I am an experienced LDAP programmer/admin, I am not a Java programmer > and don't really get what the error log is trying to tell me. > > ERROR 2007-08-31 06:23:50,843 StandardContext:filterStart - Exception > starting filter securityFilter > org.springframework.beans.factory.BeanDefinitionStoreException : Line 232 in > XML document from ServletContext resource [/WEB-INF/security.xml] is > invalid; nested exception is org.xml.sax.SAXParseException: The content of > element type "beans" must match "(description?,(import|alias|bean)*)". > org.xml.sax.SAXParseException: The content of element type "beans" must > match "(description?,(import|alias|bean)*)".
The error message is telling you that on line 232 of security.xml you have a <bean> element that does not have the correct contents. I can't spot the problem in the XML that you sent. Perhaps you could send the entire file or tell us precisely what changes you made to it? - Dave
