Exception in thread "main" java.lang.RuntimeException: Cannot find dspace.cfg problem is now resolved ...
thinking I was being clever, I put a copy of dspace-api-1.5.2.jar in the jre/lib/ext/ dir ! = turns out this is a very bad idea = removed old jar, ant updated, Ran the test again: dsrun org.dspace.core.ConfigurationManager -property db.driver And all is working as expected now ... hope posting this saves anybody else just a little of their time if they run into the same exception. *jon.scott -----Original Message----- From: Scott, Jon [mailto:[email protected]] Sent: Thursday, May 14, 2009 3:26 PM To: [email protected] Subject: [Dspace-tech] Unable to complete upgrade - cannot find dspace.cfg ? Hello dspace-techs - everything was going great for our upgrade here at wsu until I tried to run index-init,etc., now I get the following (type of) error when I run any command out of [dspace]/bin/ : ============== Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: Cannot find dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav a:594) at org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja va:135) at org.dspace.search.DSIndexer.<clinit>(DSIndexer.java:143) -------------- Just to test, I ran the following : dsrun org.dspace.core.ConfigurationManager -property db.driver And got a similar result: Exception in thread "main" java.lang.RuntimeException: Cannot find dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav a:594) at org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja va:135) at org.dspace.core.ConfigurationManager.main(ConfigurationManager.java:805) --------------- Yarg - not sure what to do - have been trying any ideas I could find while googling but am stuck - any help/ideas from the experts would be greatly appreciated - jon.scott -------------------------------------------------------------------- Jon Scott - [email protected] IT Specialist 3 WSU Libraries Systems Washington State University Pullman, WA 99164-5610 Ph: 509.335.5713 -------------------------------------------------------------------- www.wsulibs.wsu.edu | www.systems.wsu.edu -------------------------------------------------------------------- ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

