Hi, I have tried many different settings for me db.url now. I am still
getting this error.

Could it be a problem with my classpath? The java.lang.NoClassDefFoundError
makes me think it might be a classpath issue, but I don't know what could be
wrong. I have tried it with the CLASSPATH environment variable set to my
JAVA_HOME directory, and with it set to the dspace directory.. is that
right?

Regards,
Rebekah

On Thu, Jul 10, 2008 at 7:17 AM, Gagan mandayam <[EMAIL PROTECTED]>
wrote:

> Hi Rebekah
>
> Maybe ur DB values were not properly given; Try these::
>
> 1--db.driver = oracle.jdbc.driver.OracleDriver
> 2--db.url = jdbc:oracle:thin:@localhost:1521:xe
>     (your URL path had some missing stuff, like the colon after 'thin';
>  check this out carefully! in my case, 'xe' is the Oracle Express edition);
> Hope it woks then; All the best :-)
>
> Rebekah Burke wrote:
>
>> 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 <http://dspace.name> = Qualitative Data Archive
>>
>> ##### Database settings #####
>>
>> # Database name ("oracle", or "postgres")
>> #db.name <http://db.name> = ${default.db.name <http://default.db.name>}
>> #db.name <http://db.name> = postgres
>> db.name <http://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 <http://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
>>
>>
>
> *DISCLAIMER STATEMENT*
>
> " Save a tree..... don't print this email or any documents unless you
> really need to!!!!"
>
> *Confidentiality Warning : This e-mail and any files transmitted along with
> it are for the sole use of the intended recipient(s) and may contain
> confidential and privileged information. If you are not the intended
> recipient, you are hereby notified that any review, re-transmission,
> conversion to hard copy, copying, circulation or other use of this message
> and any attachments is strictly prohibited. If you are not the intended
> recipient, please notify the sender immediately by return e-mail, and
> destroy the original message along with all copies of the same and any
> attachments, from your system.
>
>
>
> Virus Warning:  Although the company has taken reasonable precautions to
> ensure no viruses are present in this email, the company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."*
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to