When I start uportal 2.6.0-GA, I have the following exception
ERROR [main] utils.SAXErrorHandler.[] août/22 15:08:03 - ResourceLoader.getResourceAsDocument(/properties/ldap.xml)
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
ldap.xml is a valid xml file
Uportal seems to want validate ldap.xml, but there is no DTD with this file.
It sound like
UP-1780
I have this exception with native uportal distribution, and only 2 files modifyed :
- personDirectory.xml : uncomment ldap access
- ldap.xml :
<?xml version="1.0"?>
<ldapConnections>
<connection default="true">
<name>Universite</name>
<host>ldap.univ-nancy2.fr</host>
<port>392</port>
<baseDN>ou=People,dc=univ-nancy2,dc=fr</baseDN>
<managerDN>cn=ssss,dc=univ-nancy2,dc=fr</managerDN>
<managerPW>xxx</managerPW>
<uidAttribute>uid</uidAttribute>
</connection>
</ldapConnections>
I have this problem with other xml file without DTD, as PAGSGroupStoreConfig.xml
portal.log in debug mode is join