Hi,
I've copied the oracle ojdbc14.zip driver into
D:\dspace-source\lib and added that to my PATH
environment variable on a Windows machine.
Looking into the file it does contain OracleDriver.class.
I've changed dspace.cfg to refer to Oracle (a local 10g test DB
which I've stopped - although results are the same if it's started)
and changed its references to /dspace into D:/dspace
Now ant fresh_install starts but fails on initializing DB pool step.
This usually seems to mean the driver can't be found but I think
it is being found in this case as, if I remove it, the error message
becomes 'a suitable driver cannot be found'.
Any thoughts on what the problem might be?
Donal.
=========================================================
D:\dspace-source>ant fresh_install
Buildfile: build.xml
compile:
install_code:
build_wars:
init_configs:
setup_database:
[java] 2005-08-10 10:33:25,318 INFO
org.dspace.storage.rdbms.InitializeDat
abase @ Initializing Database
[java] 2005-08-10 10:33:25,365 WARN
org.dspace.storage.rdbms.DatabaseManag
er @ Exception initializing DB pool
[java] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[java] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[java] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:141)
[java] at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseM
anager.java:1288)
[java] at
org.dspace.storage.rdbms.DatabaseManager.getConnection(Databa
seManager.java:444)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseMana
ger.java:777)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDa
tabase.java:71)
[java] 2005-08-10 10:33:25,365 FATAL
org.dspace.storage.rdbms.InitializeDat
abase @ Caught exception:
[java] java.sql.SQLException: java.lang.ClassNotFoundException:
oracle.jdbc
.OracleDriver
[java] at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseM
anager.java:1383)
[java] at
org.dspace.storage.rdbms.DatabaseManager.getConnection(Databa
seManager.java:444)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseMana
ger.java:777)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDa
tabase.java:71)
BUILD FAILED
D:\dspace-source\build.xml:266: Java returned: 1
Donal Lyons,
Information System Services,
Trinity College,
Dublin 2,
Ireland.
Tel:
+353 1 608 1754
********************************************
Privileged, confidential and/or copyright
information may be contained in this e-mail.
This e-mail is for the use only of the
intended addressee. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you may not copy,
forward, disclose or otherwise use it or any part of it in any way
whatsoever.
To do so is prohibited and may be unlawful.
If you receive this e-mail by mistake please advise the sender immediately
by using the reply facility in your e-mail software.
********************************************
Please note that electronic mail to, from or within the College, may be the
subject of a request under the Freedom of Information Act, 1997.
********************************************
DISCLAIMER: The contents of this mail are
solely the opinions of the author. They do not represent or are intended
to represent in any way, shape or form those of Trinity College, Dublin.
********************************************