[Dspace-tech] SWORD item deposit error
Hello, I was trying to insert a zip file to an existing item using SWORD, but got an error saying Unacceptable content type in deposit request: application/zip. I had thought zip was always acceptable looking at the source code. My previous test with the example pdf file was successful. What could have gone wrong? Thanks, Zhiwu curl -i --data-binary @fish.zip -H Content-Disposition: filename=fish.zip -H Content-Type: application/zip -H X-No-Op: false -H X-Verbose: true -u $username:$pass http://developer.tower.lib.vt.edu/sword/deposit/123456789/37824 HTTP/1.1 100 Continue HTTP/1.1 415 Unsupported Media Type Date: Thu, 19 Jul 2012 15:57:42 GMT Content-Type: application/atom+xml;charset=UTF-8 Transfer-Encoding: chunked sword:error xmlns:atom=http://www.w3.org/2005/Atom; xmlns:sword=http://purl.org/net/sword/; href=http://purl.org/net/sword/error/ErrorContent;atom:summaryUnacceptable content type in deposit request: application/zip/atom:summaryatom:titleERROR/atom:titleatom:updated2012-07-19T11:57:42.907Z/atom:updatedsword:userAgentcurl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2/sword:userAgent/sword:error -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] bulk item import in dspace
If it's out of memory error you may want to modify the eclipse.ini and add some memory, e.g.,: -vmargs -Xmx512M Zhiwu Xie On 9/27/07, Kush Sharma [EMAIL PROTECTED] wrote: hi, i am trying to run the itemimport utility in dspace. the program gets executed on the command prompt but in eclipse it gives an out of memory error. but i don't know what is the expected output. i have checked the item table, metadatavalue table and the bitstreanm table but no entry is being made into any of these tables. i have picked up the dc-schema from the dspace doumentation the program is parsing the schema but when it goes to the additem loop it gets bust it shows an out of memory error. please help me out kush sharma - 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] 1.5 build no target for dspace project
Hi, I was following http://wiki.dspace.org/index.php/IDE_Integration:_DSpace%2C_Eclipse_and_Tomca to try a 1.5 build, and was stuck right before the section Running Ant to Install DSpace. The maven build was successful, but there's no target directory created under the dspace project, and no dspace-api-1.5-SNAPSHOT directory created under the dspace-oai project. I have no idea where're the jar files for the dspace-api project. The maven build info is copied below, please help! Thanks, Zhiwu Xie -- [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Kernel :: API and Implementation [INFO] DSpace Assembly and Configuration [INFO] DSpace OAI :: Web Application [INFO] DSpace JSPUI :: Web Application [INFO] [INFO] Building DSpace Kernel :: API and Implementation [INFO]task-segment: [package] [INFO] [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:compile [INFO] Compiling 236 source files to /home/lakhdspace/workspace/dspace-api/target/classes [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] No sources to compile [INFO] surefire:test [INFO] No tests to run. [INFO] jar:jar [INFO] Building jar: /home/lakhdspace/workspace/dspace-api/target/dspace-api-1.5-SNAPSHOT.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 13 second [INFO] Finished at: Sat Sep 15 19:24:36 MDT 2007 [INFO] Memory 12M/39M [INFO] [INFO] [INFO] Building DSpace Assembly and Configuration [INFO]task-segment: [package] [INFO] [INFO] site:attach-descriptor [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 1 second [INFO] Finished at: Sat Sep 15 19:24:38 MDT 2007 [INFO] Memory 10M/39M [INFO] [INFO] [INFO] Building DSpace OAI :: Web Application [INFO]task-segment: [package] [INFO] [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] snapshot org.dspace:language-packs:1.5-SNAPSHOT: checking for updates from maven.dspace.org [INFO] compiler:compile [INFO] Compiling 10 source files to /home/lakhdspace/workspace/dspace-oai/target/classes [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] No sources to compile [INFO] surefire:test [INFO] No tests to run. [INFO] war:war [INFO] Exploding webapp... [INFO] Copy webapp webResources to /home/lakhdspace/workspace/dspace-oai/target/dspace-oai-1.5-SNAPSHOT [INFO] Copy webapp webResources to /home/lakhdspace/workspace/dspace-oai/target/dspace-oai-1.5-SNAPSHOT [INFO] Assembling webapp dspace-oai in /home/lakhdspace/workspace/dspace-oai/target/dspace-oai-1.5-SNAPSHOT [INFO] Generating war /home/lakhdspace/workspace/dspace-oai/target/dspace-oai-1.5-SNAPSHOT.war [INFO] Building war: /home/lakhdspace/workspace/dspace-oai/target/dspace-oai-1.5-SNAPSHOT.war [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 16 second [INFO] Finished at: Sat Sep 15 19:24:54 MDT 2007 [INFO] Memory 2M/39M [INFO] [INFO] [INFO] Building DSpace JSPUI :: Web Application [INFO]task-segment: [package] [INFO] [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:compile [INFO] Compiling 85 source files to /home/lakhdspace/workspace/dspace-jspui/target/classes [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] No sources to compile [INFO] surefire:test [INFO] No tests to run. [INFO] war:war [INFO] Exploding webapp... [INFO] Copy webapp webResources to /home/lakhdspace/workspace/dspace-jspui/target
Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?
I tend to agree with Graham: 1. That can of worm may have already been opened as soon as people approach the persistent identifier issue. Items are relatively stable so we don't have much of a problem on assigning handles to them but the same can't said about the files. At least for now the admin is free to delete/add files at will. To add the versioning helps but may not completely eliminate the problem. 2. It would be nice to have a sensitive tool/solution accompanying assigning handles to files, at least to help most of the admin usecases when the identifier needs to be changed/re-assigned. I remember someone has written a note for W3C arguing that the persistent identifier issue is purely an adminnistrative problem. I think he's right to some extent. To administer well the admin needs tools. With the tools in hand then perhaps it's up to the admin to use it wisely. BTW I think the admin can always mess up if s/he wants to. Zhiwu On 7/20/07, Graham Triggs [EMAIL PROTECTED] wrote: From: James Rutherford [EMAIL PROTECTED] I absolutely agree. But how can you guarantee that it resolves to what it is meant to be identifying if you completely disallow the possibility to reassign it? I'd flip this around and say how can you guarantee that it resolves to what it is meant to be identifying if you *do* allow the possibility to reassign it. Oh, what a can of worms! You can't. But that isn't the issue. If you are going to have the situation where an id may not resolve correctly, then you have to have the tools to be able to correct - even if that can create problems through misuse. I was tempted to say that you shouldn't be allowed to delete a file that has an external identifier (or at least that the default implementation shouldn't). As soon as I realised that wouldn't be possible, you have to consider the possibility of reassigning the handle. This isn't actually strictly true. Once we have versioning, it could well be impossible (presumably at the discretion of the repository curator) to delete *anything*, only to be able to create a new head version of the container that doesn't hold any reference to the file you wanted to delete. As nice as that would be in theory, and even if it is the likely 'normal operation', you will always have to cater for being able to completely erase a file or item (ie. legal issues). Remember that in systems with versioning, deletion is a very different concept to systems where versioning isn't supported. The points I have made so far assume we are working with a system that supports versioning. Yes, the external id could refer - and continue to refer - to a 'deleted' but still accessible file. But bear in mind that we should make no assumption of what external id system(s) are used for the assignment, and that system may not be providing a persistent identifier. So we can't assume what the appropriate behaviour of handling that id is on file / item deletion. Remember, that such a reassignment is (or rather should only be used for) altering the resolution of the identifier - which doesn't automatically mean that you are conceptually changing what it identifies. Danger danger! Surely we would just be giving our adopters enough rope with which to hang themselves by doing this. It is pretty obvious that people will never use things the way we've decided that they should, no matter how much we jump up and down and tell them that it's the wrong thing to do. True - but I could argue that by even having the ability to assign external / persistent identifiers to anything you are giving adopters enough rope to hang themselves. But having them is also a fundamental part of preservation, and they are likely hanging themselves if they don't use them (appropriately). There are so many issues that I don't think it's possible to ever write a system where it would be impossible for adopters to not hang themselves (with enough functionality to sustain a diverse community). The best we can do is minimize the potential for these problems in 'normal' operation, and provide extra (separate) functionality that can try to correct problems that do arise. G This email has been scanned by Postini. For more information please visit http://www.postini.com - 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] [vote] Do we want to assign external identifiers (Handles) to files?
Then what will happen if I remove one file from an item and add another file? Will the new file get the old handle or a new one or I can choose? Thanks, Zhiwu On 7/19/07, James Rutherford [EMAIL PROTECTED] wrote: On Thu, Jul 19, 2007 at 11:14:15AM -0400, Mark Diggory wrote: Just for clarification to the group... Its unclear what your requesting a vote on: Anyone can assign an external identifier to a Bitstream in an external identification system. Can you answer the two following questions for the group? Only if I can answer them in the wrong order :) 2.) Are you suggesting that Internal Identifiers (currently sequence id's) will be structured differently in 1.6 such that one can assign one to a bitstream independent of the parent items identifier? Yes, definitely. At the moment, files get UUIDs, which are used in the URL space instead of sequence ids etc. For example, the following url points to a pdf in my testing repository: [my_base_url]/dspace/resource/uuid:d0875067-6853-4c54-9d72-ff7888e43c42 1.) Are you suggesting that we will support an infrastructure in DSpace to assign those via an external identifier service (currently the Handle System in 1.5, ExternalIdentifierManager in 1.6)? It would work exactly the same for Bitstreams as it currently does for Items. This is purely about enlarging the scope (and expanding the flexibility) of what we're currently doing, not necessarily about changing the way we do it (at least not yet). cheers, Jim -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft 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 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] Adding items without bitstreams
I had the same problem. My work around is to upload an html file that simply does a redirect to the full-text source. Zhiwu Xie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Lewis [sdl] Sent: Tuesday, April 17, 2007 11:53 PM To: BEAZLEY, Robert; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding items without bitstreams Hi Robert, Is it possible to add items to DSpace without uploading a file? We have a need to add citations to our repository where we may not have the right to distribute the actual article itself. At the moment we're just using a placeholder text file but we'd like to be able to do away with this if it's at all possible. At present it is not possible - but will be in the next major release of DSpace (1.5) which will include what is known as the 'configurable submission system' (CSS). In the mean time, you could look at installing just that functionality: http://sourceforge.net/tracker/index.php?func=detailaid=1370187group_id=19 984atid=319984 Or you could install the whole of the configurable submission system: http://sourceforge.net/tracker/index.php?func=detailaid=1532695group_id=19 984atid=319984 I hope this helps, Stuart _ Datblygydd Cymwysiadau'r WeWeb Applications Developer Gwasanaethau Gwybodaeth Information Services Prifysgol Cymru Aberystwyth University of Wales Aberystwyth E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Large files and DSpace
Most large files are audio/video files. Downloading the whole file may not be a good solution here. Maybe adapting the large files to suit the users' needs, e.g., if the user's bandwidth or usage environment is limited, then adapting the audio/video files into lower quality streams, would be a more sustainable approach? Besides, DSpace does not necessarily just give whatever it holds to the users. The dissemination can be adaptive based on various factors. Building such an adaptive dissemination framework shall be very interesting. Zhiwu Xie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Snavely Sent: Tuesday, April 17, 2007 6:55 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Large files and DSpace Interesting thought, but using bittorrent would require the setup of several peer sites in order to do its thing. Probably a good idea from a preservation standpoint but I would suspect not practical for many, and there are of course easier ways to support large transfer demands. I've thought that if a need emerged for us to handle this type of media, the DAS we use for the assetstore would be just fine, as of course would a SAN or NAS arrangement, but submissions would probably need to come on removable media and be loaded by staff, and distribution would probably need to be via streaming, which I know has been discussed on this list. To me those are the indicated approaches for this issue. c On Mon, 2007-04-16 at 22:30 -0300, Afonso Comba de Araujo Neto wrote: The problem is very intriguing and I felt like giving my 2 cents. I don't even think the problem is where you'll put it or how you'll integrate such files to DSpace. The main problem is how a regular user would download such a gigantic file. My first try would be to use another technology which is focused on handling such downloads. The best technology I can think of for this kind of thing is bit torrent. If I had to do that, I would include on DSpace just a .torrent file and instruct the users how to download using the bit torrent protocol (links to free clients, etc.). Not only it would be way better than a simple http download, but it could alleviate the strain on your server, which certainly would build up with such lengthy downloads. Regards, Afonso Araujo Neto Citando Gary Browne [EMAIL PROTECTED]: We have an assetstore residing on a SAN which solves the capacity issues, but as Cory says it is more the logistics of getting items into and out of the assetstore which is the problem. Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney Australia ph: 61-2-9351 5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Snavely Sent: Tuesday, 17 April 2007 10:55 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Large files and DSpace I'd be interested to know how using SRB addresses the problem, which I understand to be the logistics of handling such a large file in both the user interface and the back end. Does it? Cory Snavely University of Michigan Library IT Core Services - Original Message - From: Ekaterina Pechekhonova [EMAIL PROTECTED] To: Gary Browne [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Monday, April 16, 2007 8:12 PM Subject: Re: [Dspace-tech] Large files and DSpace Hi Gary, you can configure Dspace to use SRB instead of regular assetstore. Some basic information can be found in the docs which come with Dspace.Also you can check this link: http://wiki.dspace.org/index.php//DspaceSrbIntegration Kate Ekaterina Pechekhonova Digital Library Programmer/Analyst New York University Libraries email: [EMAIL PROTECTED] phone: 212-992-9993 - Original Message - From: Gary Browne [EMAIL PROTECTED] Date: Monday, April 16, 2007 7:41 pm Subject: [Dspace-tech] Large files and DSpace To: dspace-tech@lists.sourceforge.net Hello All I think I posted a question like this last year but I've just become a dad for the first time and have a bit of brain meltdown. I tried searching for answers on the annoying sourceforge list archive (should I start a separate thread about this...?) but didn't find much. My question is a general one in that I'm wondering how people are handling large files in DSpace (getting them onto the server, submissions and publication/access)? Is the SymLink stuff the only option at this point? For example, we have (and will be getting lots more of) a 12GB video file to be used in one of our collections. I'd like to nut out what the possible options are before I try anything. Thanks and kind regards Gary Gary Browne Development Programmer Library IT Services University of Sydney Australia ph
[Dspace-tech] redirect 8443 to 80?
Apology if I'm re-posting. A previous email didn't show up so I'm re-sending it. -- Hello, I'm following the Dspace wiki page DspaceOnStandardPorts and ServletSecurity to run Dspace on Tomcat without Apache. I've set up the iptables to rrdirect port 80 to 8080 and 443 to 8443, then set the Tomcat secure redirectPort to 443 instead of 8443, so I don't get the 8443 port number such as https://laii-dspace.unm.edu:8443 at the browser address bar, but then when I click the DSpace logo from a secured page such as https://laii-dspace.unm.edu/password-login all the following pages are through https regardless of which the page is, which bothers me. But when I tried to click the dspace logo from the mit dspace page https://dspace.mit.edu/password-login the request to the https://dspace.mit.edu/ seems to be rerouted to http://dspace.mit.edu/. So what's the trick? Thanks, Zhiwu - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] redirect port 8443 to 80?
Thank you guys for the replies. I've been resisting the idea to install Apache, thinking not to install unnecessary services as much as possible. I need to think hard on this. Perhaps compromise has to be made somewhere. Any other people using Tomcat only run into this problem (following the ServletSecurity http://wiki.dspace.org/index.php/ServletSecurity method but can't escape from https to http)? Yes, nothing wrong with using https on every page, just a bit waste. Cory, I tried Deepblue and it seems you're not running it over https because https://deepblue.lib.umich.edu/ won't return any result. On the other hand I don't know why you can't just shut port 8080 from iptables. I guess unless I intentionally type port 8080 at the url the port number won't show in any links? Thanks, Zhiwu -Original Message- From: Cory Snavely [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 10:08 AM To: dspace-tech@lists.sourceforge.net Cc: Zhiwu Xie Subject: Re: [Dspace-tech] redirect port 8443 to 80? For folks listening in with interest, we also use NAT port forwarding to get around the requirement for mod_jk, but FWIW I haven't determined a way to close the incoming *actual* Tomcat ports (8080/8443). So, a potential downside with this approach, in addition to not having any real logic like mod_rewrite to apply at that intermediary level. Mind you, it's not really harmful or vulnerable, it's just a little ugly to have your actual nonstandard ports all hanging out like that. Cory Snavely University of Michigan Library IT Core Services On Fri, 2007-04-06 at 11:56 -0400, Mark Diggory wrote: We use Apache, mod_jk and mod_rewrite to deliver the webapplication on port 80 and port 443 as separate VirtualHost entries in Apache httpd. We do not allow direct access to the tomcat server over port 8080 or port 8443. I can send some more detail of our configuration if you decide to go this route. -Mark On Apr 6, 2007, at 11:32 AM, James Rutherford wrote: On Thu, Apr 05, 2007 at 09:39:53AM -0600, Zhiwu Xie wrote: bar, but then when I click the DSpace logo from a secured page such as https://laii-dspace.unm.edu/password-login all the following pages are through https regardless of which the page is, which bothers me. The links used in DSpace are relative, so if you login via https, you will continue with https. But when I tried to click the dspace logo from the mit dspace page https://dspace.mit.edu/password-login the request to the https://dspace.mit.edu/ seems to be rerouted to http://dspace.mit.edu/. So what's the trick? The only reason the MIT site is different is because (I assume) they have some custom configuration elsewhere that redirects https requests to http for normal use. If you try accessing https://dspace.mit.edu you will be redirected to the unsecured version at http://dspace.mit.edu. cheers, Jim -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech ~ Mark R. Diggory - DSpace Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology Office: E25-131 Phone: (617) 253-1096 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Take Surveys. Earn Cash. Influence
[Dspace-tech] redirect port 8443 to 80?
Hello, I'm following the Dspace wiki page DspaceOnStandardPorts and ServletSecurity to run Dspace on Tomcat only. I've set up iptables to route port 80 to 8080 and 443 to 8443, then set the Tomcat redirectPort to 443 instead of 8443, so I don't get the 8443 port number such as https://laii-dspace.unm.edu:8443 at the browser address bar, but then when I click the DSpace logo from a secured page such as https://laii-dspace.unm.edu/password-login all the following pages are through https regardless of which the page is, which bothers me. But when I tried to click the dspace logo from the mit dspace page https://dspace.mit.edu/password-login the request to the https://dspace.mit.edu/ seems to be rerouted to http://dspace.mit.edu/. So what's the trick? Thanks, Zhiwu - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] About OAI Harvester Plug-In for DSpace
There used to be an OAI-Harvester patch at: https://sourceforge.net/tracker/index.php?func=detailaid=1187554group_id=1 9984atid=319984 but now there's no patch file attached there. Any chance I can have that old patch before the new branch releases? Many thanks, Zhiwu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Rutherford Sent: Thursday, March 08, 2007 9:25 AM To: Tellier, Stephane Cc: DSpace Tech Subject: Re: [Dspace-tech] About OAI Harvester Plug-In for DSpace On Thu, Mar 08, 2007 at 07:58:12AM -0500, Tellier, Stephane wrote: I've noticed on a wiki page that this module seems to be actually revamped by the ChinaDigitalMuseumProject. Is it on th road to become available? Does anyone got some news about it? This would probably be my job ;) In the near future, I'm going to make pf-dspace (a project in which we are trying to generalise certain core parts of the Digital Museum code) available for general consumption. This will either be as a set of patches (my least favourite option), as a separate project on sourceforge (better, but still not ideal), or as a branch in the main SVN repository (my favourite option, but one I need to gather further input on before proceeding). Also, did someone used this plug-in with dspace version 1.4.1? The code should work fine with 1.4.1; the latest code that I'm running works with the code in the SVN trunk. In future, please only cross-post to -tech and -devel if absolutely necessary. Jim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] install postgresql 7.4 without compiling?
Yes I agree. The pre-built postgresql 7.4 supports UNICODE. My question is how to interpret the part of the Dspace installation doc quoted below: http://dspace.org/technology/system-docs/install.html Unicode (specifically UTF-8) support must be enabled. This is enabled by default in 8.0+. For 7.x, be sure to compile with the following options to the 'configure' script: --enable-multibyte --enable-unicode --with-java I compared postgresql doc 7.4 and 8.2 at: http://www.postgresql.org/docs/7.4/interactive/multibyte.html and http://www.postgresql.org/docs/8.2/interactive/multibyte.html The difference is that in 7.4 If no -E or --encoding option is given, SQL_ASCII is used. But in 8.2 If no -E or --encoding option is given, initdb attempts to determine the appropriate encoding to use based on the specified or default locale. My interpretation is that the pre-built 7.4 RPM does not automatically create all database with UNICODE by default, that may be the reason why the dspace installation doc asks us to re-compile from the source. But then the installation doc also override this by specifying -E UNICODE when create the dspace database so this should not be a problem. Perhaps this is just an insurance policy in case someone writes a dpsace extension, creates another database but forgets to add the encoding. If that's the case, initdb with -E UNICODE is all I need because initdb defines the default character set for a PostgreSQL cluster. Even for version 8.x, what if my default locale is US English but I still want the UNICODE database? I guess in any case initdb or createdb with -E UNICODE is the way to go regardless of the postgresql version, and re-compiling from source does not seem necessary. If that's the case, I think the dspace installation doc can use a bit clarification on this. Apology if I'm stating the obvious. Zhiwu Xie -Original Message- From: Jim Downing [mailto:[EMAIL PROTECTED] Sent: Monday, February 12, 2007 5:27 AM To: Zhiwu Xie; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] install postgresql 7.4 without compiling? Hi Zhiwu Xie, Zhiwu Xie wrote: A newbie question: I'm installing Dspace on a minimum installation of CentOS 4.4. The installation doc says: Unicode (specifically UTF-8) support must be enabled. This is enabled by default in 8.0+. For 7.x, be sure to compile with the following options to the 'configure' script: --enable-multibyte --enable-unicode --with-java Since I can easily yum the postgresql 7.4 I wanted to avoid compiling from source. My later admin work can be a lot easier if I yum install postgresql. If the --enable-unicode is just to enable using Unicode in the database, can I just add -E UNICODE when I do initdb? The --with-java option is to build the jdbc, which I can also easily yum. I'd be surprised if the packaged postgresql didn't already have unicode support, in which case you'll be able to specify the encoding when you createdb. Best regards, jim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech