Re: [Dspace-tech] AutoCAD file support
Hi Gagan, Does DSpace support viewing of AutoCAD files ( has .DWG as extension)? It doesn't supporting the viewing of AutoCAD files as such, but it can be easily configured to understand them, and tell the user's browser to open AutoCAD if it has it installed. See: http://wiki.dspace.org/index.php/Add_a_new_format_to_the_bitstream_registry (http://tinyurl.com/5lkfs8) In this case the MIME type is application/acad Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Email subscriptions in 1.5
Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Hi, just a quick note since March 2006 CSS is part of the default bitstream format registry, the default entry is: bitstream-type mimetypetext/css/mimetype short_descriptionCSS/short_description descriptionCascading Style Sheets/description support_level1/support_level internalfalse/internal extensioncss/extension /bitstream-type Sunny greetings Claudia Dorothea Salo schrieb: On Tue, Sep 9, 2008 at 2:00 PM, Kyle Kaliebe [EMAIL PROTECTED] wrote: Does anyone know how to get the HTML bitstreams to correctly utilize the CSS bitstream? Thanks. Speaking from been-there-done-that... the problem may be that CSS isn't in the bitstream format registry, such that DSpace isn't issuing the correct MIME type to the browser for the CSS file. If you're DSpace admin, log in and click on Bitstream Format Registry. The line I have for CSS reads text/css CSS file Cascading StyleSheet file Known css If that doesn't fix it, let us know. Dorothea - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] re indexing error
I got a similar problem, but I did not know whether the no-creation of the browse index was bound to the SQLException or not. From what you sent, it seems that it did. Here is what I got: 8 ./index-all Creating browse index Indexing all Items in DSpaceError: Browse index NOT created java.sql.SQLException: ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDO_SIGLE' at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539) at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631) at org.dspace.browse.Browse.indexAll(Browse.java:599) at org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74) Creating search index 8 We will extend the tablespace, I hope it will fix my problem. For yours, I suspect that you did not downgrade your database, as itemsbyauthor is a table in 1.4.2 (and certainly in 1.4.1). Maybe you should reinstall 1.4.2? -- François Parmentier INIST-CNRS Chad Hansen wrote: I recently upgraded to the 1.5 alpha version of DSpace. Now, however, I would like to go back to my trusty 1.4.1 version (or 1.4.2 would work too). I am having a problem with the reindexing process. When I run /dspace/bin/index-all, I get the following output: Creating browse index Indexing all Items in DSpaceError: Browse index NOT created java.sql.SQLException: ERROR: relation itemsbyauthor does not exist at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:126) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:451) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:281) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:179) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539) at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631) at org.dspace.browse.Browse.indexAll(Browse.java:599) at org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74) Creating search index Done with indexing what do I do now? -- Chad G. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- View this message in context: http://www.nabble.com/reindexing-error-tp15069170p19370893.html Sent from the DSpace - Tech mailing list archive at Nabble.com. - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] re indexing error
Francois, This sounds like you need to extend your Oracle table space. --Dale --- Dale Poulter Automation Coordinator Library Information Technology Services Vanderbilt University Suite 700 110 21st Avenue South Nashville, TN 37240 (615)343-5388 (615)343-8834 (fax) (615)207-9705 (cell) [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of François Parmentier Sent: Wednesday, September 10, 2008 7:29 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] re indexing error I got a similar problem, but I did not know whether the no-creation of the browse index was bound to the SQLException or not. From what you sent, it seems that it did. Here is what I got: 8 ./index-all Creating browse index Indexing all Items in DSpaceError: Browse index NOT created java.sql.SQLException: ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDO_SIGLE' at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539) at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631) at org.dspace.browse.Browse.indexAll(Browse.java:599) at org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74) Creating search index 8 We will extend the tablespace, I hope it will fix my problem. For yours, I suspect that you did not downgrade your database, as itemsbyauthor is a table in 1.4.2 (and certainly in 1.4.1). Maybe you should reinstall 1.4.2? -- François Parmentier INIST-CNRS Chad Hansen wrote: I recently upgraded to the 1.5 alpha version of DSpace. Now, however, I would like to go back to my trusty 1.4.1 version (or 1.4.2 would work too). I am having a problem with the reindexing process. When I run /dspace/bin/index-all, I get the following output: Creating browse index Indexing all Items in DSpaceError: Browse index NOT created java.sql.SQLException: ERROR: relation itemsbyauthor does not exist at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:126) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:451) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:281) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:179) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519) at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539) at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631) at org.dspace.browse.Browse.indexAll(Browse.java:599) at org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74) Creating search index Done with indexing what do I do now? -- Chad G. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- View this message in context: http://www.nabble.com/reindexing-error-tp15069170p19370893.html Sent from the DSpace - Tech mailing list archive at Nabble.com. - 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=100url=/
Re: [Dspace-tech] Withdrawn items
However we recently discovered that the restricted items are still viewable through a web browser by entering the URL of the pdf located in the bitstream directory. This is also evident when I visit other dspace sites on the web. This appears to be a security issue/bug in DSpace as the items are not actually withdrawn but only partially hidden. Has anyone else encounter this issue and if so is there a fix or work around. I believe this has been filed as a bug. I don't know of an easy workaround off the top of my head, though going into the item and removing anonymous READ privileges on the bitstream ought to do the trick. (Maybe the withdraw code ought to do this by default?) We also discovered that when an item is withdrawn the browse function in dspace throws the following exception. What version are you running? I thought that had been fixed round about 1.4.1. (Plied with sufficient strong drink, I can be convinced to tell the story of how that bug bit me...) Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
On Wed, Sep 10, 2008 at 7:16 AM, Claudia Jürgen [EMAIL PROTECTED] wrote: Hi, just a quick note since March 2006 CSS is part of the default bitstream format registry, Dumb question: does the DSpace upgrade process add lines to the bitstream format registry, or do places that have been running DSpace longer than that still have to add CSS manually? (In all honesty, I can't remember when I first ran into this and figured out the fix!) Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Hi Dorothea, the format registries are not updated as far as I know. The change only applied to bitstream-format.xml which is read once on fresh install. Sunny greetings Claudia Dorothea Salo schrieb: On Wed, Sep 10, 2008 at 7:16 AM, Claudia Jürgen [EMAIL PROTECTED] wrote: Hi, just a quick note since March 2006 CSS is part of the default bitstream format registry, Dumb question: does the DSpace upgrade process add lines to the bitstream format registry, or do places that have been running DSpace longer than that still have to add CSS manually? (In all honesty, I can't remember when I first ran into this and figured out the fix!) Dorothea - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Automatic updating is tricky. o We could empty the table and replace it from the new list. We don't want that -- you lose any local additions. o We could stuff in the stock definitions wholesale. You'd lose any local modifications to stock types. o We could walk the stock list and insert any types not found in the registry. Any types you'd removed would be resurrected. I have no idea whether anyone modifies or removes stock types. It might not be too hard to generate a report of the differences between the registry and the stock set, so that one could judge the changes and implement any that seem appropriate. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact opposite. pgpwlcWdSWFji.pgp Description: PGP signature - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
On Wed, Sep 10, 2008 at 10:29 AM, Mark H. Wood [EMAIL PROTECTED] wrote: Automatic updating is tricky. Yes, it probably doesn't make a whole lot of sense as a development priority. The most sensible solution might be to tuck additions to the stock list into the upgrade instructions? As I see it, the problem we're trying to solve is that this set of fixes isn't making it into pre-existing installs because there's not much notification they happened and no instructions on what to do about it. It might not be too hard to generate a report of the differences between the registry and the stock set, so that one could judge the changes and implement any that seem appropriate. +1. Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Going forward (and I say this without even looking at the code, mind you) it would seem to make sense to keep the stock list that comes with future cut versions separate from any additions/modifications, providing an easy way for future upgrades to identify entries that have been changed since install, and ones that can just be written over/updated carte blanche. -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 On Sep 10, 2008, at 11:45 AM, Dorothea Salo wrote: On Wed, Sep 10, 2008 at 10:29 AM, Mark H. Wood [EMAIL PROTECTED] wrote: Automatic updating is tricky. Yes, it probably doesn't make a whole lot of sense as a development priority. The most sensible solution might be to tuck additions to the stock list into the upgrade instructions? As I see it, the problem we're trying to solve is that this set of fixes isn't making it into pre-existing installs because there's not much notification they happened and no instructions on what to do about it. It might not be too hard to generate a report of the differences between the registry and the stock set, so that one could judge the changes and implement any that seem appropriate. +1. Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 -- --- 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Handling configuration files is a pretty well understood process and there's good code in all of the modern open source package managers. For example, if you use rpm then it compares MD5 checksums of the ostensible original file, the current file, and the new file. See for instance http://www.rpm.org/max-rpm/ch-rpm-upgrade.html In the case of a collision (original!=current!=new), RPM's approach is RPM is not able to analyze the contents of the files, and determine what is going on. In this instance, it takes the best possible approach. The new file is known to work properly with the rest of the software in the new package — at least the people building the new package should have insured that it does. The modified original file is an unknown: it might work with the new package, it might not. So RPM installs the new file. BUT… The existing file was definitely modified. Someone made an effort to change the file, for some reason. Perhaps the information contained in the file is still of use. Therefore, RPM saves the modified file, naming it file.rpmsave, and prints a warning, so the user knows what happened: I believe this is the best approach even if you aren't using RPM (or apt or smart or whatever) [personally, I think DSpace should be available as a .rpm. Let's get over the NIH mentality.] JQ Johnson Director, Scholarly Communications and Instructional Support University of Oregon Libraries 1299 University of Oregon T: 541-346-1746; F: -3485 Eugene, OR 97403-1299 email: [EMAIL PROTECTED] http://libweb.uoregon.edu office: 115F Knight Library - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
The inclusion of new formats would have probably been best served as part of the SQL upgrade in http://dspace.svn.sf.net/svnroot/dspace/branches/dspace-1_5_x/dspace/ etc/database_schema_14-15.sql Then it would have been part of the update process. This XML file format thing is a bit overly complex when what really just needs to happen is that an SQL table is properly updated. -Mark On Sep 10, 2008, at 10:30 AM, JQ Johnson wrote: Handling configuration files is a pretty well understood process and there's good code in all of the modern open source package managers. For example, if you use rpm then it compares MD5 checksums of the ostensible original file, the current file, and the new file. See for instance http://www.rpm.org/max-rpm/ch-rpm-upgrade.html In the case of a collision (original!=current!=new), RPM's approach is RPM is not able to analyze the contents of the files, and determine what is going on. In this instance, it takes the best possible approach. The new file is known to work properly with the rest of the software in the new package — at least the people building the new package should have insured that it does. The modified original file is an unknown: it might work with the new package, it might not. So RPM installs the new file. BUT… The existing file was definitely modified. Someone made an effort to change the file, for some reason. Perhaps the information contained in the file is still of use. Therefore, RPM saves the modified file, naming it file.rpmsave, and prints a warning, so the user knows what happened: I believe this is the best approach even if you aren't using RPM (or apt or smart or whatever) [personally, I think DSpace should be available as a .rpm. Let's get over the NIH mentality.] JQ Johnson Director, Scholarly Communications and Instructional Support University of Oregon Libraries 1299 University of Oregon T: 541-346-1746; F: -3485 Eugene, OR 97403-1299email: [EMAIL PROTECTED] http://libweb.uoregon.edu office: 115F Knight Library -- --- 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
On Wed, Sep 10, 2008 at 12:36 PM, Mark Diggory [EMAIL PROTECTED] wrote: The inclusion of new formats would have probably been best served as part of the SQL upgrade in http://dspace.svn.sf.net/svnroot/dspace/branches/dspace-1_5_x/dspace/ etc/database_schema_14-15.sql Then it would have been part of the update process. This XML file format thing is a bit overly complex when what really just needs to happen is that an SQL table is properly updated. Good point. Would I be right in hazarding a guess that this was originally designed as a gesture toward relatively simple updating of this set of configuration options (without direct database-mucking)? And that this is therefore a special case of the general issues with how difficult DSpace (and its underlying tech stack) is to configure? Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
On Sep 10, 2008, at 10:43 AM, Dorothea Salo wrote: On Wed, Sep 10, 2008 at 12:36 PM, Mark Diggory [EMAIL PROTECTED] wrote: The inclusion of new formats would have probably been best served as part of the SQL upgrade in http://dspace.svn.sf.net/svnroot/dspace/branches/dspace-1_5_x/dspace/ etc/database_schema_14-15.sql Then it would have been part of the update process. This XML file format thing is a bit overly complex when what really just needs to happen is that an SQL table is properly updated. Good point. Would I be right in hazarding a guess that this was originally designed as a gesture toward relatively simple updating of this set of configuration options (without direct database-mucking)? And that this is therefore a special case of the general issues with how difficult DSpace (and its underlying tech stack) is to configure? Dorothea Unfortunately, its usually the case that attempts to create what would be simpler configuration capability usually ends up creating more complexity in maintenance in the long run. What really tends to happen is that you've just offset one open popular file format/update strategy (that there is actually a population of people working on and documentation for) with one that only you an a couple other folks in a very small niche comprehend. Thus introducing the increased cost of having to maintain, document and improve something that was originally (and erroneously) conceptualized to reduce costs. This sort of development actually hurts DSpace in the long run by increasing our maintenance burden when a better solution would have been to teach your users a little SQL or seek out and adopt some commonly accepted tooling/library. This is how I will always push back when it comes to customizations/ tooling that introduce local file formats and services that obscure and limit the underlying implementation. It is always better for your installation base to become better versed at existing popular technologies rather than force them into some local and constrained solution, even if it is supposedly simpler. It is this kind of development that an open, peer reviewing community of developers elected by meritocracy will assist in limiting the occurrence of. This is why we need more people in the group referring to themselves as developers and not users. New fresh blood in the commiter group and/or the walls torn down by a better SVN hosting solution with more granular permissions control. (But alas, I drift off subject). -Mark ~ Mark R. Diggory - DSpace Developer and Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology Home Page: http://purl.org/net/mdiggory/homepage - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Problem with subject-search
Hello, I have problem with subject-search 2008-09-10 13:20:27,140 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=245ED1D07D8AF432F916F035284CB358:internal_error:-- URL Was: http://localhost:8080/dspace14/subject-search -- Method: GET -- Parameters were: org.apache.jasper.JasperException: No se puede cargar la clase para JSP at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:620) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91) at org.dspace.app.webui.servlet.ControlledVocabularySearchServlet.doDSGet(ControlledVocabularySearchServlet.java:110) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.jsp.controlledvocabulary.search_jsp at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:618) ... 29 more -- Saludos cordiales, Víctor Izaguirre Castro - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
On Wed, Sep 10, 2008 at 10:36:54AM -0700, Mark Diggory wrote: The inclusion of new formats would have probably been best served as part of the SQL upgrade in http://dspace.svn.sf.net/svnroot/dspace/branches/dspace-1_5_x/dspace/ etc/database_schema_14-15.sql Then it would have been part of the update process. This XML file format thing is a bit overly complex when what really just needs to happen is that an SQL table is properly updated. I am having difficulty imagining a script for this which wouldn't be a bit indiscriminate. What happens if a site has already inserted a new type locally? What happens if a site has locally modified an updated type? Does the step error out? Do people panic when they see DB badness messages? -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact opposite. pgp6n28ymFR0M.pgp Description: PGP signature - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
Dorothea Salo wrote: Good point. Would I be right in hazarding a guess that this was originally designed as a gesture toward relatively simple updating of this set of configuration options (without direct database-mucking)? And that this is therefore a special case of the general issues with how difficult DSpace (and its underlying tech stack) is to configure? Ahh... but it *is* relatively simple to update the registered bitstream formats without direct database-mucking. There is an admin panel to do it! And there is the rub that makes handling updates harder - even if you can distinguish precisely which items have been added / modified since the version that a user is upgrading from (and we have to account for skipping versions, which complicates that a little), you have to be able to cope with the fact that the user may have altered their registry - adding conflicting entries, removing others, etc. G This email has been scanned by Postini. For more information please visit http://www.postini.com - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] css bitstreams
you have to be able to cope with the fact that the user may have altered their registry - adding conflicting entries, removing others, etc. Agreed. If rows of a table are independent, which they should be in a well-normalized SQL database, then one can add a column that indicates the data source or date of update or both. This usually gives an intelligent update procedure enough information to decide whether it needs to override the local modification. Simplest approach is only override an entry if it has the same data source key though that misses many cases. Having this discussion in the context of mime types, though, may be silly. For mime types, more is almost always better. What's more interesting is other sorts of configuration parameters and collisions in other sorts of locally modified files that don't lend themselves to being loaded into the db. In a Java world, maybe the best approach is to check in a complete dspace distro in Eclipse and then use the configuration control in Eclipse to manage local updates. - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] assetstore across multiple partitions
Is it possible to split up the assetstore directory across multiple partitions? John Furfey Digital Systems and Services Coordinator MBLWHOI Library Woods Hole MA 02543 USA PHONE: 508-289-7435 EMAIL: [EMAIL PROTECTED] http://www.mblwhoilibrary.org - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.5.1 Stable Release
Dear DSpace Community, We are pleased to announce the release of DSpace 1.5.1 stable. This release is primarily a bug fix release incorporating numerous bug fixes and enhancements. Refer to the http://wiki.dspace.org/index.php/DSpace_Release_1.5.1_Notes and SVN history for details on these modifications. http://fisheye3.atlassian.com/changelog/~date=2008-09-11T00%3A00%3A00/ dspace/branches/dspace-1_5_x Although this is a tested stable release, there is always the case that new issues may be uncovered. We request that community members interested in testing the release please download it and verify that they can complete upgrade and fresh installation. The documentation for this release is bundled within the package. DSpace 1.5.1 can be downloaded from the files area at https://sourceforge.net/project/showfiles.php? group_id=19984package_id=64285release_id=625291 or with SVN from http://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/ Please use the mailing lists to provide feedback on this release. Those wishing to do development work with DSpace are strongly encouraged to obtain the source code using SVN. This is very straightforward and a guide to doing this is available here: http:// wiki.dspace.org/ContributionGuidelines We would also like to take this opportunity to invite you all to take part in the DSpace development process. Extra developer hands are always welcome, but there are other ways you can help: - Test the system and report bugs - Provide documentation (for end users and institutions, as well as technical) - Provide or update language packs - Share your deployment experiences - Donate content and metadata for testing and research - Share your technical experience and ideas Please visit the DSpace Wiki to see the various resources and collaboration tools available to the DSpace community: http:// wiki.dspace.org/DspaceResources Sincerely, Mark Diggory ~ Mark R. Diggory - DSpace Developer and Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology Home Page: http://purl.org/net/mdiggory/homepage - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] delete old RI_ConstraintTriggers?
We just upgraded to DSpace 1.5.0. When trying to add a new bitstream to an existing item, I get an org.postgresql.util.PSQLException: ERROR: constraint unnamed: table bundle does not have an attribute mets_bitstream_id I see that the mets_bitstream_id was removed from the bundle table as part of the schema changes for 1.5, but psql shows that there are still 3 RI_ConstraintTriggers in the system catalog referring to mets_bitstream_id -- 1 on bundle and 2 on bitstream. Is it safe to just drop those 3 triggers (when I did that on a test copy of the database, I was able to add the bitstream successfully)? --Bill William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with subject-search
Looks like this might be your problem although I don't know what the cause is. Might have something to do with the Controlled Vocabulary: at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.jsp.controlledvocabulary.search_jsp at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) Sue From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Víctor Izaguirre Sent: Wednesday, September 10, 2008 2:32 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Problem with subject-search Hello, I have problem with subject-search 2008-09-10 13:20:27,140 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=245ED1D07D8AF432F916F035284CB358:internal_error:-- URL Was: http://localhost:8080/dspace14/subject-search -- Method: GET -- Parameters were: org.apache.jasper.JasperException: No se puede cargar la clase para JSP at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:620) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91) at org.dspace.app.webui.servlet.ControlledVocabularySearchServlet.doDSGet(ControlledVocabularySearchServlet.java:110) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.jsp.controlledvocabulary.search_jsp at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:618) ... 29 more -- Saludos cordiales, Víctor Izaguirre Castro - 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
[Dspace-tech] Adding jar files
Hi all I'm trying to install an add on but not sure how/where to include the .jar files using maven on 1.5. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding jar files
Gary, Is this your own private library or some 3rd party tool? They usually have different approaches which are all appropriate. The options are basically the following 1.) try to find it as a dependency available in mvnrepository.com (i.e. its available in the maven central repo and can be gotten already from there) 2.) install a copy in your local repository http://maven.apache.org/plugins/maven-install-plugin/usage.html mvn install:install-file -Dfile=location of file \ -DgroupId=some-group-id-for-your-jar \ -DartifactId=some-name-for-your-jar -Dversion=version-of-your-jar and then reference in your pom.xml via dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version /dependency 3.) probably the easiest (and most effective if you need to deploy and test on multiple machines locally) dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version scopesystem/scope systemPath/path/to/your/file.jar/systemPath !-- put this inside the project the dependency is required within. -- /dependency The Last, while easiest, isn't very portable and you;d not be able to publish the project you use it in into a maven repository for reuse by others. The most permanent solution is to find a way to have it deployed into the maven central repository so you can do (1) and all the users of your library/tool can do (1) as well. Hope this helps, Mark On Sep 10, 2008, at 7:51 PM, Gary Browne wrote: Hi all I'm trying to install an add on but not sure how/where to include the .jar files using maven on 1.5. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -- --- 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] delete old RI_ConstraintTriggers?
Mark, we simply dropped these in production [EMAIL PROTECTED] when we encountered this issue, right? -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 On Sep 10, 2008, at 7:53 PM, Bill Jordan wrote: We just upgraded to DSpace 1.5.0. When trying to add a new bitstream to an existing item, I get an org.postgresql.util.PSQLException: ERROR: constraint unnamed: table bundle does not have an attribute mets_bitstream_id I see that the mets_bitstream_id was removed from the bundle table as part of the schema changes for 1.5, but psql shows that there are still 3 RI_ConstraintTriggers in the system catalog referring to mets_bitstream_id -- 1 on bundle and 2 on bitstream. Is it safe to just drop those 3 triggers (when I did that on a test copy of the database, I was able to add the bitstream successfully)? --Bill William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 -- --- 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Email subscriptions in 1.5
Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? -- cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update -- Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -- -- -- --- 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=100url=/ -- -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding jar files
Hi Mark Thanks for a succinct yet thorough reply. Much appreciated. Kind regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 1:12 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding jar files Gary, Is this your own private library or some 3rd party tool? They usually have different approaches which are all appropriate. The options are basically the following 1.) try to find it as a dependency available in mvnrepository.com (i.e. its available in the maven central repo and can be gotten already from there) 2.) install a copy in your local repository http://maven.apache.org/plugins/maven-install-plugin/usage.html mvn install:install-file -Dfile=location of file \ -DgroupId=some-group-id-for-your-jar \ -DartifactId=some-name-for-your-jar -Dversion=version-of-your-jar and then reference in your pom.xml via dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version /dependency 3.) probably the easiest (and most effective if you need to deploy and test on multiple machines locally) dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version scopesystem/scope systemPath/path/to/your/file.jar/systemPath !-- put this inside the project the dependency is required within. -- /dependency The Last, while easiest, isn't very portable and you;d not be able to publish the project you use it in into a maven repository for reuse by others. The most permanent solution is to find a way to have it deployed into the maven central repository so you can do (1) and all the users of your library/tool can do (1) as well. Hope this helps, Mark On Sep 10, 2008, at 7:51 PM, Gary Browne wrote: Hi all I'm trying to install an add on but not sure how/where to include the .jar files using maven on 1.5. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - 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=100url=/__ _ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] delete old RI_ConstraintTriggers?
Sands, We did something a bit more through that dropping the Triggers (read on). What version of Postgres are you using Bill? What happened is that there was a transition somewhere around postgres 7.3 from exposing Constrains as Triggers to hiding such details from the user. Yes, you should be able to drop these constraints. But you may find other similar triggers on other tables if you've been maintaining a DSpace instance long enough to have been on postgres before version 7.3. My ultimate solution that cleared up many of our issues was to dump (backup) the data separately from the database schema. Then restore the database from a fresh new schema (same as the current version of DSpace you were previously using (but minus the INSERT statements that initialize certain data values). After that I reloaded the data. I documented the process here: http://wiki.dspace.org/index.php/ DSpace_Release_1.5.x_Documentation_for_Older_Database_Upgrades It was a rather challenging and dramatic process to do to the database, but the ultimate outcome is that any legacy weirdness caused by upgrading a dc cluster across may versions of postgres was eliminated by doing this. This issue made me aware that its important to keep the schema and any data inserts in separate sql files, I think we should rework the / etc/directory/*.sql files to support this. As I cooked up the solution on our systems, I would be glad to give you any advisement you might need to get through this issue. -Mark On Sep 10, 2008, at 9:23 PM, Sands Fish wrote: Mark, we simply dropped these in production [EMAIL PROTECTED] when we encountered this issue, right? -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 On Sep 10, 2008, at 7:53 PM, Bill Jordan wrote: We just upgraded to DSpace 1.5.0. When trying to add a new bitstream to an existing item, I get an org.postgresql.util.PSQLException: ERROR: constraint unnamed: table bundle does not have an attribute mets_bitstream_id I see that the mets_bitstream_id was removed from the bundle table as part of the schema changes for 1.5, but psql shows that there are still 3 RI_ConstraintTriggers in the system catalog referring to mets_bitstream_id -- 1 on bundle and 2 on bitstream. Is it safe to just drop those 3 triggers (when I did that on a test copy of the database, I was able to add the bitstream successfully)? --Bill William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Email subscriptions in 1.5
Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? -- cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update -- Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - - -- - - --- 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=100url=/ - - -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- --- 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech