Hi David, you do not use the right id. For id you may use the collection id or the handle. I suppose the collection with the handle 2316/114 does not have the collection id 114.
Try this: [yourDSpaceInstall]/bin/dsrun org.dspace.app.itemexport.ItemExport -t=COLLECTION -i=2316/114 -d=/home/dspace/e-archivo-byd/ -n=1 hope that helps Claudia Jürgen David Rodríguez Mateos schrieb: > Hello, > > We have a DSpace 1.4.2 e-archive. > > We are trying to export a complete collection with dsrun, but... it does > not work. A message "Error, collection cannot be found:" appears as only > answer. The sentence used and the answer were: > >> [EMAIL PROTECTED]:/usr/local/dspace/bin# ./dsrun >> org.dspace.app.itemexport.ItemExport --type=COLLECTION --id=114 >> --dest=/home/dspace/e-archivo-byd/ --number=1 >> log4j:ERROR Failed to excute sql >> java.sql.SQLException: No suitable driver >> at java.sql.DriverManager.getConnection(DriverManager.java:545) >> at java.sql.DriverManager.getConnection(DriverManager.java:171) >> at >> org.apache.log4j.jdbc.JDBCAppender.getConnection(JDBCAppender.java:212) >> at >> org.apache.log4j.jdbc.JDBCAppender.execute(JDBCAppender.java:175) >> at >> org.apache.log4j.jdbc.JDBCAppender.flushBuffer(JDBCAppender.java:250) >> at >> org.apache.log4j.jdbc.JDBCAppender.append(JDBCAppender.java:146) >> at >> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) >> at >> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) >> at org.apache.log4j.Category.callAppenders(Category.java:203) >> at org.apache.log4j.Category.forcedLog(Category.java:388) >> at org.apache.log4j.Category.info(Category.java:663) >> at >> org.dspace.core.ConfigurationManager.info(ConfigurationManager.java:828) >> at >> org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:562) >> at >> org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:113) >> at >> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1577) >> at >> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:715) >> at org.dspace.core.Context.<init>(Context.java:105) >> at org.dspace.app.itemexport.ItemExport.main(ItemExport.java:187) >> Error, collection cannot be found: 114 > This collection exists (you can test it at > http://hipatia.uc3m.es:8080/dspace/handle/2316/114). > > We have achieved to export a single item correctly, with the same > command, although most of the error lines also appeared. > > Any comment will be helpful. Thanks, > > david > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

