Hi Miguel
 
One thing i can suggest u for
"[java] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver "  is that put the .jar file for driver under

[dspace-1.5.2-src-release]\dspace\lib directory and try again..

Hope this could be helpful
 
Best Regards
Hardik Mishra
Jr. Software Engineer
WebInito Technologies - Ahmedabad - Gujarat (India).
Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime.



From: Miguel A. Robledo <marobledo@santafe.gov.ar>
To: dspace-tech@lists.sourceforge.net; "dspace-general@mit.edu" <dspace-general@mit.edu>
Sent: Wednesday, June 24, 2009 8:24:33 PM
Subject: [Dspace-general] Problem with ojdbc

Hi,

I am installing Dspace 1.5.2 with Oracle-xe 10 data base, but i receive the follow message error when i executed "ant fresh_install":

     [java] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

I put the next line in dspace.cfg:
 db.driver = oracle.jdbc.OracleDriver

I download the ojdbc14.jar but when execute  "mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle \ -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -DgeneratePom=true" i receive :

---------------------------------------------------
constituent[0]: file:/usr/share/maven2/lib/commons-cli.jar
constituent[1]: file:/usr/share/maven2/lib/plexus-interactivity-api.jar
constituent[2]: file:/usr/share/maven2/lib/wagon-http-shared.jar
constituent[3]: file:/usr/share/maven2/lib/wagon-file.jar
constituent[4]: file:/usr/share/maven2/lib/wagon-ssh-external.jar
constituent[5]: file:/usr/share/maven2/lib/xml-apis.jar
constituent[6]: file:/usr/share/maven2/lib/jtidy.jar
constituent[7]: file:/usr/share/maven2/lib/wagon-http-lightweight.jar
constituent[8]: file:/usr/share/maven2/lib/wagon-ssh.jar
constituent[9]: file:/usr/share/maven2/lib/wagon-provider-api.jar
constituent[10]: file:/usr/share/maven2/lib/doxia-sink-api.jar
constituent[11]: file:/usr/share/maven2/lib/plexus-container-default.jar
constituent[12]: file:/usr/share/maven2/lib/maven2.jar
constituent[13]: file:/usr/share/maven2/lib/wagon-ssh-common.jar
constituent[14]: file:/usr/share/maven2/lib/jsch.jar
constituent[15]: file:/usr/share/maven2/lib/plexus-utils.jar
---------------------------------------------------
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:146)
    at java.lang.StringBuffer.setLength(StringBuffer.java:154)
    at org.apache.maven.cli.MavenCli$CLIManager.cleanArgs(MavenCli.java:824)
    at org.apache.maven.cli.MavenCli$CLIManager.parse(MavenCli.java:777)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:103)
    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:585)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


Thanks