[Dspace-tech] is dspace demo site down?
Hi, I'm not able to access the demo.dspace.org site. Is it down for maintenance? Thanks, Debashree OhioLINK -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] checker-emailer report contains only bitstream-ids
Hi Peter, I was afraid that I will need to modify the SQL query itself to fetch more than just the bitstream-id. Wasn’t aware of the existence of the Bitstream.find method. Thanks a lot for the patch! Debashree From: Peter Dietz [mailto:pdiet...@gmail.com] Sent: Wednesday, December 07, 2011 4:35 PM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] checker-emailer report contains only bitstream-ids Hi Debashree, It looks like you'll want to look in the code for SimpleReporterImpl.java https://github.com/DSpace/DSpace/blob/d0823ff649ebe0816d9d0a67a6a1f456f9cea6a2/dspace-api/src/main/java/org/dspace/checker/SimpleReporterImpl.java#L270 I haven't gotten any bitstreams returned in any checksum checker reports, so I haven't encountered this problem. But I wrote a small patch you can look at to see if that would help you provide more information in your report. https://gist.github.com/1444758 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 diff --git a/dspace-api/src/main/java/org/dspace/checker/SimpleReporterImpl.java b/dspace-api/src/main/java/org/dspace/checker/SimpleReporterImpl.java index 88ea08b..a176359 100644 --- a/dspace-api/src/main/java/org/dspace/checker/SimpleReporterImpl.java +++ b/dspace-api/src/main/java/org/dspace/checker/SimpleReporterImpl.java @@ -14,6 +14,10 @@ import java.util.Date; import java.util.Iterator; import java.util.List; +import org.dspace.content.Bitstream; +import org.dspace.content.DSpaceObject; +import org.dspace.content.Item; +import org.dspace.core.Context; import org.dspace.core.I18nUtil; /** @@ -289,6 +293,15 @@ public class SimpleReporterImpl implements SimpleReporter buf.append( \n); buf.append(msg(bitstream-id)).append( = ).append( historyInfo.getBitstreamId()).append(\n); +try { +Context context = new Context(); +Bitstream bitstream = Bitstream.find(context, historyInfo.getBitstreamId()); +DSpaceObject parentDSO = bitstream.getParentObject(); +if(parentDSO instanceof Item) { +Item parentItem = (Item) parentDSO; + buf.append(parent-item-handle).append(parentItem.getHandle()).append(parent-item-name).append(parentItem.getName()); +} +} catch (Exception e) { } buf.append(msg(process-start-date)).append( = ).append( applyDateFormatLong(historyInfo.getProcessStartDate())) .append(\n); Peter Dietz On Wed, Dec 7, 2011 at 2:45 PM, Debashree Pati dp...@ohiolink.edumailto:dp...@ohiolink.edu wrote: Hi, In our dspace installation , I have set up a cron job to run the checker utility and then email the checker-email report to an admin account. The checker report contains all the information but is ordered by bitstream_ids. Handle or names of items aren’t listed. The person getting the report does not have access to the database to relate the bitstream_id to the item handle or name. Has anyone figured out a way how to get the handles/names into the report? Or is there any other workaround that can provide the recipient with better information? Thanks, Debashree OhioLINK -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] checker-emailer report contains only bitstream-ids
Hi, In our dspace installation , I have set up a cron job to run the checker utility and then email the checker-email report to an admin account. The checker report contains all the information but is ordered by bitstream_ids. Handle or names of items aren't listed. The person getting the report does not have access to the database to relate the bitstream_id to the item handle or name. Has anyone figured out a way how to get the handles/names into the report? Or is there any other workaround that can provide the recipient with better information? Thanks, Debashree OhioLINK -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] checker error when run as a cron job
Hi, When I run checker from the command line, it works fine. However, when I set it up as a cron job, it logs the following error: Problem listing checksum results codes: java.lang.ClassNotFoundException: java.sql.SQLException: java.lang.ClassNotFoundException: at org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1711) at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:618) at org.dspace.checker.ChecksumResultDAO.listAllCodes(ChecksumResultDAO.java:131) at org.dspace.checker.ResultsPruner.prune(ResultsPruner.java:258) at org.dspace.app.checker.ChecksumChecker.main(ChecksumChecker.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) Anybody has had similar problem? Can someone help explain the cause. Thanks, Debashree OhioLINK -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] URGENT - tomact restart gives a 404 error -- dspace 1.7.2
Hi, On our dspace 1.7.2 production instance I made a small change in the dstat.cfg file. Have done this several times in the past in 1.6.2 dspace instances without any problem. Following is the change: # DSpace information # the year and month to start creating reports from # - year as four digits (e.g. 2005) # - month as a number (e.g. January is 1, December is 12) start.year = 2010--- changed this from 2005 to 2010 start.month = 7 ---changed this from 1 to 7 A restart of Tomcat resulted in a 404 error. The catalina.log file has the following lines: SEVERE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@2a96ba2f]) and a value of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. Sep 15, 2011 1:59:02 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Please provide some insight -- asap Thanks, Debashree OhioLINK, Columbus, OH -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] FW: [larc-ldr-errors-and-alerts] Langley Digital Repository (LDR) Internal Server Error
Have you typed the command to check disk space availability (linux): df -h Something like the following will show up: FilesystemSize Used Avail Use% Mounted on /dev/sda3 7.8G 2.8G 4.6G 38% / /dev/sda6 20G 15G 3.9G 79% /local /dev/sda5 3.9G 616M 3.1G 17% /var See if Use% shows 100% on any dev mount point. Debashree From: Thornton, Susan M. (LARC-B702)[LITES] [susan.m.thorn...@nasa.gov] Sent: Monday, April 04, 2011 11:03 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] FW: [larc-ldr-errors-and-alerts] Langley Digital Repository (LDR) Internal Server Error Good morning, I’ve been seeing this error recently in our filter-media cron. I see it’s complaining about space, but I don’t know where the space problem is. Does anyone know where exactly this would be? I don’t think it’s on /assetstore or in our DSpace installation directory. Is it possible it’s in a temporary directory it’s using to filter documents? Thanks in advance, Sue Walker-Thornton Sue Walker-Thornton Software Developer/Database Administrator NASA Langley Research Center|LITES Contract (757) 224-4074 -Original Message- From: larc-ldr-errors-and-alerts-boun...@lists.nasa.gov [mailto:larc-ldr-errors-and-alerts-boun...@lists.nasa.gov] On Behalf Of LDR - Langley Digital Repository (1.5.1) Sent: Saturday, April 02, 2011 9:28 PM To: LDR - Langley Digital Repository Admin (Odyssey) Subject: [larc-ldr-errors-and-alerts] Langley Digital Repository (LDR) Internal Server Error An internal server error occurred on http://ldr.larc.nasa.gov: Date..: 4/2/11 9:27 PM Session ID: java.io.IOException: background merge hit exception: _tye0:c163542 _tyg9:c73 _tyga:c1 _tygb:c1 _tygc:c1 _tygd:c1 _tyge:c1 into _tygf [optimize] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:1749) at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:1689) at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:1669) at org.dspace.search.DSIndexer.optimizeIndex(DSIndexer.java:498) at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:663) at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:613) at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:396) Caused by: java.io.IOException: No space left on device at java.io.RandomAccessFile.writeBytes(Native Method) at java.io.RandomAccessFile.write(RandomAccessFile.java:466) at org.apache.lucene.store.FSDirectory$FSIndexOutput.flushBuffer(FSDirectory.java:599) at org.apache.lucene.store.BufferedIndexOutput.flushBuffer(BufferedIndexOutput.java:96) at org.apache.lucene.store.BufferedIndexOutput.flush(BufferedIndexOutput.java:85) at org.apache.lucene.store.BufferedIndexOutput.writeBytes(BufferedIndexOutput.java:75) at org.apache.lucene.store.IndexOutput.writeBytes(IndexOutput.java:40) at org.apache.lucene.index.CompoundFileWriter.copyFile(CompoundFileWriter.java:216) at org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:173) at org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:194) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3137) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2834) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:240) {3} *** * Exception.: * *** {4} **Note..: This error occurs due to one or more Java errors/exceptions in LDR and is a catch-all for non-specific application errors. Stack traces should be analyzed to determine likely causes. In addition, DSpace, PostgreSQL, and server logs can be examined for specific error mesasges that may help with error diagnosis and resolution. LDR Administration -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with special characters in DSpace 1.5.1
Have you tried the numeric representation in place of plusmn; ? #177; - Debashree From: Thornton, Susan M. (LARC-B702)[LITES] [susan.m.thorn...@nasa.gov] Sent: Wednesday, March 16, 2011 4:57 PM To: heli...@centrum.sk Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Problem with special characters in DSpace 1.5.1 JSPUI. Thanks, Sue Sue Walker-Thornton Software Developer/Database Administrator NASA Langley Research Center|LITES Contract (757) 224-4074 -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, March 16, 2011 4:52 PM To: Thornton, Susan M. (LARC-B702)[LITES] Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Problem with special characters in DSpace 1.5.1 Are you using JSPUI or XMLUI? These things are called HTML entities. I don't think encoding is the problem, translating entities is. I don't think I can help, just pointing out the direction. Regards, ~~helix84 -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.6.0 Solr question
Hi dspace solr statistic experts, Once we had our dspace updated to version 1.6.0 we executed all the 5 solr statistics scripts. This was done in Oct, 2010 and the start date was set in dspace.cfg as: statistics.default.start.datepick = 10/01/2010 The next time the scripts were executed in Jan, 2011. Clicking the 'Statistics' link shows Monthly Report for all months since Jan, 2005 but skips the reports for Nov, 2010 and Dec, 2010. I have 2 questions: How to get the monthly report displays for Nov and Dec of 2010? How to get rid of all reports before Oct, 2010? -- found some posting on this dating back to July 2010 but there wasn't any solution. Thanks, Debashree Sys Developer OhioLINK From: Michael White [michael.wh...@stir.ac.uk] Sent: Tuesday, March 08, 2011 10:29 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] SolrException: Service Unavailable Hi, Since we recently went live with v1.6.2 I've noticed a large number of the following in our logs: --- 2011-03-08 00:14:16,592 ERROR org.dspace.statistics.SolrLogger @ Service Unavailable Service Unavailable request: http://127.0.0.1:8080/solr/statistics/update org.apache.solr.common.SolrException: Service Unavailable Service Unavailable request: http://127.0.0.1:8080/solr/statistics/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85) at org.dspace.statistics.SolrLogger.post(SolrLogger.java:247) ... --- They occur seemingly randomly, sometimes every few minutes, and sometimes every hour or so (so possibly related to load?). SOLR stats are working fine otherwise - I can see Usage Events being successfully logged between failures, and View Statistics for items shows views and downloads being counted (but presumably not all, due to the frequent failures?). I searched the archives and found a couple of other mentions of the problem, but no hint of a solution beyond making sure your SOLR webapp is reachable (which mine appears to be generally, and access also tested from the command line with curl). Anyone have any ideas? I also wondered if the optimisations discussed here, http://atmire.com/statistics_performance.php, might fix this issue? Any assistance/pointers welcome. Cheers, Mike Michael White Research Information System (RIS) Project Information Services S8, Library University of Stirling Stirling SCOTLAND FK9 4LA Email: michael.wh...@stir.ac.uk Tel: +44 (0) 1786 466877 Fax: +44 (0) 1786 466880 http://www.is.stir.ac.uk/aboutis/teams/aldt/eld.php -- The Sunday Times Scottish University of the Year 2009/2010 The University of Stirling is a charity registered in Scotland, number SC 011159. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HTML entities in XMLUI
Hi Peter, I had encountered this before. What I did to get around this is that I replaced the nbsp with it's entity code #160 and that displayed fine in XMLUI. Hope this helps, Debashree I've noticed that HTML entities that are entered in XMLUI getting eaten, badly, and don't render how they would be expected. If the collection administrator adds a non-breaking-space, nbsp; It is displayed in JSPUI fine: http://demo.dspace.org/jspui/handle/10673/6652 Miranda, Antoinette nbsp;pp. 4 However, XMLUI changed the ampersand into an html entity, and breaks the nbsp: http://demo.dspace.org/xmlui/handle/10673/6652 Miranda, Antoinette amp;nbsp;pp. 4 I'm clueless as to what cocoon has done to transform this. So, is there a better way to input/display nbsp's in xmlui, or do I have to convince collection admins that cosmetic things like a space need to be done in css, so wrap things in a span tag with a class? -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Debugging filter-media script
Hi Mark, I remember encountering this one time and it made no sense at all as the assetstore did contain the bitstream. If I remember correctly, I just re-executed the build/install commands in the appropriate directories. mvn -Pxpdf-mediafilter-support package ant -Dconfig=etc. ... For mvn I also use the Dconfig = /* path to dspace install dspace.cfg */ mvn -Dconfig=... -Pxpdf-mediafilter-support package First make sure the bitstream of the item is present in the assetstore and is not owned by root (since the filter-media command is run by dspace user). Someone else might have better insight. Hope the above will help. - Debashree Hi all, I am trying to debug the XPDF media filter - I keep getting the following exception: java.io.IOException: Unknown failure while transforming file to preview: no image produced. This seems to be caused by the XPDF2Thumbnail.java when it tries to create a BufferedImage named source but the method call on ImageIO just returns null: source = ImageIO.read(outf); //returns null I am not sure how to attach a debugger - as this is a script running? Does anyone know? Or perhaps someone has has the problem I have outlined before and knows how to solve it? Thanks, Mark -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Creative Commons license problems
Hi Roger, You will need to perform the following step so that your bitstreamformat registry will contain the CC-License mime-types. http://www.dspace.org/1_6_2Documentation/DSpace-Manual.pdf 8. Run Registry Format Update for CC License. Creative Commons licenses have been assigned the wrong mime-type in past versions of DSpace. Even if you are not currently using CC Licenses, you should update your Bitstream Format Registry to include a new entry with the proper mime-type. To update your registry, run the following command: dspace]/bin/dspace registry-loader -bitstream [dspace]/etc/upgrades/15-16/new-bitstream-formats.xml If you have any problem let us know. -Debashree Hi all, I have been noticing some issues with our Creative Common license in xmlui. We recently upgraded to 1.6 and I noticed the difference -- the CC license worked fine when we were running 1.5.1. I have one item that had been previously deposited when we were working with 1.5.1 , which has a creative commons license assigned and appears to work fine ( http://dc.msvu.ca:8080/xmlui/bitstream/handle/10587/598/license_text?sequence=3 ) When I submitted another item recently and assigned a Creative Commons license (now that we're running 1.6), I realized that the Creative Commons license wasn't working. At first it wasn't recognizing the mime type and I was prompted to open the license as a plain text file. So, I modified the bitstreams slightly to match those of the item in our repository that has a working Creative Commons license, and it worked somewhat -- it displayed the license as just basic HTML, without the CC license: http://dc.msvu.ca:8080/xmlui/bitstream/handle/10587/941/license_text?sequence=3 Would anybody have any ideas on how to get the Creative Commons license to display properly? I noticed that this issue was supposed to be fixed in 1.6 ( https://jira.duraspace.org/browse/DS-295) , but it doesn't seem to be in our case. Any help would be much appreciated. Thank you, Roger Gillis MSVU Dspace admin -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] original license link disappeared after upgrade
Hi Eric, This is a feature in 1.6.2 -- the original license is for the submitter and need not be visible to public. So the DIM-Handler.xsl was modified to remove the link to original license. There was a recent post about this and below is the solution (if you want to revert to the old way) from Tonny Laursen. I have now changed DIM-Handler.xsl. I have changed the lines from xsl:apply-templates select=./mets:fileSec/mets:fileg...@use='CC-LICENSE']/ TO xsl:apply-templates select=./mets:fileSec/mets:fileg...@use='CC-LICENSE' or @USE='LICENSE']/ And that seems to work :) Tonny -Debashree OhioLINK I'm in the process of migrating our 1.5.2 instance to 1.6.2 on a new server. I imported the old dspace database to postgres, ran the update script, then copied the assetstore to the new machine. Everything seems fine, except that Original License links no longer appear on item-level pages, neither for existing items or new submissions. In both cases, license.txt is still available if I manually type the URL into the browser. How do I get the links back? I'm using XMLUI with the same theme on both machines. Eric -- 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 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problems with Maven
Hi Eija, Good yours started working on it's own. I did some more research into it and found that this was a major bug for maven versions 2.0.8 and below. It occurs sporadically based on some network timestamp conditions and might take a while to go away. Our maven version is 2.0.4 and I am in the process of upgrading it to the latest. So if you encounter this problem again, you know what to do. - Debashree Hi Debashree, it started to work suddenly by itself, and has worked since that. I am sorry, I have no ideas for solving the problem. I just hope it will no appear again. - Eija On Mon, May 10, 2010 at 7:09 PM, Debashree Pati dp...@oln.org wrote: Hi Eija, have you had any luck with your problem? I am still struggling with it. Thanks, Debashree Hi, has anyone had this kind of problems: suddenly mvn package does not succeed anymore, but ends with the following messages: -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net [INFO] artifact org.dspace:dspace-api-lang: checking for updates from central [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. No versions are present in the repository for the artifact with a range [1.6.0.0,1.7.0.0) org.dspace:dspace-api-lang:jar:null from the specified remote repositories: central (http://repo1.maven.org/maven2), java.net (http://download.java.net/maven/2), maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 minutes 13 seconds [INFO] Finished at: Thu May 06 08:36:20 EEST 2010 [INFO] Final Memory: 28M/51M [INFO] - The same happens with DSpace 1.5.2, with dspace-api-lang [1.5.0.0,1.6.0.0). And yes, I am giving the command in the right directory, [dspace-source]/dspace/. Is the problem in the repositories or on our server? - Eija -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problems with Maven
Hi Mark and Eija, I had the exact same error yesterday! It used to work fine until then. Our instance is set up in the cloud without a proxy server. Any other thoughts? - Debashree Eija, Are you behind a proxy? You may be able to browse the repo in your browser, but not access it from java without proxy settings added to you ~/.m2/settings.xml if that is the case. Check with your system admin. Mark On Wed, May 5, 2010 at 11:02 PM, Eija Airio airio.e...@gmail.com wrote: Hi, has anyone had this kind of problems: suddenly mvn package does not succeed anymore, but ends with the following messages: -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net [INFO] artifact org.dspace:dspace-api-lang: checking for updates from central [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. No versions are present in the repository for the artifact with a range [1.6.0.0,1.7.0.0) Â org.dspace:dspace-api-lang:jar:null from the specified remote repositories: Â central (http://repo1.maven.org/maven2), Â java.net (http://download.java.net/maven/2), Â maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 minutes 13 seconds [INFO] Finished at: Thu May 06 08:36:20 EEST 2010 [INFO] Final Memory: 28M/51M [INFO] - The same happens with DSpace 1.5.2, with dspace-api-lang [1.5.0.0,1.6.0.0). And yes, I am giving the command in the right directory, [dspace-source]/dspace/. Is the problem in the repositories or on our server? - Eija -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Media filtering problem - filtering was unsuccessful
Hi Andrew, Are you using DSpace version 1.5.x or 1.6? Both versions use Apache's pdfbox 0.7.3 for filtering PDF files which is a older version. Current one is version 1.0.0. I believe this newer version is capable of taking care of your PDF problems. Below is a snippet of an earlier posting and mail exchanges: E.g. the pdfbox used is version 0.7.3. and a couple of years old. Noted in our production instance that more and more new pdf's are not processed. Just trying the new 1.1.0 version and it seems to process these pdf's without difficulty. You need the uptodate versions of jempbox and fontbox too, only updating the pdfbox is not enough, and depending on the input may be the bouncy castle provider for the java version you are using. See http://pdfbox.apache.org/ Claudia But Dspace 1.6 also has provision for XPDF, the details of which is outlined in the manual in the section under media filtering. I have tried this out and it solved issues with large pdf files as well as pdfs created using newer version of Acrobat engine. Hope this will help, Debashree We are experiencing problems with media filtering of PDF files added in our thesis digitisation project. A number of the files (perhaps 10%) will not filter, the command window just pauses for up to 15 minutes or so, then displays: SKIPPED: bitstream 5698 (item: 10182/1780) because filtering was unsuccessful No other error message or clue is given. I can see no common feature of the PDFs that won't filter - they can be bw only or some colour, different PDF versions. Yes, they are all quite large files (10MB or larger), but not all files of this size are failing in this way. I find that if I split the file into parts and re-upload, they will then filter OK. Has anyone else experienced this and do you have a solution? Andrew White Information Technology Librarian George Forbes Memorial Library PO Box 64 Lincoln University Lincoln 7647 Christchurch, New Zealand p +64 3 321 8542 | f +64 3 325 2944 e andrew.wh...@lincoln.ac.nzmailto:andrew.wh...@lincoln.ac.nz | w library.lincoln.ac.nzhttp://library.lincoln.ac.nz/ Lincoln University, Te Whare Wanaka o Aoraki New Zealand's Specialist Land Based University The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Email Setup Difficulties
I don't know anything about DSpace 1.6 mail server, so I might be completely offbase and stupid. But I was just going through your dspace.cfg and see that the SSL part is uncommented: # Pass extra settings to the Java mail library. Comma separated, equals sign between # the key and the value. # mail.extraproperties = mail.smtp.socketFactory.port=465, \ # mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \ # mail.smtp.socketFactory.fallback=false Wouldn't this mean that you are configuring DSpace mailserver to use SSL? I understand from your postings that you don't want DSpace to use SSL. Could this be the culprit? -Debashree I believe I fixed that error but It was probably irrelevant to the email problem. I'm now getting this error message in my log file when trying to send an email. It appears as if dspace is trying to connect to my mail server using SSL. However, my mail server does not use SSL. I've set my port to 25 for the mail server which should indicate a regular connection (as opposed to 465 which is typically SSL). What can I do to force dspace to connect to the mail server without SSL. Or is something else wrong here? javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:297) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at javax.mail.Transport.send(Transport.java:98) at org.dspace.core.Email.send(Email.java:362) at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296) at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256) at org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:101) at org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:287) at org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:202) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Thanks for all your help. This has been a long standing problem. On Sun, Apr 25, 2010 at 10:52 AM, Mark Diggory mdigg...@gmail.com wrote: That looks like database user permissions. Review your Postgresql ownership on the dspace database and which username/permissions ou are connecting with. On Sat, Apr 24, 2010 at 2:07 PM, bryce ray bryceray1...@gmail.com wrote: Changing that email address did make a difference. The test-email script now completes with the email successfully sending. However, my problem is still not fixed. When I go to register and submit an email address the system gives an internal system error. So the email system says it works but when I try to send an email through
Re: [Dspace-tech] CC License page link problems
Hi Evan, Thanks for replying. Yes, dspace 1.5.2 has all these and additional problems with mime type. In my 1.6 installation I have already localized the license and these are problems after that. I was wanting to know if I had missed something causing the links to break in 1.6. But looks like not many people are paying attention to the CC License as I didn't get any other reply. Let me keep my hopes up still :) Thanks, -Debashree Hi Debashree, Maybe not much help but...I see the same in Dspace 1.5.2 The conclusion I come to was you may need to localize the license. Kevin -Original Message- From: Debashree Pati [mailto:dp...@oln.org] Sent: 26 April 2010 16:48 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] CC License page link problems Hi, Has anyone encountered these? I have installed DSpace 1.6 and submitted an item containing CC License. When I view the CC License page there are some errors: 1. The Legal Code (the full license) link at the bottom of the page gives the error: org.apache.cocoon.ResourceNotFoundException: Unable to locate bitstream map:read type=BitstreamReader - context:/file:///usr/local/tomcat/webapps/xmlui/sitemap.xmap - 281:70 2. The Use this license for your own work link at bottom of the page gives error: HTTP Status 404 - /choose/results-one type Status report message /choose/results-one description The requested resource (/choose/results-one) is not available. 3. The logos for country and Free Cultural Works license at top of page are missing 4. There are a lot of question marks on the available languages section on top and after the to Share and to Remix texts. Will appreciate any insight. Thanks, Debashree -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] CC License page link problems
Hi, Has anyone encountered these? I have installed DSpace 1.6 and submitted an item containing CC License. When I view the CC License page there are some errors: 1. The Legal Code (the full license) link at the bottom of the page gives the error: org.apache.cocoon.ResourceNotFoundException: Unable to locate bitstream map:read type=BitstreamReader - context:/file:///usr/local/tomcat/webapps/xmlui/sitemap.xmap - 281:70 2. The Use this license for your own work link at bottom of the page gives error: HTTP Status 404 - /choose/results-one type Status report message /choose/results-one description The requested resource (/choose/results-one) is not available. 3. The logos for country and Free Cultural Works license at top of page are missing 4. There are a lot of question marks on the available languages section on top and after the to Share and to Remix texts. Will appreciate any insight. Thanks, Debashree -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search box in xmlui
Hi Lewatle, I had written I have put this snippet in the themes xsl file by which I meant your theme name.xsl file. Let me know if this isn't clear. Debashree Hi Debashree I searched all dspace files for the file themes.xml so I can do the edit in it but a file I got is themes.xmap not themes.xml, do you created a file manually and if yes please indicate the full path to the file. Regards, Lewatle -Original Message- From: dp...@localhost.oln.org [mailto:dp...@localhost.oln.org] Sent: 13 April 2010 06:30 PM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Search box in xmlui Hi Lewatle, I had wanted to remove that search box completely instead of moving it to the bottom. Upon searching the dspace-tech I had found the snippet that worked for me. It might give you some clue about what you might need to do for moving it. The element that identifies the search box is named front-page-search. I have put this snippet in the themes xsl file. xsl:template match=dri:d...@n='front-page-search'] priority=4 /xsl:template Hope this will help, Debashree Hi Dspacers I want to move the default search box on xmlui interface the one in the middle to the bottom or I can say after communities on a default manakin page, anyone who knows which file I need to modify please let me know. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] XMLUI -- Register new user -- fails
Hi, I am having this problem: Using the xmlui interface for registering a user I am trying to register a new user by providing a valid e-mail address. But, it gives the error message unable to send e-mail to this address. No errors are present in any of the logs. I have been able to create users using the command line tool without any error. This is happening for the first time in one of our instances. I searched the dspace-tech and came across the following thread with the exact same problem being reported: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg09026.html Contacted the person who had posted it but did not get any response. Will appreciate any help. Thanks, Deb -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, I made the suggested changes to my dspace.cfg, restarted Tomcat and retried a deposit. But still get the same error: Unacceptable content type in deposit request: application/vnd.openxmlformats-officedocument.wordprocessingml.document I have attached the SWORD specific configuration part of my dspace.cfg. Please let me know if anything is missing/wrong. Thanks, Deb --- Have you set the following options in your dspace.cfg? plugin.named.org.dspace.sword.SWORDIngester = \ org.dspace.sword.SWORDMETSIngester = http://purl.org/net/sword-types/METSDSpaceSIPhttp://purl.org/net/sword-types/METSDSpaceSIP \ org.dspace.sword.SimpleFileIngester = SimpleFileIngester \ org.dspace.sword.DocxIngester = application/vnd.openxmlformats-officedocument.wordprocessingml.document sword.accept-packaging.Docx.identifier = application/vnd.openxmlformats-officedocument.wordprocessingml.document sword.accept-packaging.Docx.q = 1.0 sword.accepts = application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/http://www.library.auckland.ac.nz/ #---# #--SWORD SPECIFIC CONFIGURATIONS# #---# # These configs are only used by the SWORD interface# #---# # tell the SWORD METS implementation which package ingester to use # to install deposited content. This should refer to one of the # classes configured for: # # plugin.named.org.dspace.content.packager.PackageIngester # # The value of sword.mets-ingester.package-ingester tells the # system which named plugin for this interface should be used # to ingest SWORD METS packages # # The default is METS # # sword.mets-ingester.package-ingester = METS # Define the metadata type EPDCX (EPrints DC XML) # to be handled by the SWORD crosswalk configuration # mets.submission.crosswalk.EPDCX = SWORD # define the stylesheet which will be used by the self-named # XSLTIngestionCrosswalk class when asked to load the SWORD # configuration (as specified above). This will use the # specified stylesheet to crosswalk the incoming SWAP metadata # to the DIM format for ingestion # crosswalk.submission.SWORD.stylesheet = crosswalks/sword-swap-ingest.xsl # The base URL of the SWORD deposit. This is the URL from # which DSpace will construct the deposit location urls for # collections. # # The default is {dspace.url}/sword/deposit # # In the event that you are not deploying DSpace as the ROOT # application in the servlet container, this will generate # incorrect URLs, and you should override the functionality # by specifying in full as below: # sword.deposit.url = http://75.101.130.190:8080/sword/deposit # The base URL of the SWORD service document. This is the # URL from which DSpace will construct the service document # location urls for the site, and for individual collections # # The default is {dspace.url}/sword/servicedocument # # In the event that you are not deploying DSpace as the ROOT # application in the servlet container, this will generate # incorrect URLs, and you should override the functionality # by specifying in full as below: # sword.servicedocument.url = http://75.101.130.190:8080/sword/servicedocument # The base URL of the SWORD media links. This is the URL # which DSpace will use to construct the media link urls # for items which are deposited via sword # # The default is {dspace.url}/sword/media-link # # In the event that you are not deploying DSpace as the ROOT # application in the servlet container, this will generate # incorrect URLs, and you should override the functionality # by specifying in full as below: # # sword.media-link.url = http://www.myu.ac.uk/sword/media-link # The URL which identifies the sword software which provides # the sword interface. This is the URL which DSpace will use # to fill out the atom:generator element of its atom documents. # # The default is: # # http://www.dspace.org/ns/sword/1.3.1 # # If you have modified your sword software, you should change # this URI to identify your own version. If you are using the # standard dspace-sword module you will not, in general, need # to change this setting # # sword.generator.url = http://www.dspace.org/ns/sword/1.3.1 # The metadata field in which to store the updated date for # items deposited via SWORD. # sword.updated.field = dc.date.updated # The metadata field in which to store the value of the slug # header if it is
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, I have two questions: 1. Any idea why an upload to your SWORD demo site (of the template provided at your blog) using MS Word 2007 Article Authoring Plugin might fail with the following error message? : The remote server returned an error: (500) Internal Server Error I had done a successful submission of the same on Sep 21st. 2. How do I resolve an error I get when I attempt an upload of your template (with URL modified to our DSpace instance containing the patches for .docx ingestion)? : The remote server returned an error: (415) Unsupported Media Type dspace.log: ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type detected: application/vnd.openxmlformats-officedocument.wordprocessingml.document for collection 1 2009-10-06 11:21:47,477 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit request: application/vnd.openxmlformats-officedocument.wordprocessingml.document I have applied both the ds-316.patch and docx-ingester.patch as provided by you and double checked to ensure accuracy. Appreciate your timely help. Thanks, Deb From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Thursday, October 01, 2009 4:05 PM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] OfficeSWORD Hi Deb, ERROR org.purl.sword.server.DepositServlet @ X_NO_OP value is null (found something similar in your post in jira http://jira.dspace.org/jira/browse/DS-199 about the error of X_NO_OP being true and yet the deposit being successful. Why are we getting null instead of true? Not sure if this affects our deposit and if this leads to the following error messages or not) I think this can be ignored, and perhaps should be edited in the DSpace SWORD implementation. DSpace is complaining that there is no value set for the X-NoOp header, yet the specification only states that client MAY set this value. I'd argue therefore that DSpace should not be reporting this as an error. 12:45:50,190 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query select * from handle where handle = ? with parameters: posit/123456789/2 (notice the parameter value is posit/123456789/2 instead of deposit/123456789/2) 12:45:50,192 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: The deposit URL does not resolve to a valid deposit target Check what your value for sword.deposit.url (and sword.servicedocument.url) is in dspace.cfg, and make sure it matches the form of the deposit URL you are using. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] [Fwd: Re: OfficeSWORD]
Hi Stuart, I tried a submission of your template to the Dspace SWORD demo repos. from my home computer just now and it was successful! Not sure what was wrong ealier today when it kept on giving Internal Server Error. Now, most important is how to get it working on our local instance. As I have mentioned below I get an error: The remote server returned an error: (415) Unsupported Media Type with the dspace.log containing: ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type detected: application/vnd.openxmlformats-officedocument.wordprocessingml.document for collection 1 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit request: application/vnd.openxmlformats-officedocument.wordprocessingml.document Any idea about what could be wrong? Thanks, - Deb --- How do I resolve an error I get when I attempt an upload of your template (with URL modified to our DSpace instance containing the patches for .docx ingestion)? : The remote server returned an error: (415) Unsupported Media Type dspace.log: ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type detected: application/vnd.openxmlformats-officedocument.wordprocessingml.document for collection 1 2009-10-06 11:21:47,477 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit request: application/vnd.openxmlformats-officedocument.wordprocessingml.document I have applied both the ds-316.patch and docx-ingester.patch as provided by you and double checked to ensure accuracy. Appreciate your timely help. Thanks, Deb -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, Please ignore my previous email. I hadn't got your reply when I sent it. Thanks for creating the disk space. That's why my submission from home computer worked. I will set the options in my dspace.cfg and try again. Thanks for all the help. -Deb At 06:41 PM 10/6/2009, Stuart Lewis wrote: Hi Deb, 1. Any idea why an upload to your SWORD demo site (of the template provided at your blog) using MS Word 2007 Article Authoring Plugin might fail with the following error message? : The remote server returned an error: (500) Internal Server Error I had done a successful submission of the same on Sep 21st. It is a test server with lots of people throwing random submissions at it, and had consequently filled it's disks. I've now created some space and it seems to be working again. 2. How do I resolve an error I get when I attempt an upload of your template (with URL modified to our DSpace instance containing the patches for .docx ingestion)? The remote server returned an error: (415) Unsupported Media Type dspace.log: ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type detected: application/vnd.openxmlformats-officedocument.wordprocessingml.document for collection 1 2009-10-06 11:21:47,477 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit request: application/vnd.openxmlformats-officedocument.wordprocessingml.document I have applied both the ds-316.patch and docx-ingester.patch as provided by you and double checked to ensure accuracy. Have you set the following options in your dspace.cfg? plugin.named.org.dspace.sword.SWORDIngester = \ org.dspace.sword.SWORDMETSIngester = http://purl.org/net/sword-types/METSDSpaceSIPhttp://purl.org/net/sword-types/METSDSpaceSIP \ org.dspace.sword.SimpleFileIngester = SimpleFileIngester \ org.dspace.sword.DocxIngester = application/vnd.openxmlformats-officedocument.wordprocessingml.document sword.accept-packaging.Docx.identifier = application/vnd.openxmlformats-officedocument.wordprocessingml.document sword.accept-packaging.Docx.q = 1.0 sword.accepts = application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/http://www.library.auckland.ac.nz/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, As per your suggestion, I raised logging level to DEBUG and attempted a manual deposit using CURL. (SWORD 1.3, Dspace 1.5.2) Got the following debug /error messages in dspace.log file that seemed odd: (The whole log file is attached) ERROR org.purl.sword.server.DepositServlet @ X_NO_OP value is null (found something similar in your post in jira http://jira.dspace.org/jira/browse/DS-199 about the error of X_NO_OP being true and yet the deposit being successful. Why are we getting null instead of true? Not sure if this affects our deposit and if this leads to the following error messages or not) 12:45:50,190 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query select * from handle where handle = ? with parameters: posit/123456789/2 (notice the parameter value is posit/123456789/2 instead of deposit/123456789/2) 12:45:50,192 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: The deposit URL does not resolve to a valid deposit target I also want to add that I tried the deposit using DSpace SWORD 1.3 that did not have the patches for Article Authoring and yet the same error occurred. Need to move beyond this with your help. Thanks a lot, -Deb From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tuesday, September 29, 2009 6:53 PM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] OfficeSWORD Hi Deb. Here's some more information, regarding the failed sword post, that might help detect the problem: Messages Panel output for the failed post: status: Setting the username/password: dp...@oln.org password status: Posting file to: http://75.101.130.190/sword/deposit/123456789/2 status: Unable to access resource. Is there any information in [dspace]/log/dspace.log? Try raising the logging level to DEBUG if nothing is shown normally. I'm not sure what 'Unable to access resource' is referring to. You could try depositing manually using CURL to see what happens in case this is a problem with the client rather than the server. curl --basic --user usern...@example.com:your-password -i --data-binary @/path/to/example.zip -H Content-Type: application/zip -H X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP; -vvv http://75.101.130.190/sword/deposit/123456789/2 The extra logging information you sent was related to the parsing of the service document. It highlighted one small issue where DSpace is not setting the atom:generator element which according to the spec is SHOULD (not MUST), and since we are setting it in deposit responses I've patched 1.6 to fix this issue. However this wouldn't cause this problem. http://jira.dspace.org/jira/browse/DS-328 Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ dspace_log.docx Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, Thanks a lot for the explanations and pointers. I could use your template and successfully submit to the test instance. Would it be possible for you to send me the patch so that I can install it in our Dspace code? Great job! Thanks, Deb From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Thursday, September 17, 2009 5:06 PM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] OfficeSWORD Hi Deb, I installed the Add-in and created a document as per their specifications. But, the top ribbon does not display any 'AddIn' tab as shown by Pablo in his YouTube demo that is linked in your blog. This tab is required for uploading to a repository. I suffer from a similar problem on one of my computers. The tab appears in the ribbon when I first install the add-in (and select the 'yes, show me the readme' option at the end of the installer), but after I close Word and re-open it, it disappears. I don't have that problem on my other machine where it works faultlessly. One of the developers had replied that they have successfully uploaded to Dspace, Fedora, EPrints etc. How could that be possible without the patch you've mentioned about? They may have used the public DSpace/SWORD test instance which has the patch installed (http://dspace.sowrdapp.org/). If you want to try depositing to it, download a pre-configured template from http://blog.stuartlewis.com/2009/07/04/direct-from-ms-word-to-dspace-via-swo rd/ (see the penultimate paragraph). Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] OfficeSWORD
Hi Stuart, Thank you very much for the info and the links. You are right about OfficeSWORD having been replaced by 'Article Authoring Add-in'. I installed the Add-in and created a document as per their specifications. But, the top ribbon does not display any 'AddIn' tab as shown by Pablo in his YouTube demo that is linked in your blog. This tab is required for uploading to a repository. One of the developers had replied that they have successfully uploaded to Dspace, Fedora, EPrints etc. How could that be possible without the patch you've mentioned about? Thanks, Deb From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Wednesday, September 16, 2009 5:45 PM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] OfficeSWORD Hi Deb, Hi, I am trying to get OfficeSWORD to work. It doesn't retrieve the DSpace servicedocument as expected. My question is how do I provide the username/passwd required for authentication by Dspace to OfficeSWORD? I'm not sure about the current state of OfficeSWORD. I think it might have replaced by the 'Article Authoring Add-in': http://www.microsoft.com/downloads/details.aspx?FamilyID=09C55527-0759-4D6D- AE02-51E90131997E http://www.microsoft.com/downloads/details.aspx?FamilyID=09C55527-0759-4D6D -AE02-51E90131997Edisplaylang=en displaylang=en DSpace can be made to accept deposits from this add-in, but I need to find some time to package it into a patch that can be applied to DSpace. I'll see if I can get this done over the next few days and will send you a copy. It requires some code that can unpackage a .docx file to extract the metadata. Details are at http://blog.stuartlewis.com/2009/07/04/direct-from-ms-word-to-dspace-via-swo rd/ Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] OfficeSWORD
Hi, I am trying to get OfficeSWORD to work. It doesn't retrieve the DSpace servicedocument as expected. My question is how do I provide the username/passwd required for authentication by Dspace to OfficeSWORD? It doesn't ask me for it. Upon connecting to the repository with the address http://serverIP/sword all I get is a GUI whose content is empty and the Deposit button is disabled. In the header part of the GUI, the value of Workspace is workspace. Will greatly appreciate any help. Thanks, Deb -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help!
Hi SWORD experts, I have SWORD installed on my local machine. I built the sword.war file, installed it under tomcat/webapps and am able to view the servicedocument at localhost in the browser. I then copied over the same sword.war file to my dspace instance on Amazon Cloud. When I try to connect to it, it fails with the error: Server returned: org.purl.sword.client.SWORDClientExcpetion: Connection refused The catalina.out log has the error: at java.lang.Thread.run(Thread.java:675) Caused by: org.purl.sword.base.UnmarshallException: Error acessing the file? at org.purl.sword.base.ServiceDocument.unmarshall(ServiceDocument.java:182) at org.purl.sword.client.Client.getServiceDocument(Client.java:285) ... 16 more Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:1322) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity( XMLEntityManager.java:654) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti tyManager.java:1292) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLE ntityManager.java:1259) .. .. org.purl.sword.client.SWORDClientException: Connection refused at org.purl.sword.client.Client.getServiceDocument(Client.java:294) at org.purl.sword.client.ServletClient.doServiceDocument(ServletClient.java:413 ) at org.purl.sword.client.ServletClient.doPost(ServletClient.java:306) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) .. .. Did not post the complete error file.will provide if it is needed. Have highlighted the line that I believe is at the root of the connection problem. Please help! -Debashree -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help!
Hey Keith, It's wonderful to get your expert advice. Actually, the person who created my AMI did not implement port forwarding in my image. He checked the iptables and confirmed it. There was an error on my part in the dspace config for SWORD module that was carried over from my early experimentation with bulk-submission using SWORD. Thank you very much for the quick reply! -Debashree From: Keith Gilbertson [mailto:keith.gilbert...@gmail.com] Sent: Tuesday, September 08, 2009 11:30 AM To: Debashree Pati Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help! Debashree, Nice to see a message from you. I suspect that the person who created your AMI image placed an incorrect entry into the Linux iptables. Entries were placed into the iptables to implement port forwarding on incoming connections from standard port 80 to Tomcat port 8080. The most likely problem is that an entry was accidentally placed into the iptables that also implements this forwarding on outgoing connections. This is causing problems when the SWORD application tries to access the DTD at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. Have your systems person check the Linux iptables entries and look to see if anything is out of place. Please let me know of the resolution for this issue. Keith Gilbertson Consultant for Library and Educational Computer Systems On Tue, Sep 8, 2009 at 11:07 AM, Debashree Pati dp...@oln.org wrote: Hi SWORD experts, I have SWORD installed on my local machine. I built the sword.war file, installed it under tomcat/webapps and am able to view the servicedocument at localhost in the browser. I then copied over the same sword.war file to my dspace instance on Amazon Cloud. When I try to connect to it, it fails with the error: Server returned: org.purl.sword.client.SWORDClientExcpetion: Connection refused The catalina.out log has the error: at java.lang.Thread.run(Thread.java:675) Caused by: org.purl.sword.base.UnmarshallException: Error acessing the file? at org.purl.sword.base.ServiceDocument.unmarshall(ServiceDocument.java:182) at org.purl.sword.client.Client.getServiceDocument(Client.java:285) ... 16 more Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:1322) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity( XMLEntityManager.java:654) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti tyManager.java:1292) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLE ntityManager.java:1259) .. .. org.purl.sword.client.SWORDClientException: Connection refused at org.purl.sword.client.Client.getServiceDocument(Client.java:294) at org.purl.sword.client.ServletClient.doServiceDocument(ServletClient.java:413 ) at org.purl.sword.client.ServletClient.doPost(ServletClient.java:306) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) .. .. Did not post the complete error file.will provide if it is needed. Have highlighted the line that I believe is at the root of the connection problem. Please help! -Debashree -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists
[Dspace-tech] very interesting tomcat caching issue
Hi all, Recently, we did branding of a site and created browser specific style sheets (style.css, style_ie6.css, style_ie7.css, style_ie8.css). File sitemap.xmap contains code that applies the right style sheet to the site depending upon browser type/version. Each time we viewed the site using Firefox, style.css gets applied as expected. However, the story is different when browsing with different versions of IE: style sheets are not getting applied as expected. For example, if we first viewed the site using IE 7, style_ie7.css gets picked up correctly. Next when we open the site in IE 6 and IE 8, instead of getting their version specific style sheets they get style_ie7.css. Restarted Tomcat and viewed first with IE 6. Guess what? All subsequent viewing in IE 7 IE 8 get the style_ie6.css. Decided to experiment this with the stock theme: Kubrick. Results were same as above. Please check this out yourself by viewing some existing or test collection with Kubrick theme in different IE versions. Found an earlier discussion on this issue in Feb'09 by Eric Luhrs http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg06870.html No one has mentioned any solution other than the hack suggested by Eric. Checked with him recently and he still hasn't found an alternative. Hoping to hear some expert ideas. We really need to get this fixed for our user base. - Deb Web Developer, Ohio Learning Network, USA -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] SWORD post error
Hi Mika, The unauthorized' message is sometimes misleading. In our case it was due to missing elements/attributes in the dspace dc-types. If you compare the metadata being imported with the default schema at your site in the file [dspace-source]/dspace/config/registries/sword-metadata.xml, you may find some fields missing. For us, the fields: dc.language.rfc3066, dc.date.updated, and dc.description.version were in the metadata being imported but not present in the sword-metadata.xml. Adding these fields had solved the problem. You may want to verify yours. Otherwise, it would be due to something else and someone else might have the answer for it. Good luck! -Debashree -Original Message- From: mikan.d.dspace listmail [mailto:mikan.dsp...@gmail.com] Sent: Thursday, March 05, 2009 9:54 AM To: dspace-t...@lists.sourceforge.net. Subject: [Dspace-tech] SWORD post error Im testing DSpace SWORD application, but when Im trying to do post I get unauthorized, allthough username and password are the same as DSpace admin. Should I set some specific authorizations for collections that I want to be able to do POST or what would do the trick here? Thanks, Mika -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] build error during installing dspace-1.5.1 on fedora5
Hi, I completed the Unix installation instructions for Dspace (section 3.2.3 in http://www.dspace.org/1_5_1Documentation/ch03.html#N105CA) successfully until step 5. For step 6, I changed directory to [dspace source]/dspace and typed mvn package The build failed with the following error messages: --- [INFO] [compiler:compile] [INFO] Compiling 63 source files to / usr/local/dspace-1.5.1-src-release/dspace-xmlui/dspace-xmlui-wing/target/cla sses [ERROR] BUILD FAILURE [INFO] Compilation Failure [INFO] Failure executing javac, but could not parse the error: [INFO] javac: directory not found: /usr/local/dspace-1.5.1-src-release/dspace-xmlui/dspace-xmlui-wing/target/cl asses - Has anyone had similar problem or can provide some insight into what might be causing this error? Thanks, deb -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] question about deploying dspace-sword
Thanks Hayden for the reply. I had added the context path for Dspace SWORD user like you've mentioned. And, yes I am able to browse to both jspui and xmlui. Another thing I noticed is that under C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword There is only a single file called SESSIONS.ser. I believe this must be what Tomcat is attempting to deploy. All the other subdirectories like [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of various files. How does your directory content under sword look like? Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to figure out how to resolve them) INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/dspace-sword] startup failed due to previous errors Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive sword-client.war Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3594 ms --- Thanks for any help. -Deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 10:05 AM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword I was able to get sword working by adding the context; Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword debug=0 reloadable=true cachingAllowed=false allowLinking=true/ If you are able to browe jspui and/or xmlui I'm assuming you may have done this; if so, is Tomcat logging any additional errors? Cheers Hayden Debashree Pati wrote: Hi, The DSpace 1.5 documentation (3.4 Windows Installation - Installation Steps - step 10) states: 10. Browse to either |http://localhost:8080/jspui| or |http://localhost:8080/xmlui|. You should see the DSpace home page for either the JSPUI or XMLUI, respectively. What about the dspace-sword instance? The documentation does not mention it anywhere. The installation step in README under the download *dspace-sword-6-11-2007/dspace-sword* states: 7/ When deployed you should be able to view your service document at the following url: http://[dspace.hostname]/dspace-sword/servicedocument But, it just gives me the 404 message of resource not found. Can someone please help me in getting this to work? Thanks, Deb -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] question about deploying dspace-sword
Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with contents. Also, the lni/ and oai/ have folders and files. But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni subdirectory here. I don't remember of any error while installing Tomcat. Shouldn't these web apps. supposed to be under [Tomcat]/webapps? - Here I only have the folders - docs, examples, host-manager, manager, ROOT, sword-client, and sword-client.war(put by me). Why doesn't it have the jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure out what's going on. Will appreciate any help. Thanks, Deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 11:09 AM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword No, there should be more files than that. If you look in the sword directory you should see the sub directories META-INF/ and WEB-INF/. What about in oai/ and lni/? Were there any errors during installation? Cheers Hayden Debashree Pati wrote: Thanks Hayden for the reply. I had added the context path for Dspace SWORD user like you've mentioned. And, yes I am able to browse to both jspui and xmlui. Another thing I noticed is that under C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword There is only a single file called SESSIONS.ser. I believe this must be what Tomcat is attempting to deploy. All the other subdirectories like [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of various files. How does your directory content under sword look like? Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to figure out how to resolve them) INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/dspace-sword] startup failed due to previous errors Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive sword-client.war Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3594 ms --- Thanks for any help. -Deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 10:05 AM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword I was able to get sword working by adding the context; Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword debug=0 reloadable=true cachingAllowed=false allowLinking=true/ If you are able to browe jspui and/or xmlui I'm assuming you may have done this; if so, is Tomcat logging any additional errors? Cheers Hayden Debashree Pati wrote: Hi, The DSpace 1.5 documentation (3.4 Windows Installation - Installation Steps - step 10) states: 10. Browse to either |http://localhost:8080/jspui| or |http://localhost:8080/xmlui|. You should see the DSpace home page for either the JSPUI or XMLUI, respectively. What about the dspace-sword instance? The documentation does not mention it anywhere. The installation step in README under the download *dspace-sword-6-11-2007/dspace-sword* states: 7/ When deployed you should be able to view your service document at the following url: http://[dspace.hostname]/dspace-sword/servicedocument But, it just gives me the 404 message of resource not found. Can someone please help me in getting this to work? Thanks, Deb -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list
[Dspace-tech] question about deploying dspace-sword
Hi, The DSpace 1.5 documentation (3.4 Windows Installation - Installation Steps - step 10) states: 10. Browse to either http://localhost:8080/jspui or http://localhost:8080/xmlui. You should see the DSpace home page for either the JSPUI or XMLUI, respectively. What about the dspace-sword instance? The documentation does not mention it anywhere. The installation step in README under the download dspace-sword-6-11-2007/dspace-sword states: 7/ When deployed you should be able to view your service document at the following url: http://[dspace.hostname]/dspace-sword/servicedocument But, it just gives me the 404 message of resource not found. Can someone please help me in getting this to work? Thanks, Deb -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] question about deploying dspace-sword
Thank you very much for keeping up with my postings. I decided to do a fresh install of dspace in my linux machine and go from there. Hopefully, things will work well there. If not, I'll be back to posting again. - deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 1:30 PM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword Debashree Pati wrote: Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with contents. Also, the lni/ and oai/ have folders and files. But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni subdirectory here. I don't remember of any error while installing Tomcat. Yes, checking my Catalina/localhost/ directory I see similar directories to you. Shouldn't these web apps. supposed to be under [Tomcat]/webapps? - Here I only have the folders - docs, examples, host-manager, manager, ROOT, sword-client, and sword-client.war(put by me). Why doesn't it have the jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure out what's going on. Will appreciate any help. You can either deploy the generated war files from /your/build/path/build/dspace-1.5.1-release/dspace/modules/oai/target/ to the tomcat webapps directory, or you can reference the dspace app directly from /usr/local/dspace/webapps/ (these are the unpacked war files, all dropping them into tomcat/webapps will do is unpack them from there instead). Without the error logs above SEVERE: Error listenerStart it's hard to diagnose. One thing I had to do was set TOMCAT5_SECURITY=no. Not sure where this setting is on a Windows platform. Could you also provide your Tomcat context config? Thanks, Deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 11:09 AM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword No, there should be more files than that. If you look in the sword directory you should see the sub directories META-INF/ and WEB-INF/. What about in oai/ and lni/? Were there any errors during installation? Cheers Hayden Debashree Pati wrote: Thanks Hayden for the reply. I had added the context path for Dspace SWORD user like you've mentioned. And, yes I am able to browse to both jspui and xmlui. Another thing I noticed is that under C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword There is only a single file called SESSIONS.ser. I believe this must be what Tomcat is attempting to deploy. All the other subdirectories like [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of various files. How does your directory content under sword look like? Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to figure out how to resolve them) INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/dspace-sword] startup failed due to previous errors Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive sword-client.war Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3594 ms --- Thanks for any help. -Deb -Original Message- From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: Wednesday, February 04, 2009 10:05 AM To: Debashree Pati Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] question about deploying dspace-sword I was able to get sword working by adding the context; Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword debug=0 reloadable=true cachingAllowed=false allowLinking=true/ If you are able to browe jspui and/or xmlui I'm assuming you may have done this; if so, is Tomcat logging any additional errors? Cheers Hayden Debashree Pati wrote: Hi, The DSpace 1.5 documentation (3.4 Windows Installation - Installation Steps - step 10) states: 10. Browse to either |http://localhost:8080/jspui| or |http://localhost:8080/xmlui|. You should see the DSpace home page for either the JSPUI or XMLUI