Re: [Dspace-tech] Modifying values exposed via OAI unqualified DC
Hi Mark, Claudia, Thanks for the pointer, but can you tell me where this file should be? I've done a find on my server and it's not coming up. Mark DSpace 1.5.x: [dspace-src]/dspace-oai/dspace-oai-api/src/main/java/org/dspace/app/oai/OAID CCrosswalk.java DSpace 1.4.x and earlier: [dspace-src]/src/org/dspace/app/oai/OAIDCCrosswalk.java Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: stuart.le...@aber.ac.uk Ffon / Tel: (01970) 622860 _ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HANDLE update issue
Hi Tom, Would you mind trying an experiment for us? If you remove the semicolon from [dsapce-src]/dspace-api/src/main/java/org/dspace/handle/UpdateHandlePref ix.java run mvn package, and ant update, does the script [dspace]/bin/update-hanmdle-prefix then run OK? I suspect it will fix the problem. If you could confirm this, we'll get it fixed ready for the next release of DSpace. Thanks, Stuart From: McGee, Thomas A. [mailto:thomas.mc...@shu.edu] Sent: 15 December 2008 14:56 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] HANDLE update issue Following up on my question of last week on the failed UPDATE queries for changing handles on an Oracle database, this is what happened. Stuart Lewis suggested that the failing query was this: UPDATE metadatavalue SET text_value= (SELECT 'http://hdl.handle.net/' || handle FROM handle WHERE handle.resource_id=item_id AND handle.resource_type_id=2) WHERE text_value LIKE 'http://hdl.handle.net/% http://hdl.handle.net/%25 '; When I ran that in the Oracle SQL Developer application, I got an error something like no statement at cursor. I simply deleted the semicolon and ran: UPDATE metadatavalue SET text_value= (SELECT 'http://hdl.handle.net/' || handle FROM handle WHERE handle.resource_id=item_id AND handle.resource_type_id=2) WHERE text_value LIKE 'http://hdl.handle.net/% http://hdl.handle.net/%25 ' Which worked. Could that really be all that it is? _ Tom McGee Senior Digital Media Specialist Seton Hall University 400 South Orange Ave., South Orange, NJ 07079 973.275.2992 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] LDAP Authentication failure
Hi, We are using DSpace 1.4.2; We are facing this problem on a RHEL box. 2008-08-12 15:33:33,847 INFO org.dspace.eperson*.*PasswordAuthentication @ anonymous:session_id=86F90023214655DE8C1AA34B81B2B2B5:ip_addr=10.10.3.205:auth enticate:attempting password auth of [EMAIL PROTECTED] 2008-08-12 15:33:33,852 INFO org.dspace.app.webui.servlet.PasswordServlet @ anonymous:session_id=86F90023214655DE8C1AA34B81B2B2B5:*ip_addr=10.10.3.205:fai led_login:[EMAIL PROTECTED], result=4* The subject of your email suggests that you are wanting to use LDAP to authenticate your users? If this is the case it looks like you might not have set it up correctly as DSpace is still trying to authenticate using its own in-built password system. To enable LDAP, do the following in [dspace]/config/dspace.cfg: - Set 'ldap.enable' to 'true' - Set LDAP as the authentication method: - plugin.sequence.org.dspace.eperson.AuthenticationMethod = \ org.dspace.eperson.LDAPAuthentication - Set all your LDAP parameters to your local server settings - Restart tomcat Also, *how to reflect new changes made to any Java file, before rebuilding the dspace.war*? Re-run ant, as follows: - ant -D[dspace]/config/dspace.cfg update Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.4.2 and LDAP
Hi Darryl, I have been trying for some time to wrap my head around how to get LDAP to work with DSpace 1.4.2. I find it strange because unlike everything else related to DSpace, LDAP is not extensively documented and I've seen so many different forums with varying views, problems and solutions. Is there anyone who can point me in the right direction? Any help would be greatly appreciated. LDAP settings are always very unique to an institution, so it is hard to provide very generic documentation and advice. A few tips though: - Out of the box DSpace will only support a flat LDAP structure where are users are in a single OU. If this is not the case, you'll have to try this patch, until it becomes a part of core DSpace: http://sourceforge.net/tracker/index.php?func=detailaid=1597831group_id=19 984atid=319984 - Try using an LDAP browser (e.g. http://www-unix.mcs.anl.gov/~gawor/ldap/download.html). Test your settings in this, and once they work, enter them into the DSpace configuration. The LDAP browser is a lot easier to use and diagnose connection problems with, than directly in DSpace. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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] Tangent: *configuring* user statistics
Hi Mark, While we're talking about the bin/stat-* scripts: they really shouldn't be configured in the scripts themselves; the file paths at least should be placed in config/dspace.cfg so they don't get blown away by code updates. Shall I cook up a patch, or is someone else already working on that? While I'm at it, I might suggest making the start_year and start_month commandline parameters to stat-initial and stat-report-initial. Some of this has already been done and is in 1.5. See the log for revision 2630 and 2680: http://dspace.svn.sourceforge.net/viewvc/dspace?view=revrevision=2630 http://dspace.svn.sourceforge.net/viewvc/dspace?view=revrevision=2680 The start month and year are now stored in dstat.cfg rather than in each script. The scripts have been replaced with Java classes, so that people running DSpace on windows don't have to worry about installing Perl. The values for the input and output directories are taken from dspace.cfg, using the log.dir and report.dir properties. Does that cover everything you wanted? Cheers, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Remote APIs
Hi Robin, The SWORD project team are hoping to extend SWORD to cover the full CRUD functionality. APP, upon which SWORD is based, supports this (http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-09.html #edit). The SWORD project has now won further funding, and we will soon start to investigate it, but our intention is to go along this route. Thanks, Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Taylor Sent: 28 February 2008 09:55 To: 'Mark Diggory' Cc: dspace-tech@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Dspace-tech] DSpace Remote APIs Hi Mark, I did post it when it was originally written (Sourceforge patch 1619468) although I don't have too much confidence in this early version, it has been made more robust since then but I never got round to updating the patch. When it was written there wasn't much going on with regards to ingest outwith the UI but things are changing. We would prefer to migrate to something more inline with future development and have been looking at Sword. Unfortunately we need the 'update' function and Sword only appears to provide 'add' at this point in time. If as hoped the central dspace api becomes a fairly stable entity then it may be that a number of non-UI interfaces emerge in the same way that there is now the JSP and XML UIs. It is an area that is of immediate interest to us so I hope we can contribute in some way. Cheers, Robin. -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: 27 February 2008 19:52 To: [EMAIL PROTECTED] Cc: 'Rob Hudson'; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace Remote APIs Robin, This is interesting... You should post it... Have you seen this patch? https://sourceforge.net/tracker/index.php? func=detailaid=1898241group_id=19984atid=319984 It ends up using ItemExporter for a similar case... My only problem with this (and I stated it in the referenced ticket) is that we are trying to get away from ItemImporter/ItemExporter or at least get them in line with the Packager framework somehow... Right now theres are two completely different implementations used for ingest and its getting unclear which the community should be more focused on. Cheers, Mark On Feb 22, 2008, at 3:46 AM, Robin Taylor wrote: Hi Rob, We developed a set of web service interfaces based around the batch importer and supporting the same functionality (add, delete, update) which we do use for one of our installations to import items from an existing research database. This was very much a bespoke development but I would happily provide the code if you are interested. Cheers, Robin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hudson Sent: 22 February 2008 10:30 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] DSpace Remote APIs Hello all, I'm trying to find out more information about DSpace remote APIs. I've found the following wiki page but the information on it seems out of date: http://wiki.dspace.org/index.php/NetworkInterfaces. I spoke to the CARET team and they have stated that the LightWeightNetwork interface has taken over the main line of development. How actively developed are these interfaces? Which are included in the core DSpace (and which are extensions)? I'm more than happy to update the wiki page if someone can give me more information. Thanks for any responses Rob -- --- 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 - 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] Illegal argument exception
Hi Jose, In the last few days I've been getting errors like this: -- URL Was: http://deepblue.lib.umich.edu/dspace/handle/2027.42/31692 -- Method: GET -- Parameters were: Exception: java.lang.IllegalArgumentException: 2 Dec 2007 03:08:59 GMT at org.apache.catalina.connector.HttpRequestBase.getDateHeader(HttpRequestB ase.java:860) at I looked at the logs file and I don't see anything out of the normal going on. It looks like crawling from google. When I try the URL, it works fine. Any ideas what could be causing this? My guess (and it is only a guess!) is that the date format being sent by the crawler is incorrect, so Tomcat burps and spits it out. It works for your browser as your browser is sending a valid date format. What is being sent is: 2 Dec 2007 03:08:59 GMT According to RFC 1123 Section 5.2.14, the date stamp is supposed to be formatted to the RFC 822 date specification (Section 5) except for the use of a 4 digit year. So comparing the spec with what was sent, it looks likes it is upset because there is no 'day' (e.g. Mon / Tue / Wed etc) component. It should perhaps read: Sun 2 Dec 2007 03:08:59 GMT But as I said, it is only a guess, and I might be way off the mark. Cheers, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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] DSpace 1.5 - mvn package trouble
Hi Chad I upgraded to Java 1.5 and am getting the exact same results as before. Is there any more information I can find and provide in order to help track down the cause? Could you run 'javac -version' just to confirm your system is picking up the new 1.5, rather than the old 1.4 JDK? I'm pretty sure it is this bit of the maven pom.xml throwing the error: !-- Java 1.5 is our officially endorsed build target platform. -- plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin Cheers, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.5 - mvn package trouble
Hi Chad, I have been trying to build a DSpace 1.5 alpha from the svn repository by following the steps at http://wiki.dspace.org/index.php/Building_DSpace_From_Source However, I have been unsuccessful. On the step that says to type mvn package I get the build failure message below. I have java version 1.4.2_15. [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: javac: invalid target release: 1.5 This error says that DSpace requires Java JDK version 1.5 or higher, and because you are only running 1.4.2, it is not able to compile the code. If you upgrade to Sun JDK 1.5 or higher, you should find it will compile OK. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Browse by Author and UTF-8
Hi Robin, This is the exact fix as per the installation instructions: http://www.dspace.org/index.php?option=com_contenttask=viewid=152 === You also need to alter Tomcat's default configuration to support searching and browsing of multi-byte UTF-8 correctly. You need to add a configuration option to the Connector element in [tomcat]/config/server.xml: URIEncoding=UTF-8e.g. if you're using the default Tomcat config, it should read: !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true URIEncoding=UTF-8 / === So you should be safe. Cheers, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Taylor Sent: 11 January 2008 15:45 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Browse by Author and UTF-8 Wonder if anyone can help. We have an author whose name contains an umlaut König. The name displays fine in the list of authors but is displayed incorrectly when the author is selected - König. The problem appears to be that the name is passed as a parameter in an encoded URL and is not being correctly decoded when it reaches the servlet (ItemsByAuthorServlet). I can fix the problem by adding parameter URIEncoding=UTF-8 to the correct place in Tomcat's Server.xml file, but a global change like this leaves me a bit nervous about what other unforseen effects this may have. This is happening on Windows and Unix (Solaris), Dspace 1.3.2. I am sure someone else must have encountered this problem, any advice would be greatly appreciated. Thanks, Robin. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Watermarking images on-the-fly
Hi Shane, Have there been any projects investigating the potential for watermarking images stored in the repository as they are accessed by the user? Here is a quick guide to using PHP and the GD Graphics Library to accomplish this, but not within the DSpace environment: http://www.sitepoint.com/article/watermark-images-php I'm not sure if something like this could be done within DSpace, but it would certainly be helpful for my institution in some cases. Does the branded image item facility do what you want? In [dspace-src]/docs/configure.html, look for: === Displaying Image Item Preview For particular types of objects (currently various image formats), a preview feature can be activated. This provides a branded version of the DSpace bitstream for display on the Item Display page. To activate this feature and display a preview image on the item page (all properties mentioned below are found in dspace.cfg): - Uncomment the lines defining the list of configured mediafilters at plugin.sequence.org.dspace.app.mediafilter.MediaFilter to include org.dspace.app.mediafilter.BrandedPreviewJPEGFilter. - Set the maximum pixel dimensions for the preview image by altering the webui.preview.maxwidth and webui.preview.maxheight (default is 600) config items. - Set the webui.preview.brand to the text you want to brand the image with. The brand will appear as white text on a black background strip across the base of the image. For example you might set the text to the owning organisation. The handle is also displayed as part of the branding. - Set the webui.preview.brand.abbrev. This is an abbreviated form of the webui.preview.brand text and will be shown where the brand text is longer than the image width (e.g. for narrow images). - Set the webui.preview.brand.height to the height in pixels of the appended branding (default 20). - Set the webui.preview.brand.font to the font for the brand text (default is SansSerif). - Set the webui.preview.brand.fontpoint to the font size for the brand text (default is 12). - Run [dspace]/bin/filter-media to generate the preview images. These will be stored in a BRANDED_PREVIEW bundle so won't interfere with existing bundles. - Set webui.preview.enabled = true. - Set webui.preview.dc if a metadata value is to appear just below the preview. For example, to highlight item rights you might set webui.preview.dc = rights or to show the description as part of the preview set webui.preview.dc = description.abstract. This is disabled by default. - Restart Tomcat. === Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace installation on Windows server 2003
Hi Paul, Has anyone done the Dspace installation on a Windows 2003 server, I did the steps as in the documentation everything goes fine until I ran the Ant Full Install, start installing stuff and as the war files is being installed the installation stops with this error initialize Database@ Caught exeption: Java.SQL.SQLexption: Java Lang.nullpoint.exeption. I checked thePsql settings the username is ok and password, the service is running. Does anyone have a Idea what causes this error Could you send the whole output from the ant command so we can see what the underlying cause of that exception might be? We (amongst many others) run Dspace instances on Windows Server 2003, so we should be able to get this sorted for you quite easily. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Eprints to Dspace migration
Hi Pavan, Has anybody tried with Eprints to Dspace migration. If Please can u send me the steps you followed to migrate . Currently i followed steps given in this site(http://rubric.edu.au/techreports/tech_report-eprints_to_dspace.htm). But i wasn't able to successfully import , i got some 1000 directories created in my output directories which had dublin_core.xml files in it. I was not able to successfully ingest items. If anybody has successfully migrated , can u please list me the steps you followed. It sounds promising that you are able to create the directories and files to ingest, hopefully there is something wrong with the DSpace import command you are using that we can help you with. 1) What command are you running to import the items? 2) What error message is DSpace giving you? Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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 Documentations
Hi, Iam newbie to Dspace and would like to try to install and configure for our Library.I have intermediate level of java programming.Please,can anyone help me to point out tutorials and documentation for the beginners?. A lot of the documentation is distributed with DSpace in the /docs directory, and in the help html files. There is a long list of useful resources on the wiki: - http://wiki.dspace.org/DspaceResources If you have any further questions, please feel free to come back and ask! :) Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] handle resolution
Hi Kyle, Our dspace and handle server (kb.osu.edu) has been migrated to new hardware. It retains the same IP address and DNS name. Unfortunately after the IP switch our handle (1811) still resolves to the original machine. We have already changed the configuration settings in the main dspace config file. I believe that we have checked most of the other configuration files as well. Are there any other config files that anyone would suggest we take a look at? Has anyone run into a similar issue? We have moved hardware too recently, and did the same as you - took the IP address to the new machine. I've had a look at your DSpace installation and it seems to be working now. However, if you have trouble again in the future, you can always try out the Handle System Proxy Server that will be running when you start the handle system: http://kb.osu.edu:8000/ This will help you interrogate your handle system. For example enter a valid handle (1811/5859) and tick the 'Don't Redirect to URLs' box. You can then see what the handle system thinks it should redirect to. Also a question about the handle system architecture... In our migration process, we planed to move the IP address from the old machine to the new one with the assumption that, in doing so, we would eliminate the need to make changes to the IP address we had on file with handle.net and the dns resolution of kb.osu.edu. Are handles resolved through IP address or domain name? I would think that IP would make more sense since the whole point of handles are to compensate for the possibility of non-stable domains names. It is based on IP addresses for the reasons you describe. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Development goals (was: ETDs Dspace - BestPractices)
On 13/11/07 23:52, Christian Voelker [EMAIL PROTECTED] wrote: I appreciate your comment written with the deep knowledge of a long term user but I have a hard time to google all the external references to technologies such as Tapir, Researcher Pages, Sword an everything else you mention. I would need to know them to really understand where you are heading to. Can you gimme a link or a hint? Tapir: - http://www.thesesalive.ac.uk/dsp_home.shtml - http://wiki.dspace.org/index.php/TapirAddOn Researcher pages: - http://tinyurl.com/yveb2u - An example: http://tinyurl.com/yw6sk2 SWORD: - http://www.ukoln.ac.uk/repositories/digirep/index/SWORD - http://sourceforge.net/projects/sword-app/ I hope they help, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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
Re: [Dspace-tech] MS - IIS webserver
Hi John, Hello, I¹ve been looking for some information regarding the use of MS-IIS web server with Dspace but without much luck I¹m afraid. We are looking at the possibility of using Dspace and our IT department would like to know if we can use MSIIS. If you are using it, would it be possible for you to tell me on which platform? Will it only run from a windows machine? DSpace is a Java web application, so must be run through a Java Web Application Server. The two most commonly used are Tomcat or Jetty. IIS is not a Java web application server, so can not natively run DSpace. Tomcat will run fine on Windows, so you can just use that if you want. A large percentage run it on unix machines, but there are plenty who use Windows. If you want to run DSpace along with other applications (in IIS) on the same server, this should be possible by running Tomcat and IIS together. You can set up an ISAPI filter to forward certain paths (e.g. /dspace/) to Tomcat in the same way that mod_jk works with Apache. I hope this helps, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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
Re: [Dspace-tech] Blocking a malicious user
Hi Sue, pg_hba.conf only controls who can communicate with Postgres, not who can communicate with DSpace. Normally it is only 'applications' (e.g. DSpace) that talk to Postgres, not users. A user talks to DSpace, who in turn talks to Postgres. Postgres has no idea or interest in the IP address of the user who is using DSpace, only that of the DSpace application. Therefore adding malicious IP address into that config file will sadly have no effect. You have to block users higher in the stack, either at the application level (apache or tomcat directives), or at the network level (firewall changes). Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Sent: 31 October 2007 17:51 To: Mika Stenberg; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Blocking a malicious user You can block ip addresses at the postgreSQL level in the pg_hba.conf file. Here is a person I blocked by ip address who was sending all kinds of GET requests to our DSpace server: hostall all malicious.ip255.255.255.255 reject Sue Walker-Thornton NASA Langley Research Center ConITS Contract 757-224-4074 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mika Stenberg Sent: Wednesday, October 31, 2007 6:00 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Blocking a malicious user We've had problems like that as well. Blocking specific IP's works only for a while since many bots and spammers seem to change their IP frequently. We didnt come up with a decent solution for this, but blocking an entire country of origin for a period of time has been on my mind. Managing the allowed requests / timeslot for a specific IP might also do the trick. -Mika If they're nasty enough, though, they'll drown your Apache or Tomcat server in replying with 403s. I've had times that I needed to be absolutely merciless and block at the firewall level, using iptables; then they don't even get as far as userspace. On Tue, 2007-10-30 at 14:01 -0500, Tim Donohue wrote: George, We had a similar problem to this one in the past (a year or so ago). I just flat out blocked the IP altogether (not even specific to /bitstream/) via this Apache configuration: Location / Order Allow,Deny Deny from {malicious ip} Allow from all /Location This looks similar to your config though (except it blocks all access from that IP). - Tim George Kozak wrote: Hi... I am having a problem with an IP that keeps sending thousands of GET /bitstream/... requests for the same item. I have placed the following in my Apache.conf file: Directory /bitstream/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all deny from {malicious ip} /Directory I also placed the following in my server.xml in Tomcat: Valve className=org.apache.catalina.valves.RemoteAddrValve deny=xxx\.xxx\.xxx\.xx / However, this person still seems to be getting through. My java process is running from 50%-80% CPU usage. Does anyone have a good idea on how to shutout a malicious IP in DSpace? *** George Kozak Coordinator Web Development and Management Digital Media Group 501 Olin Library Cornell University 607-255-8924 *** [EMAIL PROTECTED] - 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 - 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
Re: [Dspace-tech] LDAP administrator authentication
Hi Pete, I am using dspace 1.4.2 and I want to connect it with ldap server. The problem is that my ldap server needs userDN password to make the connection. On the other hand, DSpace tries to authenticate users anonymously. I checked Dspace.org documentation but it has only an anonymous bind example. Any ideas about how I can make this work? Normally LDAP works by using the netid and password of the user to bind to the LDAP service. If this succeeds, then the password is assumed correct and the user is logged in. The problem arises when the userDN is not known in advance, if for example different types of users are in different parts of the organisational structure. In this case, trusted user credentials are required to first log in, locate the correct userDN, and then reconnect to that using the user's own credentials. DSpace does not currently support that, but there is a patch that allows this: http://sourceforge.net/tracker/index.php?func=detailaid=1597831group_id=19 984atid=319984 Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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
Re: [Dspace-tech] Completed install but page cannot be displayed
Hi Peter, Something to try to see if tomcat really is running: What happens when you type: telnet localhost 8080 If you get a message something like 'connection refused' then it sounds like tomcat either isn't running, or is not listening on port 8080. Have you looked at 'ps' to see if it is listed as a running process? If the telnet command does work (you'll not see any output, just a blank prompt) try typing: GET / HTTP/1.0 And hit enter twice. Hopefully this will return some HTML (the tomcat homepage). This would show that tomcat is working. If tomcat is working, it might be that your server is firewalled from your computer running the browser. I don't know what a default Ubuntu firewall config looks like, but assuming they give you one, it is possible (likely) that a non-standard port such as 8080 is blocked by default, and you'll need to unblock it. Good luck! Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ On 15/10/07 23:33, Peter Urban [EMAIL PROTECTED] wrote: Thanks Christian. When I run http://ipaddress:8080, I get Internet Explorer cannot display the webpage. As best I can tell, Tomcat is running. I don't know much more about Tomcat to be able to troubleshoot further on my own. I get no errors when I start it using sudo /etc/init.d/tomcat5.5 start I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had an error during installation * no JDK found - please set JAVA_HOME invoke-rc.d: initscript tomcat5.5, action start failed. dpkg: error processing tomcat5.5 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tomcat5.5 E: Sub-process /usr/bin/dpkg returned an error code (1) Then, I realized that I had JRE (j2re1.4), not JDK, so I installed sun-java5-jdk package and reinstalled Tomcat. That seemed to work fine. I don't see a catalina.sh. I looked for it in /usr/local/tomcat, but I have no tomcat folder in local. Did I do the Tomcat installation wrong? On to your other questions... Yes ant-optional package is installed. When I copy the dspace*.war files to the webapps directory, they do not unpack. All I see are 2 war files, no dspace directory. Thanks for your help so far. -Peter -Original Message- From: Christian Voelker [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 5:01 PM To: Peter Urban Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Completed install but page cannot be displayed Am 15.10.2007 um 21:39 schrieb Peter Urban: when we launch a browser and try to access the site usinng http:// ipaddress:8080/dspace, we get a 'page cannot be displayed' message. What do you get under http://ipaddress:8080 ? The Tomcat Homepage? So, is Tomcat actually running? If not, stick with this problem. Can you start it manually using catalina.sh? If this is not your issue, did you get any error msgs during your ant fresh-install? (ant-optional pkg is installed?). Does your automatic deployment work properly? So, if you drop your dspace.war into the webapps dir, does it get unpacked to a dspace subdir to the webapps dir? You are not yet at the point where the trouble with the database and the jdbc connector usually starts ;-) - no, sorry, I did not say that, I do not want you to shy away. There is really no reason to do so, just work through it step by step with getting tomcat up and running being the very first of them. Bye, Christian - 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 - 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
Re: [Dspace-tech] [Dspace-general] dspace email feature not working
Hi, I am using ubuntu 6.06 as operating system, the e mail feature is not working in my server the error in the log file is 2007-10-11 11:55:11,915 INFO org.dspace.app.webui.servlet.RegisterServlet @ anonymous:session_id=7CBDA8042C27736FF48362A1D1056E8E:ip_addr= 10.1.1.6:error_emailing:[EMAIL PROTECTED] javax.mail.MessagingException: Unknown SMTP host: http://mail.vidyaacademy.ac.in http://mail.vidyaacademy.ac.in ; It looks like you have set your mail server to be 'http://mail.vidyaacademy.ac.in' in your dspace.cfg file It should probably just be mail.vidyaacademy.ac.in (remove the http://) All you need is the DNS name of an SMTP server. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.net email is sponsored by: 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
Re: [Dspace-tech] problem with itemimport in .bat file
Hi Wang, In Windows batch scripts you need to prepend calls to other batch scripts (dsrun is actually dsrun.bat) with 'call'. So each line would read: call dsrun org.dspace.app.itemimport.ItemImport -a -e etc... I hope that helps, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wang jiahui Sent: 18 September 2007 15:38 To: dspace-tech Subject: [Dspace-tech] problem with itemimport in .bat file Hi, I wrote a .bat file to import items to collection. It's just composed of individual item-import commands like this: dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c 17 -s I:\aaa\dmcu_data\A000\ACF0 -m ACF0 dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c 18 -s I:\aaa\dmcu_data\A000\ACG0 -m ACG0 dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c 19 -s I:\aaa\dmcu_data\A000\ACH0 -m ACH0 dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c 20 -s I:\aaa\dmcu_data\A000\ACI0 -m ACI0 But it returned after the first command run, leaving all the others not run. I'm sorry not familliar with .bat files, and I tried to google this problem but got no answer. Is there anyone knows what's wrong with this? Thanks Wang Jiahui - 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] UTF-8 encoding in search mystery
Hi Steve, Can anyone help with this? I¹ve found that, since we moved from Solaris to Linux (RHEL), we are unable to search using words with non-ascii characters in them. E. g. the name ³Mühlhäusler² in simple search returns no results. The URL produced by the search is http://digital.library.adelaide.edu.au/dspace/simple-search?query=M%C3%83%C2%B Chlh%C3%83%C2%A4usler Can anyone offer advice on how to fix this? It is rather embarrassing not being able to search non-english words. Looking at the headers from your server, it says the server is apache 2, so I am guessing you are using mod_jk? If so, have you got the following option set? JkOptions +ForwardURIEscaped If not, it will likely fix your problem. Cheers, Stuart _ 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: 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
Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003
Hi Jayan, (1) In my repository all items except the single uploaded item (10220/62562) are having the default handler (123456789). How to run the update-handle-prefix script on Windows? Will this affect the handler service? You might find it easier to first apply this patch: http://sourceforge.net/tracker/index.php?func=detailaid=1642563group_id=19 984atid=319984 This uses Java rather than a Unix shell script to make the changes. It should not affect the service at all - all it does is change the identifiers in the database to use your new handle value. (As always - test first on a backup!) (2) The protocol to be enabled for 2641 port is TCP or UDP? UDP is better if you can. Thanks, Stuart _ 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: 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
Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003
Hi Jayan, For starting the handle server at the command prompt E:\DSpace\bindsrun -Dlog4j.configuration=log4j-handle-plugin.properties net.han dle.server.Main E:\dspace\handle-server In this case I need to leave the command line window open for the handle server to function. If I close the command line window, handle server stops. Is there a way to use ³javaw² to run the handle so that the process runs at the background. For a possible solution, take a look at: http://cadair.aber.ac.uk/dspace/handle/2160/318 (See slides number 4 5) Cheers, Stuart _ 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: 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
Re: [Dspace-tech] Search result numbers
Hi Jayan, In the dspace repository after a search for a keyword, the log file (given below) returns ³results=(0,0,3)². ³3² indicates the no of matches for the keyword. Please suggest regarding the other two digits (0,0,3) in the result. 2007-08-08 11:57:30,506 INFO org.dspace.search.DSQuery @ Final query string: mass communciation 2007-08-08 11:57:30,617 INFO org.dspace.app.webui.servlet.SimpleSearchServlet @ anonymous:session_id=7D5D46E1E11876318DDF688844913828:ip_addr=127.0.0.1:search :query=mass communciation,results=(0,0,3) They refer to: 1) The number of Community hits 2) The number of Collection hits 3) The number of Item hits So if you tried the following query: http://cadair.aber.ac.uk/dspace/simple-search?query=information (As it stands at 8/8/2007) You would get the numbers (2,4,131) The code that produces the log line can be found on lines 291-294 of org.dspace.ap.webui.servlet.SimpleSearchServlet: // Log log.info(LogManager.getHeader(context, search, logInfo + query=\ + query + \,results=( + resultsCommunities.length + , + resultsCollections.length + , + resultsItems.length + ))); Hope that helps, Stuart _ 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: 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
Re: [Dspace-tech] Problem with new submission
Hi Daniel, When trying to make a new submission, after the first four steps (Describe, Describe, Describe, Upload) the Verify page shows almost all data as null values. Does somebody know how this can be possible or how can I solve it? Is this happening on a fresh install of the software, or have you made any modifications? Thanks, Stuart _ 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: 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
Re: [Dspace-tech] i18n configurable multilingualism support
Hi Marcelo, Has anyone tried this patch: SF Patch #1450491 https://sourceforge.net/tracker/index.php?func=detailaid=1450491group_id=19 984atid=319984 i18n configurable multilingualism support For what I've read, it seems to be an excellent addition to Dspace!! It is indeed! It has recently been added to the core code and is available from SVN trunk, and will be in version 1.5 which is scheduled to be released later this year. In the meantime, i would like to have a simple dropdown list (or links) that allow a user to change the language. But i could not found any info on this, on the multilanguage-packs page. Is it made with javascript? Any ideas? See the SourceForge patch: - [ 1759438 ] Multilingualism Language Switch - DSpace Header It sounds like this is what you are requesting. A demo is online at http://rspdspace.aber.ac.uk/dspace/ Thanks, Stuart _ 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: 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
Re: [Dspace-tech] 1.4.2 installation problem
Hi Glen, After doing the preliminaries when I do ant fresh_install in the dspace source directory I get the following error message: No supported regular expression matcher found This usually means you have to install an extra package for ant which contains the regular expression dependencies - often called something like 'ant-optional' or 'ant-apache-regexp'. Thanks, Stuart _ 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
Re: [Dspace-tech] input-forms.xml : including a url in the submissionsform
Hi, Has anyone succeeded in including a live link in the submissions form? I can get the url to display as text, but it will not work as a link. I know of one other person who has tried this and has had difficulty. Do you mean in the 'hint' section? If so, you can do it by using html codes. E.g.: hintEnter the full bibliographic details of the item to be deposited, in Harvard APA 5th edition format (guidance is available on the lt;a href=http://www.port.ac.uk/departments/studentsupport/library/supportandadv ice/Informationstudyskillssupportmaterial/harvardapaformat/ target=_newgt;Portsmouth University library sitelt;/agt;)/hint Thanks, Stuart _ 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
Re: [Dspace-tech] New users not seeing items in task pool
Hi Donna, If a new e-person is created after items have been submitted to the workflow, then the items don't display in their list of Tasks in the Pool. The older workflow items only display if they are accepted by another e-person and returned to the task pool. Does anybody know how to fix this problem? As far as I know, this is a limitation in DSpace. If you have the resources, you would be more than welcome to fix the issue and submit a patch, or you could submit it as a feature request ( http://sourceforge.net/tracker/?group_id=19984atid=369984) Thanks, 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
Re: [Dspace-tech] Validation and accents
Hi Luis, I have two problems. - I have a function to validate. I would like to know where do i have to put this function in the DSpace code. Just for filtering the registrion for new users to people that does not belong to the university. boolean Función_Validar(String Usuario, String Clave) You could have a look at the following patch which might do what you want: http://sourceforge.net/tracker/index.php?func=detailaid=1642336group_id=19 984atid=319984 This patch has been included in the latest build of DSpace - 1.4.2. It adds a new configuration option: PasswordAuthentication options # Only emails ending in the following domains are allowed to self-register # Example - example.com domain : @example.com # Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk # authentication.password.domain.valid = example.com If you wanted to use your own version, your code would need to go inside: org.dspace.eperson.PasswordAuthentication.canSelfRegister() Thanks, 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
Re: [Dspace-tech] Fwd: Problem with Data Provider Validation
Hi Jodi / Keith, However this request returns error code=badArgument. http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers The 'badArgument' occurs because you need to specify which format you want the metadata in. So the following works: http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersmetadata Prefix=oai_dc However This still suffers from the problem of no records being returned when no dates are specified. As you have noticed, if you add a 'from' records are returned. (Not so if you just add a 'to'). What should be happening, is OAICat passes a 'null' for 'to' and 'from' to org.dspace.search.Harvest.java If it receives null values, it should not do any date filtering on the select query. Something must be going wrong here. To debug this, we need to see what queries are being run. Can you: 1) Upgrade your logging output to DEBUG (change 'INFO' to 'DEBUG' in [dspace]/conf/log4j.properties an then restart tomcat). 2) Watch you [dspace]/log/dspace.log file as you call the ListIdentifiers URL which is returning an empty result set. The debug output should show the output that OAICat is passing to Harvest.java, and should show the corresponding query that Harvest.java calls. If you can send these to the list, we can look into the problem further. Thanks, 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
Re: [Dspace-tech] dsrun data register trouble
Hi Horii, We have a memory problem and we can not register our repository data properly. If somebody knows anything about the similar problem, please let us know. The problem is as follows. During the data registration using dsrun utility, the memory resource is constantly consumed and finally the process stops because of the out of memory.It happens even if the data is only about several thousand. But our collection is up to hundred thousand or mor. We use Dspace Ver1.4. Which dsrun script are you running? What is the full command you use? Thanks, 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
Re: [Dspace-tech] Accented char in filename problem
Hi Mike, On 1/6/07 14:04, Michael White [EMAIL PROTECTED] wrote: Hi, It has just been brought to my attention that an item in our repository that contains an accented character in the filename is not accessible in our repository because the char/url is being mangled when the link to the bitstream is clicked - http://dspace.stir.ac.uk/dspace/handle/1893/50. Does anyone have any suggestions as to the best way to fix this? I've had a few thoughts but also have concerns and definitely don't want to totally mangle my repository!! 2) Add another copy of the bitstream to the item, without the accented char in the filename, using the Add Bitstream functionality and Remove the bitstream that has the dodgy title - not sure though if the Remove function will also fail because of the accented char(?) To me, this seems the best option. The old file should delete cleanly as I suspect (although haven't looked) that it uses its ID rather than its filename to identify it in the delete request. Thanks, 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
Re: [Dspace-tech] Fwd: Problem with Data Provider Validation
Hi Keith, Any chance you could install this patch, and try again: http://sourceforge.net/tracker/index.php?func=detailaid=1659868group_id=19 984atid=319984 The patch gives better database debugging, as it replaces the '?' in the log file with the actual values given. We can then see the actual queries being run, and you can try them by hand to see what is being returned. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Cymru Aberystwyth University of Wales Aberystwyth E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ On 6/6/07 20:20, Keith Jones [EMAIL PROTECTED] wrote: Thanks for the additional input. I turned on debug and here is what output I am getting in the log file. 2007-06-06 14:47:48,393 INFO org.dspace.app.oai.DSpaceOAICatalog @ anonymous:no _context:oai_request:verb=listIdentifiers,from=0001-01-01T00:00:00Z,until= -1 2-31T23:59:59Z,set=null,metadataPrefix=oai_dc 2007-06-06 14:47:49,008 DEBUG org.dspace.search.Harvest @ anonymous::harvest SQL :SELECT handle.handle, handle.resource_id, item.withdrawn, item.last_modified FR OM handle, item WHERE handle.resource_type_id=2 AND handle.resource_id=item.item _id AND item.last_modified = ? AND item.last_modified = ? ORDER BY handle.r esource_id 2007-06-06 14:47:49,009 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query SELECT handle.handle, handle.resource_id, item.withdrawn, item.last_modi fied FROM handle, item WHERE handle.resource_type_id=2 AND handle.resource_id=it em.item_id AND item.last_modified = ? AND item.last_modified = ? ORDER BY h andle.resource_id 2007-06-06 14:47:49,782 INFO org.dspace.app.oai.DSpaceOAICatalog @ anonymous:no _context:oai_error:no_items_match On Wed, 6 Jun 2007, Stuart Lewis [sdl] wrote: Hi Jodi / Keith, However this request returns error code=badArgument. http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers The 'badArgument' occurs because you need to specify which format you want the metadata in. So the following works: http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersmetadata Prefix=oai_dc However This still suffers from the problem of no records being returned when no dates are specified. As you have noticed, if you add a 'from' records are returned. (Not so if you just add a 'to'). What should be happening, is OAICat passes a 'null' for 'to' and 'from' to org.dspace.search.Harvest.java If it receives null values, it should not do any date filtering on the select query. Something must be going wrong here. To debug this, we need to see what queries are being run. Can you: 1) Upgrade your logging output to DEBUG (change 'INFO' to 'DEBUG' in [dspace]/conf/log4j.properties an then restart tomcat). 2) Watch you [dspace]/log/dspace.log file as you call the ListIdentifiers URL which is returning an empty result set. The debug output should show the output that OAICat is passing to Harvest.java, and should show the corresponding query that Harvest.java calls. If you can send these to the list, we can look into the problem further. Thanks, 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] Servlet exception when sending mail
Hi Jason, It sounds like tomcat might be suffering from a clash of jar files proving email handling, and is using the GNU mail.jar rather than the one provided with DSpace. Might be worth looking around and seeing if there is another one sitting around which might be being used instead. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Cymru Aberystwyth University of Wales Aberystwyth E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ On 6/6/07 19:13, Jason Nugent [EMAIL PROTECTED] wrote: Hi folks, Something one of my users noticed today. Our DSpace instance (latest version) is throwing an exception when ever a servlet tries to send mail. In this case, the exception was generated when someone tried to reset a forgotten password, but it happens in all email cases. My mail server is set to localhost, and I can send mail from the box just fine with the mail and sendmail commands. The full stack trace is: Jun 6, 2007 3:08:37 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet forgot threw exception java.lang.ClassCastException: gnu.mail.handler.TextPlain at javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.jav a:596) at javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap. java:550) at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:611) at javax.activation.DataHandler.writeTo(DataHandler.java:315) at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:248) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1268) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012) at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980) at javax.mail.Transport.send(Transport.java:97) at org.dspace.core.Email.send(Email.java:330) at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:294) at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:254) at org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:1 19) at org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet .java:406) at org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:209 ) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:1 47) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java :174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:1 08) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processCon nection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: 528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWork erThread.java:81) Ideas appreciated. Thanks, Jason - 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] Problem with Data Provider Validation
Hi Keith, Can we see the repository, to see what errors it gives us? Thanks, 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 _ On 29/5/07 16:20, Keith Jones [EMAIL PROTECTED] wrote: Hi Claudia, Yes, I used both sites and both are reporting and error in the XML returned. The VlaidateSite failed on the return of the ?verb=Identify call. And the explorer site returned and error for all the test. On Tue, 29 May 2007, Claudia Jürgen wrote: Hi Keith, did you use the OAI Validation tool: http://www.openarchives.org/Register/ValidateSite or the repository explorer http://re.cs.uct.ac.za/ ? Claudia Keith Jones schrieb: Hello, We are running DSpace version 1.4.1, and we want to register our repository as a OAI data provider. I went to register but am unable to because of the following error: Malformed response: mismatched tag at line 11, column 62, byte 1114 We are sending back malformed XML when requests are being made. Any help with this would be appreciated. Thanks Keith - 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] Problem with Data Provider Validation
Hi Keith, Thanks for the help. Currently my initial problem originated because I did not specify the correct base url. Since correcting that problem the repository is not pass the ListIdentifiers test. The base url is: http://dspace.udel.edu:8080/dspace-oai/request Weird! http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersmetadata Prefix=oai_dc suggests that you have no records, but your repository has plenty! It is talking to your database OK: http://dspace.udel.edu:8080/dspace-oai/request?verb=ListSets Do your log files ([dspace]/log/) show anything? If you turn logging up to DEBUG, they might show something, and will show the calls being made to the database. Thanks, 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
Re: [Dspace-tech] Out of Memory error
On 16/5/07 19:56, Jeffrey Trimble [EMAIL PROTECTED] wrote: I've got this error all of a sudden: java.lang.OutOfMemoryError What caused this? What were you doing when the error occurred? Was it from Tomcat and the web application, or (more likely) from a command line tool? Thanks, 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
Re: [Dspace-tech] [Dspace-general] How enable full-text searching.(Newbie)
Hi Anny, Does it mean i have to run bin/filter-media manually every time when I add a pdf file? People tend to run this periodically, for example once a night. This can be enabled via a cron job or scheduled task (unix or windows). See: http://www.dspace.org/technology/system-docs/install.html#advancedinstall Is it possible by altering the Media Filter plugins (through PluginManager) in the dspace.cfg file? Those settings are used to enable or disable different filters. For example, you might decide that you want to enable full text searching of PDF files, but not MS Word documents, in which case you can edit the settings. Or, you might decide to write a filter to extract text from a different file format, and you can add that there. Thanks, Stuart P.S. - I have copied this to the dspace-tech ( https://lists.sourceforge.net/lists/listinfo/dspace-tech) email list as it is probably better suited there _ 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
Re: [Dspace-tech] [Dspace-general] How enable full-textsearching.(Newbie)
Hi Anny, Why not execute the mediafilter (such as creating index for the pdf file, creating thumbnail and so on) immediately once add a new item?I feel it will be better. This would have to happen in a separate thread to the main web response so as to not delay the web interface if a large file was uploaded. With the proposed new messaging system that will be making it's way into a future DSpace release, this sort of thing might be easier as it can pass messages to other parts of DSpace (such as the media-filter, browse indexer etc) to notify them about new jobs to do. Thanks, 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
Re: [Dspace-tech] ldap dspace
Hi Susan, I started receiving the following messages in my dspace log today: 2007-04-17 15:29:25,244 WARN org.dspace.app.webui.servlet.LDAPServlet @ anonymous:session_id=7EFF45148568493C0EB81D2E82FDCF62:ip_addr=128.172.144.44:l dap_authentication:type=failed_auth javax.naming.AuthenticationException: [LDAP: error code 49 - NDS error: failed authentication (-669)] I'm guessing you are authenticating against Novell? The standard LDAP error code 49, and Novell's error code -669 just mean bad username or password, so aren't very helpful. One little tool that is very useful in debugging LDAP problems is the 'LDAP Browser'. http://www-unix.mcs.anl.gov/~gawor/ldap/ You can give this the same information that you used to configure LDAP in DSpace, and see if it lets you in. If it does, the problem will be with DSpace (although you say you have changed anything so hopefully it is fine), or if it doesn't, the problem will be with the LDAP service. If it does also fail, it gives you a nice tool to take to the LDAP administrators to show that connections are not working. They should be able to turn on tracing to watch authentication attempts to their LDAP service to see what is happening. Good luck! 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
Re: [Dspace-tech] DSpace Statistics general report
Hi Gary, So can you tell me how the ³Most recent general report² is generated? Are the numbers compiled from the dspace-log-general-%DATE%.dat files or the dspace-log-monthly-%DATE%.dat files? (Or some other way?) I take it the ³stat-report-general² generates this report? Running stat-general creates to relevant .dat file. Running stat-report-general renders this file into the HTML page you see. I've had a look at the code, and it appears that running stat-general uses the .log files, rather than the .dat files to do the analysis. Therefore if your log files are reaching the limit set in log4j.properties (500) and are rolling over, then stat-general will be losing data. So, in a nutshell, the general reports are compiled from the raw .log files. Have you got backups of the old log files which you can restore (and renumber), and then increase the log4j.appender.A1.MaxBackupIndex to make sure you don't lose them again? 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 _ - 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] customize the interface?
Hi Pan, I'd like to customize DSpace by replacing the texts DSpace TM About DSpace Software on the upper left and DSpace Software Copyright ... down below by the texts describing my institution and my project. Could someone please show me where in the html/java code under which directories that I can make these changes? These values are held in [dspace-src]/config/language-packs/Messages.properties So you can change values such as: jsp.layout.footer-default.text = a target=_blank href=http://www.dspace.org/;DSpace Software/a Copyrightnbsp;copy;nbsp;2002-2006nbsp;a target=_blank href=http://web.mit.edu/;MIT/anbsp;andnbsp;a target=_blank href=http://www.hp.com/;Hewlett-Packard/a jsp.layout.footer-default.feedback = Feedback Once you have changed this file, you will need to recompile and redeploy DSpace. 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 _ - 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Migration (1.3x to 1.4x) questions
Hi Russell, First of all, should we go from our current install (1.3.2, I think) to 1.4 or 1.4.1? You would be best off going for 1.4.1 as this contains a lot of bug fixes to 1.4 You do not need to go 1.3.2 - 1.4 - 1.4.1, you can go straight to 1.4.1 Next, how much time should I allow for the migration (assuming everything goes smoothly)? It depends on the size of your database, and the availability of a test machine. In theory, on a medium-sized database such as yours (only a few thousand items), it should take less than an hour. If you have a test machine, you can test it all first, and then do it on your production machine. You can get the code on the machine and compiled in advance. All you then have to do is to stop tomcat, backup your database, run the database upgrade scripts, update your dspace.cfg file, and deploy the new DSpace code to tomcat. If things mess up (which they shouldn't!) then you have a backup of your database which you can restore, and roll back to 1.3.2 The tricky part will be if you have any customisations to the code or to the pages. If you have a test machine, you can test these in 1.4.1, but if you don't you'll have to give yourself more time to test them once you upgrade. If you don't have a test machine, another option you have is to run the two versions simultaneously by changing the names of the war files (e.g. dspace141 and dspace-oai141 and pointing them at a second copy of your database. You can then make sure you are happy with 1.4.1 whilst still running 1.3.2, and then change over one day by upgrading the 1.3.2 live database and changing the war file names back. 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 _ - 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dc.contributor.advisor and dc.contributor.author looks like all of them are authors
Hi Tonny. You should be able to change this by editing [dspace]/config/dspace.cfg and restarting tomcat Look for the following section: # Customise the DC metadata fields to show in the default simple item view. # # The form is schema prefix.element[.qualifier|.*][(date)|(link)], ... # # For example: #dc.title = Dublin Core element 'title' (unqualified) #dc.title.alternative = DC element 'title', qualifier 'alternative' #dc.title.* = All fields with Dublin Core element 'title' # (any or no qualifier) #dc.identifier.uri(link) = DC identifier.uri, render as a link #dc.date.issued(date) = DC date.issued, render as a date # # If an item has no value for a particular field, it won't be displayed. # The name of the field for display will be drawn from the current UI # dictionary, using the key: # # metadata.field # # e.g. metadata.dc.title #metadata.dc.contributor.* #metadata.dc.date.issued # #webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, \ #dc.subject, dc.date.issued(date), dc.publisher, \ #dc.identifier.citation, dc.relation.ispartofseries, \ #dc.description.abstract, dc.description, \ #dc.identifier.govdoc, dc.identifier.uri(link), \ #dc.identifier.isbn, dc.identifier.issn, \ #dc.identifier.ismn, dc.identifier By default, dc.contributor.* metadata values are bunched together, you need to separate them out. 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 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tonny H. Laursen Sent: 12 April 2007 09:08 To: [EMAIL PROTECTED] Subject: [Dspace-tech] dc.contributor.advisor and dc.contributor.author looks like all of them are authors Hi, If you look at this page: http://rudar.ruc.dk/handle/1800/2366 You will see eight authors, but actually one of them are an advisor - you can see the metadata it if you click on show full item I want the page to show seven authors and one advisor. is this a bug or do i have to change something in the code for DSpace? Thanks, Tonny - 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=DEVDE V ___ DSpace-tech mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace OAI-PMH
Hi Jayan, Any instructions are there on the web for using DSpace OAI-PMH. Please suggest how to set it up? Normally there is no setting up required. All you have to do is to make sure that you copy dspace-oai.war to your [tomcat]/webapps/ directory as well as dspace.war To test it, try: http://dspace.example.com/dspace-oai/request?verb=Identify You can try it out online using something like the repository explorer: http://re.cs.uct.ac.za/ For DSpace your 'base URL' is http://dspace.example.com/dspace-oai/request 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 _ - 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 2 Tier Dspace Implementation
Hi Jayan. Take a look at the line that says: [java] org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. To do this: 1) Check that postmaster is accepting incoming connections on the correct port. You can test this by using 'telnet dspace.student.main.ntu.edu.sg:5432' and seeing if you get a response. 2) Take a look at [postgres]/data/pg_hba.conf to make sure that you have allowed connections for the dspace user to postgres from dspaceweb1. That file contains comments about how to configure access. 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayan Chirayath Kurian Sent: 26 March 2007 10:00 To: Stuart Lewis [sdl] Cc: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] 2 Tier Dspace Implementation Hi! Stuart, (1) Postgresql 8.2.1-1 was installed on the DB server, dspace.student.main.ntu.edu.sg. (2) JDK 1.6.0 and Tomact 6.0 was installed on the Client dspaceweb1.student.main.ntu.edu.sg (3) Dspace 1.4.1 was extracted to the client dspaceweb1. a. The postgresql-8.2-504.jdbc2.jar file was copied from the DB server to the client's lib folder b.In the client, DSpace config file is modified as db.url = jdbc:postgresql://dspace.student.main.ntu.edu.sg:5432/dspace c.The JDBC Driver (db.driver = org.postgresql.Driver) and Database username and password (db.username = dspace, db.password = dspace) was not modified. While giving ant fresh_install from the client dspaceweb1 (Dspace source), database connectivity error from the server is given and build is unsuccessful. I pinged from the client to the server which is fine. Please suggest where I have gone wrong. The error list is given below. Thanks, Jayan Database connectivity error:- Buildfile: build.xml compile: install_code: build_wars: init_configs: setup_database: [java] 2007-03-26 16:35:24,862 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database [java] 2007-03-26 16:35:24,878 INFO org.dspace.core.ConfigurationManager @ DSpace logging installed using log4j.properties [java] 2007-03-26 16:35:27,018 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: [java] org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. [java] Exception: java.net.ConnectException: Connection refused: connect [java] Stack Trace: [java] java.net.ConnectException: Connection refused: connect [java]at java.net.PlainSocketImpl.socketConnect(Native Method) [java]at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [java]at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [java]at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [java]at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [java]at java.net.Socket.connect(Socket.java:519) [java]at java.net.Socket.connect(Socket.java:469) [java]at java.net.Socket.init(Socket.java:366) [java]at java.net.Socket.init(Socket.java:179) [java]at org.postgresql.core.PGStream.init(PGStream.java:59) [java]at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti onFactoryImpl.java:77) [java]at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j ava:66) [java]at org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect ion.java:125) [java]at org.postgresql.jdbc2.Jdbc2Connection.init(Jdbc2Connection.java:24) [java]at org.postgresql.Driver.makeConnection(Driver.java:382) [java]at org.postgresql.Driver.connect(Driver.java:260) [java]at java.sql.DriverManager.getConnection(DriverManager.java:582) [java]at java.sql.DriverManager.getConnection(DriverManager.java:185) [java]at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection( DriverManagerConnectionFactory.java:48) [java]at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon nectionFactory.java:290) [java
Re: [Dspace-tech] styles.css.jsp
Hi Susan, You should be able to edit styles.css.jsp 'live'. You can edit it in: [tomcat]/dspace/styles.css.jsp JSPs usually automatically compile whenever they are changed, you don't need to worry about editing them in [dspace-src] and then recompiling and redeploying DSpace. The only caveat is to remember to copy your final version back into [dspace-src] so you don't loose your changes. 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 _ On 19/3/07 17:11, Susan Teague Rector [EMAIL PROTECTED] wrote: Has anyone else removed their css styles from a .jsp file yet? I'm getting ready to do this (I don't like having to recompile each time I change a style) and wanted to see if there were any gotchas. Is there a central location that I change the path from .jsp to .css? Thanks in advance! - 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] styles.css.jsp
Hi Susan, ...but to answer your first question, edit: [dspace-src]/jsp/layout/header-default.jsp (about line 72) Thanks, 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 _ On 19/3/07 21:18, Stuart Lewis [sdl] [EMAIL PROTECTED] wrote: Hi Susan, You should be able to edit styles.css.jsp 'live'. You can edit it in: [tomcat]/dspace/styles.css.jsp JSPs usually automatically compile whenever they are changed, you don't need to worry about editing them in [dspace-src] and then recompiling and redeploying DSpace. The only caveat is to remember to copy your final version back into [dspace-src] so you don't loose your changes. 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 _ On 19/3/07 17:11, Susan Teague Rector [EMAIL PROTECTED] wrote: Has anyone else removed their css styles from a .jsp file yet? I'm getting ready to do this (I don't like having to recompile each time I change a style) and wanted to see if there were any gotchas. Is there a central location that I change the path from .jsp to .css? Thanks in advance! - 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] OAI-PMH and Oracle
Hi Rafa, AbstractCatalog.granularity is used by the OAICAT toolkit which we use to generate the OAI-PMH responses. However it seems that it only affects the granularity-MM-DD/granularity in the Identify response. It does not affect the datestamps in other verb responses. The way I read it, the spec does not specify whether if you set the granularity to YYY-MM-DD all responses must be in to the same granularity. So it seems that either oaicat is wrong, OAIster is wrong, or the spec does not specify, in which case we are all right! :) I have sent an email to the OAI-implementers list to get some guidance. In the mean time, I'm afraid I've not got access to Oracle at present so I can't look into the ORA-01858 error. Thanks, 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 _ -Original Message- From: Rafa [mailto:[EMAIL PROTECTED] Sent: 13 March 2007 13:08 To: Stuart Lewis [sdl] Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] OAI-PMH and Oracle Hi, Unfortunately, it doesn´t work for me. Seems that it has no effect since I get the same ORA-01858 error. The strange thing is that the harvesting works well when I set the granularity of the system from -MM-DDTHH:MM:SSZ to -MM-DD. It seems that the problem is in the time part of the timestamp. What's the connection between the property AbstractCatalog.granularity (oaicat.properties file) and this error? I've been looking into the code in Harvest.java and other files, but I can´t see the exact place where is this property read. Thanks, Rafa Stuart Lewis [sdl] escribió: Hi Rafa, A patch has just been uploaded by Michael Judd which might solve your problem, could you give it a go? https://sourceforge.net/tracker/?func=detailatid=319984aid=1678708g roup_id=19984 Thanks, 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 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafa Sent: 12 March 2007 08:38 To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 11, Issue 28 Hi, Dspace 1.4.1. Thanks [EMAIL PROTECTED] escribió: Send DSpace-tech mailing list submissions to dspace-tech@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of DSpace-tech digest... Today's Topics: 1. Re: OAI-PMH and Oracle (Stuart Lewis [sdl]) - - Message: 1 Date: Sat, 10 Mar 2007 21:16:51 + From: Stuart Lewis [sdl] [EMAIL PROTECTED] Subject: Re: [Dspace-tech] OAI-PMH and Oracle To: Rafa [EMAIL PROTECTED],dspace-tech@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=ISO-8859-1 Hi Rafa, Which version of DSpace do you use? The reason I ask is that the code which generates the relevant SQL query for your OAI-PMH request changed dramatically between 1.3.* and 1.4, and I don't know what tests were run on the 1.4 version (there was a small bug which slipped through with the postgres version of date handling in OAI-PMH which got fixed in 1.4.1, so a similar small bug may have slipped through the net with Oracle). If you can tell me, then we can look into finding the problem. My guess would be the method in Harvest.java which converts datestamps for the SQL. Thanks, 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 _ On 6/3/07 08:29, Rafa [EMAIL PROTECTED] wrote
Re: [Dspace-tech] Fwd: how to restore database?
Hi Rudra, The restore procedure will depend on which method you used to backup the data. How did you back it up? Postgres documentation about this can be found at: http://www.postgresql.org/docs/8.1/static/backup.html (8.1) http://www.postgresql.org/docs/8.0/static/backup.html (8.0) http://www.postgresql.org/docs/7.4/static/backup.html (7.4) (Choose an appropriate version according to your version of postgres) Thanks, 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 _ -- Forwarded message -- From: rudra chandana [EMAIL PROTECTED] Date: Mar 12, 2007 4:02 PM Subject: how to restore database? To: dspace-tech@lists.sourceforge.net I ve installed dspace1.3.2 on server(CENT os).It is working fine.But my problem is already i hve databse of our institution which i previously backed up and stored . now i need to restore into my dspace databse .How do i do it.Please let me know the procedure , how to restore the previous databse to the new one. I ve done some stuff but it did not work. using pg_restore command. - 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] OAI-PMH and Oracle
Hi Rafa, A patch has just been uploaded by Michael Judd which might solve your problem, could you give it a go? https://sourceforge.net/tracker/?func=detailatid=319984aid=1678708group_id=19984 Thanks, 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 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafa Sent: 12 March 2007 08:38 To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 11, Issue 28 Hi, Dspace 1.4.1. Thanks [EMAIL PROTECTED] escribió: Send DSpace-tech mailing list submissions to dspace-tech@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of DSpace-tech digest... Today's Topics: 1. Re: OAI-PMH and Oracle (Stuart Lewis [sdl]) -- Message: 1 Date: Sat, 10 Mar 2007 21:16:51 + From: Stuart Lewis [sdl] [EMAIL PROTECTED] Subject: Re: [Dspace-tech] OAI-PMH and Oracle To: Rafa [EMAIL PROTECTED], dspace-tech@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Hi Rafa, Which version of DSpace do you use? The reason I ask is that the code which generates the relevant SQL query for your OAI-PMH request changed dramatically between 1.3.* and 1.4, and I don't know what tests were run on the 1.4 version (there was a small bug which slipped through with the postgres version of date handling in OAI-PMH which got fixed in 1.4.1, so a similar small bug may have slipped through the net with Oracle). If you can tell me, then we can look into finding the problem. My guess would be the method in Harvest.java which converts datestamps for the SQL. Thanks, 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 _ On 6/3/07 08:29, Rafa [EMAIL PROTECTED] wrote: Hi, testing dspace-oai my dspace does something strange. It works with some particular verbs such as Identify, ListSets or Listmetada, but not with GetRecord or ListRecords. When I try these two I get an Oracle error (ORA-01858 - a non-numeric character was found where a numeric was expected). But, if I modify the granularity in [dspace]/config/oaicat.properties (via [dspace]/config/templates/oaicat.properties) from AbstractCatalog.granularity=-MM--DDThh:mm:ssZ to AbstractCatalog.granularity=-MM-DD it works well! What's the problem then? Just when I try to make my dspace pass the oaister register tests, it informs that the granularity isn?t correct: 'Datestamp in GetRecord response (2007-02-21T10:17:00Z) is not consistent with the days granularity specified in the Identify response' Any idea? TIA Rafa Carreres University of Alicante Spain - 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=DE VDEV ___ 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=DEV DEV -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech End
Re: [Dspace-tech] OAI-PMH and Oracle
Hi Rafa, Which version of DSpace do you use? The reason I ask is that the code which generates the relevant SQL query for your OAI-PMH request changed dramatically between 1.3.* and 1.4, and I don't know what tests were run on the 1.4 version (there was a small bug which slipped through with the postgres version of date handling in OAI-PMH which got fixed in 1.4.1, so a similar small bug may have slipped through the net with Oracle). If you can tell me, then we can look into finding the problem. My guess would be the method in Harvest.java which converts datestamps for the SQL. Thanks, 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 _ On 6/3/07 08:29, Rafa [EMAIL PROTECTED] wrote: Hi, testing dspace-oai my dspace does something strange. It works with some particular verbs such as Identify, ListSets or Listmetada, but not with GetRecord or ListRecords. When I try these two I get an Oracle error (ORA-01858 - a non-numeric character was found where a numeric was expected). But, if I modify the granularity in [dspace]/config/oaicat.properties (via [dspace]/config/templates/oaicat.properties) from AbstractCatalog.granularity=-MM--DDThh:mm:ssZ to AbstractCatalog.granularity=-MM-DD it works well! What's the problem then? Just when I try to make my dspace pass the oaister register tests, it informs that the granularity isn´t correct: 'Datestamp in GetRecord response (2007-02-21T10:17:00Z) is not consistent with the days granularity specified in the Identify response' Any idea? TIA Rafa Carreres University of Alicante Spain - 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] How to upgrade databse?
Hi Rudra, First you need to move your old database data onto your new server. See the following webpage for how to do this: http://www.postgresql.org/docs/8.1/static/backup.html The you need to upgrade the database from 1.3.2 to 1.4. Instructions for how to do this can be found in [dspace-src]/docs/update.html which says: === For PostgreSQL [dspace-1.4.x-source]/etc/database_schema_13-14.sql contains the SQL commands to achieve this for PostgreSQL. To apply the changes, go to the source directory, and run: psql -f etc/database_schema_13-14.sql [DSpace database name] -h localhost === 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rudra chandana Sent: 26 February 2007 03:04 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] How to upgrade databse? Hello sir, I have collection of database of an institution all ready loaded in dspace1.3.2.. Now i need to upgrade this to dspace1.4. So for this, i ve taken a new system and inserted prequistes to the system. How should i load that databse to the present system. Could u help me . - 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] Dspace and Oracle Application Server 10g
Hi José, You should be able to do this quite easily by adding the following to: [dspace-src]/etc/dspace-web.xml Add these into the relevant sections: context-param param-nameproperties/param-name param-value@@dspace.dir@@/config/oaicat.properties/param-value description The location of the oaicat.properties file containing datapairs used to initialize the OAI repository software. /description /context-param servlet servlet-nameoai-handler/servlet-name servlet-classORG.oclc.oai.server.OAIHandler/servlet-class /servlet servlet-mapping servlet-nameoai-handler/servlet-name url-pattern/request/url-pattern /servlet-mapping You can then just recompile, and deploy dspace.war. Your base URL for OAI-PMH will then be: www.example.com/dspace/request Rather than www.example.com/dspace-oai/request as documented. Thanks, 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José A. Rubio Sent: 16 February 2007 10:35 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Dspace and Oracle Application Server 10g Hi, Nowadays, I am trying to run DSpace 1.4.1 on Oracle Application Server 10g, and I have an initial doubt in this matter. When we create the DSpace binaries, with ant, we obtain two WAR files, dspace.war and dspace-oai.war, which are necessary to deploy the application in Tomcat. But, when I try to deploy the application on Oracle Application Server, I can only select a WAR file. So, could I join both WAR files in only one without problems?, has anybody had this problem? Many thanks. - 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] Statistics from 1.3.2 and migrating to 1.4x
Hi Jeffrey, 1.4 suffers from this problem, but it was fixed in 1.4.1. So as long as you upgrade to 1.4.1 you should be fine. No logs were ever lost, it was just a problem of parsing the log files because the format changed slightly between 1.3.2 and 1.4. Thanks, 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 _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Trimble Sent: 08 February 2007 20:53 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Statistics from 1.3.2 and migrating to 1.4x I believe I remember someone mentioning that the current logs used for 1.3.2 do not work with version 1.4.x That said, what is the workaround, short of printing off the last report of statistics under 1.3.2 and starting over with 1.4x? TIA, Jeffrey A. Trimble Systems Librarian Youngstown State University Youngstown, OH [EMAIL PROTECTED] (330) 941-2483 http://digital.maag.ysu.edu http://www.maag.ysu.edu http://jupiter.ysu.edu - 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 - 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
Re: [Dspace-tech] LDAP for DSpace 1.4.1
Hi Jayan, To get LDAP to work, not only do you have to set 'ldap.enable' to true, you also have to configure the authentication plugins. In your dspace.cfg you will find a line like: plugin.sequence.org.dspace.eperson.AuthenticationMethod = \ org.dspace.eperson.PasswordAuthentication Change this to: plugin.sequence.org.dspace.eperson.AuthenticationMethod = \ org.dspace.eperson.LDAPAuthentication You also asked about privileges for new users. When new users are auto-created when they first log in via LDAP, they will have no submit privileges. An administrator will have to grant them appropriate permissions. 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayan Chirayath Kurian Sent: 09 February 2007 08:03 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] LDAP for DSpace 1.4.1 I have installed Dspace 1.4.1 on windows 2003 server. We are trying to use Windows Active directory ldap authentication for logging to Dspace using domain supplied user ID/Password from within and outside the campus. The Dspace LDAP Authentication Configuration Settings are: ldap.enable = true ldap.provider_url = ldap://X.Y.ntu.edu.sg/o=ntu.edu.sg ldap.id_field = uid ldap.object_context = ou= X.Y,o=ntu.edu.sg ldap.search_context = ou= X.Y ldap.email_field = mail ldap.surname_field = sn ldap.givenname_field = givenName ldap.phone_field = telephoneNumber When a valid user log in to Dspace through the myDspace option, the following error message is received from the log file. 2007-02-09 13:09:01,655 INFO org.dspace.eperson.PasswordAuthentication @ anonymous:session_id=3557F0C69F8F0BEA409C2835BBA20BDC:ip_addr=155.69.24. 193:authenticate:attempting password auth of [EMAIL PROTECTED] 2007-02-09 13:09:01,655 INFO org.dspace.app.webui.servlet.PasswordServlet @ anonymous:session_id=3557F0C69F8F0BEA409C2835BBA20BDC:ip_addr=155.69.24. 193:failed_login:email= [EMAIL PROTECTED], result=4 The LDAPServlet.java file was modified to include env.put(javax.naming.Context.PROVIDER_URL, ldap://X.Y.ntu.edu.sg;); env.put(javax.naming.Context.SECURITY_AUTHENTICATION, simple); env.put(javax.naming.Context.SECURITY_PRINCIPAL, [EMAIL PROTECTED]); env.put(javax.naming.Context.SECURITY_CREDENTIALS, ); Still it gives the same error mentioned above. I just tried logging directly using http://dspacedev1:8080/dspace/ldap-login; and gave a user name and password registered with the domain. It created the user with no submission privileges. But this user cannot login from the main myDspace option. From the log file, it seems the user is automatically registered and ldap has failed. 2007-02-09 15:48:01,797 WARN org.dspace.app.webui.servlet.LDAPServlet @ anonymous:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6:ip_addr=155.69.104 .75:ldap_attribute_lookup:type=failed_search javax.naming.NamingException: [LDAP: error code 1 - 20D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 ]; remaining name 'ou=X,ou=Y' 2007-02-09 15:48:01,797 INFO org.dspace.app.webui.servlet.LDAPServlet @ anonymous:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6:ip_addr=155.69.104 .75:autoregister:[EMAIL PROTECTED] 2007-02-09 15:48:01,813 INFO org.dspace.eperson.EPerson @ anonymous:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6:ip_addr=155.69.104 .75:create_eperson:eperson_id=44 2007-02-09 15:48:01,844 INFO org.dspace.eperson.EPerson @ anonymous:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6:ip_addr=155.69.104 .75:update_eperson:eperson_id=44 2007-02-09 15:48:01,906 INFO org.dspace.app.webui.servlet.LDAPServlet @ [EMAIL PROTECTED]:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6: ip_addr=155.69.104.75:login:type=ldap-login 2007-02-09 15:48:01,906 INFO org.dspace.app.webui.servlet.MyDSpaceServlet @ [EMAIL PROTECTED]:session_id=C5DBB32D95BF99F2B0C8908D0F202FF6:ip_addr =155.69.104.75:view_mydspace: Could any one please help regarding this. Is there any other file that needs to be modified to make LDAP work and access Dspace from the myDSpace option. Thanks, Jayan - 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 ___
Re: [Dspace-tech] dspace-oai not returnning records
If you increase the level of log4j (set to DEBUG in [dspace]/config/log4j.properties), what do you see going on in [dspace]/log/dspace.log? You should see the queries that are being executed, and you can try these by hand to see what results you get back. Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Blanco Sent: 09 February 2007 14:39 To: Stuart Lewis [sdl]; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] dspace-oai not returnning records Yea, I checked this file and don't see anything different from it was running. Here is a URL: http://deepblue.lib.umich.edu/dspace-oai/request?verb=ListIdentifiersme tada taPrefix=oai_dc Thanks! -Original Message- From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 4:10 AM To: Jose Blanco; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] dspace-oai not returnning records Hi Jose, All configuration for the OAI-PMH interface is in [dspace]/config/oaicat.properties. However there is not much in there that normally needs changing and could stop it working. Have you got some URLs we could look at? Thanks, 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Blanco Sent: 08 February 2007 22:10 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] dspace-oai not returnning records I recently upgraded to 1.4.1 and now it seems like ListRecords is not working in production, but it is in my dev. It must be some config change I missed. Any one have something obvious they think I should check? - 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 - 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
Re: [Dspace-tech] New logging system (Google Analytics)
Robert Tansley wrote: (Shameless plug) you could do worse than Google Analytics Stuart Lewis has used this, so maybe he can speak to how well this works. If you are interested, there is a short presentation given at a recent UK Ireland DSpace user group meeting available at: http://hdl.handle.net/2160/281 (See: Thanks Google) or audio: http://hdl.handle.net/2160/290 Or feel free to ask questions. Cheers, 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 _ - 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
Re: [Dspace-tech] Registration with DSpace
Hi Inna, See the following line dspace.cfg: # Specify the number of the store to use for new bitstreams with this property # The default is 0 (zero) which corresponds to the 'assetstore.dir' above # assetstore.incoming = 1 Change this to: assetstore.incoming = 2 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 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Inna Klimbovskaia Sent: 16 January 2007 15:30 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Registration with DSpace Hi, I am trying to register some images with DSpace. I want them to belong to assetstore 2. Assetstore 1 is already used by something else. dspace.cfg contains the following: assetstore.dir = /apps/dspace/assetstore assetstore.dir.1 = /mnt/wshare/ovcPathoImages/B1-Anomalies/import_anomalies assetstore.dir.2 = /mnt/wshare/ovcPathoImages/B2-Metabolic/import_metabolic I restarted tomcat... However, when I run import assetstore 1 is used instead of assetstore 2. I run import using: ./dsrun org.dspace.app.itemimport.ItemImport --add [EMAIL PROTECTED] --collection=123456789/6 --source=/mnt/wshare/ovcPathoImages/B2-Metabolic/import_metabolic --mapfile=B2-Metabolic How do I specify assetstore number during import? Thank you for any help, Inna - 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