On Thursday, April 5, 2018 at 9:19:41 AM UTC-4, Matt SOMEONE wrote:
>
> I had an old Dspace instance v3.8, and exported my communities and 
> collections to a location in SAF. 
> I have just built a new instance, version 6.2 with OpenJava 1.8, Maven 
> 3.5.0, Ant 1.9.6, Postgres 10.2 and Tomcat 8. The install went okay, 
> however, I am now trying to import the old collections and am getting an 
> error.
> I have only copied over the xmlui and solr folders into my tomcat/webapps 
> dir and renamed xmlui as ROOT. Tomcat and Dspace have all the access they 
> need to Tomcats dir and the /dspace dir. I can manually submit items into 
> my collections from the GUI, I cant upload metadata or zip from GUI.
> I have created all the metadata elements in the registry and matched them 
> up with the dublincore.xml file that I'm importing, they all match with no 
> typos..
>  
> The command I'm running as the dspace user is: 
> ./dspace import -a -e [dspaceadminemail] -c [collectionid in form 
> handle/number also tried that long key value thingy] -s 
> [mysource/import/blah] -m mapfile.map
>
> The error I get is:
>
> Started: 1522891999231
> Ended: 1522892000167
> Elapsed time: 0 secs (936 msecs)
> 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:138)
>         at 
> org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:297)
>         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)
>
>

Looking at the code, it appears that there may be more information in 
dspace.log, concerning a failure to connect to the database. 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to