Re: [Dspace-tech] Audio/Video Streaming
Tomorrow is Association of Moving Image Archivists and Digital Library Federation Hack Day 2014, in case anyone wishes to propose or work on things related to these video projects. http://wiki.curatecamp.org/index.php/Association_of_Moving_Image_Archivists_%26_Digital_Library_Federation_Hack_Day_2014 Thanks. On Tue, Oct 7, 2014 at 2:55 PM, Peter Dietz pe...@longsight.com wrote: Hi Miguel, Here's a PR: https://github.com/DSpace/DSpace/pull/504 Also, we've got a theme customization that uses flash for progressive download / playback of video: https://trydspace.longsight.com/handle/123456789/68 Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 2014-10-07 13:32 GMT-04:00 Miguel Angel Robledo marobl...@santafe.gov.ar : Hi, Is the feature Audio/Video Streaming [1] included in the Dspace 5 Release Candidate? Thanks [1] https://wiki.duraspace.org/pages/viewpage.action?pageId=45548591 -- Ing. Miguel Angel Robledo Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe San Martín 2466 (S3000FSB) Santa Fe -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled
Sara, We're still running DSpace 1.8.2 here. We're going to the DSpace 3 update sometime this year. We'll need to update and fix our code, and I think that the intern we have here now will take more meticulous notes about how this customization works. He's good about that. I do remember that there is a dspace.cfg parameter: xmlui.content_disposition_threshold = 8388608 Keeping this set to zero (not -1) was part of getting things to work. We have a custom BitstreamReader from 1.7 that fixes some bugs in that partial download code, but it hasn't been properly integrated with the newer versions of DSpace yet.f I can pass along notes from our upgrade to DSpace 3.2 later this summer. --keith On Tue, Jun 18, 2013 at 1:31 PM, Sara Amato sam...@willamette.edu wrote: I'm trying to get this working in xmlui, and find that while I can get the proper looking code on the page, e.g. video src=/xmlui/bitstream/handle/10177/62/Knopf.mp4?sequence=1http://localhost:8080/xmlui/bitstream/handle/10177/62/Knopf.mp4?sequence=1 width=320 height=240 controls= autobuffer= / the video does not play. If I go to the link directly, it downloads the video rather than playing. I notice in the VTech example, following the link http://vtechworks.lib.vt.edu/bitstream/handle/10919/18426/S11L1U0024h_qtp.mp4?sequence=3 actually plays the video. I'm guessing that I missed a step somewhere. All I've done is edit the item-view.xsl and uncommented the partial download code in the BitstreamReader. Any advice appreciated. On May 31, 2013, at 1:24 AM, Jonathan Freesbay wrote: Hi, It looks like it only works in Firefox. In IE I get Invalid source. The same file works in other static web servers. Looking at the content type, I got video/mp4;charset=ISO-8859-1. This should be just video/mp4. How can I change this? Thanks, -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled
Jonathan - I'm not sure if you're using xmlui or jspui. I know that in xmlui, the servlet didn't implement content range. You have to uncomment some code in BitstreamReader, and then fix a couple of bugs in it to get things working. Sample: http://vtechworks.lib.vt.edu/handle/10919/18426 I've been intending to put these code changes back into the DSpace project, but since the hack was a bit rushed I wanted to wait and see if anything broke. Also, I think it would be better if the content-range was configurable to be enabled/disabled. --keith On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay j.frees...@gmail.com wrote: Hi, I added a html 5 video tag to play the video's I uploaded to dspace. The video can be played, but I cannot seek to parts which aren't downloaded. The command curl -H Range:bytes=16- -I localhost:8080 gives Accept-Ranges: bytes back, so tomcat understands content-range. Does this mean that the servlet handling the file downloads doesn't implement content-range? What other options do I have within dspace to do this or will it be difficult to implement content-range on servlet level? Regards, (This is my second post for the same question, as the first was sent to dspace-gene...@lists.sourceforge.net, as the question should be sent to this mailing list.) -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] TIFF Thumbnail Preview
Scott - It's been a while since I've done this anywhere. I'm a bit fuzzy on it and looks like I may have left out some details in the original message. - Did you deploy the updated dspace.cfg file to your installation directory? - Do the file extensions of your TIFF files match the file extensions that you added to the bitstream format registry? - Were the TIFF bitstreams added to DSpace before or after you added the TIFF format to the bitstream format registry? If the bitstreams were added before you made the changes, you will need to go back into the items and edit the bitstreams. Change the formats from application/octet-stream to image/tiff. Then try running filter-media again. --keith On Jan 18, 2011, at 12:21 PM, RENTON Scott wrote: Hi folks, I'm running 1.5.2 and have had a request from a user for TIFFs to have thumbnails generated to appear in their lists as previews. I followed the instructions in this thread ( http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg03180.html), getting the dspace.cfg file updated, MIME types updated, and the Java tools installed to the server, but I'm not seeing the output of filter-media attempt to convert these items. Is there anything else I should be doing? Thanks very much Scott -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Range query search in dspace 1.7.0
Does it happen to work from either the discovery search or the solr admin interface if you leave the TO out of the query? var:[10 20] On Jan 10, 2011, at 10:44 AM, Mckeane Thomas wrote: Hello, I have recently installed dspace 1.7.0 But I am unable to perform range query searches. I have turned on Discovery as outlined in the documentation. For example the search var:[10 TO 20] with keyword var of type sint indexed within the range 10 TO 20 produced no results.But when I do a search for the keyword var the values returned are those indexed with keyword var I have edited the /dspace-1.7.0-release/dspace-instance/solr/statistics/conf/schema.xml document and added the fields: !--*fields i added-- field name = var type = sint indexed =true stored =true mulitvalued =true omitNorms =true / copyField source =dc.format.extent dest = var/ field name=dc.format type=sint indexed=true stored=true multiValued=true/ dynamicField name=dc.format.* type=sint indexed=true stored=true multiValued=true/ !--*-- and added to : /dspace-1.7.0-release/dspace-instance/config dspace.cfg document the field for indexing: search.index.13 = var:dc.format.extent Also from Solr admin search interface I performed the following search: var:[10 TO 20] which also produced no results. Also if I perform a search for the keyword var I get the error below. HTTP Status 500 - String index out of range: 2 java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.charAt(String.java:687) at org.apache.solr.util.NumberUtils.SortableStr2int(NumberUtils.java:129) at org.apache.solr.schema.SortableIntField.write(SortableIntField.java:72) at org.apache.solr.schema.SchemaField.write(SchemaField.java:108) at org.apache.solr.request.XMLWriter.writeDoc(XMLWriter.java:311) at org.apache.solr.request.XMLWriter$3.writeDocs(XMLWriter.java:483) at org.apache.solr.request.XMLWriter.writeDocuments(XMLWriter.java:420) at org.apache.solr.request.XMLWriter.writeDocList(XMLWriter.java:457) at org.apache.solr.request.XMLWriter.writeVal(XMLWriter.java:520) at org.apache.solr.request.XMLWriter.writeResponse(XMLWriter.java:130) at org.apache.solr.request.XMLResponseWriter.write(XMLResponseWriter.java:34) at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) However, doing the same range searches in dspace 1.6.2 from solr admin search interface returns the expected results. Any help would be appreciated. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] syntax error at or near RETURNING dspace 1.7
Please check that the version number of the PostgreSQL database server is at 8.2 or higher. On Dec 18, 2010, at 3:23 AM, Ahmed Maher wrote: this error appears when installing dspace 1.7 [java] at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75) [java] Error: [java] - ERROR: syntax error at or near RETURNING when running ant fresh_install command -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Upload Directory Issue
On Dec 6, 2010, at 1:21 AM, Hardik Mishra wrote: Hello I have seen some strange behavior with Dspace-1.5.2 on Linux. I have observed in 2 different linux systems, when we upload any file. It is not showing in upload directory. There is some code in the uploadFiles(...) method in SubmissionController.java file in DSpace that deletes files after they are uploaded to the temporary directory: // cleanup our temp file if (!temp.delete()) { log.error(Unable to delete temporary file); } So, this appears to be a normal situation. I do see some files in ${upload.temp.dir} on some DSpace systems, but they are from SWORD submissions. Though Dspace works fine as files are getting stored in bitstream format in /assetstore directory. Under # Upload File settings # # Where to temporarily store uploaded files upload.temp.dir = ${dspace.dir}/upload # Maximum size of uploaded files in bytes, negative setting will result in no limit being set # 512Mb upload.max = 536870912 I have above values and directory also exists at /dspace/upload. But I can't see file in it. In windows XP and windows 2003 the same confg. is running fine. Can anyone please help me ? Thanks Regards Hardik Mishra Software Engineer Webinito Networks Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Upload Directory Issue
I'm noticing that you said the files are still there in Windows. I'm confused, but I wonder if this might be some difference between Windows and Linux. In Linux, it appears to be no problem to delete file while a process has it open for reading (in DSpace, there's an InputStream open on the temporary file when it is deleted), but maybe this doesn't work in Windows On the Windows systems, do you haveUnable to delete temporary file messages in your dspace log files after an upload? On Dec 6, 2010, at 1:21 AM, Hardik Mishra wrote: Hello I have seen some strange behavior with Dspace-1.5.2 on Linux. I have observed in 2 different linux systems, when we upload any file. It is not showing in upload directory. Though Dspace works fine as files are getting stored in bitstream format in /assetstore directory. Under # Upload File settings # # Where to temporarily store uploaded files upload.temp.dir = ${dspace.dir}/upload # Maximum size of uploaded files in bytes, negative setting will result in no limit being set # 512Mb upload.max = 536870912 I have above values and directory also exists at /dspace/upload. But I can't see file in it. In windows XP and windows 2003 the same confg. is running fine. Can anyone please help me ? Thanks Regards Hardik Mishra Software Engineer Webinito Networks Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Steve - I used Google and found this: http://archives.postgresql.org/pgsql-bugs/2005-11/msg00269.php When I run the 'locale' command here, I get this: LC_CTYPE=en_US.UTF-8 The same thing when I check from psql: gkrtrain= show lc_ctype gkrtrain- ; lc_ctype - en_US.UTF-8 (1 row) I'm not sure if this is related to your problem, but it might be worth verifying that you get similar answers. On Oct 27, 2010, at 5:46 PM, Steve Swinsburg wrote: Hi all, We've completed another restore but are still having the same issue. This time we created a new database with the UNICODE encoding as per the installation manual: createdb -U dspace -E UNICODE dspace We then took an export of the current production database: pg_dump dspace dspace-prod.dump and imported it into the new database: psql -d dspace -f dspace-prod.dump We then upgraded the database to 1.6: psql -U dspace -f /dspace-1.6-2-src-release/dspace/etc/postgres/database_schema_15_16.sql dspace And ran the index-init script: [dspace]/bin/dspace index-init But still the same issue as before. dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) 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) Is there anything wrong with the above process? The next step we are going to attempt is checking the actual SQL dump for the bad characters but it is massive (1.5 Gb) thanks, Steve On 26/10/2010, at 10:10 AM, Steve Swinsburg wrote: Hi Kim, We took a *copy* of the database and refreshed it back to dev, so it is identical to the production one, then upgraded it in dev. So I'll need to find out if the original database from production was created that way. Perhaps we should take a dump of the production database instead, and then import that into a fresh UTF8 created database? I think the issue is that the original database was never created as UTF8. Thanks, Steve On 26/10/2010, at 9:17 AM, Kim Shepherd wrote: Hi Steve, Just to check, has your new/dev database been created with UTF8 character encoding? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) 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) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve --
Re: [Dspace-tech] Number of communities and collections
Hi - I think that this will count the number of collections in your DSpace instance: select count(*) from collection; On Oct 26, 2010, at 8:30 AM, Admire wrote: Hi I am interested in establishing the number of Communities and collections in my DSpace instance. Is there a ready SQL query to accomplish? Regards, Admire -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace/Maven help request - update dependency version
On Oct 8, 2010, at 3:18 PM, Mark Diggory wrote: If you push the poi version to 3.6 in your maven configuration, do you still get the error? Mark Yes. I'd made that change in the maven configuration, but I still had to rebuild the tm-extractors against poi-3.6. Then that made the error go away. There's a document here: http://java.sun.com/docs/books/jls/second_edition/html/binaryComp.doc.html It has many details about binary compatibility. Apparently the POI developers broke a recommendation buried in this document, and that requires tm-extractor libraries to actually be rebuilt with newer versions of POI in order to work with them. It's not possible to build the tm-extractors with poi 3.0.1 and then use them successfully with poi version 3.6. So, the maven configuration needs to be updated to 3.6 AND the dspace-tm-extractors need to be built against poi 3.6. -- 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] DSpace/Maven help request - update dependency version
Thanks, Tim. That helped me to understand. I put the version numbers of the dependency in the parent pom.xml ('dspace-src/pom.xml') and left the version numbers out of 'dspace-src/dspace-api/pom.xml'. So then I found another thing I didn't look at closely enough. The WordFilter doesn't use poi directly, but the org.textmining project that it uses depends on that old version of POI. To confuse things more, the old versions of poi had groupId 'poi', and the new versions have groupId 'org.apache.poi'. I can convince Maven to forget about the old version of the POIi library by making this exclusion change in the parent pom: dependency groupIdorg.textmining/groupId artifactIdtm-extractors/artifactId version0.4/version exclusions exclusion groupIdpoi/groupId artifactIdpoi/artifactId /exclusion /exclusions /dependency dependency Then only the new version, org.apache.poi/poi/3.6 is included in the project. Unfortunately, the org.textmining extractors really do need that version of POI. The PowerPointFilter works, but I've broken the WordFilter: Exception: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryEntry; java.lang.NoSuchMethodError: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryEntry; at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:51) at org.dspace.app.mediafilter.WordFilter.getDestinationStream(WordFilter.java:95) I have two programs that share the same classpath, but need different versions of the same library. I could rewrite the WordFilter so that it no longer uses the org.textmining package which needs the old library, but I keep thinking that the more I try to fix stuff, the more I'm likely to break: http://www.nypost.com/p/news/local/brooklyn/rat_bastards_f5onjzgcqxm0fu3RFz3ySL On Oct 5, 2010, at 4:09 PM, Tim Donohue wrote: Hi Keith, Simply put, it's because you were accidentally looking in the wrong pom.xml :) There's many of them sprinkled through the DSpace codebase, and they all inherit many of their settings from one main pom.xml. So, you noticed that the 'dspace-api/pom.xml' file included a dependency for poi. But, if you look closely, that dependency doesn't list a version. This is because, for DSpace, we manage all the versions of dependencies in one parent pom.xml (which is loaded via the parent tag within the dspace-aip/pom.xml). Now, take a look at the [dspace-src]/pom.xml. This is the main Parent pom.xml for dspace (with an artifactid of 'dspace-parent') http://scm.dspace.org/svn/repo/dspace/trunk/pom.xml This is the pom.xml which actually lists the versions of every dependency used by the various APIs of DSpace. If you search in this pom.xml, you'll find this entry: dependency groupIdpoi/groupId artifactIdpoi/artifactId version2.5.1-final-20040804/version /dependency That's where the 2.5.1 version is sneaking in. If you make your necessary changes to this pom.xml, everything should act as you expect it to. So, just undo your changes in 'dspace-src/dspace-api/pom.xml', and instead make those changes to 'dspace-src/pom.xml' I hope that helps! - Tim On 10/5/2010 2:36 PM, Keith Gilbertson wrote: Hi, I've been experimenting with a Media Filter for text extraction from PowerPoint files. It's based on the Apache POI libraries, as was suggested by others in a previous thread. It uses the poi, poi-scratchpad, and poi-ooxml artifacts, in version 3.6, the latest release version from Apache. I haven't done much with Maven, and am not sure how to tell it which libraries I need. This bit was already in the dspace-api/pom.xml file: dependency -groupIdpoi/groupId -artifactIdpoi/artifactId -/dependency I removed it, because I wanted the latest version of the libraries. Then, I added these dependencies to the bottom of the file: +dependency +groupIdorg.apache.poi/groupId +artifactIdpoi/artifactId +version3.6/version +/dependency +dependency +groupIdorg.apache.poi/groupId +artifactIdpoi-scratchpad/artifactId +version3.6/version +/dependency +dependency +groupIdorg.apache.poi/groupId +artifactIdpoi-ooxml/artifactId +version3.6/version +/dependency Somehow Maven magically found the correct versions of the dependencies, and everything built fine. When I deployed DSpace and looked in the lib directory, there were two versions of the main poi library there: poi-2.5.1-final-20040804.jar poi-3.6.jar poi-ooxml-3.6.jar poi-ooxml-schemas-3.6.jar poi-scratchpad-3.6.jar I couldn't figure out why the poi-2.5.1 version was still there, or find anything that actually used it. So, in the interest of doing some quick testing, I just deleted
Re: [Dspace-tech] DSpace/Maven help request - update dependency version
Thanks Graham and Tim. I hadn't seen that. On Oct 6, 2010, at 11:52 AM, Graham Triggs wrote: That version of tm-extractors is quite old. There is a newer version on the Google site - http://code.google.com/p/text-mining/ - but it will take a bit of work wrapping things up for general use. It has dependencies on newer versions of POI than 0.4, and some distinct improvements to it's robustness. G On 6 October 2010 16:39, Tim Donohue tdono...@duraspace.org wrote: Ugh -- sounds like you've entered dependency hell. Though, I think the one shred of good news here is that it seems to only have a dependency conflict in one place in our codebase. It looks like (at a glance) if our WordFilter can be re-written to no longer need the org.textmining project, you *might* be OK (i.e. hopefully it wouldn't snowball on you). But, that would require finding a Word document text extractor that is as good as (or better than) that 'org.textmining' one, and then hoping it doesn't cause another dependency conflict. Not sure of any alternative Word text extractors, off the top of my head, but maybe others know of one? - Tim -- 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
[Dspace-tech] DSpace/Maven help request - update dependency version
Hi, I've been experimenting with a Media Filter for text extraction from PowerPoint files. It's based on the Apache POI libraries, as was suggested by others in a previous thread. It uses the poi, poi-scratchpad, and poi-ooxml artifacts, in version 3.6, the latest release version from Apache. I haven't done much with Maven, and am not sure how to tell it which libraries I need. This bit was already in the dspace-api/pom.xml file: dependency - groupIdpoi/groupId - artifactIdpoi/artifactId - /dependency I removed it, because I wanted the latest version of the libraries. Then, I added these dependencies to the bottom of the file: + dependency + groupIdorg.apache.poi/groupId + artifactIdpoi/artifactId + version3.6/version + /dependency + dependency + groupIdorg.apache.poi/groupId + artifactIdpoi-scratchpad/artifactId + version3.6/version + /dependency + dependency + groupIdorg.apache.poi/groupId + artifactIdpoi-ooxml/artifactId + version3.6/version + /dependency Somehow Maven magically found the correct versions of the dependencies, and everything built fine. When I deployed DSpace and looked in the lib directory, there were two versions of the main poi library there: poi-2.5.1-final-20040804.jar poi-3.6.jar poi-ooxml-3.6.jar poi-ooxml-schemas-3.6.jar poi-scratchpad-3.6.jar I couldn't figure out why the poi-2.5.1 version was still there, or find anything that actually used it. So, in the interest of doing some quick testing, I just deleted it. Can someone give a hand on how to do this properly? I'm trying to tell the build process to find and use only version 3.6 of poi. Thank you! --keith -- 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] PowerPoint Text Extractor
I can volunteer to add this feature. On Sep 29, 2010, at 11:03 AM, Richard Rodgers wrote: Hi RIchard: I cannot speak to it's quality (and indeed we have had quality issues with other formats) but Apache POI library supports Powerpoint text extraction. I would study the doc at http://poi.apache.org/ for how to use the library, and look in: http://scm.dspace.org/svn/repo/dspace/trunk/dspace-api/src/main/java/org/dspace/app/mediafilter for examples of other extractor media filters. Then post any questions to the tech or dev list. Hope that is helpful, Richard Rodgers On Sep 29, 2010, at 10:14 AM, Jizba, Richard wrote: Hello, Are there plans to add a PPT text extractor to DSpace? In the meantime, can some provide information on how to implement one? Thanks, Richard Jizba Creighton University. ATT1..cATT2..c -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Setup
On Sep 30, 2010, at 6:36 PM, Pottinger, Hardy J. wrote: 3. Back when we were running on DSpace 1.5.1, after a period of about 24-36 hours of uptime, Tomcat became unavailable. Apache reported 503: service unavailable. Looking at a dump after killing all Java processes, it appeared that all database connections were unavailable. Changing the db.maxconnections and db.maxidle settings (see above) was helpful, but we are proactively rebooting tomcat and apache every night, to clean out the cobwebs. Have not disabled the nightly reboot since the upgrade to 1.6.2, so do not have current data/log files. I'm willing to try other config settings. I'm pretty sure I saw an interesting looking patch that drops database connections (mainly for streaming situations) that I can't seem to find right now, but might help this particular stability issue. There's a patch here for xmlui: http://jira.dspace.org/jira/browse/DS-677 I'm don't know if this addresses the problem that you used to have in 1.5, though. I think I've seen something like what you're talking about with a scheduling conflict between vacuuming or other maintenance of the database and the media filter processes running. It's been a long time though and I'm very fuzzy on this. In 1.6, the solr statistics code seems to make heavy use of database connections to figure out which item, collections, and communities a bitstream belongs. I haven't spent enough time poking around though to see if the database usage might be reduced, or the connections held open less often. On a side note, I noticed that in the slides for the recent presentation from @mire about the statistics system, there are a few suggestions for optimizing solr sites with heavy usage. I missed the seminar, though, so I'm not sure of the details. --keith -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Setup
On Sep 30, 2010, at 7:14 PM, Keith Gilbertson wrote: I think I've seen something like what you're talking about with a scheduling conflict between vacuuming or other maintenance of the database and the media filter processes running. It's been a long time though and I'm very fuzzy on this. Now that I'm thinking about it, it may have been an item import or some other long running batch process. I haven't spent enough time poking around though to see if the database usage might be reduced, or the connections held open less often. Instead of connections held open less often, I think I meant something more along the lines of reduce the amount of time it takes to return a database connection back to the database pool and/or reduce the number of concurrent connections needed. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dsrun - batch import
Hello - Please check which version of Java you are using. DSpace 1.6 requires the Sun Java JDK 5 or later. --keith On Sep 29, 2010, at 1:58 PM, Miguel Pizarro wrote: hi everyone, I'm trying to import data to dspace 1.6 using dsrun application. In dspace 1.4 I don't have problem with this function, but in dspace 1.6 appear an error when I execute the follow sentence: ./dsrun org.dspace.app.itemimport.ItemImport -a -e dsp...@alerta.cl -c 1 -s /data/carga/root -m ejemplo_8 Destination collections: Owning Collection: Prueba Carga de colecciones Adding items from directory: /data/carga/root Generating mapfile: ejemplo_8 Adding item from directory 000541595 Loading dublin core from /data/carga/root/000541595/dublin_core.xml Schema: dc Element: format Qualifier: medium Value: BK Schema: dc Element: identifier Qualifier: code Value: 000541595 Schema: dc Element: language Qualifier: none Value: spa Schema: dc Element: contributor Qualifier: author Value: Bastà as, Gabriel Schema: dc Element: title Qualifier: none Value: Garantà as explà citas en salud (GES) : seis consideraciones para su implementación Schema: dc Element: publisher Qualifier: none Value: Pontificia Universidad Católica de Chile, Vicerrectorà a de Comunicaciones y Asuntos Públicos Schema: dc Element: date Qualifier: created Value: 2007 Schema: dc Element: description Qualifier: none Value: Temas de la agenda pública ; Año 2, no. 9 Schema: dc Element: subject Qualifier: other Value: Reforma en la atención de salud - Chile Schema: dc Element: subject Qualifier: other Value: Polà tica de salud - Chile Schema: dc Element: contributor Qualifier: author Value: Andia, Marcelo. Schema: dc Element: archivos Qualifier: adjuntos Value: 12.pdf Processing contents file: /data/carga/root/000541595/contents Bitstream: 12.pdf Processing handle file: handle It appears there is no handle file -- generating one Exception in thread main java.lang.NoSuchMethodError: method java.lang.String.format with signature (Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.String; was not found. at org.dspace.content.DCDate.toStringInternal(DCDate.java:284) at org.dspace.content.DCDate.toString(DCDate.java:272) at org.dspace.content.InstallItem.installItem(InstallItem.java:112) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:774) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:608) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:500) Could someone help me? Thank for your time… Miguel Pizarro Soporte Tecnológico Alerta al Conocimiento Fono 56 (2) 233 79 08 e-mail: sopo...@alerta.cl Providencia n° 2.040 of. C. CP: 7510117 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] IP authentication not working
There was a bug in DSpace that caused this issue: http://jira.dspace.org/jira/browse/DS-242 There's a suggested fix in the 24 March comment on that page, or, you can upgrade to DSpace 1.6.2, which is the newest release. --keith On Sep 24, 2010, at 6:10 AM, Jamil Haddad wrote: Forgot to mention that I'm using version 1.6.0. On 9/24/2010 12:57 PM, Jamil Haddad wrote: Hello, I need to enable IP authentication for a community. I've set the below in dspace.cfg: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPHierarchicalAuthentication, \ org.dspace.authenticate.IPAuthentication and authentication.ip.PROXY_IP = 10.2.4.20, \ 10.2.4.24 I am using the proxies' IPs because browsing on the server from internal users is through the above IPs. And in dspace logs, I can see the users accessing through the above IPs. In the Authorization of the community, I let the group PROXY_IP have read access. And for it's included collection, I left the default Anonymous read. But when browsing, the community is not displayed to internal users and they can't view the items. Is there anything I'm missing in the IP authentication? In the dspace GUI, the PROXY_IP has no members. I assume that defining it in dspace.cfg is enough. Thanks in advance for the help. Regards, Jamil -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace]/bin Scripts : Errors!!!!!!!
And here's the missing link: http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/5.0.2/html/Getting_Started_Guide/appe-install_jdk_rhel.html On Aug 18, 2010, at 5:40 AM, Keith Gilbertson wrote: Even though you've installed jdk1.6, it looks like your system may be using a different version of Java. This guess is based on this line in your error message: at __gcj_personality_v0 (/usr/dspace-1.6.1/bin/java.version=1.4.2) This indicates a 1.4.2 version of the GCJ Java system. Try reviewing the instructions linked below for installing a Sun(now Oracle) JDK 1.6 on Red Hat, and pay special attention to the section titled Setting the Default JDK with the alternatives Utility. Luck, Keith On Aug 17, 2010, at 11:33 PM, Harsha Balasooriya wrote: I have installed Dspace in following OS and packages and everthing goes fine but I cannot excecute any script in /[dsapce]/bin directory OS -Redhad ES4 apache-ant-1.8.1 apache-maven-2.2.1 apache-tomcat-6.0.29 dspace-1.6.1 jdk1.6.0_21 [from jdk-6u21-linux-i586.rpm] the bin directory permission set to 777 Please help me! I have reinstalled the set up again and again but same error appear! Error comming is [r...@ousl bin]# ./create-administrator Warning: -Xmx256m not understood. Ignoring. Exception in thread main java.lang.NoClassDefFoundError: while resolving class: org.dspace.app.launcher.ScriptLauncher at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0) at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0) at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0) at __gcj_personality_v0 (/usr/dspace-1.6.1/bin/java.version=1.4.2) at __libc_start_main (/lib/tls/libc-2.3.4.so) at _Jv_RegisterClasses (/usr/dspace-1.6.1/bin/java.version=1.4.2) Caused by: java.lang.ClassNotFoundException: javax.management.DynamicMBean not found in [file:/usr/java/jdk1.6.0_21/jre/lib/, file:/usr/apache-maven-2.2.1/lib/, file:/usr/apache-ant-1.8.1/lib/, file:usr/apache-tomcat-6.0.29/lib, file:/usr/dspace-1.6.1/lib/activation-1.1.jar, file:/usr/dspace-1.6.1/lib/ant-1.7.1.jar, file:/usr/dspace-1.6.1/lib/ant-launcher-1.7.1.jar, file:/usr/dspace .. Thank you -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] FW: DSpace: Internal Server Error
Greg, I think that this error message means that Java can't find an IP address for the host named dspace-Production. This may be a problem with the network configuration on the machine. Is this a Linux machine? If so, what name comes up when you use the hostname command? Is there an entry for that name in the /etc/hosts file? What about an entry for dspace-Production? - Hello, I am no longer getting any HELO command errors in the error log when clicking the feedback link or trying to register a new user. The following is the error message. Any hints as what to look for would be greatly appreciated. Thank you. RHEL 5 dspace 1.5.1 tomcat postgresql I can telnet to the smtp server using port 25 so I don't think it is any type of network or firewall error. Greg Exception: java.net.UnknownHostException: dSpace-Production: dSpace-Production at java.net.InetAddress.getLocalHost(InetAddress.java:1353) at org.dspace.app.webui.servlet.FeedbackServlet.doDSGet(FeedbackServlet.jav a:87) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet. java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.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:2 93) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 9) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) This email message and any files transmitted with it are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law.� Any use, distribution, copying or disclosure by anyone other than the intended individual or entity is prohibited without prior approval.� If you have received this information in error, please notify the sender immediately. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] FW: DSpace: Internal Server Error
Greg, I'm not sure about whether or not you'd need to do anything after changing the hosts file. I think I remember a system administrator having to restart something called nscd after making this sort of change, but it's not even running on the system I'm looking at now. On that machine, I see the external IP address specified in the hosts file. There's also a host.conf file with this in it: order hosts,bind I think that makes sure that the hosts file is actually used, instead of skipping directly to the name server. Your system might also have a file /etc/nsswitch.conf file with a line like this: hosts: files nisplus nis dns You'd just want to make sure that files shows up first on that line. This is an odd problem. I don't know much about system administration so maybe someone else can chime in, or maybe there's someone in your network group who might have an idea? - Keith, Thanks for the reply. Yes it is a Linux machine, and I also thought it was an issue with the hosts file which did make reference to dSpace-Production. Running hostname returns dSpace-Production. Do I need to specify the local or external ip? And does changing the hosts file require a reboot (or anything else) for changes to take place. I appreciate your time. Greg -Original Message- From: keith.gilbert...@library.gatech.edu [mailto:keith.gilbert...@library.gatech.edu] Sent: Tuesday, June 22, 2010 9:32 AM To: Heh, Gregory Cc: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] FW: DSpace: Internal Server Error Greg, I think that this error message means that Java can't find an IP address for the host named dspace-Production. This may be a problem with the network configuration on the machine. Is this a Linux machine? If so, what name comes up when you use the hostname command? Is there an entry for that name in the /etc/hosts file? What about an entry for dspace-Production? - Hello, I am no longer getting any HELO command errors in the error log when clicking the feedback link or trying to register a new user. The following is the error message. Any hints as what to look for would be greatly appreciated. Thank you. RHEL 5 dspace 1.5.1 tomcat postgresql I can telnet to the smtp server using port 25 so I don't think it is any type of network or firewall error. Greg Exception: java.net.UnknownHostException: dSpace-Production: dSpace-Production at java.net.InetAddress.getLocalHost(InetAddress.java:1353) at org.dspace.app.webui.servlet.FeedbackServlet.doDSGet(FeedbackServlet.jav a:87) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet. java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.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:2 93) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 9) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) This email message and any files transmitted with it are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law.� Any use, distribution, copying or disclosure by anyone other than the intended individual or entity is prohibited without prior approval.� If you have received this information in error, please notify the sender immediately. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech This email message and any files
Re: [Dspace-tech] Dspace smtp issues??
Greg, I found something about this here: http://java.sun.com/products/javamail/FAQ.html#helo Q: I get MessagingException: 501 HELO requires domain address when trying to send a message. A: The SMTP provider uses the results of InetAddress.getLocalHost().getHostName() in the SMTP HELO command. If that call fails to return any data, no name is sent in the HELO command. Check your JDK and name server configuration to ensure that that call returns the correct data. You may also set the mail.smtp.localhost property to the name you want to use for the HELO command. It looks like the Java mail libraries are having a problem getting the name of your host. I attached a file that makes the InetAdress.getLocalHost().getHostname() command mentioned above so that you can check what hostname is retrieved by this call. You can use it with these commands: javac HostnameTest.java java HostnameTest and then take note of what prints out. Your system administrator may need to adjust the settings of the name resolver on your server. Note that DSpace 1.6+ has a configuration parameter, mail.extraproperties, that you could use to work around this: mail.extraproperties = mail.smtp.localhost=[yourhostname] replacing [yourhostname] with the name of your host (no brackets). Then you would restart Tomcat and see if everything works. --keith - Hello, RHEL 5 Dspace 1.5 postgresql I get the following error message when trying to register a user. This message is also very similar to what I get when clicking the Feedback link. Can anyone point me in the right direction? I’ve looked into changing the smtp configuration in dspace.cfg but nothing I do seems to make a difference. Do I need to restart the server after making changes to dspace.cfg? or just restart Tomcat? Thanks for any help. 2010-06-15 17:14:50,280 INFO org.dspace.app.webui.servlet.RegisterServlet @ anonymous:session_id=5ABDD79E63C8CF55C8A2225AD7D09F74:ip_addr=216.183.185.5$ javax.mail.MessagingException: 501 5.0.0 HELO requires domain address at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363) at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:838) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375) at javax.mail.Service.connect(Service.java:275) 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.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Greg This email message and any files transmitted with it are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law.� Any use, distribution, copying or disclosure by anyone other than the intended individual or entity is prohibited without prior approval.� If you have received this information in error, please notify the sender immediately.import java.io.IOException; import java.net.InetAddress; public class HostnameTest { public static void main(String [] args) { try { InetAddress ia
Re: [Dspace-tech] Handle server problems after update to 1.6.1 from 1.5.2
There are log4j configuration files in your config directory, including a separate one for the handle server. However, I'm not sure that the handle server is being started in your case. You can change the word INFO to DEBUG in these files. This will fill up disk space rapidly so remember to change it back when finished. I'm wondering if your handle server works under 1.6.0? Did you have a chance to try everything with 1.6.0? You could try using the dsrun file from the 1.6.0 release, but I'm very much guessing blindly now, so use at your own risk: http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.6.0/dspace/bin/dsrun Also, are you starting the handle server from within the bin directory? (I think that's the way it should be done). - Original Message - From: Tonny Hjelmberg Laursen thl@cbs.dk To: Keith R Gilbertson keith.gilbert...@library.gatech.edu Cc: dspace-tech@lists.sourceforge.net Sent: Monday, May 24, 2010 9:38:51 AM GMT -05:00 US/Canada Eastern Subject: Re: [Dspace-tech] Handle server problems after update to 1.6.1 from 1.5.2 Thanks, The error is gone now, but now I got another error in the log file (The handle server is still not running.) Usage: program-name config-directory The bin/start-handle-server line looks like this now: nohup $BINDIR/dsrun net.handle.server.Main $handledir -Ddspace.log.init.disable=true -Dlog4j.configuration=log4j-handle-plugin.properties /dev/null $logdir/handle-server.log 21 I can't find any other error messages. How can I enable somekind of debug logging? On 24-05-2010 15:18, Gilbertson, Keith R wrote: Try editing the last line of your bin/start-handle-server script so that net.handle.server.Main appears directly after dsrun (instead of where it is now). That should get rid of the Invalid class name: message. If there are other error messages after making this change, please post them to the list so that experts on the dspace launcher command can research more. --keith - Original Message - From: Tonny Hjelmberg Laursenthl@cbs.dk To: dspace-tech@lists.sourceforge.net Sent: Monday, May 24, 2010 7:55:29 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Handle server problems after update to 1.6.1 from 1.5.2 Hey, Im in the middle of updating a DSpace installation and everything seems fine. But im having a problem with starting the handle server. When I execute bin/start-handle-server im getting this error in the handle-server logfile: Error in launcher.xml: Invalid class name: -Ddspace.log.init.disable=true Im running RedHat 5.5 Any ideas? Thanks, Tonny -- ___ 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] Solr error: moved temporarily
Hi, I think that part of what's happening is that your request to http://dspace-test.hio.no:8080/solr/statistics is being forwarded to somewhere else. See this output from the command line: wget http://dspace-test.hio.no/solr/statistics --2010-04-21 09:12:25-- http://dspace-test.hio.no/solr/statistics Resolving dspace-test.hio.no... 158.36.78.39 Connecting to dspace-test.hio.no|158.36.78.39|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://dspace-test.hio.no/solr/statistics [following] The last couple of lines show my http request being forwarded to https, with a Moved Temporarily message. Is it possible something similar is happening on your end? If that's the case, you might need to - make an adjustment to solr.log.server in your dspace.cfg file and set it to the final url OR - make an adjustment somewhere else on your system to prevent requests to /solr/statistics from being forwarded/forced to https. --keith - Original Message - From: Trude Eikebrokk trude.eikebr...@hio.no To: dspace-tech@lists.sourceforge.net Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Solr error: moved temporarily I'm joining the wave of SOLR-error reports. As I'm unfortunately not a programmer, I'd appreciate any help! I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20. Whenever I try to use solr I get an Moved Temporarily.exception. Below is what happens when I try to convert the log-files. [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i /opt/dspace/dspace.dir/log/solr.log -m Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics solr.log.2010-03-24 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24 Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city = Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 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.add(SolrServer.java:63) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) 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:194) Processed 1 log lines - 0 entries added to solr: 0% - 1 errors: 100% - 0 search engine activity skipped: 0% About to commit data to solr...Exception: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no: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.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) 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:194) -- Mvh Trude Eikebrokk Oslo University College trude.eikebr...@hio.no 22 45 35 70 p48/S336 -- ___ DSpace-tech mailing list
Re: [Dspace-tech] IPAuthentication not working since upgrade
Jason, There's a bug that breaks IP authentication in 1.6, discovered by Dave Falke and Stuart Lewis. There's a thread here that details the fix: http://www.mail-archive.com/dspace-de...@lists.sourceforge.net/msg02985.html - Original Message - From: Jason Fowler jfow...@sbts.edu To: dspace-tech@lists.sourceforge.net Sent: Tuesday, April 13, 2010 8:45:43 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] IPAuthentication not working since upgrade All, We recently upgraded to 1.6, and I have noticed that IPAuthentication now seems not to be working. Any idea why this might be the case? Nothing has really changed in our setup. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu -- 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 -- 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
Re: [Dspace-tech] Non-DC Import
Hi. I don't think that the patch in DS-257 has been included with any version of DSpace yet. You'd have to apply the patch manually and re-deploy in order to use that feature. You can still import metadata for your cld schema, though, by following the instructions in the What if I need to import metadata in a schema other than Dublin Core? question in the Batch Importing FAQ section of this document: www.tdl.org/files/DSpaceBatchImportFormat.pdf Basically, you'll create a file similar to the typical dublin_core.xml file, but it will be named metadata_cld.xml instead, and the dublin_core element will appear as dublin_core schema=cld. You may still need to create a dublin_core.xml file with the metadata for the dc schema - I'm unclear on whether it's always required. If you try this method and still have problems, you can send files for a sample item to me, along with the output from the stack trace of your exception, and I'll try it over here. --keith - Original Message - From: RENTON Scott scott.ren...@ed.ac.uk To: dspace-tech@lists.sourceforge.net Sent: Monday, April 5, 2010 7:21:38 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Non-DC Import t Hi folks, I'm having a shot at loading the generic metadata file (as opposed to dublin_core.xml) through import. First question- can this be done on 1.5.2, or must I upgrade before it becomes an option? (If it's possible, I've followed patch DS-257's instructions: File (metadata.xml): ?xml version=1.0 encoding=UTF-8? metadata metadatavalue schema = cld element = custodialHistory qualifier = none the whole wide world/metadatavalue metadatavalue schema = cld element = contentsDateRange qualifier = none 1985-2002/metadatavalue metadatavalue schema = cld element = hasAssociation qualifier = none Page 220/metadatavalue metadatavalue schema = cld element = hasPublication qualifier = none UCS/metadatavalue metadatavalue schema = cld element = accessControl qualifier = none us/metadatavalue metadatavalue schema = cld element = objectName qualifier = none books/metadatavalue /metadata Command: /u01/isdocs/dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e scott.ren...@ed.ac.uk -c 123456789/18 -s /u01/isdocs/dspace/carmichaelwatson/cw_dspace_test_non-dc -m mapfile.txt -l --resume Output: java.io.FileNotFoundException: /u01/isdocs/dspace/carmichaelwatson/cw_dspace_test_non-dc/0002789d/dublin_core.xml (No such file or directory) (if I change the name back to dublin_core.xml, I get a NullPointerException).) If I need to upgrade, I will do so; if I'm getting the syntax wrong though, please let me know!! Cheers Scott Scott Renton MIMS Project Officer Digital Library Development University Of Edinburgh 2 Buccleuch Place Edinburgh EH8 9LW 0131 651 5219 scott.ren...@ed.ac.uk -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- 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 -- 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
Re: [Dspace-tech] Regarding OAI PMH
Hi. The feature for harvesting metadata into DSpace from other repositories via OAI-PMH is new in DSpace 1.6 and is configured on a per-collection basis. The DSpace 1.6 documentation has also been updated with an explanation of how to use the new feature. Let us know if you have any questions once you've tried it. DSpace 1.6 is available now. There are good details about some of the new features here: http://blog.stuartlewis.com/2010/02/10/dspace-1-6-what-will-be-in-it-for-me/ --keith - Original Message - From: Hardik Mishra har...@webinito.com To: General List dspace-gene...@lists.sourceforge.net, Tech List dspace-tech@lists.sourceforge.net Sent: Tuesday, March 16, 2010 4:37:56 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Regarding OAI PMH Hello Everyone In Dspace 1.5.2 , We have built in module for OAI that i know. But when it comes to implement i am little bit confused. We want to harvest metadata from other repositories. -- 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
Re: [Dspace-tech] Localising CC License
Hello Kevin. I know this doesn't help you immediately, as you mentioned that you're running 1.5.2, but there's a new configuration parameter in the DSpace 1.6 release that does what you need: # Should a jurisdiction be used? If so, which one? # See http://creativecommons.org/international/ for a list of possible codes # (e.g. nz = New Zealand, uk = England and Wales, jp = Japan) webui.submit.cc-jurisdiction = uk I thought it should be mentioned in case you're planning an upgrade soon anyway. --keith - Original Message - From: Kevin Evans kevin.ev...@exeter.ac.uk To: Dspace-Tech-List dspace-tech@lists.sourceforge.net Sent: Tuesday, March 16, 2010 10:16:23 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Localising CC License Hi, We wish to localise the Creative Commons License in our XMLUI build (1.5.2), but we don't have the source files installed: http://wiki.dspace.org/index.php/LocaliseCreativeCommons I've download the source for the specific package, and understand I will need to edit the .java file and recompile the .jar but...I'm a little reticent to do this...does anyone have a workaround? Advise, as ever, gratefully received Cheers Kevin Kevin Evans MA Web Services Developer, Integration and Webservices, Room 901, 9th Floor, Laver Building, University of Exeter North Park Road, Exeter, EX4 4RN 01392 725573 07775027574 http://my.exeter.ac.uk This email and any attachment may contain information that is confidential, privileged, or subject to copyright, and which may be exempt from disclosure under applicable legislation. It is intended for the addressee only. If you received this message in error, please let me know and delete the email and any attachments immediately. The University will not accept responsibility for the accuracy/completeness of this e-mail and its attachments. The University cannot guarantee that this message and any attachments are virus free. Any views or opinions expressed in this message are my own and do not necessarily represent those of the Universitydon't waste your life reading this trash and get out and live. -- Download Intel® 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-- 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
Re: [Dspace-tech] two theme modification questions: linking author
On Wed, Oct 7, 2009 at 10:17 AM, Platt, Alice a.pl...@snhu.edu wrote: Hi Keith, Thank you, yes, that does exactly match what I am looking for. Unfortunately, now my link doesn't go anywhere! In DSpace 1.5, the author browse links have changed to this format: /browse?value=Artschwager%2C+Richardtype=author any difference with this modification? [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse?value=')/] [xsl:copy-of select=./]amp;type=author [/xsl:attribute] [xsl:value-of select=text()/] [/a] I used the code in the wiki for the link, shown below (I've changed the html brackets to different brackets for email transmission), but apparently the value-of select has also changed in 1.5. Methinks we need to update the wiki! ;-) [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse-author-items?author=')/] [xsl:copy-of select=./] [/xsl:attribute] [xsl:value-of select=text()/] [/a] -- 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] two theme modification questions
On Tue, Oct 6, 2009 at 10:57 AM, Platt, Alice a.pl...@snhu.edu wrote: I’d like to make the Author and Subject clickable links in the simple item view. The instructions on the Manakin HOWTO page of the DSpace wiki says that “The XSLT that creates author listings is in themes/dri2xhtml/DS-METS-1.0-DIM.xsl”. However, I do not have a file called DS-METS-1.0-DIM.xsl. Has this code moved to a different xsl file, and where would I find it? I did try looking in “structural.xsl,” but it wasn’t there. Hi Alice. In the 1.5 version of Manakin, there is a file called DIM-Handler.xsl. The metadata in the simple item view is formatted in the template that starts with this line: xsl:template match=dim:dim mode=itemSummaryView-DIM Does this match what you're looking for? -- keith -- 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] two theme modification questions
My other question: I’d also like to add some text below the “go” button on the Advanced Search page. I’ve added what I want to say to messages.xml, but now I’m having trouble finding the code for where the Advanced Search page comes from. I figured if I searched in the structural.xsl file for some of the other messages.xml text that is present on the Advanced Search page, I would find it, but… no luck. In the 1.5 version of Manakin, the Advanced Search form is built in the Java code, in the AdvancedSearch.java file of the artifactbrowser aspect. If you don't want to touch the Java file, it's still possible to override this form at the theme level by using a new template in your theme that starts with this line: xsl:template match=dri:d...@n='advanced-search'] -- keith -- 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] 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(XMLEntityManager.java:1292) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.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(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) …. …. 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/listinfo/dspace-tech
Re: [Dspace-tech] ERROR:Cannot execute mojo: resources
Hi. Are you attempting to build DSpace? If so, do you get this same error when you run the mvn package command from the [dspace-source]/dspace/ directory? -- keith On Mon, 2009-06-22 at 02:47 -0700, olufunmilayo favour wrote: Hi all. the following error occured when'ever I try building my project using mvn package viz: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\usercd C:\apache-maven-2.1.0\bin C:\apache-maven-2.1.0\binmvn package [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot execute mojo: resources. It requires a project with an existing po m.xml, but the build is not using one. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Jun 22 01:59:12 PDT 2009 [INFO] Final Memory: 3M/7M [INFO] C:\apache-maven-2.1.0\bin Pls, what's the cause and how do I rectify it. Thanks -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Displaying bitstream description
Hi John - You may be able to get at the file description by using this expression: mets:floc...@loctype='URL']/@xlink:label wherever you were using @SIZE to get the filesize. Here's an example: xsl:if test=mets:floc...@loctype='URL']/@xlink:label xsl:value-of select=mets:floc...@loctype='URL']/@xlink:label / /xsl:if Try this out and let us know. You can often figure this sort of thing out by looking at the mets.xml document for an item and then playing around until you get the correct expression. Here's xml for an item with files and associated descriptions: http://drcdev.ohiolink.edu/metadata/handle/123456789/1574/mets.xml -- Keith Gilbertson Systems Developer OhioLINK John Preston wrote: I'm trying out manakin and want to be able to display the bitstream description instead of format in the file list. I have everything I need copied into my theme, but I can't seem to figure out what I should use to get atb the description field. I see where @SIZE is size, @MIMETYPE is mimetype, etc, but @DESCRIPTION does not seem to work. John -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] XMLUI: How to add video preview function for xmlui.
Hello. At OhioLINK we're doing something similar in the xmlui. FLV video files are displayed in the browser, and the user can click the play button to show the video. There's a rough outline of our setup on the DSpace Wiki, here: http://wiki.dspace.org/index.php/DSpace_1.5_XMLUI_FLV_Video_Progressive_Download/ Keith Gilbertson Systems Developer OhioLINK On Fri, 2009-06-05 at 12:47 +0530, Yureshwar Dspace wrote: Hi all its again me, How to add video preview function for xmlui as we can add for jspui. For jspui video preview you can follow the link. Link: http://blog.stuartlewis.com/2009/05/27/easy-pseudo-video-streaming-for-dspace-repositories/ Can we do similar thing for xmlui. If so where we can add that code. Regards, Yureshwar Ravuri. -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] problem executing create-administrator
For what it's worth, I've had somewhat similar problems executing the scripts in the bin directory after transferring them from a Windows-based machine to a Unix-like system. You might check that the line endings in the file haven't been changed to DOS-style endings, and if they have, convert them back with a command such as dos2unix. Not sure this is the same issue but maybe worth checking into. felipe Melero wrote: Yes, I'm running it from dspace/bin directory but no way to get it working... surely is a matter of unix, I'm a chrooted user... regards Felipe Robin Taylor escribió: That's good. #!/bin/sh at the start of the script just tells the OS what shell it should use to run the script, and it seems you have the required shell so you shouldn't have to change it to use bash. What directory were you in when you ran ./create-administrator ? Were you in the dspace/bin directory ? Cheers, Robin. Robin Taylor Main Library University of Edinburgh Tel. 0131 6515208 -Original Message- From: felipe Melero [mailto:fmel...@unav.es] Sent: 07 January 2009 12:56 To: dspace tech Subject: Re: [Dspace-tech] problem executing create-administrator Hi Robin, it seems that is present on the machine, as well as bash. -bash-3.00$ ls -l /bin/sh -rwxr-xr-x 1 root root 616248 Apr 12 2006 /bin/sh regards, Felipe Robin Taylor escribió: Hi felipe, I don't have a machine with Red Hat on it near so would you mind entering... ls -l /bin/sh ...and tell me what the response is ? It sounds like /bin/sh is not present on your machine. If that is the case then you will need to change script dsrun as well as create-administrator. Cheers, Robin. Robin Taylor Main Library University of Edinburgh Tel. 0131 6515208 -Original Message- From: felipe Melero [mailto:fmel...@unav.es] Sent: 07 January 2009 12:22 To: dspace tech Subject: [Dspace-tech] problem executing create-administrator Hi all, I have a problem executing the script create-adminstrator, I get the following error: bad interpreter. -bash-3.00$ ./create-administrator : bad interpreter: No such file or directory if I change the line inside the script #!/bin/sh to #!/bin/bash I get other errors: -bash-3.00$ ./create-administrator ./dsrun: line 61: sed: command not found ./dsrun: line 70: java: command not found Does anybody know how to make it work? I have Red Hat Linux if helps. Thanks in advance, Felipe -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Media Filters not generating thumbnails
Looks like you might be running the Media Filter with the GCJ version of Java. Have you tried using a JDK from Sun? They're available here: http://java.sun.com/javase/downloads/index.jsp Thomas A McGee wrote: From the command line I get this: # ./filter-media -vi 123456789/191 Applying Media Filters Warning: -Xmx256m not understood. Ignoring. Exception in thread main java.lang.NoClassDefFoundError: while resolving class: org.dspace.app.mediafilter.MediaFilterManager at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0) at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0) at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0) at __gcj_personality_v0 (/usr/home/dspace/app/dspace/bin/java.version=1.4.2) at __libc_start_main (/lib/tls/libc-2.3.4.so) at _Jv_RegisterClasses (/usr/home/dspace/app/dspace/bin/java.version=1.4.2) Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:/usr/home/dspace/app/dspace/lib/activation-1.1.jar, file:/usr/home/dspace/app/dspace/lib/bcmail-jdk14-136.jar, file:/usr/home/dspace/app/dspace/lib/bcprov-jdk14-136.jar, file:/usr/home/dspace/app/dspace/lib/commons-cli-1.0.jar, file:/usr/home/dspace/app/dspace/lib/commons-codec-1.3.jar, file:/usr/home/dspace/app/dspace/lib/commons-collections-3.2.jar, file:/usr/home/dspace/app/dspace/lib/commons-dbcp-1.2.1.jar, file:/usr/home/dspace/app/dspace/lib/commons-fileupload-1.1.1.jar, file:/usr/home/dspace/app/dspace/lib/commons-io-1.2.jar, file:/usr/home/dspace/app/dspace/lib/commons-lang-2.2.jar, file:/usr/home/dspace/app/dspace/lib/commons-logging-1.0.jar, file:/usr/home/dspace/app/dspace/lib/commons-pool-1.3.jar, file:/usr/home/dspace/app/dspace/lib/dom4j-1.6.1.jar, file:/usr/home/dspace/app/dspace/lib/dspace-api-1.5.0.jar, file:/usr/home/dspace/app/dspace/lib/dspace-api-lang-1.5.0.0.jar, file:/usr/home/dspace/app/dspace/lib/fontbox-0.1.0.jar, file:/usr/home/dspace/app/dspace/lib/handle-5.3.4.jar, file:/usr/home/dspace/app/dspace/lib/icu4j-3.4.4.jar, file:/usr/home/dspace/app/dspace/lib/jargon-1.4.25.jar, file:/usr/home/dspace/app/dspace/lib/jaxen-1.1.jar, file:/usr/home/dspace/app/dspace/lib/jdom-1.0.jar, file:/usr/home/dspace/app/dspace/lib/jempbox-0.2.0.jar, file:/usr/home/dspace/app/dspace/lib/log4j-1.2.14.jar, file:/usr/home/dspace/app/dspace/lib/lucene-core-2.3.0.jar, file:/usr/home/dspace/app/dspace/lib/mail-1.4.jar, file:/usr/home/dspace/app/dspace/lib/mets-1.5.2.jar, file:/usr/home/dspace/app/dspace/lib/ojdbc14-10.2.0.2.0.jar, file:/usr/home/dspace/app/dspace/lib/oro-2.0.8.jar, file:/usr/home/dspace/app/dspace/lib/pdfbox-0.7.3.jar, file:/usr/home/dspace/app/dspace/lib/poi-2.5.1-final-20040804.jar, file:/usr/home/dspace/app/dspace/lib/rome-0.8.jar, file:/usr/home/dspace/app/dspace/lib/tm-extractors-0.4.jar, file:/usr/home/dspace/app/dspace/lib/xalan-2.7.0.jar, file:/usr/home/dspace/app/dspace/lib/xercesImpl-2.8.1.jar, file:/usr/home/dspace/app/dspace/lib/xml-apis-1.0.b2.jar, file:/usr/home/dspace/app/dspace/lib/xmlParserAPIs-2.0.2.jar, file:/usr/home/dspace/app/dspace/config/, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0) at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0) at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) ...9 more Which somehow fails to clarify things for me. What am I missing? _ Tom McGee Seton Hall University TLTC 973.275.2992 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip
[Dspace-tech] Force order of repeatable metadata fields when editing in xmlui?
Hello, Is there a way in the xmlui interface to force the order in which repeatable metadata fields are saved when editing existing items? For some items, the librarians have created multiple (usually about 4) dc.contributor.author fields in the metadata, with a personal name listed in each field. They wish to indicate levels of responsibility by having the most responsible author listed first in the display. When these items are initially created, the author fields save, and then display, in the order in which they are entered. If the metadata for these items is edited later, though, the contributor.author fields save and display in an order that is unpredictable to us. Is there a way to force the ordering when editing the metadata in xmlui? If not, is there any other solution to force the order in which the authors display when viewing the items? We're using version 1.5. Thanks, Keith - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Can't log onto admin - follow up
Paul, Can you post some of the scrolling code that you see when trying to create the administrator? I think this will help us to figure out what the problem is - the CreateAdministrator command is somewhat quiet when it runs normally. -- Keith Paul Jordan wrote: Thanks for the support, I didn't realize that the proper url was .../dspace/dspace-admin. I'm still having connection issues, but I've played around with it a bit and think I've found the problem: DSpace isn't recognizing the Admin users I'm creating. As per the install instructions, I'm using the command prompt C:\dspace\bin\dsrun org.dspace.administer.CreateAdministrator to try and create an admin account. I get prompted for name, email, and password, then get a bunch of scrolling code that I can't decipher but which makes it look like it works. I then restart (just in case something needs to reset), but DSpace still tells me it doesn't recognize the email address or account. I've tried with multiple names and email addresses, but get the same result. Any ideas? Many thanks for all your patience as I wrestle with DSpace, Sincerely, Paul Jordan Digital Archivist Occidental College - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Can't log onto Admin - Follow Up
Paul, There are some problems with DSpace 1.4.2 and Postgres 8.3. There are threads about that here: http://www.nabble.com/Error-with-DSpace-administrator%27s-account-td15994473.html#a16005789 and here: http://www.nabble.com/-Fwd%3A-Re%3A-Error-with-DSpace-administrator%27s-account--td16008564.html#a16008564 Does anyone out there know if this has been fixed with DSpace 1.5? Paul, if that's the case, would you be able to use DSpace 1.5? Paul Jordan wrote: Certainly. Here is the complete sequence. Sincerely, Paul Jordan C:\Program Files\PostgreSQL\8.3\binc:\dspace\bin\dsrun org.dspace.administer.Cr eateAdministrator Using DSpace installation in: C:\dspace Creating an initial administrator account E-mail address: [EMAIL PROTECTED] First name: Paul Last name: Jordan WARNING: Password will appear on-screen. Password: dspace Again to confirm: dspace Is the above data correct? (y or n): y Exception occurred:org.postgresql.util.PSQLException: ERROR: operator does not e xist: integer = character varying org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = cha racter varying at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx ecutorImpl.java:1592) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor Impl.java:1327) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja va:192) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:451) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract Jdbc2Statement.java:350) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc 2Statement.java:254) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele gatingPreparedStatement.java:92) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele gatingPreparedStatement.java:92) at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j ava:159) at org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan ager.java:447) at org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan ager.java:465) at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager .java:647) at org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61 2) at org.dspace.eperson.Group.find(Group.java:635) at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja va:142) -- Message: 5 Date: Tue, 03 Jun 2008 11:41:45 -0400 From: Keith Gilbertson [EMAIL PROTECTED] Subject: Re: [Dspace-tech] Can't log onto admin - follow up To: Paul Jordan [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed Paul, Can you post some of the scrolling code that you see when trying to create the administrator? I think this will help us to figure out what the problem is - the CreateAdministrator command is somewhat quiet when it runs normally. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Can't log onto Admin - Follow Up
The install instructions for 1.5 are quite different from the instructions from 1.4.2. The DSpace website may not have been updated yet, but the new install directions are included with the 1.5 download. I can't see if this problem has been fixed with the 1.5 version of DSpace, so you might have the right idea in pulling postgres down to 8.2 until we know. -- keith Paul Jordan wrote: Ah, I see. Yep, that's the same problem I've been encountering. Good to know it's not unique. Regarding DSpace 1.5, the install directions I've been able to find (from the DSpace website) are for 1.4.2 and include things that aren't in 1.5, specifically some of the file paths are differen't/aren't there. Would any of that make a difference? If not, I'll install DSpace 1.5. Otherwise, I'll pull postgres down to 8.2. Thanks, Paul -Original Message- From: Keith Gilbertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 9:25 AM To: Paul Jordan Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Can't log onto Admin - Follow Up Paul, There are some problems with DSpace 1.4.2 and Postgres 8.3. There are threads about that here: http://www.nabble.com/Error-with-DSpace-administrator%27s-account-td1599 4473.html#a16005789 and here: http://www.nabble.com/-Fwd%3A-Re%3A-Error-with-DSpace-administrator%27s- account--td16008564.html#a16008564 Does anyone out there know if this has been fixed with DSpace 1.5? Paul, if that's the case, would you be able to use DSpace 1.5? Paul Jordan wrote: Certainly. Here is the complete sequence. Sincerely, Paul Jordan C:\Program Files\PostgreSQL\8.3\binc:\dspace\bin\dsrun org.dspace.administer.Cr eateAdministrator Using DSpace installation in: C:\dspace Creating an initial administrator account E-mail address: [EMAIL PROTECTED] First name: Paul Last name: Jordan WARNING: Password will appear on-screen. Password: dspace Again to confirm: dspace Is the above data correct? (y or n): y Exception occurred:org.postgresql.util.PSQLException: ERROR: operator does not e xist: integer = character varying org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = cha racter varying at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx ecutorImpl.java:1592) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor Impl.java:1327) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja va:192) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:451) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract Jdbc2Statement.java:350) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc 2Statement.java:254) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele gatingPreparedStatement.java:92) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele gatingPreparedStatement.java:92) at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j ava:159) at org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan ager.java:447) at org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan ager.java:465) at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager .java:647) at org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61 2) at org.dspace.eperson.Group.find(Group.java:635) at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja va:142) -- Message: 5 Date: Tue, 03 Jun 2008 11:41:45 -0400 From: Keith Gilbertson [EMAIL PROTECTED] Subject: Re: [Dspace-tech] Can't log onto admin - follow up To: Paul Jordan [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed Paul, Can you post some of the scrolling code that you see when trying to create the administrator? I think this will help us to figure out what the problem is - the CreateAdministrator command is somewhat quiet when it runs normally. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Collection logo images not recognized
Lynna - this is a bug in DSpace 1.5. There's a patch for it in the bug report here: http://sourceforge.net/tracker/index.php?func=detailaid=1939278group_id=19984atid=119984 Lynna Cekova wrote: Hi, I am having an XMLUI problem -- when I upload a logo for a collection (jpg or png), it starts showing a The collection's logo line of text instead of the actual logo where the logo is supposed to be at the collection's page. The collection images and thumbnails work fine themselves. Does anyone have a guess why the logo images are not recognized? Thanks, Lynna - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Can Manakin use Creative Commons license_url instead of license_text ?
Has anyone been able to customize how a Manakin theme links to Creative Commons licenses? The default themes will do something like the code below, which links to the license text that was stored internally into DSpace when the CC license was selected: xsl:if test=mets:METS/mets:fileSec/mets:[EMAIL PROTECTED]'CC-LICENSE'] lia href={mets:METS/mets:fileSec/mets:[EMAIL PROTECTED]'CC-LICENSE']/mets:file/ mets:[EMAIL PROTECTED]:title='license_text']/@xlink:href}Creative Commons /a/li /xsl:if Here's the DRI XML with the license_text URL: mets:FLocat LOCTYPE=URL xlink:title=license_text xlink:type=locator xlink:href=/manakin/bitstream/handle/123456789/13/license_text?sequence=3/ This works okay, but it can cause some odd behaviors: - If the web browser honors the mime type text/plain instead of ignoring it, the html source is displayed in the browser - If the browser displays the document correctly, links to versions of the license in other languages and links to the fulltext, legal code of the license don't work - they were coded as relative URLs in the original html I want to experiment with doing something similar to the JSP interface - linking back to the license on the Creative Commons site, instead of using the internally stored text. The DRI XML has a license_url: mets:FLocat LOCTYPE=URL xlink:title=license_url xlink:type=locator xlink:href=/manakin/bitstream/handle/123456789/13/license_url?sequence=2/ The link in the above xml in this case goes to /manakin/bitstream/handle/123456789/13/license_url?sequence=2. Following that link will bring back plain-text with something like this: http://creativecommons.org/licenses/by-nc-nd/3.0/. What I want to do is get that above address to the license on the creativecommons.org website and use it in my theme, but I'm not sure how to solve this with XSLT. Any ideas? Thanks, Keith Gilbertson Systems Developer OhioLINK - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Using dc.creator instead of dc.contributor.author?
Shawna, It seems like there are a few other institutions that would like to make this sort of change without going through the exercise of finding and changing all of the dependent areas in the code, and then working to keep their custom changes integrated into newer versions of the software. I opened up a feature request in the DSpace Tracker on Sourceforge: https://sourceforge.net/tracker/?func=detailatid=369984aid=1884488group_id=19984 There are many other feature requests open, and I'm not sure how the developers could possibly get to them all, but maybe this one will get some attention or other suggestions on how to accomplish what we'd like to accomplish. Thanks, Keith Gilbertson Systems Developer OhioLINK Shawna Sadler wrote: About a year ago I had the exact same idea and tried it out to much head-ache. I quickly found out how much of the DSpace functionality depends on the dc.contributor.author field, such as searching, browsing and cross-referencing. I was going to re-configure the search and browse, but when I had to go into some of the underlying code to make the new Dublin Core code work for cross-referencing and other features, it seemed like too much trouble to do and maintain over new versions. I'd like to take flip the contributor. author field to creator at a global level for my instance of Dspace when it is harvested. All in good time. I have not worked with Makain yet, looking forward to it though. My two cents, but I agree with everything Dorothea said. Shawna - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Anyone using dc.creator instead of dc.contributor.author?
Hello, This has been discussed on the list previously, but it has been quite a while and I wondered if this has actually been done. In the default metadata schema that ships with DSpace, the dc.creator element is marked with a scope note as Do not use; only for harvested metadata, while the default item submission input form requires that a value be entered into the dc.contributor.author field. The author browse index is based, by default, on dc.contributor.author. I'd like to change an installation to require dc.creator rather than dc.contributor.author in the input form, and to configure it to build the author search index on dc.creator rather than dc.contributor.author. When this was discussed previously, the consensus seemed to be that the default schema was based on an early draft of Dublin Core, and that making these changes should cause no problems. Is this still the case? Has anyone done this, and have there been any issues? Also, is it true that an upcoming version of DSpace will allow the author browse to use an index based on both the creator and the contributor elements? Thank you, Keith Gilbertson Systems Developer OhioLINK - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Anyone using dc.creator instead of dc.contributor.author?
I seem to have found another dependency, in that the OAIDCCrosswalk class that's used by the OAI-PMH interface exposes the contributor.author field as a creator element. This isn't necessary if we're using dc.creator in DSpace. It looks easy enough to change this class so that the contributor.author field in DSpace is exposed in the OAI-PMH interface as a contributor element, and then redeploy the changed class where it is needed. I'm wondering if this is an okay approach, or if it would be better to create a new class with the differing functionality, and then configure the oai webapp to use the new class? Dorothea Salo wrote: I'd like to change an installation to require dc.creator rather than dc.contributor.author in the input form, and to configure it to build the author search index on dc.creator rather than dc.contributor.author. Not too difficult. Change index-forms.xml accordingly, and one SQL query in the metadatavalues table in the database should do the trick for existing items. Also, is it true that an upcoming version of DSpace will allow the author browse to use an index based on both the creator and the contributor elements? This brings up an interesting detail about Manakin. When determining authors for items that come up in title or subject browse listings, the algorithm is: when there's a dc.contributor.author, use that; if not, use dc.author; if neither of those, use whatever dc.contributor there is. The FIXME comment I left in my utility stylesheet reads thus: FIXME: This template should pull out dc.contributor.author and dc.creator, then make a list of all of them... Should probably have better way to cope with other dc.contributor as well. The trick is that some dc.contribs feel author-y (composers, maybe editors) and others don't (e.g. translators, advisors). Three Minute Hate on Dublin Core. -DS I haven't in fact tried to fix this yet, but it shouldn't be impossible; the tricky bit for me is figuring out how to make XSLT union dc.contributor.author (and maybe one or two other dc.contributor.X) with dc.creator. For item metadata listings, the same union trick would come into play. The nice thing is that it's not hard to add lines for additional metadata. Here's mine for dealing with thesis advisors (note that I'm not using Manakin's table markup and have added author linking): xsl:if test=$data/dim:[EMAIL PROTECTED]'contributor'[EMAIL PROTECTED]'advisor'] dt i18n:textxmlui.dri2xhtml-METS-1.0.advisor/i18n:text /dt dd xsl:for-each select=$data/dim:[EMAIL PROTECTED]'contributor'[EMAIL PROTECTED]'advisor'] a xsl:attribute name=href xsl:value-of select=concat($context-path,'/browse-author-items?author=')/ xsl:copy-of select=text()/ /xsl:attribute xsl:copy-of select=text()/ /a xsl:if test=count(following-sibling::dim:[EMAIL PROTECTED]'contributor'[EMAIL PROTECTED]'advisor']) != 0 xsl:text; /xsl:text /xsl:if /xsl:for-each /dd /xsl:if - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Getting image thumbnails
Hello - The errors you posted appear to be related to filtering of PDF and Word documents. I'm not sure of the limits. For what it's worth, here are some steps you can try to build JPEG thumbnails of TIFFs in DSpace: - Enter TIFF in the DSpace bitstream format registry with mime-type image/tiff and file extensions tiff and tif - Edit the dspace.cfg file and add image/tiff and TIFF to the filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats line - Download and install the Java Advanced Imaging I/O tools, currently available here: https://jai-imageio.dev.java.net/binary-builds.html . These tools contain a TIFF plugin that will allow the JPEGFilter to read the TIFF format. - Verify that the bitstreams are marked as TIFF format, and then run the filter-media script to build the JPEG thumbnails for the TIFFs. Be patient. If you see memory errors with large TIFF files, you can try increasing the -Xmx256m (maximum heap size) parameter in the dsrun script to resolve the problem. If you have certain types of images, you may need to write a custom filter or modify the JPEGFilter to get better results. For example, if you have large TIFF files that are primarily black and white, the JPEGFilter will favor speed over appearance when resampling the image to the thumbnail sized JPEG, and the resulting thumbnail won't look much like the original. You might need a filter that uses a different resampling method. -- Keith Systems Developer OhioLINK Branko Kovacevic wrote: Dear All, So far we've been uploading jpg images into our DSpace system and had no problems with getting thumbnails for them later. Unfortunately, recently after uploading a dozen of items with tiff images (their size is between 4 and 15 Mb) couldn't get thumbnails for them. Filter-media script returns error message. Here is the portion of the log file, with some critical messages: ERROR filtering, skipping bitstream #7542 java.io.FileNotFoundException: no such entry: 0Table java.io.FileNotFoundException: no such entry: 0Table at org.apache.poi.poifs.filesystem.DirectoryNode.getEntry(DirectoryNode.java :283) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:60) at org.dspace.app.mediafilter.WordFilter.getDestinationStream(WordFilter.java:97) at org.dspace.app.mediafilter.MediaFilter.processBitstream (MediaFilter.java:155) at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327) at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296) at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266) at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234) at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185) java.lang.Throwable: Warning: You did not close the PDF Document at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384) at gnu.gcj.runtime.FinalizerThread.run(libgcj.so.70) java.lang.Throwable: Warning: You did not close the PDF Document at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384) at gnu.gcj.runtime.FinalizerThread.run (libgcj.so.70) java.lang.Throwable: Warning: You did not close the PDF Document at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384) at gnu.gcj.runtime.FinalizerThread.run(libgcj.so.70) java.lang.Throwable : Warning: You did not close the PDF Document at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384) at gnu.gcj.runtime.FinalizerThread.run(libgcj.so.70) java.lang.Throwable: Warning: You did not close the PDF Document at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384) at gnu.gcj.runtime.FinalizerThread.run(libgcj.so.70) FILTERED: bitstream 7682 and created 'articles_bridging_2615.pdf.txt' FILTERED: bitstream 7683 and created 'articles_sustainable_developement_2815.pdf.txt' GC Warning: Repeated allocation of very large block (appr. size 20230144): May lead to memory leak and poor performance. FILTERED: bitstream 7684 and created 'articles_venture_20001215.pdf.txt' FILTERED: bitstream 7685 and created 'articles_rethinking_20010215.pdf.txt' FILTERED: bitstream 7686 and created 'articles_relationship_20010515.pdf.txt' FILTERED: bitstream 7687 and created 'articles_org_capacity_20021115.pdf.txt' GC Warning: Out of Memory! Returning NIL! Exception in thread main java.lang.OutOfMemoryError No stacktrace available Is there any limit of the file size filtering? Any help is highly appreciated. Best regards, Branko Kovacevic Records Coordinator Open Society Archives Arany Janos u. 32 1051 Budapest, Hungary phone: (36-1) 327-3266 or 327-2029 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] website: www.osa.ceu.hu http://www.osa.ceu.hu
Re: [Dspace-tech] Authorisation problem wtih collection level admin
Jeff - I've seen this as well. I'm new enough to DSpace/Manakin that I wasn't sure if that was the expected behavior, or if the staff member should indeed be able to add the items. We investigated a little bit, and if I recall correctly, it was only happening with the Manakin inteface. The default DSpace interface did not have this problem. If it's the same issue on your end, maybe we should open a bug report on this so that the issue is tracked and clarified or resolved. Keith Gilbertson Systems Developer OhioLINK Jeffrey Trimble wrote: I've given a staff member Collection Level authorization. They were not able to add additional bitstreams to a committed record already in the IR. After giving them this level of authorization, they are still not able to add additional bitstreams. I'm running 1.4.1 release and cannot see any problem with this. They receive the screen that informs them to contact the administrator for permission. But they have it. Is there something I am missing here? TIA, Jeff Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Authorisation problem wtih collection level admin
I'm sorry. The problem that I'm thinking of happens when a person with write authorization on a community tries to add a subcommunity or a collection to that community. Just out of curiosity, Jeff, what happens when you give the staff member full authorizations on the specific item and the bundles in the item? There's a bit in the Dspace Overview documentation (http://www.dspace.org/index.php?option=com_contenttask=viewid=149) which says that permissions don't commute: Permissions must be explicit - lack of an explicit permission results in the default policy of 'deny'. Permissions also do not 'commute'; for example, if an e-person has READ permission on an item, they might not necessarily have READ permission on the bundles and bitstreams in that item. I'm wondering if you have to give the staff member full permissions on the items and bundles, as well. Keith Gilbertson wrote: Jeff - I've seen this as well. I'm new enough to DSpace/Manakin that I wasn't sure if that was the expected behavior, or if the staff member should indeed be able to add the items. We investigated a little bit, and if I recall correctly, it was only happening with the Manakin inteface. The default DSpace interface did not have this problem. If it's the same issue on your end, maybe we should open a bug report on this so that the issue is tracked and clarified or resolved. Keith Gilbertson Systems Developer OhioLINK Jeffrey Trimble wrote: I've given a staff member Collection Level authorization. They were not able to add additional bitstreams to a committed record already in the IR. After giving them this level of authorization, they are still not able to add additional bitstreams. I'm running 1.4.1 release and cannot see any problem with this. They receive the screen that informs them to contact the administrator for permission. But they have it. Is there something I am missing here? TIA, Jeff Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Dspace 1.5 - test communityadministrator
This is a related question. If a user belongs to a group that has REMOVE,ADD,WRITE, and READ permissions on a community, should the person be able to create sub-communities and collections within that community? We have found that it is possible with the JSP interface, but when using the Manakin interface, the user is told that s/he does not have permissions for these actions. I personally would like for this to be possible. This would let us give persons full control over a community on our shared test/training server, without giving them full administrative privileges. Keith Gilbertson Systems Developer OhioLINK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Bollini Sent: Monday, November 26, 2007 9:00 AM To: Roberta Caccialupi Cc: DSpace Tech; [EMAIL PROTECTED] Subject: Re: [Dspace-tech] [Dspace-general] Dspace 1.5 - test communityadministrator Hi Roberta, what do you mean for community administrator? DSpace have not out-of-box a similar role, have you used my patch Community Admin? Andrea Roberta Caccialupi ha scritto: Hi, we are testing Dspace 1.5 alpha and have a question about the community administration. The last Dspace version allowed to the community administrator to create new collections, manage item's permissions, etc. On the contrary with the new version only the system administrator can do it. We would ask you if it is the new policy, and in this case if it is possible to restore the previous functionality. Thank you Best regards Roberta Caccialupi - Roberta Caccialupi Centro di Produzione Multimediale Università degli Studi di Milano Bicocca V.le dell'Innovazione, 10 Edificio U9 I-20125 Milano Tel: +39 02 6448.7458 www.cpm.unimib.it ___ Dspace-general mailing list [EMAIL PROTECTED] http://mailman.mit.edu/mailman/listinfo/dspace-general -- Dott. Andrea Bollini Responsabile tecnico sviluppo e formazione applicativi JAVA Sezione Servizi per le Biblioteche e l'Editoria Elettronica CILEA, http://www.cilea.it tel. +39 06-59292831 cel. +39 348-8277525 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] administering many DSpace/manakin instances
Does anyone have any experience and/or advice on administering multiple installations of DSpace/Manakin applications? Our plan is to have about a dozen installations of the DSpace and Manakin web applications by early Spring, and then build up to approximately 100 installations as they are needed. Each installation will belong to a separate institution or organization, typically an academic library. We will be performing customizations to the software. Some customizations will apply only to an individual instance; others will be global. We will also need a way to search/browse for items globally across all instances. It's likely that we'll collect OAI/PMH records into an external tool to implement the global search. I'm interested in collecting information about memory/disk cache requirements, any tools that have been developed for applying updates and customizations to multiple instances of the web applications, and any changes to tools, handle servers, etc. that are necessary/helpful for this type of setup. I recently saw an example of a multiple institution repository that is running under a single instance of the application here: http://dspace.nitle.org/ (NITLE DSpace Service ). Managing multiple institutions under a single instance of the DSpace application is an interesting approach. It looks like it would simplify administration for the developers and engineers, make global search work automatically, and possibly reduce system requirements. I'm not sure that it would work in our situation here, though, for several reasons: 1. Customizations. We're unsure specifically which customizations each institution will need, and we may not be able to implement a customization for one institution without affecting another if they're running in the same application space. 2. Control. Our goal is to give each institution as much control over their space as possible, and we're not sure that we'd be able to do this if they all shared the same application space. One example is that we've had problems giving institution heads control to add subcommunities/collections to a community in Manakin, without giving them full administrative access to the system. If each institution owned their own instance, we'd avoid this problem, and possibly other unknown issues. 3. Scalability. How much load can a single set of DSpace/Manakin web applications handle? If necessary, does the DSpace application cluster well? If clustered, would the clustered applications still talk to a single database, or should the database also be replicated? Any advice, statistics, anecdotes from anyone about experiences managing DSpace for multiple parties with differing needs? Thanks, Keith Gilbertson Systems Developer OhioLINK - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Duplicate items in browse items by author
I've come up with a temporary solution that works (at least it does today) on the items that we (currently) have. In the Dspace source, I modified our org.dspace.browse.Browse so that the getTargetColumns method contains these lines: else if (browseType == ITEMS_BY_AUTHOR_BROWSE) return distinct item_id, sort_author; This gave me the correct number of results, but it seems to break the sort by titles feature of this browse. So in the Manakin source, I modified our BrowseAuthorItems class in the ArtifactBrowser aspect so that the addBody method sorts the results according to the dc.title element: Item[] items = browseInfo.getItemResults(); Arrays.sort(items, new ItemComparator(title, null, Item.ANY, true)); We're also checking with our library liaison if it would be acceptable to remove the dc.contributor element from the metadata when the value is identical to the value in dc.contributor.author. There are concerns about both of these approaches, so I'm still open to other ideas about how to handle the situation. I've also received a patch from Christophe Dupriez that fixes issues with duplicate items in the jsp interface. I can forward it along to anyone who would like to try this route. Keith Gilbertson Systems Developer Ohio Library and Information Network _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Gilbertson Sent: Thursday, November 08, 2007 10:46 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Duplicate items in browse items by author Hello, I'm working on troubleshooting an issue with an installation of DSpace 1.4.2 and Manakin 1.1. When browsing items by certain authors, the items appear twice in the artifact list. An example can be seen here: http://drc.libraries.wright.edu/browse-author-items?author=The+Dayton-Wright +Airplane+Company The items by this author were added to the collection via the DSpace ItemImport tool, but this is also occurring for items that were submitted manually by users through the Manakin web interface. When I examine the full item records for these items that are being listed twice in the items by author browse, I see information similar to the following: contributor: The Dayton-Wright Airplane Company en_US contributor.author: The Dayton-Wright Airplane Company en_US contributor.institution: Wright State University There are three contributor fields and two of them have the same value. When I look in the itemsbyauthor table in the database, I see the following for one of these items: items_by_author_id | item_id |author| sort_author +-+--+-- 4787 | 115 | The Dayton-Wright Airplane Company | the dayton-wright airplane company 4788 | 115 | The Dayton-Wright Airplane Company | the dayton-wright airplane company 4789 | 115 | Wright State University | wright state university Each item_id appears three times, including two times with the same author - once for the contributor field and once for the contributor.author field. Has anyone dealt with items displaying multiple times in browse by author views, and how did you handle it? Are multiple occurrences of the same item with the same author in the itemsbyauthor table allowed by design? What would be the best way for us to fix this on our installation? I've collected some ideas but I'm unsure of all of the consequences. - Change the metadata for our items so that the unqualified contributor element is not used. Contributor.author may be sufficient. - Change the XSLT that creates the browse table to check if the current item is a duplicate of the previous sibling before displaying it. The problem also exists with the JSP interface, but we use only the Manakin interface. - Change the underlying database query for browsing items by author so that only tuples with distinct item_id values are returned - Change the item submission tools so that the author/item_id combination is not duplicated between rows in the itemsbyauthor table guidance on a solution. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech