I am working on installing the dspace 6.1 src release. I am on Suse 12.2. I have followed the installation instructions carefully, followed the ideas in this post, and cleaned-reinstalled-retried the create-administrator script and the user script numerous times yesterday and today. I always get the same error:
dspace@mycomputer:~/dspace_install> bin/dspace create-administrator
Exception: The schema validator returned: Unable to create requested
service [org.hibernate.engine.spi.CacheImplementor]
org.dspace.core.exception.DatabaseSchemaValidationException: The
schema validator returned: Unable to create requested service
[org.hibernate.engine.spi.CacheImplementor]
at org.dspace.core.Context.init(Context.java:170)
at org.dspace.core.Context.<init>(Context.java:126)
at org.dspace.administer.CreateAdministrator.<init>
(CreateAdministrator.java:101)
at (org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
I have not found this error anywhere online. The closest is that posting from 2015 above. My database did not have default entries in the epersongroup table, so I added the entries suggested the post above (add 'Anonymous' and 'Administrator' groups). Still I am getting the same error.
I would be grateful for any help!
I just spoke with my colleague, who found the real problem. We installed 2 instances of Dspace on the same server, and he found the setting for the hibernate ehcache (hibernate-ehcache-config.xml) in the [dspace-src]/dspace/config directory. This was referenced in the exception message I posted in my question above. There is a warning in hibernate-ehcache-config.xml that when you have more than one instance of dspace on the same server, you need separate diskStore folders for the hibernate ehcache. I created a separate one for my Dspace instance, then reversed my setting for dspace.hostname in the local.cfg file so it shows the server domain name, and everything works, the server, and create-administrator on the command line.