Re: [Dspace-tech] Tomcat cluster configuration

2007-06-27 Thread Jodi Schneider

Thanks, Jesus. Since you and James are discussing it, I'll make some
comments about what's unclear to me from reading this page, as a novice:

-What is the path of server.xml?
-How do we modify the objects that sessions of DSpace uses?

The structure of this page
http://wiki.dspace.org/index.php//HOWTO_Clustering
is also unclear to me--it seems like a list of options that were tried. It
would be preferable to me (as a novice), to have a recommendation at the
top, clearly marked as such, followed by categorized alternatives. (For
instance, how does Terracotta relate to Tomcat)?

Scalability is definitely important, so and I hope that those who understand
it will continue improving these instructions, and provide some scalability
metrics as well at the stub
http://wiki.dspace.org/index.php/ScalabilityMetrics

Thanks again for your improvements!

-Jodi

On 6/27/07, Jesus Martin [EMAIL PROTECTED] wrote:


Hi, I added some notes to HOWTO_Clustering in DSpace's wiki fo
clustering with Tomcat.

http://wiki.dspace.org/index.php//HOWTO_Clustering

cheers,

Jesús

James Rutherford wrote:
 Hi,

 It would be great if you could add some notes to the (embarrassingly
 incomplete) wiki page that I started a few months ago:

 http://wiki.dspace.org/HOWTO_Clustering

 The page is mostly focussed on clustering of the database layer, so it
 would be good to get more detailed information about setting up Tomcat.

 cheers,

 Jim

 On Wed, Jun 27, 2007 at 09:57:47AM +0200, Jesus Martin wrote:

 Hi, I have been configuring Tomcat and DSpace to accomplish tomcat
 clustering and the persistence of sessions in two machines that are
 running Tomcat at the same time. First, I added the line of server.xml
 under the Engine line:
 Engine defaultHost=localhost name=Catalina
 Cluster
 className=org.apache.catalina.cluster.tcp.SimpleTcpCluster/
 ...

 Moreover, we need to modify the objects that sessions of DSpace uses,
 consequently changing this objects for implementing the
 java.io.Serializable. In fact, DSpace's sessions only use one object,
 RequestInfo.java:

 public class RequestInfo implements java.io.Serializable{.}

 I made this changes with DSpace 1.4 , Tomcat 5.5.17 and Tomcat 6 and
are
 working very well. I hope this explanations can help anyone.

 Best regards,

 Jesús Martín

 --

 ..
  __
 / /  Jesús Martín García
   C E / S / C A  Tècnic en Sistemes
   /_/Centre de Supercomputació de Catalunya

   Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
   T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
 ..



-
 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





--

..
 __
/ /  Jesús Martín García
  C E / S / C A  Tècnic en Sistemes
  /_/Centre de Supercomputació de Catalunya

  Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
  T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
..


-
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] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Jodi Schneider

If there is no date range specified, all records with the specified
metadataPrefix must be returned by protocol section 2.7.1:
http://www.openarchives.org/OAI/openarchivesprotocol.html#SelectiveHarvestingandDatestamps
Harvesting is restricted to the range specified by the from and
untilarguments, extending back to the earliest datestamp if
from is omitted, and forward to the most recent datestamp if until is
omitted.

-Jodi

On 6/6/07, Graham Triggs [EMAIL PROTECTED] wrote:


Not really. The badArgument is valid when you don't specify a
metadataPrefix, and the noRecordsMatch error is valid when there are no
records that match the date range specified.

If you simply include a from timestamp, eg:


http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersmetadataPrefix=oai_dcfrom=2001-01-01T00:00:00Z

then it works. I don't think there is anything wrong with the harvesting
code per se, it just looks like it is incorrectly interpreting a from
date when you don't specify one.

Although according to the oaicat.properties below, the earliestDatestamp
is set to 2001-01-01T00:00:00Z - exactly what I'm passing in the above
url, and which works!

G

On Tue, 2007-06-05 at 22:37 -0400, Jodi Schneider wrote:
 Forwarding this back out to the list for better answers to Keith's
 questions.


http://sourceforge.net/tracker/index.php?func=detailaid=1688523group_id=19984atid=319984
 mentions the TimeStamp function of *Oracle*. Is the bug also
 applicable to Postgres?


http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersfrom=2007-04-01until=2007-05-15metadataPrefix=oai_dc
 works beautifully.

 However this request returns error code=badArgument.
 http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers

 Can anyone tell Keith how to fix this? Is upgrade to 1.4.2 the answer?
 Or...?

 -Jodi

 PS-Keith, what happens if you change granularity?
 i.e. in oaicat.properties change
 AbstractCatalog.granularity=-MM-DDThh:mm:ssZ
 to
 AbstractCatalog.granularity=-MM-DD
 -- Forwarded message --
 From: Keith Jones [EMAIL PROTECTED]
 Date: Jun 5, 2007 3:41 PM
 Subject: Re: [Dspace-tech] Problem with Data Provider Validation
 To: Jodi Schneider [EMAIL PROTECTED]


 Hi Jodi,

 Thanks for the help.

 At my institution we are using Postgres, would this have any effect on
 the
 date granularity?

 Are you saying that the harvester will not work, unless you are at
 version
 1.4.2?

 I've been able to get subsets if the listidentifiers working, atleast
 it
 will work when I put in a from date but will not work if no date is
 specified.  I'm still getting the following error:

 Code=noRecordsMatch, Description=The combination of the values of the
 from, until, set, and metadataPrefix arguments results in an empty
 list.

 With the http request of:

 http://dspace.udel.edu:8080/dspace-oai/request, verb=ListIdentifiers,
 metadataPrefix=oai_dc

 But I can get results with the following http request

http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersfrom=2007-04-01metadataPrefix=oai_dc

 Thanks
 Keith

 -- Forwarded message --
 From: Jodi Schneider [EMAIL PROTECTED]
 Date: Jun 5, 2007 9:19 AM
 Subject: [Dspace-tech] Problem with Data Provider Validation
 To: Dspace Tech dspace-tech@lists.sourceforge.net

 Keith,

 It looks like your repository is still having this problem. I think
 you will need to upgrade to 1.4.2 or change timestamp granularity.

 It looks like 1.4.2 fixed a bug regarding  OAI timestamps:
 The oracleTimeStampFunction did not correctly account for 20
 character
 length timestamps (-MM-DDTHH:mm:ssZ), incorrectly treating them as
 '-MM-DDTHH:mm:ss.FFZ'.


http://sourceforge.net/tracker/index.php?func=detailaid=1688523group_id=19984atid=319984
 ---
 I compared the file you mention to my default oaicat.properties and it
 looks like one block is duplicated. I wouldn't expect this to harm
 anything.

 AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog

AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
 AbstractCatalog.secondsToLive=3600


 AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

 Best luck, and apologies it took so long to figure this out!

 -Jodi
 Portable Citations for DSpace

 On 5/29/07, Keith Jones  [EMAIL PROTECTED] wrote:

 I did not chnage anything in the oaicat.properties.

 Here is my properties file:


###
 # REMEMBER: ONLY UPDATE THE VERSION IN
 dspace/config/templates
 # AND THEN RUN dspace/bin/install-configs!
 # DO NOT EDIT THE 'LIVE' VERSION!

###

 # OAICat Configuration file - see OAICat documentation for
 details

 # Text surrounded by two '@' symbols is replaced with the
 corresponding
 # property from dspace.cfg.  For example

[Dspace-tech] Problem with Data Provider Validation

2007-06-05 Thread Jodi Schneider

Keith,

It looks like your repository is still having this problem. I think you will
need to upgrade to 1.4.2 or change timestamp granularity.

It looks like 1.4.2 fixed a bug regarding  OAI timestamps:
The oracleTimeStampFunction did not correctly account for 20 character
length timestamps (-MM-DDTHH:mm:ssZ), incorrectly treating them as
'-MM-DDTHH:mm:ss.FFZ'.

http://sourceforge.net/tracker/index.php?func=detailaid=1688523group_id=19984atid=319984
---
I compared the file you mention to my default oaicat.properties and it looks
like one block is duplicated. I wouldn't expect this to harm anything.

AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600


AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

Best luck, and apologies it took so long to figure this out!

-Jodi
Portable Citations for DSpace

On 5/29/07, Keith Jones [EMAIL PROTECTED] wrote:



I did not chnage anything in the oaicat.properties.

Here is my properties file:


###
# REMEMBER: ONLY UPDATE THE VERSION IN dspace/config/templates
# AND THEN RUN dspace/bin/install-configs!
# DO NOT EDIT THE 'LIVE' VERSION!

###

# OAICat Configuration file - see OAICat documentation for details

# Text surrounded by two '@' symbols is replaced with the corresponding
# property from dspace.cfg.  For example:
#
# http://dspace.udel.edu:8080/dspace
#
# would be replaced with the dspace.url property in dspace.cfg.
# When /dspace/bin/install-configs is run, this file will be installed in
the
# location specified by the property: config.template.oaicat.properties

AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog

AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600

AbstractCatalog.granularity=-MM-DDThh:mm:ssZ
AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog

AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600

AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

# Custom Identify response values
Identify.repositoryName=DSpace at UD
[EMAIL PROTECTED]
Identify.earliestDatestamp=2001-01-01T00:00:00Z
Identify.deletedRecord=persistent

# List the supported metadataPrefixes along with the class that performs
the ass
ociated crosswalk
#Crosswalks.didl=org.dspace.app.oai.DIDLCrosswalk
#Crosswalks.mets= org.dspace.app.oai.METSCrosswalk
Crosswalks.oai_dc=org.dspace.app.oai.OAIDCCrosswalk
# OAI crosswalks that use crosswalk plugins.  The
# metadataPrefixes must match the name of the plugin
# for interface org.dspace.content.crosswalk.DisseminationCrosswalk
# Crosswalks.mods=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.mets=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.qdc=org.dspace.app.oai.PluginCrosswalk


On Tue, 29 May 2007, Claudia Jürgen wrote:

 Hi Keith,

 this error occurs if the date argument is wrong

 e.g.

http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiersfrom=2007-05-02until=2006-05-02metadataPrefix=oai_dc

 having from  until

 did you change any basic settings, e.g. oaicat.properties

 Claudia


 Keith Jones schrieb:

 Hi Stuart,

 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



 On Tue, 29 May 2007, Stuart Lewis [sdl] wrote:

 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 

Re: [Dspace-tech] DSpaceOnWindows page not visible from the Installation page

2007-05-14 Thread Jodi Schneider

For the meantime--before a captcha is enabled--a note on how to get in touch
with an existing wiki editor
would help.

-Jodi
-
Attempting to edit before logging in gives:
Login required to edit:You have to
loginhttp://wiki.dspace.org/index.php/Special:Userloginto edit
pages. See About
Protected Pageshttp://wiki.dspace.org/index.php/DSpace_Wiki:Protected_pagefor
more information on getting permission to edit pages.

This includes the information required--except that the About page gives the
cryptic note:
Get an existing wiki editor to add you to the DSpaceCadets group.


On 5/14/07, Robert Tansley [EMAIL PROTECTED] wrote:


If the lockdown is necessary, steps on how to get permission needs to
be documented on the Wiki.  An unexplained lockout doesn't fit our
open community ethos.  Installing a captcha extension (as
wikipedia.org has) should avoid automated sign-ups.

On 14/05/07, V Alex Brennen [EMAIL PROTECTED] wrote:
 Please send your account name to me at [EMAIL PROTECTED] and I will give you
 access.  MediaWiki is very poorly designed and lacks features for
dealing
 with spam.  Using MediaWiki is difficult and painful for everyone
 involved.


 - VAB

 On Mon, 14 May 2007, LeVan,Ralph wrote:

  I went to the Wiki looking for the Windows installation
instructions.  I
  found the Installation page reasonably easily, but there was no sign
of
  the Windows installation page.  I knew such a page existed and a
Google
  search got me to it.  I tried editing the installation page to correct
  the omission and was blocked from doing that.  I tried to edit the
  issues page to report the problem and was blocked from editing
that.  I
  couldn't find any signs of a link to an administrator, so I'm sending
my
  message here.
 
 
 
  Sorry.
 
 
 
  Ralph
 
 


-
 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

-
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