[Dspace-tech] Migrating DSpace from Fedora to Ubuntu

0 views
Skip to first unread message

amutsikiwa

unread,
Aug 25, 2015, 4:54:44 PM8/25/15
to dspac...@lists.sourceforge.net

Hi

I have an instance of dspace 1.7.2 runing on  Fedora 8 using JDK  6U26. I now want to have  the same instance running on my laptop which is running Ubuntu 10.10 but using the same java version from Oracle Java. I followed the instruction for updating a dspace instance. When I run the command  for Generate Browse and Search Indexes, Iam getting the following error message:

 

 

Started: 1308909872821

Ended: 1308909872857

Elapsed time: 0 secs (36 msecs)

Exception: java.lang.ClassNotFoundException:

java.sql.SQLException: java.lang.ClassNotFoundException:

        at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:149)

        at org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1513)

        at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:585)

        at org.dspace.core.Context.<init>(Context.java:95)

        at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:624)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

Caused by: java.lang.ClassNotFoundException:

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:169)

        at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:38)

 

Any pointers?

 

Regards,

Admire Mutsikiwa

University of Zimbabwe

 

 

Reply all
Reply to author
Forward
0 new messages