Hi I had an error due to duplicate root nodes. To over come this I deleted the lucene indexes and rebooted the server. I have however lost the admin user. How would I recover this user, where is it defined?
This would happen quite a bit when running different configuration settings against the same database, i.e. putting the file-based data in different locations but using the same database. In 1.4, we have put checks in place to catch this and so prevent the duplicate issue.
You'll need to configure the index rebuilding beans and then restart the server. How this is done depends on your server version. Once the indexes are rebuilt, you can disable them and restart.
Upgrading to at least 1.4 would help prevent this. Also, overriding your configurations to point to a common config area is a good idea. See the WIKI for more details.