Hi,
I had a similar problem when I tested 1.4 --> 1.5,
The problem was in the configuration file dspace.cfg
Check the values for:
${default.db.name}
${default.db.url}
${default.db.driver}
${default.db.username}
${default.db.password}

I hope this helps.

Hamish Brett wrote:
> Hi
>
> I am upgrading to 1.5 from 1.4.1 when I rebuild the browse and search
> indexes eith
>
> $index-init
>
> I receive the following error
>
> Exception in thread "main" java.sql.SQLException:
> java.lang.ClassNotFoundException:
>         at
> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
>         at
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
>         at org.dspace.core.Context.<init>(Context.java:117)
>         at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:617)
> Exception in thread "main" java.sql.SQLException:
> java.lang.ClassNotFoundException:
>         at
> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
>         at
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
>         at org.dspace.core.Context.<init>(Context.java:117)
>         at org.dspace.browse.ItemCounter.main(ItemCounter.java:83)
> Creating search index
> Exception in thread "main" java.sql.SQLException:
> java.lang.ClassNotFoundException:
>         at
> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
>         at
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
>         at org.dspace.core.Context.<init>(Context.java:117)
>         at org.dspace.search.DSIndexer.main(DSIndexer.java:467)
> [EMAIL PROTECTED]:~$ locate DatabaseManager.java
>
> My classpath is
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib:/dspace/lib
>
> Any ideas
>
> Thanks
>
> Hamish
>
>
>
>
> IMPORTANT: This email remains the property of the Australian Defence 
> Organisation and is subject to the jurisdiction of section 70 of the CRIMES 
> ACT 1914.  If you have received this email in error, you are requested to 
> contact the sender and delete the email.
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to