I have inherited a custom plugin that creates a couple extra document types, with fields and widgets. It also defines a directory that attaches to a MySQL database that we use for some of those fields.
Using a clean nuxeo-tomcat-5.5-sdk install, I can log in as Administrator. As soon as I add the plugin and restart I can no longer log in as Administrator, and in the server log I see:
ERROR [org.nuxeo.ecm.platform.login.NuxeoLoginModule] org.nuxeo.ecm.directory.DirectoryException: no directory registered with name 'userDirectory'
I have found this 'userDirectory' is defined in nxserver/config/default-sql-directories-bundle.xml, and is still present there even when this error occurs. My plugin does supply a directories-contrib.xml, but my understanding is that these two should complement each other.
Any suggestions as to what I'm doing wrong are greatly appreciated.
Thanks