Hello all, In case it's any help to anyone, I managed to get around the latter issue using the guidance in this thread:
http://article.gmane.org/gmane.comp.cms.fedora-commons.devel/1022 I added the Debian 6 default class files directory ('/usr/share/java') to the class path parameter ('-cp') in line 59 of $FEDORA_HOME/server/bin/env-server.sh. This got around the dbcp issue, but I now find that when I attempt to rebuild my SQL tables, fedora-rebuild.sh hangs completely after printing "Cleaning up table: pidGen". I have to 'kill -9' the process after leaving it for ten or twenty minutes, as it doesn't seem to be doing anything or writing to the database. The last log message in $FEDORA_HOME/server/logs/fedora-rebuild.log is: > INFO 2010-10-06 11:01:12.532 [main] (Server) Initializing > org.fcrepo.server.messaging.MessagingModule Agggh! Any assistance appreciated. Regards, Graeme On 5 Oct 2010, at 10:41, West, Graeme wrote: > Hello all, > I've had to migrate a Fedora repository to new storage (using Rsync to copy > the files, but their eventual paths look the same to Fedora because of a > symlink). Having re-started Tomcat, I got the following error: > >> Fedora startup failed >> org.fcrepo.server.errors.ModuleInitializationException: Could not create >> Transport. Reason: java.io.FileNotFoundException: >> /usr/local/fedora/data/activemq-data/localhost/lock (Permission denied) > > > This lock file was indeed in the specified location, so I tried deleting it, > which had no effect. > > I then ran fedora-rebuild.sh, but found that no matter what I did, the > following error resulted: >> Error: A connection pool could not be instantiated. The underlying error was >> a java.lang.NoClassDefFoundErrorThe message was >> "org/apache/commons/dbcp/BasicDataSourceFactory". > > > It's strange because everything is in place as it was before, running under > Tomcat 6, including my dbcp class file. > > It'd be great if anyone could shed light on these errors. Also, when doing a > rebuild and restore, is it safe to delete the $FEDORA_HOME/data/activemq-data > directory - and will Fedora automatically rebuild this? > > Thanks, > > Graeme > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009 > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > Email has been scanned for viruses by Altman Technologies' email management > service - www.altman.co.uk/emailsystems Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users