[Dspace-tech] Hide 4 collections in collection-list.xsl

2013-03-12 Thread M. Àngels Pulido

  
  
Hello everybody,

  
I work with
Dspace
1.7.2 and Mirage theme.
I need to hide 4 collections
  that have the following
names and handles:

  X - Formulari -
Llibres
(http://dspace.uvic.cat:/xmlui/handle/10854/1945)
X - Formulari - Captols de llibres
(http://dspace.uvic.cat:/xmlui/handle/10854/1946)
X - Formulari - Article de revista
(http://dspace.uvic.cat:/xmlui/handle/10854/2040)
X - Formulari - Conferncies, Proceedings, Psters
de Congressos no publicats
http://dspace.uvic.cat:/xmlui/handle/10854/2041)

  

  In the file
collection-list.xsl, I created
  this
code 
  that
follows by which I have succeeded
in eliminating the title, "[",
  number of items, etc.

Please
  see:
http://dspace.uvic.cat:/xmlui/handle/10854/2
 
But... I do not know
  how
to removethe
"points" () from the list
only for these four collections.
  

  Can anyone help me, please ?
  

Thanks in advance.

  Sorry for my
inexperience in programming
  xsl :-(
  

  

  



 xsl:template name="collectionSummaryList-DIM"
 xsl:variable name="data"
select="./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim"/
 a href="" 
 xsl:choose 
 xsl:when
test="contains($data/dim:field[@element='title'],'Formulari')"
 
 xsl:text
/xsl:text 
 /xsl:when
 
 
 xsl:otherwise
 xsl:value-of
select="$data/dim:field[@element='title'][1]"/ 
 /xsl:otherwise
 /xsl:choose 
 /a
 
   
  
xsl:choose 
 xsl:when
test="($data/dim:field[@element='format'][@qualifier='extent'])=
0"
 xsl:text /xsl:text
 /xsl:when
 
 
 xsl:otherwise
 xsl:text [/xsl:text
xsl:value-of
select="$data/dim:field[@element='format'][@qualifier='extent'][1]"/

xsl:text]/xsl:text
 /xsl:otherwise
 /xsl:choose
 /xsl:template
-- 
  
M. ngels Pulido Medina
  Biblioteca - Servei de Recursos
Informtics
  
  Universitat de Vic
  C. Sagrada Famlia, 7
  08500 Vic
  Tel. 938 816 170 (8333)
  m.angels.pul...@uvic.cat 
  www.uvic.cat
  

  

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] (no subject)

2013-03-12 Thread Meron Mesfin


hello again! first of i would like to ask apology  for being silly and 
interrupt;  i am curious about one thing which is what is the next step after 
installing dspace? what i mean is that what should be done after configuring 
the dspace on ma pc, how am i gone use it 

like every body else does(i.e how gone ma company use the digital repository 
internationally)is there anything else to configure or what?Thanks a lot it 
mean a lot to me and best regards
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Hide 4 collections in collection-list.xsl

2013-03-12 Thread helix84
Hello,

you can't do it by overriding that template, that's out the scope of what
it matches. You can do it this way:

http://dspace.2283337.n4.nabble.com/Hide-Sub-Community-from-Anonymous-td4662481.html


And change the following condition

xsl:if test=$authenticated or (@url !=
'/metadata/handle/123456789/123/mets.xml')

 to this:

xsl:if test=(@url != '/metadata/handle/10854/1945/mets.xml') or
(@url != '/metadata/handle/10854/1946/mets.xml') or (@url !=
'/metadata/handle/10854/2040/mets.xml') or (@url !=
'/metadata/handle/10854/2041/mets.xml')



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSpace Futures mtg notes next steps

2013-03-12 Thread Valorie Hollister
Thanks to those in the community who participated in the recent calls on the 
potential DSpace Futures initiatives on the REST API and DSpace and Hydra.

Here is the link to the notes from the calls: 
https://wiki.duraspace.org/display/DSPACE/DSpace+Futures   

We invite everyone in the community to add their feedback in the comments 
section at the bottom of the either of the notes pages -- and if you have other 
use cases for a REST API feel free to add them to the use case grid 
(https://wiki.duraspace.org/display/DSPACE/DSpace+Futures+REST+API+Use+Cases). 

The meetings affirmed there is a lot of interest in the community in pursuing 
both a REST API and DSpace and Hydra. The next step is to have the individuals 
or institutions formally identify their willingness to be a part of the 
initiatives. To do so you may either let us know via email or on the wiki page 
(https://wiki.duraspace.org/display/DSPACE/DSpace+Futures). Each initiative 
also needs a person from the community to take the lead. To clarify how this 
will work, we have outlined below the various roles. 


ROLES

Lead / Co-Leads
The initiative lead would help to convene regular meetings amongst all 
interested participants and developers.
Would help to build consensus around use cases and requirements
Would strive to keep the initiative moving forward.
The role is an initiative management role. The individual(s) need not be 
technical.
Steering Committee (optional)
Ideally, a committee would be formed to help support the lead in the goals of 
building consensus and ensuring the initiative stays on track.
Again, committee members need not be technical, but should have a good grasp of 
the problem at hand.
Developer Team
Would help to develop, test and release the actual code
Would communicate directly with the Lead and/or Steering Committee around use 
cases and requirements
Ideally, each developer would have approval from their workplace to spend a 
percentage of their time on the initiative
Ideally, at least one existing DSpace Committer would be on this team.
DuraSpace
Would attend regular meetings and contribute to consensus building 
Would offer perspective from other initiatives and projects, and help ensure 
cross-communication between initiatives and with the DSpace Committer Team 
Would provide necessary infrastructure: conference line, wiki space, JIRA, 
GitHub, etc.
Provide administrative support for any fund raising required
Provide and contribute to communication channels for project awareness, status, 
etc.

We look forward to helping the community move these initiatives forward!

Michele Kimpton
Chief Executive Officer
mkimp...@duraspace.org

Jonathan Markow
Chief Strategy Officer
jjmar...@duraspace.org 

Tim Donohue
DSpace Technical Lead
tdono...@duraspace.org

Valorie Hollister
Director of Community Programs
vhollis...@duraspace.org--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Database questions

2013-03-12 Thread Wellaway, Ian
Hi,

We're doing a database review and I wondered if one of the Dspace team could 
answer the following Qs:


1.What databases are supported by your product?


Oracle/Postgres




2.For new installations what database do you generally recommend (does this 
differ for local and hosted or cloud installations)?







3.What database do you use for primary development of your product?







4.Do you have any plans to change your primary development database (if 
yes, please give details)?







5.Where your product is supported on multiple databases, does client 
feedback indicate differences in performance or resilience between them (if 
yes, please give details)?







6.Do you have a strategy or policy for adopting new versions of a database?







7.Do you have a strategy or policy for discontinuing support for old 
versions of a database?







8.Any additional comments that might assist us with formulating our 
database strategy?





Thanks

Ian




Ian Wellaway

Senior System Support  Development Officer - Enterprise Applications 
(Wednesdays only)

Technical Developer, Open Exeter - Infrastructure Systems (Monday-Tuesday, 
Thursday-Friday)

Exeter IT
Room 54
Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Database questions

2013-03-12 Thread helix84
On Tue, Mar 12, 2013 at 2:26 PM, Wellaway, Ian i.j.wella...@exeter.ac.ukwrote:



 **

 **1.**What databases are supported by your product?

 Oracle/Postgres

 ** **

 **2.**For new installations what database do you generally recommend
 (does this differ for local and hosted or cloud installations)?

 ** Postgres 8.4 or newer, no difference**

 ** **

 **3.**What database do you use for primary development of your
 product?

 ** Postgres**

 ** **

 **4.**Do you have any plans to change your primary development
 database (if yes, please give details)?

 ** No**

 ** **

 **5.**Where your product is supported on multiple databases, does
 client feedback indicate differences in performance or resilience between
 them (if yes, please give details)?

 ** Yes, none of the commiters use Oracle anymore, so its support is
 lagging. We rely on users to report any problems with Oracle.

 ** **

 **6.**Do you have a strategy or policy for adopting new versions of a
 database?

 ** No, we break backwards compatibility only if necessary**

 ** **

 **7.**Do you have a strategy or policy for discontinuing support for
 old versions of a database?

 ** New versions of our software (which are released once a year) can
 change what they require (database version). This is documented both in
 User Guide and Release Notes.**

 ** **

 **8.**Any additional comments that might assist us with formulating
 our database strategy?

 ** DSpace 4.0 due out shortly before the end of 2013 should contain a
 major redesign of the data access layer based on Hibernate, so it should
 reduce DBMS-specific code within DSpace and compartmentalize it, possibly
 even make it easier to add support for different DBMS (however, we are not
 planning to support any additional DBMS at this time).**

 ** **

 **




Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server down

2013-03-12 Thread Hilton Gibson
These pages have been updated:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Firewall and
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Handle_Server#Step_8_-_Firewall_Ports
.


On 12 March 2013 16:19, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:

  Hi All,

 ** **

 Please note that we solved the handle problem, as you indicated the
 problem was mostly due to firewall blocking the ports, another problem was
 certain process that was using similar ports with handle server, but it has
 been resolved when we killed the process and remained with one process for
 handle server. 

 ** **

 Thanks a lot for giving your thoughts in solving this problem.

 ** **

 Regards,

 Lewatle 

 ** **

 *From:* Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
 *Sent:* 22 February 2013 01:34 PM
 *To:* Hilton Gibson
 *Cc:* DSpace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Handle server down

 ** **

 Thanks, I will do that.

 ** **

 *From:* Hilton Gibson 
 [mailto:hilton.gib...@gmail.comhilton.gib...@gmail.com]

 *Sent:* 22 February 2013 01:33 PM
 *To:* Lewatle Phaladi
 *Cc:* heli...@centrum.sk; DSpace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Handle server down

 ** **

 Ok, Ask the people at handle.net if they can connect to your local handle
 server.

 Also check that UDP is also open on the campus firewall in addition to TCP.
 

 ** **

 ** **

 On 22 February 2013 13:31, Lewatle Phaladi lewatle.phal...@wits.ac.za
 wrote:

 Your absolutely right Hilton, I have checked with them the response is
 that the ports are open on that range, since you mentioned it I will
 forward them the server IP address so they can confirm it for me. I will
 try any possible solution for this issue.

  

 *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com]
 *Sent:* 22 February 2013 12:22 PM
 *To:* Lewatle Phaladi
 *Cc:* heli...@centrum.sk; DSpace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Handle server down

  

 I would check the campus firewall first.

  

 On 22 February 2013 12:10, Lewatle Phaladi lewatle.phal...@wits.ac.za
 wrote:

 Hi Helix,

 Nestat results:
 8000   *.*0  0 49152  0 LISTEN

 Please see attached file for log contents.

 Regards,
 Lewatle


 -Original Message-
 From: helix84 [mailto:heli...@centrum.sk]
 Sent: 22 February 2013 10:51 AM
 To: Lewatle Phaladi
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Handle server down

 Hi Lewatle,

 First thing you should do is look into your [dspace]/log/handle-server.log

 You can check whether the Handle server is running at any time:

 sudo netstat -tulpn | grep 8000

 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 htmlpfont face = verdana size = 0.8 color = navyThis
 communication is intended for the addressee only. It is confidential. If
 you have received this communication in error, please notify us immediately
 and destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only authorized
 signatories are competent to enter into agreements on behalf of the
 University and recipients are thus advised that the content of this message
 may not be legally binding on the University and may contain the personal
 views and opinions of the author, which are not necessarily the views and
 opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South
 African Law unless the University agrees in writing to the
 contrary./font/p/html

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 

  

 -- 

 *Hilton Gibson*

 Systems Administrator

 JS Gericke Library

 Room 1025D

 Stellenbosch University

 Private Bag X5036

 Stellenbosch

 7599

 South Africa

  

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 http://library.sun.ac.za

 http://scholar.sun.ac.za

 http://ar1.sun.ac.za

 http://aj1.sun.ac.za

 This communication is intended for the addressee only. It is confidential.
 If you have received this communication in error, please notify us
 immediately and destroy the original message. You may not copy or
 disseminate this communication without the permission of the University.
 Only authorized signatories are competent to enter into agreements on
 behalf 

[Dspace-tech] Assetstore clean-up? Advice/reassurance/gotchas?

2013-03-12 Thread Michael White
Hi,

Running DSpace v1.6.2 (JSPUI).

Our DSpace server ran out of disk space unexpectedly (as we thought we had 
allowed for substantial growth) and I have now determined it is because of a 
huge amount of orphaned content in our Assetstore.

Looking at our bitstream table, there are 38,488 rows but 22,287 of them are 
marked as deleted=true.

I have determined that this orphaned content is a result of the integration 
between our CRIS system (Converis) and DSpace - each time a Publication record 
(that has full text attached and that has already been exported to DSpace) is 
updated in our CRIS it updates the corresponding record in DSpace - only it 
does this by deleting the existing record and creating a new one with the same 
handle, which results in the files belonging to the deleted record lying around 
in the Assetstore as orphaned bitstreams.

So, I've been reading up in the manual, and I note the existence of the 
/dspace/bin/cleanup script which I believe will resolve this problem by 
deleting the old rows from the bitstream table and the corresponding files in 
the assetstore (?).

However, before I run this and potentially muck everything up, I was hoping 
that someone could confirm that this script will do what I'm after, and that it 
will be able to handle such a large cleanup? And if there are any other 
gotchas or advice relating to this that anyone out there can offer?

I'll backup the assetstore and DB before doing anything, but any advice or 
reassurance would be most welcome as I'm obviously nervous about running 
something that could, potentially, do more harm than good :-).

Cheers,

Mike

P.S. If there is anyone else out there with an integration between Converis and 
DSpace, you might also want to look into this!

Michael White 
eLearning Liaison and Development (eLD)
Information Services
S8, Library
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 
Email: michael.wh...@stir.ac.uk 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880
http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld



-- 
The University of Stirling is ranked in the top 50 in the world in The Times 
Higher Education 100 Under 50 table, which ranks the world's best 100 
universities under 50 years old.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Assetstore clean-up? Advice/reassurance/gotchas?

2013-03-12 Thread Hilton Gibson
We ran it on: http://etd.sun.ac.za using DSpace 1.5.2 with no problems.


On 12 March 2013 15:58, Michael White michael.wh...@stir.ac.uk wrote:

 Hi,

 Running DSpace v1.6.2 (JSPUI).

 Our DSpace server ran out of disk space unexpectedly (as we thought we
 had allowed for substantial growth) and I have now determined it is because
 of a huge amount of orphaned content in our Assetstore.

 Looking at our bitstream table, there are 38,488 rows but 22,287 of them
 are marked as deleted=true.

 I have determined that this orphaned content is a result of the
 integration between our CRIS system (Converis) and DSpace - each time a
 Publication record (that has full text attached and that has already been
 exported to DSpace) is updated in our CRIS it updates the corresponding
 record in DSpace - only it does this by deleting the existing record and
 creating a new one with the same handle, which results in the files
 belonging to the deleted record lying around in the Assetstore as orphaned
 bitstreams.

 So, I've been reading up in the manual, and I note the existence of the
 /dspace/bin/cleanup script which I believe will resolve this problem by
 deleting the old rows from the bitstream table and the corresponding
 files in the assetstore (?).

 However, before I run this and potentially muck everything up, I was
 hoping that someone could confirm that this script will do what I'm after,
 and that it will be able to handle such a large cleanup? And if there are
 any other gotchas or advice relating to this that anyone out there can
 offer?

 I'll backup the assetstore and DB before doing anything, but any advice or
 reassurance would be most welcome as I'm obviously nervous about running
 something that could, potentially, do more harm than good :-).

 Cheers,

 Mike

 P.S. If there is anyone else out there with an integration between
 Converis and DSpace, you might also want to look into this!

 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld



 --
 The University of Stirling is ranked in the top 50 in the world in The
 Times Higher Education 100 Under 50 table, which ranks the world's best 100
 universities under 50 years old.
 The University of Stirling is a charity registered in Scotland,
  number SC 011159.



 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Assetstore clean-up? Advice/reassurance/gotchas?

2013-03-12 Thread helix84
Hi Mike,

yes, the cleanup script deletes bitstreams which are marked as deleted='t'.

I wouldn't have any worries about running it, it works just fine.

Tip: run it with the -v parameter to see which files it's currently deleting.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Handle server down

2013-03-12 Thread Lewatle Phaladi
Hi All,

Please note that we solved the handle problem, as you indicated the problem was 
mostly due to firewall blocking the ports, another problem was certain process 
that was using similar ports with handle server, but it has been resolved when 
we killed the process and remained with one process for handle server.

Thanks a lot for giving your thoughts in solving this problem.

Regards,
Lewatle

From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
Sent: 22 February 2013 01:34 PM
To: Hilton Gibson
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle server down

Thanks, I will do that.

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 22 February 2013 01:33 PM
To: Lewatle Phaladi
Cc: heli...@centrum.skmailto:heli...@centrum.sk; 
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle server down

Ok, Ask the people at handle.nethttp://handle.net if they can connect to your 
local handle server.
Also check that UDP is also open on the campus firewall in addition to TCP.


On 22 February 2013 13:31, Lewatle Phaladi 
lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote:
Your absolutely right Hilton, I have checked with them the response is that the 
ports are open on that range, since you mentioned it I will forward them the 
server IP address so they can confirm it for me. I will try any possible 
solution for this issue.

From: Hilton Gibson 
[mailto:hilton.gib...@gmail.commailto:hilton.gib...@gmail.com]
Sent: 22 February 2013 12:22 PM
To: Lewatle Phaladi
Cc: heli...@centrum.skmailto:heli...@centrum.sk; 
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle server down

I would check the campus firewall first.

On 22 February 2013 12:10, Lewatle Phaladi 
lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote:
Hi Helix,

Nestat results:
8000   *.*0  0 49152  0 LISTEN

Please see attached file for log contents.

Regards,
Lewatle


-Original Message-
From: helix84 [mailto:heli...@centrum.skmailto:heli...@centrum.sk]
Sent: 22 February 2013 10:51 AM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle server down

Hi Lewatle,

First thing you should do is look into your [dspace]/log/handle-server.log

You can check whether the Handle server is running at any time:

sudo netstat -tulpn | grep 8000

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100tel:%2B27%2021%20808%204100 | Cell: +27 84 646 
4758tel:%2B27%2084%20646%204758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za

This communication is intended for the addressee only. It is confidential. If 
you have received this communication in error, please notify us immediately and 
destroy the original message. You may not copy or disseminate this 
communication without the permission of the University. Only authorized 
signatories are competent to enter into agreements on behalf of the University 
and recipients are thus advised that the content of this message may not be 
legally binding on the University and may contain the personal views and 
opinions of the author, which are not necessarily the views and opinions of The 

Re: [Dspace-tech] Assetstore clean-up? Advice/reassurance/gotchas?

2013-03-12 Thread Michael White
Many thanks helix84 (such an enigmatic nomenclature ;-) ) and Hilton for your 
reassuring replies, and for the -v tip . . .

I now feel confident enough to give this a bash :-)

Much appreciated.

Mike

Michael White 
eLearning Liaison and Development (eLD)
Information Services
S8, Library
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 
Email: michael.wh...@stir.ac.uk 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880
http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 12 March 2013 14:41
To: Michael White
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Assetstore clean-up? Advice/reassurance/gotchas?

Hi Mike,

yes, the cleanup script deletes bitstreams which are marked as deleted='t'.

I wouldn't have any worries about running it, it works just fine.

Tip: run it with the -v parameter to see which files it's currently deleting.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



-- 
The University of Stirling is ranked in the top 50 in the world in The Times 
Higher Education 100 Under 50 table, which ranks the world's best 100 
universities under 50 years old.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] 1.7.2 web.xml getting randomly overwritten

2013-03-12 Thread Matthew McKinley
Hi all,

We've been having a problem with webapps/xmlui/WEB-INF/web.xml being
overwritten randomly with the default welcome to Tomcat! page. It only
seems to happen about once a month but we can't predict it and it makes our
entire DSpace instance inaccessible until we can replace web.xml.

Does anyone know what's going on? I tried googling and found similar Tomcat
errors but for programs other than DSpace.

We're running dspace 1.7.2 with Tomcat 6

I also found these in the logs from (when I am guessing) the overwrite
happened:

/var/log/secure
Mar 11 13:03:50 dspace2 useradd[24547]: failed adding user 'tomcat', data
deleted
/data/dspace/log/dspace.log.2013-03-11
2013-03-11 13:03:58,851 ERROR net.sf.ehcache.store.DiskStore @
cocoon-ehcache Cache: Could not flush elements to disk due to
/var/cache/tomcat6/work/Catalina/localhost/_/cache-dir/cocoon-ehcache.index
(No such file or directory). Continuing...
java.io.FileNotFoundException:
/var/cache/tomcat6/work/Catalina/localhost/_/cache-dir/cocoon-ehcache.index
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:194)
at java.io.FileOutputStream.init(FileOutputStream.java:145)
at net.sf.ehcache.store.DiskStore.writeIndex(DiskStore.java:845)
at
net.sf.ehcache.store.DiskStore.throwableSafeFlushSpoolIfRequired(DiskStore.java:674)
at
net.sf.ehcache.store.DiskStore.spoolAndExpiryThreadMain(DiskStore.java:640)
at net.sf.ehcache.store.DiskStore.access$900(DiskStore.java:68)
at
net.sf.ehcache.store.DiskStore$SpoolAndExpiryThread.run(DiskStore.java:1110)
2013-03-11 13:03:58,981 ERROR org.dspace.kernel.DSpaceKernelManager @ WARN
Failed to unregister the MBean:
org.dspace:name=4d3e355f-c8ee-4f46-8bb4-6c40a95cc114,type=DSpaceKernel
2013-03-11 13:04:04,752 INFO  org.dspace.usage.LoggerUsageEventListener @
anonymous:session_id=51554ABF2A9D2F96F9EFC7C2098FF1A0:ip_addr=66.249.73.66:
view_item:handle=10575/4825
2013-03-11 13:04:04,767 ERROR
org.dspace.statistics.SolrLoggerUsageEventListener @ Not Found

Not Found

request:
http://dspace2.nacs.uci.edu/solr/statistics/update?wt=javabinversion=1
*
Matthew McKinley
Digital Project Specialist, University of California,
Irvinehttp://www.uci.edu/
**about.me http://www.about.me/matthewmckinley*
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] handles

2013-03-12 Thread Drover, Matt
How do I get the handle for communities and collections, providing I
have the community_id or collection_id ? I'm not seeing a table or field
that links the two in the database.

 

Thanks.

 

Matthew Drover
Programmer Consultant

Immersive Technology
Distance Education, Learning and Teaching Support

Memorial University of Newfoundland 



 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] handles

2013-03-12 Thread Lighton Phiri
You need to join handle table with the collection and/or community
tables.  Just include a WHERE clause in either one of the queries
below..

COLLECTION

SELECT
h.handle,
c.name
FROM
(
(SELECT resource_id, handle FROM handle WHERE resource_type_id=3) as h JOIN
(SELECT collection_id, name FROM collection) as c ON
h.resource_id = c.collection_id
);


COMMUNITY

SELECT
h.handle,
c.name
FROM
(
(SELECT resource_id, handle FROM handle WHERE resource_type_id=3) as h JOIN
(SELECT community_id, name FROM community) as c ON
h.resource_id = c.community_id
);



Lighton Phiri
http://lightonphiri.org


On 12 March 2013 18:45, Drover, Matt mattdro...@mun.ca wrote:
 How do I get the handle for communities and collections, providing I have
 the community_id or collection_id ? I'm not seeing a table or field that
 links the two in the database.



 Thanks.



 Matthew Drover
 Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support

 Memorial University of Newfoundland




 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] handles

2013-03-12 Thread Lighton Phiri
A slight change in the 'community' query --resource_type_id for
communities is 4 [1]

SELECT
h.handle,
c.name
FROM
(
(SELECT resource_id, handle FROM handle WHERE resource_type_id=4) as h JOIN
(SELECT community_id, name FROM community) as c ON
h.resource_id = c.community_id
);

[1] 
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L29



Lighton Phiri
http://lightonphiri.org


On 12 March 2013 19:40, Lighton Phiri lighton.ph...@gmail.com wrote:
 You need to join handle table with the collection and/or community
 tables.  Just include a WHERE clause in either one of the queries
 below..

 COLLECTION

 SELECT
 h.handle,
 c.name
 FROM
 (
 (SELECT resource_id, handle FROM handle WHERE resource_type_id=3) as h JOIN
 (SELECT collection_id, name FROM collection) as c ON
 h.resource_id = c.collection_id
 );


 COMMUNITY

 SELECT
 h.handle,
 c.name
 FROM
 (
 (SELECT resource_id, handle FROM handle WHERE resource_type_id=3) as h JOIN
 (SELECT community_id, name FROM community) as c ON
 h.resource_id = c.community_id
 );



 Lighton Phiri
 http://lightonphiri.org


 On 12 March 2013 18:45, Drover, Matt mattdro...@mun.ca wrote:
 How do I get the handle for communities and collections, providing I have
 the community_id or collection_id ? I'm not seeing a table or field that
 links the two in the database.



 Thanks.



 Matthew Drover
 Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support

 Memorial University of Newfoundland




 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] handles

2013-03-12 Thread Pottinger, Hardy J.
Hi, Matt, while the schema diagram found in the documentation implies that
there's a field in each table for handle[1], the handle table actually
holds all the data you seek. The column RESOURCE_TYPE_ID indicates what
sort of thing the handle points to (2=item, 3=collection, 4=community [2])
and RESOURCE_ID is the ID of the object in question. So, SELECT
HANDLE,RESOURCE_ID FROM HANDLE WHERE RESOURCE_TYPE_ID=4 would get you the
matrix of handle to community IDs, similarly, SELECT HANDLE,RESOURCE_ID
FROM HANDLE WHERE RESOURCE_TYPE_ID=3 would get you the matrix of handle to
collection Ids, and so on.

[1] https://wiki.duraspace.org/display/DSDOC3x/Functional+Overview
[2] 
https://wiki.duraspace.org/display/DSDOC3x/Business+Logic+Layer#BusinessLog
icLayer-Constants
--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
No matter how far down the wrong road you've gone,
turn back. --Turkish proverb






On 3/12/13 11:45 AM, Drover, Matt mattdro...@mun.ca wrote:

How do I get the handle for communities and collections, providing I have
the community_id or collection_id ? I'm not seeing a table or field that
links the two in the database.
 
Thanks.
 
Matthew Drover
Programmer Consultant
Immersive Technology
Distance Education, Learning and Teaching Support

Memorial University of Newfoundland


 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.ph
p




--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Hide 4 collections in collection-list.xsl

2013-03-12 Thread Barnes, Hugh
Again, I have no test environment to confirm this, but you should be able to 
more simply suppress specific li elements by creating a more specific 
template which does nothing (i.e. is empty).

Instead of helix84’s template, add this template where it is appropriate (for 
customisations to go):

xsl:template match=dri:reference[
  @url='/metadata/handle/10854/1945/mets.xml' or
  @url='/metadata/handle/10854/1946/mets.xml' or
  @url='/metadata/handle/10854/2040/mets.xml' or
  @url='/metadata/handle/10854/2041/mets.xml'
  ] mode=summaryList / !-- this template has no content --

Note that this would have the side-effect of removing the HTML comments 
(invisible) from the output. I doubt it, but that could have other consequences 
(?).

If you wanted a more robust matching pattern, like the contains 'Formulari' in 
the title you coded, you'd need to specify an XPath for that expression from 
the context of dri:reference. I can't even provide you with a guess for that, 
as I have no source XML document example. It will certainly be a long 
expression and may not even be possible.

Cheers

Hugh Barnes
Digital Access Coordinator
Library, Teaching and Learning
Lincoln University
Christchurch
New Zealand
p +64 3 321 8924 | f +64 3 325 2944

From: helix84 [mailto:heli...@centrum.sk]
Sent: Wednesday, 13 March 2013 1:28 a.m.
To: M. Àngels Pulido
Cc: dspace-tech
Subject: Re: [Dspace-tech] Hide 4 collections in collection-list.xsl

Hello,

you can't do it by overriding that template, that's out the scope of what it 
matches. You can do it this way:

http://dspace.2283337.n4.nabble.com/Hide-Sub-Community-from-Anonymous-td4662481.html


And change the following condition





xsl:if test=$authenticated or (@url != 
'/metadata/handle/123456789/123/mets.xml')




to this:

xsl:if test=(@url != '/metadata/handle/10854/1945/mets.xml') or (@url != 
'/metadata/handle/10854/1946/mets.xml') or (@url != 
'/metadata/handle/10854/2040/mets.xml') or (@url != 
'/metadata/handle/10854/2041/mets.xml')


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


P Please consider the environment before you print this email.
The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, 
distribution, or copying of the contents is expressly prohibited.  If you have 
received this e-mail in error, please advise the sender 
by return e-mail or telephone and then delete this e-mail together with all 
attachments from your system.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette