Hi All,
I have got the following error messages after upgrading my DSpace application
while I was doing step 10 -11 of
https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace
inside my dspace.cfg I have put DB Driver as follows like I was doing it with
DSpace 3.2 but on error message I can see it comes as one of things to worry
about :
db.driver = org.postgresql.Driver
any idea is much appreciated.
dspace@dspacetest:~/runtime$ ../install/dspace5.1/bin/dspace database info
Caught exception:
java.sql.SQLException: java.lang.ClassNotFoundException: db.driver =
org.postgresql.Driver
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
at
org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1440)
at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:83)
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:497)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by: java.lang.ClassNotFoundException: db.driver = org.postgresql.Driver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:41)
... 8 more
dspace@dspacetest:~/runtime$ ../install/dspace5.1/bin/dspace database migrate
Caught exception:
java.sql.SQLException: java.lang.ClassNotFoundException: db.driver =
org.postgresql.Driver
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
at
org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1440)
at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:83)
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:497)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by: java.lang.ClassNotFoundException: db.driver = org.postgresql.Driver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:41)
... 8 more
Regards,
Lewatle
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="width:100%;">
<tr>
<td align="left" style="text-align:justify;"><font face="arial,sans-serif"
size="1" color="#999999"><span style="font-size:11px;">This communication is
intended for the addressee only. It is confidential. If you have received this
communication in error, please notify us immediately and destroy the original
message. You may not copy or disseminate this communication without the
permission of the University. Only authorised signatories are competent to
enter into agreements on behalf of the University and recipients are thus
advised that the content of this message may not be legally binding on the
University and may contain the personal views and opinions of the author, which
are not necessarily the views and opinions of The University of the
Witwatersrand, Johannesburg. All agreements between the University and
outsiders are subject to South African Law unless the University agrees in
writing to the contrary. </span></font></td>
</tr>
</table
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette