Hi all,

I've searched and searched but cannot find a solution to my problem.

I am installing DSpace on Debian Linux with Tomcat 6. It's using an Oracle
11g server which is sitting on a seperate Solaris server.

I get this error when I run ant fresh_install for dspace:

Buildfile: build.xml

init_installation:

init_configs:

setup_database:
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/dspace/storage/rdbms/InitializeDatabase
     [java] Caused by: java.lang.ClassNotFoundException:
org.dspace.storage.rdbms.InitializeDatabase
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native
Method)
     [java]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)



It looks like the oracle jdbc driver is not being found..? I have put the
driver in my dspace folder, in a folder called lib (which I had to create as
there was no lib folder there initially..).

Here is an extract from the database section of my dspace.cfg file, maybe
there is something wrong here..?

# DSpace installation directory
dspace.dir =/usr/local/apache-tomcat-6.0.16/webapps/dspace

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# "/jspui" and set webapp of your choice as the "ROOT" webapp in
# the servlet engine.
dspace.url = http://10.209.3.21:8080/dspace

# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = http://10.209.3.21/

# Name of the site
dspace.name = Qualitative Data Archive

##### Database settings #####

# Database name ("oracle", or "postgres")
#db.name = ${default.db.name}
#db.name = postgres
db.name = oracle

# URL for connecting to database
#db.url = ${default.db.url}
#db.url = jdbc:postgresql://localhost:5432/dspace
db.url = jdbc:oracle:thin@//10.209.2.40/dspace

# JDBC Driver
#db.driver = ${default.db.driver}
#db.driver = org.postgresql.Driver
db.driver = oracle.jdbc.OracleDriver

# Database username and password
db.username = dspace
db.password = edited out for mailing list :)
#db.username = dspace
#db.password = dspace



Any help you could give would be greatly appreciated.
Thanks,
Rebekah
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to