[Dspace-tech] Fwd: help with users friendly urls

2015-08-19 Thread vlad ovsyannikov
-- Forwarded message --
From: vlad ovsyannikov <13che...@gmail.com>
Date: Wed, Aug 19, 2015 at 12:50 PM
Subject: help with users friendly urls
To: dspace-tech@lists.sourceforge.net


Hello!

I need help

As i can see - handle db table is used to access item by url like
"123456789/"

if i change handle column in handle table to "beutiful-url" i can access
document by this user-friendly url



Questions

How to update all handle rows for items with proper user-friendly url named
by doc-title?
How to add form input to edit this column on item edit page?
How to generate proper sitemaps with this user-friendly urls?

Thanks for help!
--
___
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] Fwd: Re: New Version of Dspace installation on Windows 7

2015-08-14 Thread Tim Donohue

Hello,

DSpace can actually be installed in the same manner on any operating 
system (including Windows).  The official 5.x Installation Instructions 
are still the best overall guide:


https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace

There are a few minor Windows-specific notes listed near the end of that 
document, in the "Windows Installation" section:

https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-WindowsInstallation

Good luck,

Tim

On 8/14/2015 8:17 AM, Vijendra Kumar wrote:

-- Forwarded message --
From: "Vijendra Kumar" mailto:vkuma...@vmou.ac.in>>
Date: Aug 14, 2015 4:05 PM
Subject: Re: [Dspace-tech] New Version of Dspace installation on Windows 7
To: "Kosmas Kaifel" >

Cc:

Can Dspace 5.2/5.3 version installation possible for windows OS; if 
yes... how to do this?? step by step...

anyone please help me for this...

On Fri, Aug 14, 2015 at 1:38 PM, Kosmas Kaifel 
mailto:kosmas.kai...@uni-ulm.de>> wrote:


Hello,

I think this link can help you.

http://de.scribd.com/doc/131175971/Installing-DSpace-3-1-on-Windows-7

For the configuration from the Tomcat:


http://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html

Start the program for config Tomact: \bin\ Tomcat8w.exe

_Javaoptions:_
set JAVA_OPTS="-Xmx2048M -Xms1024M  -XX:MaxPermSize=512m
-XX:+UseG1GC -Dfile.encoding=UTF-8"

Best regards Kosmas

Am 14.08.2015 um 08:49 schrieb Vijendra Kumar:

Dear all,

Anyone can help me how to completely install new version of
DSpace in windows 7.

Thanks & regards,

-- 
/**/*Vijendra Kumar***









VARDHMAN MAHAVEER OPEN UNIVERSITY 
Rawatbhata Road
Kota-324021 (Rajasthan)
INDIA
TOLL FREE : 1800-180-6166
Youtube  |
Facebook  | Twitter


VMOU Internet Radio  : Listen on
Winamp/VLC/Media Player 

*"Print this mail only if absolutely necessary. Save Paper. Save
Trees." *



--


___
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


-- 
+---+

Universität Ulm
Kommunikations- und Informationszentrum (kiz)
Abt. Infrastruktur
Albert-Einstein-Allee 37
89081 Ulm
Tel.   0731/50-15495
EMail:kosmas.kai...@uni-ulm.de 
++



--

___
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




--
/**/*Vijendra Kumar***








VARDHMAN MAHAVEER OPEN UNIVERSITY 
Rawatbhata Road
Kota-324021 (Rajasthan)
INDIA
TOLL FREE : 1800-180-6166
Youtube  | Facebook 
 | Twitter 



VMOU Internet Radio  : Listen on 
Winamp/VLC/Media Player 


*"Print this mail only if absolutely necessary. Save Paper. Save Trees." *


--


___
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 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] Fwd: Re: New Version of Dspace installation on Windows 7

2015-08-14 Thread Vijendra Kumar
-- Forwarded message --
From: "Vijendra Kumar" 
Date: Aug 14, 2015 4:05 PM
Subject: Re: [Dspace-tech] New Version of Dspace installation on Windows 7
To: "Kosmas Kaifel" 
Cc:

Can Dspace 5.2/5.3 version installation possible for windows OS; if yes...
how to do this?? step by step...
anyone please help me for this...

On Fri, Aug 14, 2015 at 1:38 PM, Kosmas Kaifel 
wrote:

> Hello,
>
> I think this link can help you.
>
> 
> http://de.scribd.com/doc/131175971/Installing-DSpace-3-1-on-Windows-7
>
>
> For the configuration from the Tomcat:
>
> 
> http://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html
>
>
> Start the program for config Tomact:  \bin\ Tomcat8w.exe
>
>
> *Javaoptions:*
> set JAVA_OPTS="-Xmx2048M -Xms1024M  -XX:MaxPermSize=512m -XX:+UseG1GC
> -Dfile.encoding=UTF-8"
>
> Best regards Kosmas
>
> Am 14.08.2015 um 08:49 schrieb Vijendra Kumar:
>
> Dear all,
>
> Anyone can help me how to completely install new version of DSpace in
> windows 7.
>
> Thanks & regards,
>
> --
> *Vijendra Kumar*
>
>
>
>
>
>
>
> --
> VARDHMAN MAHAVEER OPEN UNIVERSITY 
> Rawatbhata Road
> Kota-324021 (Rajasthan)
> INDIA
> TOLL FREE : 1800-180-6166
> Youtube  | Facebook
>  | Twitter
> 
>
> VMOU Internet Radio  : Listen on
> Winamp/VLC/Media Player 
>
> *"Print this mail only if absolutely necessary. Save Paper. Save Trees." *
>
>
> --
>
>
>
> ___
> DSpace-tech mailing 
> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> --
> +---+
> Universität Ulm
> Kommunikations- und Informationszentrum (kiz)
> Abt. Infrastruktur
> Albert-Einstein-Allee 37
> 89081 Ulm
> Tel.   0731/50-15495
> EMail: kosmas.kai...@uni-ulm.de
> ++
>
>
>
> --
>
> ___
> 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
>



-- 
*Vijendra Kumar*

-- 

--
VARDHMAN MAHAVEER OPEN UNIVERSITY 
Rawatbhata Road
Kota-324021 (Rajasthan)
INDIA
TOLL FREE : 1800-180-6166
Youtube  | Facebook  
 | Twitter 


VMOU Internet Radio  : Listen on 
Winamp/VLC/Media Player 

*"Print this mail only if absolutely necessary. Save Paper. Save Trees." *
--
___
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] Fwd: Maven error

2015-08-12 Thread Nabonita Guha
Hi Luiz,

The error has been resolved. All restrictions were removed in our
organisational firewall for the server, still the error continued. It was
found that downloading of maven packages were getting stuck only when the
command was run as non-root user. mvn package -Dmirage2.on=true was
successful when initiated as root user. Then, ownership was changed to
dspace user for complete dspace-source directory. With this, ant
fresh_install was also successful.

Thanks so much for your help.

​Best,

Nabonita

On Wed, Aug 12, 2015 at 6:45 AM, Luiz dos Santos  wrote:

> Hi Nabonita,
>
> What is error message exactly? Does your server in the same network
> than you? It is a very common approach to put servers in a network behind
> firewall and proxy.
>  if you using  unix like OS you can execute:
>  mvn clean package -Dmirage2.on=true >mvn.log and send us the mvn.log
> file.
>
> Good luck
> Luiz
>
>
> On Tue, Aug 11, 2015 at 9:04 PM, Nabonita Guha 
> wrote:
>
>> Hi,
>>
>> Can you please help me in resolving an error which is coming up while
>> downloading maven packages. There is no proxy in my network. I tried the
>> following commands for installing dspace 5.1:
>> mvn package -Dmirage2.on=true
>> mvn -U package
>> mvn package
>>
>> In all the
>> ​ above​
>> commands, downloading
>> ​stops​
>>  at different packages.
>> ​However, ​
>> the link of these .POM files are accessible over my web browser in
>> desktop. I'm wondering
>> ​when​
>>  I can access the links over the browser, why can I get the same through
>> mvn in my server terminal. Examples of these links are:
>> Downloading:
>> https://repo.maven.apache.org/maven2/org/apache/cocoon/cocoon-sitemap-api/1.0.0/cocoon-sitemap-api-1.0.0.pom
>> (
>> ​download stops at the above link in​
>> mvn -U package & mvn package
>> ​ commands​
>> )
>>
>> Downloading:
>> http://rubygems-proxy.torquebox.org/releases/rubygems/ffi/1.8.1/ffi-1.8.1.pom
>> (
>> ​
>> ​download stops at the above link
>> in​
>>  mvn package -Dmirage2.on=true
>> ​ command​
>> )
>>
>> Is there any alternative
>> ​ way​
>> to install these POM files?
>>
>> With kind regards
>>
>> Nabonita
>>
>>
>>
>>
>> --
>>
>> ___
>> 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 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] Fwd: Maven error

2015-08-11 Thread Luiz dos Santos
Hi Nabonita,

What is error message exactly? Does your server in the same network
than you? It is a very common approach to put servers in a network behind
firewall and proxy.
 if you using  unix like OS you can execute:
 mvn clean package -Dmirage2.on=true >mvn.log and send us the mvn.log
file.

Good luck
Luiz


On Tue, Aug 11, 2015 at 9:04 PM, Nabonita Guha 
wrote:

> Hi,
>
> Can you please help me in resolving an error which is coming up while
> downloading maven packages. There is no proxy in my network. I tried the
> following commands for installing dspace 5.1:
> mvn package -Dmirage2.on=true
> mvn -U package
> mvn package
>
> In all the
> ​ above​
> commands, downloading
> ​stops​
>  at different packages.
> ​However, ​
> the link of these .POM files are accessible over my web browser in
> desktop. I'm wondering
> ​when​
>  I can access the links over the browser, why can I get the same through
> mvn in my server terminal. Examples of these links are:
> Downloading:
> https://repo.maven.apache.org/maven2/org/apache/cocoon/cocoon-sitemap-api/1.0.0/cocoon-sitemap-api-1.0.0.pom
> (
> ​download stops at the above link in​
> mvn -U package & mvn package
> ​ commands​
> )
>
> Downloading:
> http://rubygems-proxy.torquebox.org/releases/rubygems/ffi/1.8.1/ffi-1.8.1.pom
> (
> ​
> ​download stops at the above link
> in​
>  mvn package -Dmirage2.on=true
> ​ command​
> )
>
> Is there any alternative
> ​ way​
> to install these POM files?
>
> With kind regards
>
> Nabonita
>
>
>
>
> --
>
> ___
> 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 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] Fwd: Maven error

2015-08-11 Thread Nabonita Guha
Hi,

Can you please help me in resolving an error which is coming up while
downloading maven packages. There is no proxy in my network. I tried the
following commands for installing dspace 5.1:
mvn package -Dmirage2.on=true
mvn -U package
mvn package

In all the
​ above​
commands, downloading
​stops​
 at different packages.
​However, ​
the link of these .POM files are accessible over my web browser in desktop.
I'm wondering
​when​
 I can access the links over the browser, why can I get the same through
mvn in my server terminal. Examples of these links are:
Downloading:
https://repo.maven.apache.org/maven2/org/apache/cocoon/cocoon-sitemap-api/1.0.0/cocoon-sitemap-api-1.0.0.pom
(
​download stops at the above link in​
mvn -U package & mvn package
​ commands​
)

Downloading:
http://rubygems-proxy.torquebox.org/releases/rubygems/ffi/1.8.1/ffi-1.8.1.pom
(
​
​download stops at the above link
in​
 mvn package -Dmirage2.on=true
​ command​
)

Is there any alternative
​ way​
to install these POM files?

With kind regards

Nabonita
--
___
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] Fwd: Complex input forms

2015-08-11 Thread Germán Biozzoli
Dear people

Anybody knows if is there some way to enhace the management of the
input-forms.xml? I have a case where the repository has a complex
comm/colls structure with a lot of collections and several input sheets. I
wish to know if is there a way to divide the input-forms.xml and  import
litlle ones. Also could be good if I can apply some general rules for the
collections, for instance to say handle=10665/33* will use the form X.

The use of one only and monolithic input-forms.xml really seems to be very
uncomfortable when the repository grows. The same under the idea to
maintain the vocabularies inside...

Any idea will be appreciated



In dspace users list I've obtained the follwing answers:


* You can break down the input-forms.xml in several files, e.g.:
the form map and different forms define and include these and only keep
the stuff applying to various forms like value pairs list in the
input-forms itself.

*You could try XInclude.  I don't know whether it will work in this
context.

https://en.wikipedia.org/wiki/XInclude
http://www.w3.org/TR/xinclude/

--

It looks very promising to use xinclude. Somebody has any experience doing
something like this?
Regards & thanks
German
--
___
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] Fwd: How to search items by metadata using REST API?

2015-06-15 Thread Kim Shepherd
Hi all,

This reminds me of a related issue I was thinking about the other day - as
the REST API evolves and starts to see production use, we might want to
think about versioning it somehow, keeping support for previous
schemas/endpoint functionality, etc (within reason) so that we don't break
existing integrations and UIs with new releases, and to help with
documentation.
I don't know how easy this is to achieve in practice, and I already need to
brush up on my JAX-RS...perhaps it could be something like keeping note of
which REST versions are compatible with which DSpace kernel versions, so
that during the maven build, a particular REST module release tag can be
pulled down if it's still compatible with the dspace-api being built.

Thoughts?

Cheers

Kim

M: k...@shepherd.nz
T: @kimshepherd
P: +6421883635

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
https://keybase.io/kshepherd

On 16 June 2015 at 11:52, Terry Brady  wrote:

> Alan,
>
> The following PR has some code that will search metadata via the API:
> https://github.com/DSpace/DSpace/pull/954
>
> I am also on 4.3, so this code is compatible with DSpace4.3.
>
> Terry
>
> On Thu, Jun 11, 2015 at 5:58 AM, Alan Orth  wrote:
>
>> Ah, it seems the `/rest/items/find-by-metadata-field` endpoint doesn't
>> exist in DSpace 4.x. Neither does the `/rest/login` endpoint. The docs need
>> to make more of a point to say which versions these are supposed to work
>> in... ;)
>>
>> Alan
>>
>> On Thu, Jun 11, 2015 at 12:24 PM Alan Orth  wrote:
>>
>>> Thanks. It seems my query is well formed but it returns an "HTTP 405
>>> Method Not Allowed" response. Perhaps DSpace 4.x's REST API isn't
>>> sufficient for the find-by-metadata-field query. Or perhaps I need to log
>>> in as you illustrated here:
>>>
>>> https://github.com/BrunoNZ/dspace-rest-requests
>>>
>>> I guess I'll fork that repo and give this a more structured test. I
>>> already found some syntax and usability bugs there (mixing sh and bash, not
>>> reading the sourced variables, etc).
>>>
>>> Alan
>>>
>>> On Wed, Jun 10, 2015 at 8:30 PM, Bruno Zanette 
>>> wrote:
>>>
 Hey Alan,
 Take a look at the commentaries on the REST-API's documentation's page.
 I've answered a similar question there.

 https://wiki.duraspace.org/display/DSDOC5x/REST+API?focusedCommentId=68068154#comment-68068154

 But basically, the request that you have to send is something like this:
 curl -k -4 -H "accept: application/json" -H "Content-Type:
 application/json" -X POST "
 https://demo.dspace.org/rest/items/find-by-metadata-field"; -d '{"key":
 "dc.title","value": "Test Webpage","language": "en_US"}'

 Em qua, 10 de jun de 2015 às 14:08, Alan Orth 
 escreveu:

> Hey,
>
> I'm using DSpace 4.3 and trying to search for items matching certain
> metadata. The REST API docs on GitHub[0] mention that you can POST to
> `rest/items/find-by-metadata-field`, but it doesn't give any more
> information than that (like how to specify query parameters).
>
> I've tried several variations of the following:
>
> $ http --print Hhb POST '
> http://localhost:8080/rest/items/find-by-metadata-field'
> dc.subject="LACTATION"
>
> It always returns with an HTTP 405. What is the proper way to use
> this? Does the POST require I login first or something?
>
> Thanks,
>
> [0] https://github.com/DSpace/DSpace/tree/master/dspace-rest
>
> --
> Alan Orth
> alan.o...@gmail.com
> https://alaninkenya.org
> https://mjanja.ch
> "In heaven all the interesting people are missing." -Friedrich
> Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
> --
> ___
> 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


>>>
>>>
>>> --
>>> Alan Orth
>>> alan.o...@gmail.com
>>> https://alaninkenya.org
>>> https://mjanja.ch
>>> "In heaven all the interesting people are missing." -Friedrich Nietzsche
>>> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>>>
>>
>>
>> --
>>
>> ___
>> 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
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498 (Seattle, WA)
>
>
> ---

Re: [Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-28 Thread Tim Donohue
I'll admit, I'm not as familiar with this area of the code, but after 
doing a quick scan here, I can see what you mean.

As Christian mentions, we may need to consider moving the xoai 
dependency down a level to dspace-api. That seems to be essentially what 
was done for the RDFConsumer (which has a similar issue, in that the 
EventConsumer is for the "dspace-rdf" webapp). In the case of the 
RDFConsumer, all the relevant RDF API code (org.dspace.rdf.*) was moved 
from "dspace-rdf" to "dspace-api":

RDF API: 
https://github.com/DSpace/DSpace/tree/master/dspace-api/src/main/java/org/dspace/rdf
RDFConsumer: 
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/rdf/RDFConsumer.java

I suspect this whole issue may be why we never had an EventConsumer for 
OAI to begin with.

In the longer term, there should be a better way to manage all these 
dependencies in a more dynamic fashion (so we won't need to stuff all 
these APIs/dependencies into dspace-api). But, for the short term, and 
to fix this specific issue, it sounds like the "best" option may be to 
move the xoai dependency to dspace-api for now.

If others have thoughts on this, please chime in. I definitely realize 
this is not ideal. But, our DSpace dependency model is not currently set 
up well to manage this sort of situation. In the future, I think there 
may be some refactoring we could do to alleviate these issues (e.g. 
considering moving more of this EventConsumer stuff into being 
dynamically loaded via Spring or similar).

So, to sum up. I'd still love to see a PR. We need to fix this issue 
soon, rather than waiting around for a larger refactoring, so PRs are 
more than welcome.

- Tim

On 5/28/2015 9:01 AM, Christian Scheible wrote:
> Hi Ondřej, hi Tim,
>
> It would be great to see this as a pull request. I had a solution for
> that problem (the OAIIndexEventConsumer was part of dspace-api) but to
> make it good enough for a pull request it would be needed to move the
> xoai dependency from dspace-oai to dspace-api and additionally add at
> least the caching part, org.dspace.xoai.app.XOAI and
> org.dspace.xoai.util.ItemUtils to dspace-api.
> Or as Ondřej suggested add a dependency to dspace-oai to xmlui, jspui,
> rest and wherever the event has to be triggered.
>
> Best Regards,
> Christian
>
> Am 28.05.2015 um 14:08 schrieb Ondřej Košarko:
>> Hey Tim,
>>
>> No reason for not submitting a pull request and I for sure can move
>> the code around a bit. However, I don't see a way around adding
>> dspace-oai classes as a dependency. At the end of the day the consumer
>> just calls org.dspace.xoai.app.XOAI.index.
>>
>> xmlui webapp does not have dspace-oai jar/classes in it's WEB-INF dir,
>> the same is probably true for jspui webapp.
>>
>> Perhaps there is another approach?
>>
>> Regards,
>> OK
>>
>> 2015-05-27 16:23 GMT+02:00 Tim Donohue > >:
>>
>> Hi Ondřej,
>>
>> I wonder if you'd be willing to submit a Pull Request of these
>> changes (the new OAIIndexEventConsumer, etc)?  These seem like
>> potentially useful changes overall, and would be something we'd
>> consider adding to DSpace.
>>
>> My only (small) recommendation would be to simply put the
>> OAIIndexEventConsumer into the "dspace-api", so that it can be
>> easily enabled/disabled from the
>> "event.dispatcher.default.consumers" setting. Plus, if it's in the
>> dspace-api, that ensures it'd also be triggered by any updates
>> from other interface (XMLUI, JSPUI, REST, etc)
>>
>> - Tim
>>
>> On 5/27/2015 5:08 AM, Ondřej Košarko wrote:
>>
>>
>> -- Forwarded message --
>> From: *Ondrej Kosarko* >  > >>
>> Date: 2015-05-27 12:05 GMT+02:00
>> Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not
>> persistent?
>> To: Christian Scheible > 
>> > >>
>> Cc: "dspace-tech@lists.sourceforge.net
>> 
>> > >"
>> > 
>> > >>
>>
>>
>> Hi Christian,
>>
>> I'm not sure I remember all the setup, but here goes...
>>
>> in dspace.cfg there is
>>
>>event.dispatcher.default.consumers = versioning, discovery,
>> eperson,
>> harvester, eudatreplication, *xoai*
>>
>>
>> and
>>
>> # consumer to maintain the oai index
>> event.consumer.xoai.class =
>> cz.cuni.mff.ufal.event.OAIIndexEventConsumer
>>  

Re: [Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-28 Thread Christian Scheible

Hi Ondřej, hi Tim,

It would be great to see this as a pull request. I had a solution for 
that problem (the OAIIndexEventConsumer was part of dspace-api) but to 
make it good enough for a pull request it would be needed to move the 
xoai dependency from dspace-oai to dspace-api and additionally add at 
least the caching part, org.dspace.xoai.app.XOAI and 
org.dspace.xoai.util.ItemUtils to dspace-api.
Or as Ondřej suggested add a dependency to dspace-oai to xmlui, jspui, 
rest and wherever the event has to be triggered.


Best Regards,
Christian

Am 28.05.2015 um 14:08 schrieb Ondřej Košarko:

Hey Tim,

No reason for not submitting a pull request and I for sure can move 
the code around a bit. However, I don't see a way around adding 
dspace-oai classes as a dependency. At the end of the day the consumer 
just calls org.dspace.xoai.app.XOAI.index.


xmlui webapp does not have dspace-oai jar/classes in it's WEB-INF dir, 
the same is probably true for jspui webapp.


Perhaps there is another approach?

Regards,
OK

2015-05-27 16:23 GMT+02:00 Tim Donohue >:


Hi Ondřej,

I wonder if you'd be willing to submit a Pull Request of these
changes (the new OAIIndexEventConsumer, etc)?  These seem like
potentially useful changes overall, and would be something we'd
consider adding to DSpace.

My only (small) recommendation would be to simply put the
OAIIndexEventConsumer into the "dspace-api", so that it can be
easily enabled/disabled from the
"event.dispatcher.default.consumers" setting. Plus, if it's in the
dspace-api, that ensures it'd also be triggered by any updates
from other interface (XMLUI, JSPUI, REST, etc)

- Tim

On 5/27/2015 5:08 AM, Ondřej Košarko wrote:


-- Forwarded message --
From: *Ondrej Kosarko* mailto:ko...@centrum.cz> >>
Date: 2015-05-27 12:05 GMT+02:00
Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not
persistent?
To: Christian Scheible mailto:christian.schei...@uni-konstanz.de>
>>
Cc: "dspace-tech@lists.sourceforge.net

>"
mailto:dspace-tech@lists.sourceforge.net>
>>


Hi Christian,

I'm not sure I remember all the setup, but here goes...

in dspace.cfg there is

   event.dispatcher.default.consumers = versioning, discovery,
eperson,
harvester, eudatreplication, *xoai*


and

# consumer to maintain the oai index
event.consumer.xoai.class =
cz.cuni.mff.ufal.event.OAIIndexEventConsumer
event.consumer.xoai.filters =

Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove


and you need to make sure the class is found by the event
dispatcher, we
solve it by adding dspace-oai(where the consumer lives) as a
dependency
to dspace-xmlui

diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml
index 17d75c0..f19257f 100644
--- a/dspace-xmlui/pom.xml
+++ b/dspace-xmlui/pom.xml
@@ -93,6 +93,22 @@
  
  
+ 
+
+  org.dspace
+  dspace-oai
+classes
+

I think that's about it...

Regards,
OK


2015-05-27 9:05 GMT+02:00 Christian Scheible
mailto:christian.schei...@uni-konstanz.de>
>>:

Hi Ondřej,

I have seen that you are using your own
OAIIndexEventConsumer. We
did the same but I added It in the module additions (which
leads to
code duplication).
How do you register your Consumer? Is it the same way as
for other
consumers? Because I couldn't solve that problem.

Best Regards,
Christian


Am 27.05.2015 um 08:41 schrieb Ondřej Košarko:

In short no...

As I've suggested in the thread the indexAll should
include also
the withdrawn, that's what we do

https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193
We use our Event consumer to trigger the update (it
currently
doesn't handle caching and changes in discoverable flag)

https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/mai

Re: [Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-28 Thread Ondřej Košarko
Hey Tim,

No reason for not submitting a pull request and I for sure can move the
code around a bit. However, I don't see a way around adding dspace-oai
classes as a dependency. At the end of the day the consumer just calls
org.dspace.xoai.app.XOAI.index.

xmlui webapp does not have dspace-oai jar/classes in it's WEB-INF dir, the
same is probably true for jspui webapp.

Perhaps there is another approach?

Regards,
OK

2015-05-27 16:23 GMT+02:00 Tim Donohue :

> Hi Ondřej,
>
> I wonder if you'd be willing to submit a Pull Request of these changes
> (the new OAIIndexEventConsumer, etc)?  These seem like potentially useful
> changes overall, and would be something we'd consider adding to DSpace.
>
> My only (small) recommendation would be to simply put the
> OAIIndexEventConsumer into the "dspace-api", so that it can be easily
> enabled/disabled from the "event.dispatcher.default.consumers" setting.
> Plus, if it's in the dspace-api, that ensures it'd also be triggered by any
> updates from other interface (XMLUI, JSPUI, REST, etc)
>
> - Tim
>
> On 5/27/2015 5:08 AM, Ondřej Košarko wrote:
>
>>
>> -- Forwarded message --
>> From: *Ondrej Kosarko* mailto:ko...@centrum.cz>>
>> Date: 2015-05-27 12:05 GMT+02:00
>> Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
>> To: Christian Scheible > >
>> Cc: "dspace-tech@lists.sourceforge.net
>> "
>> > >
>>
>>
>> Hi Christian,
>>
>> I'm not sure I remember all the setup, but here goes...
>>
>> in dspace.cfg there is
>>
>>event.dispatcher.default.consumers = versioning, discovery, eperson,
>> harvester, eudatreplication, *xoai*
>>
>>
>> and
>>
>> # consumer to maintain the oai index
>> event.consumer.xoai.class = cz.cuni.mff.ufal.event.OAIIndexEventConsumer
>> event.consumer.xoai.filters =
>>
>> Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove
>>
>>
>> and you need to make sure the class is found by the event dispatcher, we
>> solve it by adding dspace-oai(where the consumer lives) as a dependency
>> to dspace-xmlui
>>
>> diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml
>> index 17d75c0..f19257f 100644
>> --- a/dspace-xmlui/pom.xml
>> +++ b/dspace-xmlui/pom.xml
>> @@ -93,6 +93,22 @@
>>   
>>   
>> + 
>> +
>> +   org.dspace
>> +   dspace-oai
>> +classes
>> +
>>
>> I think that's about it...
>>
>> Regards,
>> OK
>>
>>
>> 2015-05-27 9:05 GMT+02:00 Christian Scheible
>> > >:
>>
>> Hi Ondřej,
>>
>> I have seen that you are using your own OAIIndexEventConsumer. We
>> did the same but I added It in the module additions (which leads to
>> code duplication).
>> How do you register your Consumer? Is it the same way as for other
>> consumers? Because I couldn't solve that problem.
>>
>> Best Regards,
>> Christian
>>
>>
>> Am 27.05.2015 um 08:41 schrieb Ondřej Košarko:
>>
>>> In short no...
>>>
>>> As I've suggested in the thread the indexAll should include also
>>> the withdrawn, that's what we do
>>>
>>> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193
>>> We use our Event consumer to trigger the update (it currently
>>> doesn't handle caching and changes in discoverable flag)
>>>
>>> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java
>>> And by the way dspace changed the deletion mode to transient in
>>> https://jira.duraspace.org/browse/DS-2491 so maybe the right way
>>> for dspace is updating the documentation...
>>>
>>>
>>> OK
>>>
>>>
>>>
>>> 2015-05-26 23:19 GMT+02:00 Jozef Misutka >> >:
>>>
>>> Ondrej, is this happening to us as well?
>>>
>>> jm
>>>
>>>
>>> 
>>> *From: *"Tim Donohue" >> >
>>> *To: *dspace-tech@lists.sourceforge.net
>>> 
>>> *Sent: *Tuesday, 26 May, 2015 23:09:20
>>>
>>> *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not
>>>
>>> persistent?
>>>
>>> Hi All,
>>>
>>> I'm only just now "re-discovering" this thread, as I've found
>>> this same
>>> behavior in DSpace OAI-PMH servers. Here's how to see this
>>> behavior (and
>>> I've double checked it on http://demo.dspace.org, running 5.2):
>>>
>>> 1. Create an Item
>>> 2. Run the OAI-PMH import (./dspace oai import).
>>> 3. The item now appears in OAI-PMH
>>> 4. Withdraw that Item
>>> 5. Re-Run the OAI-PMH import (./dspace oai import)
>>> 6. The 

Re: [Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-27 Thread Tim Donohue
Hi Ondřej,

I wonder if you'd be willing to submit a Pull Request of these changes 
(the new OAIIndexEventConsumer, etc)?  These seem like potentially 
useful changes overall, and would be something we'd consider adding to 
DSpace.

My only (small) recommendation would be to simply put the 
OAIIndexEventConsumer into the "dspace-api", so that it can be easily 
enabled/disabled from the "event.dispatcher.default.consumers" setting. 
Plus, if it's in the dspace-api, that ensures it'd also be triggered by 
any updates from other interface (XMLUI, JSPUI, REST, etc)

- Tim

On 5/27/2015 5:08 AM, Ondřej Košarko wrote:
>
> -- Forwarded message --
> From: *Ondrej Kosarko* mailto:ko...@centrum.cz>>
> Date: 2015-05-27 12:05 GMT+02:00
> Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
> To: Christian Scheible  >
> Cc: "dspace-tech@lists.sourceforge.net
> "
>  >
>
>
> Hi Christian,
>
> I'm not sure I remember all the setup, but here goes...
>
> in dspace.cfg there is
>
>event.dispatcher.default.consumers = versioning, discovery, eperson,
> harvester, eudatreplication, *xoai*
>
> and
>
> # consumer to maintain the oai index
> event.consumer.xoai.class = cz.cuni.mff.ufal.event.OAIIndexEventConsumer
> event.consumer.xoai.filters =
> Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove
>
>
> and you need to make sure the class is found by the event dispatcher, we
> solve it by adding dspace-oai(where the consumer lives) as a dependency
> to dspace-xmlui
>
> diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml
> index 17d75c0..f19257f 100644
> --- a/dspace-xmlui/pom.xml
> +++ b/dspace-xmlui/pom.xml
> @@ -93,6 +93,22 @@
>   
>   
> + 
> +
> +   org.dspace
> +   dspace-oai
> +classes
> +
>
> I think that's about it...
>
> Regards,
> OK
>
>
> 2015-05-27 9:05 GMT+02:00 Christian Scheible
>  >:
>
> Hi Ondřej,
>
> I have seen that you are using your own OAIIndexEventConsumer. We
> did the same but I added It in the module additions (which leads to
> code duplication).
> How do you register your Consumer? Is it the same way as for other
> consumers? Because I couldn't solve that problem.
>
> Best Regards,
> Christian
>
>
> Am 27.05.2015 um 08:41 schrieb Ondřej Košarko:
>> In short no...
>>
>> As I've suggested in the thread the indexAll should include also
>> the withdrawn, that's what we do
>> 
>> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193
>> We use our Event consumer to trigger the update (it currently
>> doesn't handle caching and changes in discoverable flag)
>> 
>> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java
>> And by the way dspace changed the deletion mode to transient in
>> https://jira.duraspace.org/browse/DS-2491 so maybe the right way
>> for dspace is updating the documentation...
>>
>>
>> OK
>>
>>
>>
>> 2015-05-26 23:19 GMT+02:00 Jozef Misutka > >:
>>
>> Ondrej, is this happening to us as well?
>>
>> jm
>>
>> 
>> 
>> *From: *"Tim Donohue" > >
>> *To: *dspace-tech@lists.sourceforge.net
>> 
>> *Sent: *Tuesday, 26 May, 2015 23:09:20
>>
>> *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not
>> persistent?
>>
>> Hi All,
>>
>> I'm only just now "re-discovering" this thread, as I've found
>> this same
>> behavior in DSpace OAI-PMH servers. Here's how to see this
>> behavior (and
>> I've double checked it on http://demo.dspace.org, running 5.2):
>>
>> 1. Create an Item
>> 2. Run the OAI-PMH import (./dspace oai import).
>> 3. The item now appears in OAI-PMH
>> 4. Withdraw that Item
>> 5. Re-Run the OAI-PMH import (./dspace oai import)
>> 6. The Item still appears in OAI-PMH and is NEVER flagged as
>> withdrawn.
>>
>> So, you can still access all its metadata, etc. The ONLY way
>> to trigger
>> an update to the OAI-PMH record (of the withdrawn item) is to
>> re-import
>> EVERYTHING (./dspace oai import -c). However, as noted, since
>> withdrawn
>> items are not included in the XOAI "indexAll()" command, the
>> item will
>> now disappear from OAI-PMH entirely.
>>
>> Here's that indexAll() command:
>> 
>> https://github.com/DSpace/DSpace/blob/

[Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-27 Thread Ondřej Košarko
-- Forwarded message --
From: Ondrej Kosarko 
Date: 2015-05-27 12:05 GMT+02:00
Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
To: Christian Scheible 
Cc: "dspace-tech@lists.sourceforge.net" 


Hi Christian,

I'm not sure I remember all the setup, but here goes...

in dspace.cfg there is

  event.dispatcher.default.consumers = versioning, discovery, eperson,
harvester, eudatreplication, *xoai*

and

# consumer to maintain the oai index
event.consumer.xoai.class = cz.cuni.mff.ufal.event.OAIIndexEventConsumer
event.consumer.xoai.filters =
Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove

and you need to make sure the class is found by the event dispatcher, we
solve it by adding dspace-oai(where the consumer lives) as a dependency to
dspace-xmlui

diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml
index 17d75c0..f19257f 100644
--- a/dspace-xmlui/pom.xml
+++ b/dspace-xmlui/pom.xml
@@ -93,6 +93,22 @@
 

 
+ 
+
+   org.dspace
+   dspace-oai
+classes
+

I think that's about it...

Regards,
OK


2015-05-27 9:05 GMT+02:00 Christian Scheible <
christian.schei...@uni-konstanz.de>:

>  Hi Ondřej,
>
> I have seen that you are using your own OAIIndexEventConsumer. We did the
> same but I added It in the module additions (which leads to code
> duplication).
> How do you register your Consumer? Is it the same way as for other
> consumers? Because I couldn't solve that problem.
>
> Best Regards,
> Christian
>
>
> Am 27.05.2015 um 08:41 schrieb Ondřej Košarko:
>
>  In short no...
>
>  As I've suggested in the thread the indexAll should include also the
> withdrawn, that's what we do
> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193
> We use our Event consumer to trigger the update (it currently doesn't
> handle caching and changes in discoverable flag)
> https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java
> And by the way dspace changed the deletion mode to transient in
> https://jira.duraspace.org/browse/DS-2491 so maybe the right way for
> dspace is updating the documentation...
>
>
>  OK
>
>
>
> 2015-05-26 23:19 GMT+02:00 Jozef Misutka :
>
>>  Ondrej, is this happening to us as well?
>>
>>  jm
>>
>>  --
>> *From: *"Tim Donohue" 
>> *To: *dspace-tech@lists.sourceforge.net
>> *Sent: *Tuesday, 26 May, 2015 23:09:20
>>
>> *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
>>
>> Hi All,
>>
>> I'm only just now "re-discovering" this thread, as I've found this same
>> behavior in DSpace OAI-PMH servers. Here's how to see this behavior (and
>> I've double checked it on http://demo.dspace.org, running 5.2):
>>
>> 1. Create an Item
>> 2. Run the OAI-PMH import (./dspace oai import).
>> 3. The item now appears in OAI-PMH
>> 4. Withdraw that Item
>> 5. Re-Run the OAI-PMH import (./dspace oai import)
>> 6. The Item still appears in OAI-PMH and is NEVER flagged as withdrawn.
>>
>> So, you can still access all its metadata, etc. The ONLY way to trigger
>> an update to the OAI-PMH record (of the withdrawn item) is to re-import
>> EVERYTHING (./dspace oai import -c). However, as noted, since withdrawn
>> items are not included in the XOAI "indexAll()" command, the item will
>> now disappear from OAI-PMH entirely.
>>
>> Here's that indexAll() command:
>>
>> https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L191
>>
>> This behavior seems to be counter to what is documented at:
>>
>> https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0%28Internals%29-Deletions
>>
>> The documentation specifically states that "DSpace keeps a permanent
>> record of withdrawn items". It also states that a request for a
>> withdrawn item "will yield the 'record deleted' header".
>>
>> This sounds like a bug to me. The documentation definitely does not
>> match with the behavior.
>>
>> I've created a new bug ticket for this. It will need a volunteer to
>> resolve.
>>
>> https://jira.duraspace.org/browse/DS-2593
>>
>> - Tim
>>
>> On 3/6/2015 5:21 AM, helix84 wrote:
>> > Yes, that makes sense. Still, it needs a brief verification because
>> > sometimes our understanding of a concept and its implementation may
>> > differ.
>> >
>> >
>> > On Fri, Mar 6, 2015 at 10:12 AM, Kristian Roberto Salcedo
>> >  wrote:
>> >> Hi Ivan,
>> >>
>> >> I might have overlooked something, but from your comments on
>> https://jira.duraspace.org/browse/DS-2491 wouldnt it be meaningful
>> >> to do both your declaration change and Ondřej's suggestion in order to
>> match both what is declared and what the documentation says about OAI and
>> deleted items?
>> >>
>> >> regards,
>> >> Kristian
>> >>
>> >>> -Original Message-
>> >>> From: ivan.ma...@gmail.com [mailto:ivan.ma...@gm

[Dspace-tech] [Fwd: DSpace community and collectionnumber of publications summary]

2015-05-14 Thread allybitebo
Hello,

I am a new bee in this Dspace software i managed to configure Dspace 5.1
on windows and now i am in the position to customize it but my question is
how to add new publication type like conference or masters or phd thesis
in the input form type field. Please any help or proper directions to
achieve this functionality.

Regards
Ally



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] Fwd: dspace 5.1 Mirage2 ImageMagick errors

2015-04-21 Thread Terry Brady
What happens if you run the following?  You can supply a non-existent
handle as input.  This might help with troubleshooting the configuration
file.

.../bin/dspace filter-media -v -i 000/000
The following MediaFilters are enabled:
Full Filter Name: org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter
org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter
Full Filter Name: org.dspace.app.mediafilter.HTMLFilter
org.dspace.app.mediafilter.HTMLFilter
Full Filter Name: org.dspace.app.mediafilter.WordFilter
org.dspace.app.mediafilter.WordFilter
Full Filter Name: org.dspace.app.mediafilter.PDFFilter
org.dspace.app.mediafilter.PDFFilter
Full Filter Name: org.dspace.app.mediafilter.PowerPointFilter
org.dspace.app.mediafilter.PowerPointFilter
Full Filter Name: org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter
org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter


*Here are my configuration entries -- in case this helps.*

#Names of the enabled MediaFilter or FormatFilter plugins
filter.plugins = PDF Text Extractor, HTML Text Extractor, \
 PowerPoint Text Extractor, \
 ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \
 Word Text Extractor

# Word Text Extractor, JPEG Thumbnail

# [To enable Branded Preview]: uncomment and insert the following into the
plugin list
#Branded Preview JPEG, \

# [To enable ImageMagick Thumbnail]:
#remove "JPEG Thumbnail" from the plugin list
#uncomment and insert the following line into the plugin list
#ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail, \

#Assign 'human-understandable' names to each filter
plugin.named.org.dspace.app.mediafilter.FormatFilter = \
  org.dspace.app.mediafilter.PDFFilter = PDF Text Extractor, \
  org.dspace.app.mediafilter.HTMLFilter = HTML Text Extractor, \
  org.dspace.app.mediafilter.WordFilter = Word Text Extractor, \
  org.dspace.app.mediafilter.PowerPointFilter = PowerPoint Text Extractor, \
  org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail, \
  org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview
JPEG, \
  org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick
Image Thumbnail, \
  org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick
PDF Thumbnail

#Configure each filter's input format(s)
filter.org.dspace.app.mediafilter.PDFFilter.inputFormats = Adobe PDF
filter.org.dspace.app.mediafilter.HTMLFilter.inputFormats = HTML, Text
filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word
filter.org.dspace.app.mediafilter.PowerPointFilter.inputFormats = Microsoft
Powerpoint, Microsoft Powerpoint XML
filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word,
Microsoft Word XML
filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats
= BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats
= Adobe PDF
filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF, JPEG,
image/png
filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats =
BMP, GIF, JPEG, image/png



On Tue, Apr 21, 2015 at 12:01 AM, Zuikis Kosminis <
kosminiai.zuik...@gmail.com> wrote:

> Sorry, missed the list.
>
> -- Forwarded message --
> From: Zuikis Kosminis 
> Date: Tue, Apr 21, 2015 at 9:59 AM
> Subject: Re: [Dspace-tech] dspace 5.1 Mirage2 ImageMagick errors
> To: Terry Brady 
>
>
> Hi Terry,
>
> nope, that didn't help. I even moved to separate line:
> filter.plugins = PDF Text Extractor, HTML Text Extractor, \
>  PowerPoint Text Extractor, \
>  ImageMagick Image Thumbnail, \
>  ImageMagick PDF Thumbnail
>
> I still get the same error:
> [dspace@ bin]$ ./dspace filter-media -i 007/11797  -v
> ERROR: Unknown MediaFilter specified (either from command-line or in
> dspace.cfg): 'ImageMagick Image Thumbnail'
>
> Is there any way to enable debugging or something similar for this plugin?
> Maybe you can paste your related config just to check? As Shannon mentioned
> earlier, maybe I'm missing something obvious.
>
> Thanks
> K.Z.
>
> On Mon, Apr 20, 2015 at 11:45 PM, Terry Brady 
> wrote:
>
>> I compared your settings with my settings and they appear correct to me.
>>
>> In your e-mail, I cannot tell if the filter.plugins definitions for 
>> ImageMagick
>> Image Thumbnail & ImageMagick PDF Thumbnail are on one line or 2 lines.  I
>> have found that the config file parser can be fussy when the line
>> continuation characters are not put in place exactly.  Make sure that when
>> the continuation character "\" is present, make sure it is the last
>> character of each line.
>>
>> On Mon, Apr 20, 2015 at 6:32 AM, Zuikis Kosminis <
>> kosminiai.zuik...@gmail.com> wrote:
>>
>>> Hello everyone.
>>>
>>> I need some help or directions with ImageMagick a

[Dspace-tech] Fwd: dspace 5.1 Mirage2 ImageMagick errors

2015-04-21 Thread Zuikis Kosminis
Sorry, missed the list.

-- Forwarded message --
From: Zuikis Kosminis 
Date: Tue, Apr 21, 2015 at 9:59 AM
Subject: Re: [Dspace-tech] dspace 5.1 Mirage2 ImageMagick errors
To: Terry Brady 


Hi Terry,

nope, that didn't help. I even moved to separate line:
filter.plugins = PDF Text Extractor, HTML Text Extractor, \
 PowerPoint Text Extractor, \
 ImageMagick Image Thumbnail, \
 ImageMagick PDF Thumbnail

I still get the same error:
[dspace@ bin]$ ./dspace filter-media -i 007/11797  -v
ERROR: Unknown MediaFilter specified (either from command-line or in
dspace.cfg): 'ImageMagick Image Thumbnail'

Is there any way to enable debugging or something similar for this plugin?
Maybe you can paste your related config just to check? As Shannon mentioned
earlier, maybe I'm missing something obvious.

Thanks
K.Z.

On Mon, Apr 20, 2015 at 11:45 PM, Terry Brady 
wrote:

> I compared your settings with my settings and they appear correct to me.
>
> In your e-mail, I cannot tell if the filter.plugins definitions for 
> ImageMagick
> Image Thumbnail & ImageMagick PDF Thumbnail are on one line or 2 lines.  I
> have found that the config file parser can be fussy when the line
> continuation characters are not put in place exactly.  Make sure that when
> the continuation character "\" is present, make sure it is the last
> character of each line.
>
> On Mon, Apr 20, 2015 at 6:32 AM, Zuikis Kosminis <
> kosminiai.zuik...@gmail.com> wrote:
>
>> Hello everyone.
>>
>> I need some help or directions with ImageMagick and mediafilters. We are
>> running Dspace 5.1 (Mirage 2) on linux. I'm trying to create PDF thumbnails
>> with ImageMagick media filter.
>>
>> dspace.cfg:
>>
>> filter.plugins = PDF Text Extractor, HTML Text Extractor, \
>>  PowerPoint Text Extractor, \
>>  JPEG Thumbnail, \
>>  ImageMagick Image Thumbnail,
>>ImageMagick PDF Thumbnail, \
>>  Branded Preview JPEG
>>
>> plugin.named.org.dspace.app.mediafilter.FormatFilter = \
>>   org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter =
>> ImageMagick Image Thumbnail, \
>>   org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick
>> PDF Thumbnail
>>
>>
>> filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats
>> = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
>> filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats
>> = Adobe PDF
>>
>> Additional settings:
>>
>> thumbnail.maxwidth  = 160
>> thumbnail.maxheight = 160
>>
>> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter =
>> /usr/bin/
>> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex =
>> ^Generated Thumbnail$
>> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription
>> = IM Thumbnail
>>
>> ImageMagick and Ghostscrip is accessible:
>>
>> [dspace@~]$ which convert
>> /usr/bin/convert
>> [dspace@~]$ which ghostscript
>> /usr/bin/ghostscript
>>
>>
>>
>> When I'm trying to run it manually:
>>
>> ./dspace filter-media -i 007/11797  -v
>>
>> I get the following error in dspace log:
>>
>> 2015-04-20 15:59:57,457 WARN  org.dspace.core.PluginManager @ Cannot find
>> named plugin for interface=org.dspace.app.mediafilter.FormatFilter,
>> name="ImageMagick Image Thumbnail"
>>
>> And another error in command line:
>>
>> ERROR: Unknown MediaFilter specified (either from command-line or in
>> dspace.cfg): 'ImageMagick Image Thumbnail'
>>
>> Any help or advice appreciated.
>>
>> Thanks.
>>
>>
>>
>> --
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>> exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>> event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>> ___
>> 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
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498 (Seattle, WA)
>
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=

[Dspace-tech] Fwd: Ant fresh_install error

2015-04-16 Thread shivang mehta
Hi

I am getting error build failed while ant fresh_install

error is

org.postgresql.util.PSQLException: Protocol error.  Session setup failed.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\admin>cd c:/

c:\>dspace
'dspace' is not recognized as an internal or external command,
operable program or batch file.

c:\>cd dspace

c:\dspace>cd c:/

c:\>cd dspace-5.1-src-release

c:\dspace-5.1-src-release>cd dspace

c:\dspace-5.1-src-release\dspace>cd target

c:\dspace-5.1-src-release\dspace\target>cd dspace-installer

c:\dspace-5.1-src-release\dspace\target\dspace-installer>ant fresh_install
Buildfile: c:\dspace-5.1-src-release\dspace\target\dspace-installer\build.xml

init_installation:

init_configs:

test_database:
 [java] 2015-04-16 14:01:05,299 INFO  org.dspace.core.ConfigurationManager @
 Loading system provided config property (-Ddspace.configuration): config/dspace
.cfg
 [java] 2015-04-16 14:01:05,299 INFO  org.dspace.core.ConfigurationManager @
 Using default log4j provided log configuration.  If unintended, check your dspa
ce.cfg for (log.init.config)
 [java] 2015-04-16 14:01:05,361 WARN  org.dspace.storage.rdbms.DataSourceIni
t @ Exception initializing DB poolCaught exception:
 [java] org.postgresql.util.PSQLException: Protocol error.  Session setup fa
iled.
 [java] at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication
(ConnectionFactoryImpl.java:409)
 [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionIm
pl(ConnectionFactoryImpl.java:108)
 [java] at org.postgresql.core.ConnectionFactory.openConnection(Connecti
onFactory.java:66)
 [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJ
dbc2Connection.java:125)
 [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJ
dbc3Connection.java:30)
 [java] at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(Abstrac
tJdbc3gConnection.java:22)
 [java] at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJ
dbc4Connection.java:32)
 [java] at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.j
ava:24)
 [java] at org.postgresql.Driver.makeConnection(Driver.java:393)
 [java] at org.postgresql.Driver.connect(Driver.java:267)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:664)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:247)
 [java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.create
Connection(DriverManagerConnectionFactory.java:75)
 [java] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(
PoolableConnectionFactory.java:582)
 [java] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(G
enericObjectPool.java:974)
 [java] at org.apache.commons.dbcp.PoolingDataSource.getConnection(Pooli
ngDataSource.java:106)
 [java] at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSou
rceInit.java:140)
 [java] at org.dspace.storage.rdbms.DatabaseManager.initDataSource(Datab
aseManager.java:1440)
 [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.jav
a:83)
 [java]
 [java] java.sql.SQLException: org.postgresql.util.PSQLException: Protocol e
rror.  Session setup failed.
 [java] at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSou
rceInit.java:171)
 [java] at org.dspace.storage.rdbms.DatabaseManager.initDataSource(Datab
aseManager.java:1440)
 [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.jav
a:83)
 [java] Caused by: org.postgresql.util.PSQLException: Protocol error.  Sessi
on setup failed.
 [java] at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication
(ConnectionFactoryImpl.java:409)
 [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionIm
pl(ConnectionFactoryImpl.java:108)
 [java] at org.postgresql.core.ConnectionFactory.openConnection(Connecti
onFactory.java:66)
 [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJ
dbc2Connection.java:125)
 [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJ
dbc3Connection.java:30)
 [java] at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(Abstrac
tJdbc3gConnection.java:22)
 [java] at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJ
dbc4Connection.java:32)
 [java] at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.j
ava:24)
 [java] at org.postgresql.Driver.makeConnection(Driver.java:393)
 [java] at org.postgresql.Driver.connect(Driver.java:267)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:664)
 [java] at java.sql.DriverManager.getConnection(DriverManager.java:247)
 [java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.create
Connection(DriverManagerConnectionFactory.java:75)
 [java] at 

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine

2015-02-27 Thread Tim Donohue

Hi,

I finally got a chance to look at the database SQL backup that you 
forwarded along. I've noticed that it does *not* seem to be a complete 
backup (which may be why you are having upgrade issues).


Here's what is missing from a "normal" DSpace database schema:

1) Your backup has *no* database indexes ("CREATE INDEX" statements)
2) Your backup has *no* database constraints or primary keys ("ALTER 
TABLE..ADD CONSTRAINT" statements
3) Your backup also has no Community/Collection/Item data (those tables 
are completely empty) -- but maybe you excluded it on purpose?


In any case, I can reproduce the errors you are seeing using your 
database backup. Here's what I've found out, and how to fix your issues 
in upgrading to DSpace 5.


-

ERROR #1:  "ERROR:  there is no unique constraint matching given keys 
for referenced table "item" STATEMENT:  CREATE TABLE versionitem..."


CAUSE: This is being caused because you backup has *no* database 
constraints or primary keys specified (#2 above). So, this error is 
thrown because your Item table has no "primary key" specified, and 
DSpace is therefore unable to associate the primary key with the new 
"versionitem" table.


HOW TO FIX: I've attached a custom "add-constraints-and-indexes.sql" 
file which contains *ALL* the constraints & indexes which are missing 
from your DSpace 1.8 database backup. You will need to run this SQL on 
your local database to recreate these constraints & indexes, PRIOR to 
upgrading the database.



---

ERROR #2 : "Error attempting to update Bitstream Format and/or Metadata 
Registries org.postgresql.util.PSQLException: ERROR: null value in 
column "bitstream_format_id" violates not-null constraint"


CAUSE: This seems to be caused by an outdated 
"bitstreamformatregistry_seq" sequence. But, that's easy to fix.


HOW TO FIX: Simply run the [dspace]/etc/postgres/update-sequences.sql 
script on your database. This will update all your database sequences to 
the correct values. Again you should run this PRIOR to upgrading the 
database.


--

FINALLY, after fixing both of those errors, you should simply re-run:

'dspace database migrate'

This time, the migration *should* succeed. However, as mentioned above 
your Community/Collection/Item tables may end up empty, unless you find 
a way to recover that data from your backup.


Good luck,

Tim
--
-- Name: bitstream_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY bitstream
ADD CONSTRAINT bitstream_pkey PRIMARY KEY (bitstream_id);


--
-- Name: bitstreamformatregistry_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY bitstreamformatregistry
ADD CONSTRAINT bitstreamformatregistry_pkey PRIMARY KEY 
(bitstream_format_id);


--
-- Name: bitstreamformatregistry_short_description_key; Type: CONSTRAINT; 
Schema: public; Owner: dspace; Tablespace: 
--

ALTER TABLE ONLY bitstreamformatregistry
ADD CONSTRAINT bitstreamformatregistry_short_description_key UNIQUE 
(short_description);


--
-- Name: bundle2bitstream_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY bundle2bitstream
ADD CONSTRAINT bundle2bitstream_pkey PRIMARY KEY (id);


--
-- Name: bundle_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY bundle
ADD CONSTRAINT bundle_pkey PRIMARY KEY (bundle_id);


--
-- Name: checksum_history_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY checksum_history
ADD CONSTRAINT checksum_history_pkey PRIMARY KEY (check_id);


--
-- Name: checksum_results_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY checksum_results
ADD CONSTRAINT checksum_results_pkey PRIMARY KEY (result_code);


--
-- Name: collection2item_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY collection2item
ADD CONSTRAINT collection2item_pkey PRIMARY KEY (id);


--
-- Name: collection_item_count_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY collection_item_count
ADD CONSTRAINT collection_item_count_pkey PRIMARY KEY (collection_id);


--
-- Name: collection_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY collection
ADD CONSTRAINT collection_pkey PRIMARY KEY (collection_id);


--
-- Name: communities2item_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY communities2item
ADD CONSTRAINT communities2item_pkey PRIMARY KEY (id);


--
-- Name: community2collection_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY community2collection
ADD CONSTRAINT community2collection_pkey PRIMARY KEY (id);


--
-- Name: community2community_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY community2community
ADD CONSTRAIN

[Dspace-tech] Fwd: How change default order by and number results in discovery

2015-02-21 Thread royopa
Hello!

answering my own question, the default ORDER is setted in class
[dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java
on line 59:

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L59

So, change the variable defaultOrder to SortOption.DESCENDING instead of
SortOption.ASCENDING.

I found a minor bug in constructor method for class BrowseIndex.java and I
created a issue and PR to resolve this bug.

Jira bug
https://jira.duraspace.org/browse/DS-2465

Pull Request
https://github.com/DSpace/DSpace/pull/869

If you can test and comment, I would appreciate it.

Regards

Rodrigo

-- Forwarded message --
From: royopa 
Date: Fri, Feb 20, 2015 at 10:25 PM
Subject: How change default order by and number results in discovery
To: dspace-tech 


Hi

In the page below I need change the default order to "Descending" instead
of "Ascending" and the number of results to 35 instead of 20 results.

[image: Inline image 1]

Where would I can make this configuration?

thanks

-- 




-- 
Rodrigo Prado de Jesus
http://about.me/royopa
roy...@gmail.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine

2015-02-21 Thread इन्‍दु भूषण Indu Bhushan
 Dear Team

After various effort i am unable to upgrade DSPACE in system so i am
planning to install same version of dspace. My database back file is shared
with google if someone get any idea to help me.

[dspace@sircdl root]$ /opt/dspace/bin/dspace database test
Attempting to connect to database using these configurations:
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: dspace
 - Password: [hidden]
 - Schema:
Testing connection...
Connected successfully!

On Wed, Feb 18, 2015 at 8:27 PM, Tim Donohue  wrote:

> Hi,
>
> In these DSpace logs, I'm seeing this same error over and over again:
>
> "2015-02-17 21:41:26,956 ERROR org.dspace.storage.rdbms.DatabaseManager @
> SQL getDataSource Error -
> org.postgresql.util.PSQLException: FATAL: database "dspace" does not
> exist"
>
> This error states that your database named "dspace" doesn't even exist,
> which is odd.
>
> In any case, regarding this other error:
>
> "Error attempting to update Bitstream Format and/or Metadata Registries
> org.postgresql.util.PSQLException: ERROR: null value in column
> "bitstream_format_id" violates not-null constraint"
>
> This error implies that in your "bitstreamformatregistry" table, at least
> one row has a value of "null" in the "bitstream_format_id" column. "null"
> is not a valid "bitstream_format_id" value, so DSpace doesn't know how to
> continue. You may want to inspect the values in your
> "bitstream_format_registry" table to see if there are any null values in
> there:
>
> SELECT * FROM bitstreamformatregistry;
>
> Finally, another question. By any chance do you have multiple DSpace
> databases in the same PostgreSQL database (perhaps under different
> schemas?).  The behavior in your logs seems very odd. At one moment, DSpace
> cannot locate the database (FATAL: database "dspace" does not exist"), and
> then later it seems like it can locate the database, but then the
> "bitstreamformatregistry" table has null values. I'm just trying to
> determine why this would be?
>
> - Tim
>
>
> On 2/18/2015 1:08 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>> Apache Maven 3.0.5 , Java version: 1.8.0_31, Apache Ant(TM) version
>>
>> 1.8.2 ,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
>>
>> Dear Sir
>>
>> Again I restored dspace.sql after dropdb. but as per status of info
>> command it schema is not updating to to dspace 5.  and also some error
>> are shown in tomcat running screen when accessed dspace url.
>> [dspace@sircdl root]$ ERROR:  null value in column "bitstream_format_id"
>> violates not-null constraint
>> STATEMENT:  INSERT INTO bitstreamformatregistry (
>> short_description,internal,description,bitstream_format_
>> id,mimetype,support_level)
>> VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null
>> ERROR:  there is no unique constraint matching given keys for referenced
>> table "item"
>> STATEMENT:  CREATE TABLE versionitem
>>  (
>>versionitem_id INTEGER NOT NULL PRIMARY KEY,
>>item_id INTEGER REFERENCES Item(item_id),
>>version_number INTEGER,
>>eperson_id INTEGER REFERENCES EPerson(eperson_id),
>>version_date TIMESTAMP,
>>version_summary VARCHAR(255),
>>versionhistory_id INTEGER REFERENCES
>> VersionHistory(versionhistory_id)
>>  )
>> LOG:  unexpected EOF on client connection
>> LOG:  unexpected EOF on client connection
>> LOG:  unexpected EOF on client connection
>> LOG:  unexpected EOF on client connection
>> LOG:  unexpected EOF on client connection
>>
>> For more details all logs from dspace and tomcat are attached herewith.
>>
>> Pls reply soon
>>
>> With regards
>>
>> Indu Bhushan
>>
>> On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue > > wrote:
>>
>>
>> Could you also check to see what errors are reported in your DSpace
>> log files?  Those files should be located at:
>>
>> [dspace.dir]/log/dspace.log.[__date]
>>
>>
>> Where "dspace.dir" is configured in your dspace.cfg file.
>>
>> Based on what you've reported, it definitely looks like the database
>> migration process has gotten "confused". If it was halted
>> unexpectedly due to a harddrive crash, it's possible that part of a
>> migration was not completely successfully.  But, the underlying
>> errors (in the logs) should give us more information.
>>
>> Another question: Do you have a backup of your database from before
>> you ran *any* migrations?  According to your "dspace database info"
>> command, it looks like the "my-dspace-backup.sql" file already
>> included several migrations that were run on "2015-02-06 00:23:17"
>> (specifically a 1.7 and 1.8 migration).  Do you have a backup from
>> prior to Feb 6, 2015 which had no migrations run on it yet?  It
>> might be worth trying the migration again from an older backup (if
>> it is available).
>>
>> - Tim
>>
>>
>> On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>>
>>
>

[Dspace-tech] Fwd: Customize XMLUI page listing "Browse by Author"

2015-02-19 Thread royopa
Hi all,



I need customize the XMLUI page listing "Browse by Author" (see image
below), maybe include other metadata in parenthesis.





Is it possible? How I can do this? I saw that this is not in xmlui theme,
so I think that be in java Class.



Regards!
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine

2015-02-18 Thread Tim Donohue
Hi,

In these DSpace logs, I'm seeing this same error over and over again:

"2015-02-17 21:41:26,956 ERROR org.dspace.storage.rdbms.DatabaseManager 
@ SQL getDataSource Error -
org.postgresql.util.PSQLException: FATAL: database "dspace" does not exist"

This error states that your database named "dspace" doesn't even exist, 
which is odd.

In any case, regarding this other error:

"Error attempting to update Bitstream Format and/or Metadata Registries
org.postgresql.util.PSQLException: ERROR: null value in column 
"bitstream_format_id" violates not-null constraint"

This error implies that in your "bitstreamformatregistry" table, at 
least one row has a value of "null" in the "bitstream_format_id" column. 
"null" is not a valid "bitstream_format_id" value, so DSpace doesn't 
know how to continue. You may want to inspect the values in your 
"bitstream_format_registry" table to see if there are any null values in 
there:

SELECT * FROM bitstreamformatregistry;

Finally, another question. By any chance do you have multiple DSpace 
databases in the same PostgreSQL database (perhaps under different 
schemas?).  The behavior in your logs seems very odd. At one moment, 
DSpace cannot locate the database (FATAL: database "dspace" does not 
exist"), and then later it seems like it can locate the database, but 
then the "bitstreamformatregistry" table has null values. I'm just 
trying to determine why this would be?

- Tim


On 2/18/2015 1:08 AM, इन्‍दु भूषण Indu Bhushan wrote:
> Apache Maven 3.0.5 , Java version: 1.8.0_31, Apache Ant(TM) version
> 1.8.2 ,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
>
> Dear Sir
>
> Again I restored dspace.sql after dropdb. but as per status of info
> command it schema is not updating to to dspace 5.  and also some error
> are shown in tomcat running screen when accessed dspace url.
> [dspace@sircdl root]$ ERROR:  null value in column "bitstream_format_id"
> violates not-null constraint
> STATEMENT:  INSERT INTO bitstreamformatregistry (
> short_description,internal,description,bitstream_format_id,mimetype,support_level)
> VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null
> ERROR:  there is no unique constraint matching given keys for referenced
> table "item"
> STATEMENT:  CREATE TABLE versionitem
>  (
>versionitem_id INTEGER NOT NULL PRIMARY KEY,
>item_id INTEGER REFERENCES Item(item_id),
>version_number INTEGER,
>eperson_id INTEGER REFERENCES EPerson(eperson_id),
>version_date TIMESTAMP,
>version_summary VARCHAR(255),
>versionhistory_id INTEGER REFERENCES
> VersionHistory(versionhistory_id)
>  )
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
> LOG:  unexpected EOF on client connection
>
> For more details all logs from dspace and tomcat are attached herewith.
>
> Pls reply soon
>
> With regards
>
> Indu Bhushan
>
> On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue  > wrote:
>
>
> Could you also check to see what errors are reported in your DSpace
> log files?  Those files should be located at:
>
> [dspace.dir]/log/dspace.log.[__date]
>
> Where "dspace.dir" is configured in your dspace.cfg file.
>
> Based on what you've reported, it definitely looks like the database
> migration process has gotten "confused". If it was halted
> unexpectedly due to a harddrive crash, it's possible that part of a
> migration was not completely successfully.  But, the underlying
> errors (in the logs) should give us more information.
>
> Another question: Do you have a backup of your database from before
> you ran *any* migrations?  According to your "dspace database info"
> command, it looks like the "my-dspace-backup.sql" file already
> included several migrations that were run on "2015-02-06 00:23:17"
> (specifically a 1.7 and 1.8 migration).  Do you have a backup from
> prior to Feb 6, 2015 which had no migrations run on it yet?  It
> might be worth trying the migration again from an older backup (if
> it is available).
>
> - Tim
>
>
> On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>
>
> Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM)
> version
> 1.8.2*,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
> Dear Sir
> After sucessfully installing dspace when i restored backup.
> dspace url
> showing "HTTP Status 404 - /jspui" I am unable to update database
> schema.  I restored backup as a postgres user(psql dspace <
> my-dspace-backup.sql) and updated database schema as dspace user)
> Errors are attached below. Thanks in advance.
> Please reply.
> * [postgres*@sircdl root]$ psql -U dspace -f
>
> 
> /opt/dspace-5.0-src-release/__dspace/etc/postgres/update-__seque

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new setup(due to harddisk crash)

2015-02-18 Thread Tim Donohue
Hi,

The log files you sent show a large number of database errors (at the 
beginning of the log) which look like this:

org.postgresql.util.PSQLException: Connection refused. Check that the 
hostname and port are correct and that the postmaster is accepting 
TCP/IP connections.

This seems to imply that your DSpace instance cannot connect with the 
database at all, which could cause all sorts of problems.

Do either of these commands return errors (either in the results or in 
the log)?

This tests the database connection:
[dspace]/bin/dspace database test

This provides info on the database contents:
[dspace]/bin/dspace database info

As for your questions, when restoring a database, you will need to 
recreate the database and possibly the 'dspace' database user (if it 
doesn't exist yet). Those are both needed prior to restoring the database.

- Tim

On 2/17/2015 10:58 PM, इन्‍दु भूषण Indu Bhushan wrote:
> Dear Sir,
> Thank for reply I was on leave yesterday.
> I have the backup file from 1.8.2 version. I will retry to restore
> database from that file.
> --
> One more doubt if i have retoring database in new version & full fresh
> intallation or in new machine the following two prcocess in needed or not.
> Create a dspace database a postgres user,
>   $/opt/postgres/9.0/bin/createuser -U postgres -d -A -P dspace [Enter a
> password for the DSpace database]
>   $/opt/postgres/9.0/bin/createdb -U dspace -E UNICODE dspace
> -
> THEN
> restore must be with as postgres user login
> $ psql -d dspace -f  dspace.sql  THEN
> to reset the primary key generation sequences (as dspace user)
> $psql -U dspace -f/dspace/etc/update-sequences.sql
> Then database schema migration as a dspace user.
> 
>
> Please clear my doubt and process of restoring data and schema migration.
>
> Dspace log file is attached for your reference.
>
> Regrads
>
> Indu bhushan
>
>
> On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue  > wrote:
>
>
> Could you also check to see what errors are reported in your DSpace
> log files?  Those files should be located at:
>
> [dspace.dir]/log/dspace.log.[__date]
>
> Where "dspace.dir" is configured in your dspace.cfg file.
>
> Based on what you've reported, it definitely looks like the database
> migration process has gotten "confused". If it was halted
> unexpectedly due to a harddrive crash, it's possible that part of a
> migration was not completely successfully.  But, the underlying
> errors (in the logs) should give us more information.
>
> Another question: Do you have a backup of your database from before
> you ran *any* migrations?  According to your "dspace database info"
> command, it looks like the "my-dspace-backup.sql" file already
> included several migrations that were run on "2015-02-06 00:23:17"
> (specifically a 1.7 and 1.8 migration).  Do you have a backup from
> prior to Feb 6, 2015 which had no migrations run on it yet?  It
> might be worth trying the migration again from an older backup (if
> it is available).
>
> - Tim
>
>
> On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>
>
> Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM)
> version
> 1.8.2*,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
> Dear Sir
> After sucessfully installing dspace when i restored backup.
> dspace url
> showing "HTTP Status 404 - /jspui" I am unable to update database
> schema.  I restored backup as a postgres user(psql dspace <
> my-dspace-backup.sql) and updated database schema as dspace user)
> Errors are attached below. Thanks in advance.
> Please reply.
> * [postgres*@sircdl root]$ psql -U dspace -f
>
> 
> /opt/dspace-5.0-src-release/__dspace/etc/postgres/update-__sequences.sql(as
> postgres user)
> 
> psql:/opt/dspace-5.0-src-__release/dspace/etc/postgres/__update-sequences.sql:87:
> ERROR:  relation "webapp" does not exist
> LINE 1: SELECT setval('webapp_seq', max(webapp_id)) FROM webapp;
>^
> 
> psql:/opt/dspace-5.0-src-__release/dspace/etc/postgres/__update-sequences.sql:88:
> ERROR:  relation "requestitem" does not exist
> LINE 1: ...tval('requestitem_seq', max(requestitem_id)) FROM
> requestite...
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate
>
> Database URL: jdbc:postgresql://localhost:__5432/dspace
> Migrating database to latest version... (Check logs for details)
> Done.
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database info
>
> Database URL: jdbc:postgresql://loc

Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new setup(due to harddisk crash)

2015-02-17 Thread Tim Donohue

Could you also check to see what errors are reported in your DSpace log 
files?  Those files should be located at:

[dspace.dir]/log/dspace.log.[date]

Where "dspace.dir" is configured in your dspace.cfg file.

Based on what you've reported, it definitely looks like the database 
migration process has gotten "confused". If it was halted unexpectedly 
due to a harddrive crash, it's possible that part of a migration was not 
completely successfully.  But, the underlying errors (in the logs) 
should give us more information.

Another question: Do you have a backup of your database from before you 
ran *any* migrations?  According to your "dspace database info" command, 
it looks like the "my-dspace-backup.sql" file already included several 
migrations that were run on "2015-02-06 00:23:17" (specifically a 1.7 
and 1.8 migration).  Do you have a backup from prior to Feb 6, 2015 
which had no migrations run on it yet?  It might be worth trying the 
migration again from an older backup (if it is available).

- Tim


On 2/16/2015 5:58 AM, इन्‍दु भूषण Indu Bhushan wrote:
>
>
> Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM) version
> 1.8.2*,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5
> Dear Sir
> After sucessfully installing dspace when i restored backup. dspace url
> showing "HTTP Status 404 - /jspui" I am unable to update database
> schema.  I restored backup as a postgres user(psql dspace <
> my-dspace-backup.sql) and updated database schema as dspace user)
> Errors are attached below. Thanks in advance.
> Please reply.
> * [postgres*@sircdl root]$ psql -U dspace -f
> /opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql(as
> postgres user)
> psql:/opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql:87:
> ERROR:  relation "webapp" does not exist
> LINE 1: SELECT setval('webapp_seq', max(webapp_id)) FROM webapp;
>   ^
> psql:/opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql:88:
> ERROR:  relation "requestitem" does not exist
> LINE 1: ...tval('requestitem_seq', max(requestitem_id)) FROM requestite...
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate
>
> Database URL: jdbc:postgresql://localhost:5432/dspace
> Migrating database to latest version... (Check logs for details)
> Done.
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database info
>
> Database URL: jdbc:postgresql://localhost:5432/dspace
> Database Schema: public
> Database Software: PostgreSQL version 9.0.3
> Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4
> (build 901)
>
> +++-+-+
> | Version| Description| Installed on|
> State   |
> +++-+-+
> | 1.1| Initial DSpace 1.1 databas | |
> PreInit |
> | 1.2| Upgrade to DSpace 1.2 sche | |
> PreInit |
> | 1.3| Upgrade to DSpace 1.3 sche | |
> PreInit |
> | 1.3.9  | Drop constraint for DSpace | |
> PreInit |
> | 1.4| Upgrade to DSpace 1.4 sche | |
> PreInit |
> | 1.5| Upgrade to DSpace 1.5 sche | |
> PreInit |
> | 1.5.9  | Drop constraint for DSpace | |
> PreInit |
> | 1.6| Upgrade to DSpace 1.6 sche | |
> PreInit |
> | 1.7| Initializing from DSpace 1 | 2015-02-06 00:23:17 |
> Success |
> | 1.8| Upgrade to DSpace 1.8 sche | 2015-02-06 00:23:17 |
> Success |
> | 3.0| Upgrade to DSpace 3.x sche | |
> Pending |
> | 4.0| Upgrade to DSpace 4.x sche | |
> Pending |
> | 5.0.2014.08.08 | DS-1945 Helpdesk Request a | |
> Pending |
> | 5.0.2014.09.25 | DS 1582 Metadata For All O | |
> Pending |
> | 5.0.2014.09.26 | DS-1582 Metadata For All O | |
> Pending |
> +++-+-+
>
> +++-+-+
>
> [dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate
>
> Database URL: jdbc:postgresql://localhost:5432/dspace
> Migrating database to latest version... (Check logs for details)
> ERROR:  null value in column "bitstream_format_id" violates not-null
> constraint
> STATEMENT:  INSERT INTO bitstreamformatregistry (
> short_description,internal,description,bitstream_format_id,mimetype,support_level)
> VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null
> ERROR:  there is no unique constraint matching given keys for referenced
> table "item"
> STATEMENT:  CREATE TABLE versionitem
>  (
>versionitem_id INTEGER NOT NULL PRIMARY KEY,
>item_id INTEGER REFERENCES Item(ite

[Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new setup(due to harddisk crash)

2015-02-16 Thread इन्‍दु भूषण Indu Bhushan
Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM) version
1.8.2* ,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5

Dear Sir

After sucessfully installing dspace when i restored backup. dspace url
showing "HTTP Status 404 - /jspui" I am unable to update database schema.
I restored backup as a postgres user(psql dspace < my-dspace-backup.sql)
and updated database schema as dspace user)

Errors are attached below. Thanks in advance.
Please reply.

* [postgres*@sircdl root]$ psql -U dspace -f
/opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql(as
postgres user)
psql:/opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql:87:
ERROR:  relation "webapp" does not exist
LINE 1: SELECT setval('webapp_seq', max(webapp_id)) FROM webapp;
 ^
psql:/opt/dspace-5.0-src-release/dspace/etc/postgres/update-sequences.sql:88:
ERROR:  relation "requestitem" does not exist
LINE 1: ...tval('requestitem_seq', max(requestitem_id)) FROM requestite...


[dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate

Database URL: jdbc:postgresql://localhost:5432/dspace
Migrating database to latest version... (Check logs for details)
Done.
[dspace@sircdl ~]$ /opt/dspace/bin/dspace database info

Database URL: jdbc:postgresql://localhost:5432/dspace
Database Schema: public
Database Software: PostgreSQL version 9.0.3
Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4
(build 901)

+++-+-+
| Version| Description| Installed on|
State   |
+++-+-+
| 1.1| Initial DSpace 1.1 databas | |
PreInit |
| 1.2| Upgrade to DSpace 1.2 sche | |
PreInit |
| 1.3| Upgrade to DSpace 1.3 sche | |
PreInit |
| 1.3.9  | Drop constraint for DSpace | |
PreInit |
| 1.4| Upgrade to DSpace 1.4 sche | |
PreInit |
| 1.5| Upgrade to DSpace 1.5 sche | |
PreInit |
| 1.5.9  | Drop constraint for DSpace | |
PreInit |
| 1.6| Upgrade to DSpace 1.6 sche | |
PreInit |
| 1.7| Initializing from DSpace 1 | 2015-02-06 00:23:17 |
Success |
| 1.8| Upgrade to DSpace 1.8 sche | 2015-02-06 00:23:17 |
Success |
| 3.0| Upgrade to DSpace 3.x sche | |
Pending |
| 4.0| Upgrade to DSpace 4.x sche | |
Pending |
| 5.0.2014.08.08 | DS-1945 Helpdesk Request a | |
Pending |
| 5.0.2014.09.25 | DS 1582 Metadata For All O | |
Pending |
| 5.0.2014.09.26 | DS-1582 Metadata For All O | |
Pending |
+++-+-+

+++-+-+



[dspace@sircdl ~]$ /opt/dspace/bin/dspace database migrate

Database URL: jdbc:postgresql://localhost:5432/dspace
Migrating database to latest version... (Check logs for details)
ERROR:  null value in column "bitstream_format_id" violates not-null
constraint
STATEMENT:  INSERT INTO bitstreamformatregistry (
short_description,internal,description,bitstream_format_id,mimetype,support_level)
VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null
ERROR:  there is no unique constraint matching given keys for referenced
table "item"
STATEMENT:  CREATE TABLE versionitem
(
  versionitem_id INTEGER NOT NULL PRIMARY KEY,
  item_id INTEGER REFERENCES Item(item_id),
  version_number INTEGER,
  eperson_id INTEGER REFERENCES EPerson(eperson_id),
  version_date TIMESTAMP,
  version_summary VARCHAR(255),
  versionhistory_id INTEGER REFERENCES
VersionHistory(versionhistory_id)
)
Done.
LOG:  unexpected EOF on client connection
LOG:  unexpected EOF on client connection
[dspace@sircdl ~]$ LOG:  unexpected EOF on client connection
LOG:  unexpected EOF on client connection
LOG:  unexpected EOF on client connection
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Deploying SWORDv2 on DSpace 4.2

2015-01-23 Thread Stamatis Rapanakis
My question should be corrected. The problem is that when I try to access
the url http://localhost:8080/swordv2/servicedocument I get a HTTP Status
403 error (Access to the specified resource has been forbidden). A similar
question has been posted in the past with no answer:
http://sourceforge.net/p/dspace/mailman/message/29441873/

  Any help would be appreciated.


 Stamatis


-- Forwarded message --
From: Stamatis Rapanakis 
Date: Fri, Jan 23, 2015 at 3:03 PM
Subject: Deploying SWORDv2 on DSpace 4.2
To: dspace-tech@lists.sourceforge.net


  Hello. Following the instructions (
https://wiki.duraspace.org/display/DSDOC4x/SWORDv2+Server#SWORDv2Server-EnablingSWORDv2Server)
I have deployed Sword v2 in my Tomcat's 7 webapps folder (e.g.
/webapps/swordv2/). My \dspace\config\modules\swordv2-server.cfg and
dspace\config\crosswalks\sword-swap-ingest.xsl settings are the default.

  When I open the browser (http://localhost:8080/swordv2) I get a 404
error: HTTP Status 404 - /swordv2/

 What am I missing?


  Regards,

  Stamatis Rapanakis
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] Fwd: Null pointer exception while using configurable workflow, select Reviewer Step

2015-01-22 Thread Durga Prasad
helix84,
  I would like to report a slight progress in the workflow
configuration. I am adding the config/workflow.xml file below. I was able
to have a user selection and a final edit step. The only problem was that
the last step(final edit step) was to be repeated (by reviewer) once. And
also where  can I edit the clickable links shown in submission page of
reviewer.? I am pretty new to this I don't know if this is right.













singleUserReviewStep










*  finaleditstepselectReviewerStep*
   

   
   
   


I have made the texts bolder where I have changed the config file. The
DSpace is run on ubuntu 14.04.

DSpace version:  5.0-rc4-SNAPSHOT
  SCM revision:  7b196cf63112fb00b553751d7197e4
064f1a3953
SCM branch:  master
OS:  Linux(amd64) version 3.13.0-40-generic
  Applications:
OAI at http://192.168.240.83:8080/xmlui
RDF at http://192.168.240.83:8080/xmlui
XMLUI at http://192.168.240.83:8080/xmlui
JSPUI at http://192.168.240.83:8080/xmlui
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.7.0_65
   Ant version:  Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Maven version:  3.2.5
   DSpace home:  /home/dspace/DSpace/dspace-build

Is this the right way to do it. If there is a better method to do it please
let me know.



On Tue, Jan 13, 2015 at 6:35 PM, helix84  wrote:

> I looked only briefly, the immediate problem seems to be that either the
> eperson or (more likely) the workflow item is null:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace-api/src/main/java/org/dspace/xmlworkflow/WorkflowRequirementsManager.java#L126
>
> I don't know what it means in the bigger picture.
>
> Meanwhile you should try following the new version of the docs:
> https://wiki.duraspace.org/display/DSDOC5x/Configurable+Workflow
>
> There have been changes to that page, at least in the way the extra
> database tables are created is now different (DS-2243).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] Fwd: Null pointer exception while using configurable workflow, select Reviewer Step

2015-01-13 Thread helix84
I looked only briefly, the immediate problem seems to be that either the
eperson or (more likely) the workflow item is null:

https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace-api/src/main/java/org/dspace/xmlworkflow/WorkflowRequirementsManager.java#L126

I don't know what it means in the bigger picture.

Meanwhile you should try following the new version of the docs:
https://wiki.duraspace.org/display/DSDOC5x/Configurable+Workflow

There have been changes to that page, at least in the way the extra
database tables are created is now different (DS-2243).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] Fwd: *** GMX Spamverdacht *** Re: database layer spontaneously closing connections, crashes packager

2014-12-01 Thread Stuart Yeates
We're not seeing this issue, but if we were I'd be looking at increasing 
database timeouts and keepalives; reducing any possible database disk pauses 
and networking issues between the two.

cheers
stuart

--
I have a new phone number: 04 463 5692


From: Christian Völker 
Sent: Tuesday, 2 December 2014 2:23 a.m.
To: dspace-tech
Subject: [Dspace-tech] Fwd: *** GMX Spamverdacht *** Re: database layer 
spontaneously closing connections, crashes packager

Hello,

has this issue ever been solved?

I encounter it here with DSpace 1.8.3 and Postgres 9.1

Thanks, Christian


Am 31.01.2012 um 15:59 schrieb Tim Donohue :

> Rui,
>
> Sorry, I haven't gotten any further with this issue.
>
> Does anyone else on this list have any ideas here?  Anyone else
> encountering this issue on either 1.7.x or 1.8.x, or find a way to
> resolve it?
>
> - Tim
>
> On 1/31/2012 6:28 AM, Rui Ramos wrote:
>> Tim Hi,
>>
>> Have you manage to solve this issue ?
>> I have the same problem and from the logs it seams the Database resets
>> the connection.
>>
>> Dspace - 1.7.2
>> PostgreSQL- 8.4.9
>>
>> Any ideias ?
>>
>> On Fri, 2011-12-09 at 10:58 -0600, Tim Donohue wrote:
>>> Actually, looking at these error messages a bit more closely, this may
>>> be entirely unrelated. It could be an XMLUI specific issue, rather than
>>> a database layer issue that you are seeing.
>>>
>>> - Tim
>>>
>>> On 12/9/2011 10:54 AM, Tim Donohue wrote:
>>>> Hi Mark,
>>>>
>>>> Unfortunately, I don't have an answer for you. But, digging around I
>>>> noticed a similar oddity on demo.dspace.org. On demo.dspace.org we're
>>>> getting some similar sorts of SocketException errors (though"broken
>>>> pipe"  rather than"socket closed") in the dspace.log files, but these
>>>> are from the XMLUI.
>>>>
>>>> demo.dspace.org is currently running:
>>>> * DSpace 1.8.0
>>>> * PostgreSQL 8.4.2
>>>> * Tomcat 6.0.29
>>>> * Java 1.6.0_24
>>>>
>>>> The error on demo.dspace.org is a"ClientAbortException:
>>>> java.net.SocketException: Broken pipe"  (in XMLUI), which is caused by an
>>>> underlying"java.net.SocketException: Broken pipe". Not the same error,
>>>> but eerily similar. The XMLUI seems to handle it in stride, but it does
>>>> cause frequent lines like this to appear in the logs:
>>>>
>>>> 2011-12-09 10:51:48,663 ERROR
>>>> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error
>>>> Occurred Processing Request!
>>>>
>>>> In the PostgreSQL logs I see some occasional"unexpected EOF on client
>>>> connection"  errors, but the times don't seem to match up with the
>>>> SocketExceptions above.
>>>>
>>>> I'm also seeing these same logged issues on my local development box,
>>>> now that I look closer. Again, I cannot verify this is 100% related to
>>>> your same issue, but it does look a bit similar.
>>>>
>>>> An example of a full error stack trace from the dspace logs is attached.
>>>>
>>>> Sorry I don't have more help to add. Just wanted to send along what I've
>>>> noticed that seems a bit similar. So far, I haven't noticed this same
>>>> issue with the packager -- but, admittedly I'm using 1.8.0 (which did
>>>> include some changes/bug fixes to the packager, though I'm not sure that
>>>> any were related to this issue).
>>>>
>>>> - Tim
>>>>
>>>> On 12/9/2011 10:18 AM, Mark H. Wood wrote:
>>>>> I'm trying to script a daily incremental dump using the packager.
>>>>> Sometimes it completes, but most often it throws"PSQLException: An I/O
>>>>> error occurred while sending to the backend"  caused by
>>>>> "java.net.SocketException: Socket closed". About the same time
>>>>> PostgreSQL logs"unexpected EOF on client connection"  and tears down
>>>>> its session. I turned logging way up on both ends but saw nothing
>>>>> unusual on the DSpace side and only the unexpected EOF on the Pg side.
>>>>>
>>>>> Digging through the Pg log, I see lots of these unexpected EOFs.
>>>>> Apparently the webapp is getting this too but takes it in stride.
>>>>> Commandlin

[Dspace-tech] Fwd: *** GMX Spamverdacht *** Re: database layer spontaneously closing connections, crashes packager

2014-12-01 Thread Christian Völker
Hello,

has this issue ever been solved?

I encounter it here with DSpace 1.8.3 and Postgres 9.1

Thanks, Christian


Am 31.01.2012 um 15:59 schrieb Tim Donohue :

> Rui,
> 
> Sorry, I haven't gotten any further with this issue.
> 
> Does anyone else on this list have any ideas here?  Anyone else 
> encountering this issue on either 1.7.x or 1.8.x, or find a way to 
> resolve it?
> 
> - Tim
> 
> On 1/31/2012 6:28 AM, Rui Ramos wrote:
>> Tim Hi,
>> 
>> Have you manage to solve this issue ?
>> I have the same problem and from the logs it seams the Database resets
>> the connection.
>> 
>> Dspace - 1.7.2
>> PostgreSQL- 8.4.9
>> 
>> Any ideias ?
>> 
>> On Fri, 2011-12-09 at 10:58 -0600, Tim Donohue wrote:
>>> Actually, looking at these error messages a bit more closely, this may
>>> be entirely unrelated. It could be an XMLUI specific issue, rather than
>>> a database layer issue that you are seeing.
>>> 
>>> - Tim
>>> 
>>> On 12/9/2011 10:54 AM, Tim Donohue wrote:
 Hi Mark,
 
 Unfortunately, I don't have an answer for you. But, digging around I
 noticed a similar oddity on demo.dspace.org. On demo.dspace.org we're
 getting some similar sorts of SocketException errors (though"broken
 pipe"  rather than"socket closed") in the dspace.log files, but these
 are from the XMLUI.
 
 demo.dspace.org is currently running:
 * DSpace 1.8.0
 * PostgreSQL 8.4.2
 * Tomcat 6.0.29
 * Java 1.6.0_24
 
 The error on demo.dspace.org is a"ClientAbortException:
 java.net.SocketException: Broken pipe"  (in XMLUI), which is caused by an
 underlying"java.net.SocketException: Broken pipe". Not the same error,
 but eerily similar. The XMLUI seems to handle it in stride, but it does
 cause frequent lines like this to appear in the logs:
 
 2011-12-09 10:51:48,663 ERROR
 org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error
 Occurred Processing Request!
 
 In the PostgreSQL logs I see some occasional"unexpected EOF on client
 connection"  errors, but the times don't seem to match up with the
 SocketExceptions above.
 
 I'm also seeing these same logged issues on my local development box,
 now that I look closer. Again, I cannot verify this is 100% related to
 your same issue, but it does look a bit similar.
 
 An example of a full error stack trace from the dspace logs is attached.
 
 Sorry I don't have more help to add. Just wanted to send along what I've
 noticed that seems a bit similar. So far, I haven't noticed this same
 issue with the packager -- but, admittedly I'm using 1.8.0 (which did
 include some changes/bug fixes to the packager, though I'm not sure that
 any were related to this issue).
 
 - Tim
 
 On 12/9/2011 10:18 AM, Mark H. Wood wrote:
> I'm trying to script a daily incremental dump using the packager.
> Sometimes it completes, but most often it throws"PSQLException: An I/O
> error occurred while sending to the backend"  caused by
> "java.net.SocketException: Socket closed". About the same time
> PostgreSQL logs"unexpected EOF on client connection"  and tears down
> its session. I turned logging way up on both ends but saw nothing
> unusual on the DSpace side and only the unexpected EOF on the Pg side.
> 
> Digging through the Pg log, I see lots of these unexpected EOFs.
> Apparently the webapp is getting this too but takes it in stride.
> Commandline app.s seem to be less fortunate.
> 
> I captured a packet trace while running my script and can see that the
> client is chugging along, making requests and getting responses, then
> suddenly the client sends a TCP FIN, ACK packet and that's the end of
> that. No Pg shutdown message was sent, so far as I can tell, and
> that's why Pg says"unexpected EOF". After fairly rapid exchanges
> there's a pause of about 0.8 seconds between the previous packet
> (client ACKing the server's last response) and the FIN.
> 
> The Pg backend is v9.0.5. This DSpace instance is v1.7.2. OS is
> Gentoo Linux x86 with all current userspace updates and kernel
> 2.6.39. JRE is Oracle (Sun) 1.6.0_29-b11. Ideas for debugging this?
> 
> 
> 
> 
> --
> 
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and
> point of
> discussion for anyone considering optimizing the pricing and packaging
> model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> 
> 
> 
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net  
> 
> https://lists.sourceforge.net/lists

[Dspace-tech] Fwd: [LIS-Forum] DSpace Version Update with data Migration : Solution

2014-11-04 Thread vinod mishra
Dear All,

Please find here a compiled document which described the
Up-gradation/Installation process of DSpace along with the old data. Please
note that this document is compiled with special reference to data
migration and up-gradation of very old DSpace 1.2.1 to latest version 4.2.

Some tips and solutions of the common problem is given in the document.
Please note that solutions has been discovered from the various Internet
sources and mailing lists and fully tested. Please feel free to contact for
up-gradation if you have old version or if you want to implement the same.

https://drive.google.com/file/d/0B2Cmcc6xutSgeW1kS19oSWF1Rms/view?usp=sharing


Thanking You.

With regards,
Vinod Kumar Mishra,
Assistant Librarian,
Biju Patnaik Central Library,
NIT Rourkela,
Mob:91+9439420860
91+6612462103 (O)
email: vinod_librar...@rediffmail.com
 : mishrav...@gmail.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- next part --
An HTML attachment was scrubbed...
URL: <
http://ncsi.iisc.ernet.in/pipermail/lis-forum/attachments/20141104/2bd0d179/attachment.html
>
___
LIS-Forum mailing list
lis-fo...@ncsi.iisc.ernet.in
http://ncsi.iisc.ernet.in/mailman/listinfo/lis-forum



-- 
With Regards,
Vinod Kumar Mishra,
Assistant Librarian,
Biju Patnaik Central Library (BPCL),
NIT Rourkela.
Mob:91+9439420860
--
___
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] Fwd: Dspace not working on latest Debian machine tomcat7 Please help

2014-09-29 Thread Md. Ataur Rahman
Hi Hilton,

Thanks for your quick reply. Actually, I have configured it using the
following command-
#Adding user
adduser tomcat7 dspace
adduser dspace tomcat7

#Setting permission
chown dspace:dspace -R /usr/local/dspace
chmod 0775 -R /usr/local/dspace

#Creating administrator account
usr/local/dspace/bin/dspace create-administrator

#setting up webapps
cd /var/lib/tomcat7/webapps

ln -sv /usr/local/dspace/webapps/oai
ln -sv /usr/local/dspace/webapps/sword
ln -sv /usr/local/dspace/webapps/solr
rm -rvf /var/lib/tomcat7/webapps/ROOT
ln -sv /usr/local/dspace/webapps/xmlui ROOT

I have installed dspace many times by using this way. Never face any
problem in dspace version up to 4.1 but this time it doesn't work. I don't
think it is only directory issue.















On Mon, Sep 29, 2014 at 1:08 PM, Hilton Gibson 
wrote:

> Hi Atur
>
> That step expects that you followed all the instructions and installed
> DSpace into "/home/dspace" not "/usr/local/dspace".
> There are several reasons for "/home/dspace", the main one being;
> "/home/dspace" is mounted on a separate partition as per best sys adm
> practice for easy backup setup etc..
> See:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning
> And:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/DSpace_User
>
> So the webapps are in "/usr/local/dspace", whereas they are expected to be
> in "/home/dspace" for it to work.
> There are many ways to work around this, however I specifically choose
> "/home/dspace" as the default installation location, for reasons mentioned
> above, and so that a DSpace rebuild did not require the manual copying of
> webapps all the time.
>
> My advice is to follow the steps as presented, then it is certain to work.
>
> Others on the list may have a better suggestion.
>
> This problem is one of the reasons I proposed:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture and
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Software_Release_Cadence
>
> Cheers
>
> hg
>
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
> On 29 September 2014 08:44, Md. Ataur Rahman  wrote:
>
>> Hi
>>
>> I've installed dspace-4.2-src-release on my debian wheeze machine using
>> xmlui on tomcat7 and postgresql9. Everything happened fine. But when I
>> have tried to run the webapps through my browser it doesn't show anything.
>> I have configured the webapps by using this guide-
>>
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08
>>
>> The configuration of host and url is as follows--
>>
>> # DSpace installation directory
>> #dspace.dir = /dspace
>> dspace.dir = /usr/local/dspace
>>
>> # DSpace host name - should match base URL.  Do not include port number.
>> #dspace.hostname = localhost
>> dspace.hostname = localhost
>>
>> # DSpace base host URL.  Include port number etc.
>> #dspace.baseUrl = http://localhost:8080
>> dspace.baseUrl = http://localhost:8080
>>
>> # DSpace base URL.  Include port number etc., but NOT trailing slash
>> # Change to xmlui if you wish to use the xmlui as the default, or remove
>> # "/jspui" and set webapp of your choice as the "ROOT" webapp in
>> # the servlet engine.
>> #dspace.url = http://localhost:8080/xmlui
>> dspace.baseUrl = http://localhost:8080
>>
>>
>> Any idea will be highly appreciated
>>
>>
>> ataur
>>
>>
>> --
>> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: DSpace 3.2 error while navigating collection

2014-09-19 Thread Tim Donohue
This sounds like a bug to me.  Would you be willing to log a ticket in 
our issue tracker?

https://jira.duraspace.org/browse/DS/

I'm not sure of the underlying problem at this time (someone would need 
to dig in and investigate further), but it'd be useful to get this bug 
reported in our issue tracker so that we can locate a volunteer to help 
investigate it.

- Tim

On 9/19/2014 8:32 AM, rdiascam...@uol.com.br wrote:
> Hi.
> Despite the help kindly given by Hilton, I couldn't solve the problem yet.
>
> I now send a screen snapshot that may make my point easier to see.
> The problem occurs when the user tries to browse by title or subject
> while in the restricted collection (she can do that since the browse
> menu to the collection is there). If she does that she gets a "resource
> not found error". I think the collection menu should not be there but I
> don't know how to hide it.
> Thanks for your help.
> Ricardo
> 
>
> *De:* hilton.gib...@gmail.com
> *Enviada:* Quinta-feira, 18 de Setembro de 2014 21:59
> *Para:* rdiascam...@uol.com.br
> *Assunto:* [Dspace-tech] DSpace 3.2 error while navigating collection
>
> Perhaps this will help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Item_and_Collection_Permissions
> Cheers
> hg
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
> On 18 September 2014 20:38,  <../undefined/compose?to=rdiascam...@uol.com.br>> wrote:
>
> Hi.
> I have a collection with restricted access. It appears in the
> general list so unathorized users can still access the collection.
> When they do this they can read the collection is restricted.
> Even so, they have a collection navigation menu they can click and
> get a "Resource not found" error. Is there a way to hide this
> collection menu?
> I use DSpace 3.2 with Manakin/XMLUI
> Thanks for any help.
> Ricardo
>
> 
> --
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> <../undefined/compose?to=DSpace-tech@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> --
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: Open Access Repository Ranking

2014-09-11 Thread Tim Donohue
Forwarding on this announcement from the code4lib mailing list.

 Original Message 
Subject: [CODE4LIB] Open Access Repository Ranking
Date: Thu, 11 Sep 2014 17:40:12 +0200
From: Dennis Zielke 
Reply-To: Code for Libraries 
To: code4...@listserv.nd.edu

*** Apologies for cross-posting! ***

Dear Colleagues,

the Open Access Repository Ranking (OARR) was launched September 9, 2014
during the Open-Access-Tage conference.[1] It is the idea and goal of
OARR to show best practices and role models of the German repository
landscape so that other repository operators can learn from them and
improve their services step by step. OARR is a research project based at
the Information Management Department of Professor Peter Schirmbacher at
the Berlin School of Library and Information Science (BSLIS),
Humboldt-Universität zu Berlin (HU Berlin) and currently lists 152 open
access publication repositories from Germany according to an open
metric. Open metric means:

- all criteria and scores are transparent;
- the metric is developed together with the open access community to
improve OARR.[2]

Most of the criteria of the metric are derived from the “2014 Census of
Open Access Repositories in Germany, Austria and Switzerland.” We
encourage all repository managers, repository software developers and
repository funders to contribute their ideas to the draft of the 2015
OARR metric using the UserVoice tool (in the “Contribute tab).[3] The
ranking is planned to be published annually at the Open-Access-Tage
conference in September. The preceding January each open access
repository that meets the OARR definition will be contacted to submit
their data via an online form.[4]

For now OARR is a ranking limited to Germany. We are planning to make it
a global ranking as soon as possible. However, this depends very much on
the feedback of professionals from as many countries as possible to make
the OARR metric a reliable and truly bottom up global benchmark for open
access repositories. It is not clear yet whether the ranking should grow
country by country or right to global scale but we are open for your ideas.

We appreciate your questions, comments and feedback.

All the best from Berlin, Germany

Dennis on behalf of the OARR team

[1] http://repositoryranking.org
[2] http://repositoryranking.org/?page_id=660
[3] http://repositoryranking.org/?page_id=660
[4] http://repositoryranking.org/?page_id=1086
https://twitter.com/OARR_org

-- 
Dennis Zielke

Humboldt-Universität zu Berlin
Arbeitsgruppe Elektronisches Publizieren
am Computer- und Medienservice (CMS)
Rudower Chaussee 26
D - 12489 Berlin

Postadresse:
Unter den Linden 6
D-10099 Berlin

Tel. +49(0)30 2093-70004

Project LAUDATIO
http://www.laudatio-repository.org/


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Discovery + Restricted Content + IPAuthentication

2014-09-04 Thread Peter Dietz
Thanks for confirming my suspicion. Yeah, never a security/exposure issue.
Just unlogged in people wouldn't have seen all content that they should
have (if you had IPAuth and they matched a group).

I've filed a JIRA, and made the relevant patch. Testing welcome.
https://github.com/DSpace/DSpace/pull/632
https://jira.duraspace.org/browse/DS-2138

Basically, I just grab the context's special groups no matter what. (i.e.
not just if(currentUser != null){)


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809


On Thu, Sep 4, 2014 at 4:35 PM, Mark Diggory  wrote:

> Hey Peter,
>
> I believe you are correct, the following method needs to have special
> groups added into listing
>
>
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceResourceRestrictionPlugin.java#L61
>
> I will note this is an error does not introduce any security flaw because
> its only excluding results that the user IP should have been able to see.
> The correction is to get the special groups off the Context and add them to
> the query in the above method.
>
> Cheers,
> Mark
>
>
> On Thu, Sep 4, 2014 at 1:30 PM, Kim Shepherd 
> wrote:
>
>> Hi Peter, we use IPAUTH (in addition to Shibboleth special groups) so
>> that our on-campus users can access restricted resources without logging
>> in, too..
>> I haven't noticed this particular issue -- Discovery has appeared to be
>> working from what I've seen but I've mostly been testing access to the
>> items/bitstreams themselves, so I'll take a look at our logs, too.
>> From my quick testing so far it's looking like I can reproduce the issue
>> you're talking about -- as an Anonymous user with only IPAUTH granting me
>> an extra special group, I can access all the resources I need to, but
>> Discovery is ignoring my special group and hiding recent submissions /
>> search results from me.
>>
>> The assumption that (currentUser == null) always means "Anonymous only"
>> is definitely an assumption that's going to break special groups like
>> IPAUTH.. so I think you're onto something there. Which classes are you
>> looking at?
>>
>> Cheers
>>
>> Kim
>>
>> On 5 September 2014 07:04, Peter Dietz  wrote:
>>
>>> Hi All,
>>>
>>> I was wondering if anyone is using the IPAuthentication mechanism, where
>>> you can have anonymous users who happen to be on a certain IP address range
>>> (i.e. campus / regional campus), and should be able to view that restricted
>>> content without having to log in.
>>>
>>> However, I'm having some issues, as I don't think that Discovery is
>>> actually checking the current user (anonymous user that could have "special
>>> groups"). I've noticed some difference in behavior when I'm visiting the
>>> site as anonymous user (not logged in), and also while logged in as a user
>>> who has no credentials (member of anonymous group though).
>>> i.e. some of the authentication / context logic goes
>>> if(currentUser != null) {...
>>>
>>> I've checked that Discovery has indexed the content correctly, which
>>> appears to be correct. i.e. ?q=handle:123456789/3456
>>> And that item has read:"g7"
>>>
>>> My config/modules/authentication-ip.cfg has something like:
>>> (Production it is different values).
>>>
>>> ip.CAMPUS = 127.0.0.1
>>>
>>> And group CAMPUS, groupID: 7.
>>>
>>>
>>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPMatcher @ ipIn:
>>> 127.0.0.1
>>>
>>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPAuthentication @
>>> anonymous:session_id=23AB7F7C2C8DA06BE556148B855E1D01:authenticated:special_groups=7
>>>
>>> 2014-09-04 14:50:17,146 DEBUG org.dspace.app.xmlui.utils.ContextUtil @
>>> Adding Special Group id=7
>>>
>>>
>>> When Discovery makes the check, I appears to have discarded the special
>>> group, and the query (I've added some debug)
>>>
>>> 2014-09-04 14:50:17,282 DEBUG
>>> org.dspace.discovery.SolrServiceResourceRestrictionPlugin @ ResourceQuery:
>>> read:(g0)
>>>
>>> Where g0 is anonymous group. It should have been "g0 OR g7".
>>>
>>>
>>> So, if anyone has run across this issue, or would like to look into it,
>>> please let me know.
>>>
>>> 
>>> Peter Dietz
>>> Longsight
>>> www.longsight.com
>>> pe...@longsight.com
>>> p: 740-599-5005 x809
>>>
>>>
>>> --
>>> Slashdot TV.
>>> Video for Nerds.  Stuff that matters.
>>> http://tv.slashdot.org/
>>> ___
>>> 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
>>>
>>
>>
>>
>>
>> --
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> ___
>> DSpace-tech mailing list

Re: [Dspace-tech] Fwd: Discovery + Restricted Content + IPAuthentication

2014-09-04 Thread Mark Diggory
Hey Peter,

I believe you are correct, the following method needs to have special
groups added into listing

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceResourceRestrictionPlugin.java#L61

I will note this is an error does not introduce any security flaw because
its only excluding results that the user IP should have been able to see.
The correction is to get the special groups off the Context and add them to
the query in the above method.

Cheers,
Mark


On Thu, Sep 4, 2014 at 1:30 PM, Kim Shepherd  wrote:

> Hi Peter, we use IPAUTH (in addition to Shibboleth special groups) so that
> our on-campus users can access restricted resources without logging in,
> too..
> I haven't noticed this particular issue -- Discovery has appeared to be
> working from what I've seen but I've mostly been testing access to the
> items/bitstreams themselves, so I'll take a look at our logs, too.
> From my quick testing so far it's looking like I can reproduce the issue
> you're talking about -- as an Anonymous user with only IPAUTH granting me
> an extra special group, I can access all the resources I need to, but
> Discovery is ignoring my special group and hiding recent submissions /
> search results from me.
>
> The assumption that (currentUser == null) always means "Anonymous only" is
> definitely an assumption that's going to break special groups like IPAUTH..
> so I think you're onto something there. Which classes are you looking at?
>
> Cheers
>
> Kim
>
> On 5 September 2014 07:04, Peter Dietz  wrote:
>
>> Hi All,
>>
>> I was wondering if anyone is using the IPAuthentication mechanism, where
>> you can have anonymous users who happen to be on a certain IP address range
>> (i.e. campus / regional campus), and should be able to view that restricted
>> content without having to log in.
>>
>> However, I'm having some issues, as I don't think that Discovery is
>> actually checking the current user (anonymous user that could have "special
>> groups"). I've noticed some difference in behavior when I'm visiting the
>> site as anonymous user (not logged in), and also while logged in as a user
>> who has no credentials (member of anonymous group though).
>> i.e. some of the authentication / context logic goes
>> if(currentUser != null) {...
>>
>> I've checked that Discovery has indexed the content correctly, which
>> appears to be correct. i.e. ?q=handle:123456789/3456
>> And that item has read:"g7"
>>
>> My config/modules/authentication-ip.cfg has something like:
>> (Production it is different values).
>>
>> ip.CAMPUS = 127.0.0.1
>>
>> And group CAMPUS, groupID: 7.
>>
>>
>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPMatcher @ ipIn:
>> 127.0.0.1
>>
>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPAuthentication @
>> anonymous:session_id=23AB7F7C2C8DA06BE556148B855E1D01:authenticated:special_groups=7
>>
>> 2014-09-04 14:50:17,146 DEBUG org.dspace.app.xmlui.utils.ContextUtil @
>> Adding Special Group id=7
>>
>>
>> When Discovery makes the check, I appears to have discarded the special
>> group, and the query (I've added some debug)
>>
>> 2014-09-04 14:50:17,282 DEBUG
>> org.dspace.discovery.SolrServiceResourceRestrictionPlugin @ ResourceQuery:
>> read:(g0)
>>
>> Where g0 is anonymous group. It should have been "g0 OR g7".
>>
>>
>> So, if anyone has run across this issue, or would like to look into it,
>> please let me know.
>>
>> 
>> Peter Dietz
>> Longsight
>> www.longsight.com
>> pe...@longsight.com
>> p: 740-599-5005 x809
>>
>>
>> --
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> ___
>> 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
>>
>
>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] Fwd: Discovery + Restricted Content + IPAuthentication

2014-09-04 Thread Kim Shepherd
Hi Peter, we use IPAUTH (in addition to Shibboleth special groups) so that
our on-campus users can access restricted resources without logging in,
too..
I haven't noticed this particular issue -- Discovery has appeared to be
working from what I've seen but I've mostly been testing access to the
items/bitstreams themselves, so I'll take a look at our logs, too.
>From my quick testing so far it's looking like I can reproduce the issue
you're talking about -- as an Anonymous user with only IPAUTH granting me
an extra special group, I can access all the resources I need to, but
Discovery is ignoring my special group and hiding recent submissions /
search results from me.

The assumption that (currentUser == null) always means "Anonymous only" is
definitely an assumption that's going to break special groups like IPAUTH..
so I think you're onto something there. Which classes are you looking at?

Cheers

Kim

On 5 September 2014 07:04, Peter Dietz  wrote:

> Hi All,
>
> I was wondering if anyone is using the IPAuthentication mechanism, where
> you can have anonymous users who happen to be on a certain IP address range
> (i.e. campus / regional campus), and should be able to view that restricted
> content without having to log in.
>
> However, I'm having some issues, as I don't think that Discovery is
> actually checking the current user (anonymous user that could have "special
> groups"). I've noticed some difference in behavior when I'm visiting the
> site as anonymous user (not logged in), and also while logged in as a user
> who has no credentials (member of anonymous group though).
> i.e. some of the authentication / context logic goes
> if(currentUser != null) {...
>
> I've checked that Discovery has indexed the content correctly, which
> appears to be correct. i.e. ?q=handle:123456789/3456
> And that item has read:"g7"
>
> My config/modules/authentication-ip.cfg has something like:
> (Production it is different values).
>
> ip.CAMPUS = 127.0.0.1
>
> And group CAMPUS, groupID: 7.
>
>
> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPMatcher @ ipIn:
> 127.0.0.1
>
> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPAuthentication @
> anonymous:session_id=23AB7F7C2C8DA06BE556148B855E1D01:authenticated:special_groups=7
>
> 2014-09-04 14:50:17,146 DEBUG org.dspace.app.xmlui.utils.ContextUtil @
> Adding Special Group id=7
>
>
> When Discovery makes the check, I appears to have discarded the special
> group, and the query (I've added some debug)
>
> 2014-09-04 14:50:17,282 DEBUG
> org.dspace.discovery.SolrServiceResourceRestrictionPlugin @ ResourceQuery:
> read:(g0)
>
> Where g0 is anonymous group. It should have been "g0 OR g7".
>
>
> So, if anyone has run across this issue, or would like to look into it,
> please let me know.
>
> 
> Peter Dietz
> Longsight
> www.longsight.com
> pe...@longsight.com
> p: 740-599-5005 x809
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> 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
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] Fwd: How to test the new Mirage2 theme

2014-08-28 Thread Hilton Gibson
FYI.

*Hilton Gibson*
Ubuntu Linux 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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


-- Forwarded message --
From: Hilton Gibson 
Date: 29 August 2014 00:16
Subject: How to test the new Mirage2 theme
To: "irt...@lists.lib.sun.ac.za" , Duraspace <
durasp...@lists.lib.sun.ac.za>


This is a quick guide about the Mirage2 theme contributed by @tMire for
DSpace version 5.

http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] Fwd: disable the option to save

2014-08-08 Thread Nisreen Qabbani
-- Forwarded message --
From: Nisreen Qabbani 
Date: Wed, Aug 6, 2014 at 11:34 AM
Subject: disable the option to save
To: "dspace-gene...@lists.sourceforge.net" <
dspace-gene...@lists.sourceforge.net>


Hello

I want to ask about how to disable the option to save the system and
limiting it to open

Thank you very much
Nisreen
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: Display error msg on Collections page when user is not authorized to view Items

2014-07-25 Thread Shazia Sathar
Just checking to see if anyone has any ideas to share?  Basically, I would
like that an error message be shown if a user is not authorized to view a
particular collection. By default, an empty collection page is shown which
gives the impression of an "empty collection"
I am using DSpace version 4.1, jspui version.

Please let me know if you need any additional information.

Regards,
Shazia

-- Forwarded message --
From: Shazia Sathar 
Date: Wed, Jul 16, 2014 at 1:20 PM
Subject: Display error msg on Collections page when user is not authorized
to view Items
To: DSpace Tech 


Hello All,

I am working on a request for change in my DSpace installation. The
requirement is that an error message like "Access Denied" be displayed on
the Collections page when a logged-in user tries to access a Collection
that he/she is not authorized to access.
The default behavior is that no Items are displayed and is there a way to
change this and add an error msg?

Here is what I tried:
In *HandleServlet.java*, I modified the code and added:
collectionHome()
{
 ...
if (AuthorizeManager.authorizeActionBoolean(context, community,
Constants.DEFAULT_ITEM_READ))
{
// set a variable to indicate read access and hence display
the community heorarchy
request.setAttribute("read.access", Boolean.TRUE);
}
 else
{
request.setAttribute("read.access",
Boolean.FALSE);
}

..
}

*collection-home.jsp*
...
Boolean readAccess =(Boolean)request.getAttribute("read.access");
boolean read_access = (readAccess== null ? false :
readAccess.booleanValue());
...
<% if(!read_access) { %>
 Access Denied 
<% }

In he UI, I have  a Collection C1 with the following policies:
C1:
DEFAULT_ITEM_READ  : Group (COLLECTION_25_DEFAULT_ITEM_READ)
DEFAULT_BITSTREAM_READ: Group (COLLECTION_25_DEFAULT_ITEM_READ)

The only member in group COLLECTION_25_DEFAULT_ITEM_READ is user A.

When I log in as user A, I get the "Access Denied" error message on all
Collections including C1. I'm not sure what I'm missing here? I'm not sure
if I am looking at the right permissions.

Does anyone know of an alternate approach- from the CollectionItemList.java
perhaps?


Regards,
Shazia
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: Item count home page Mirage Theme

2014-07-22 Thread bender
Hi,

Please help!



-- Forwarded message --
From: bender 
Date: 2014-07-20 13:13 GMT-04:00
Subject: Item count home page Mirage Theme
To: dspace-tech 


Hi:

I'm working on a new Home Page for our Repository, and trying to change the
layout of Mirage Theme in Dspace 3.2, adding some new sections to the body.

One of the new sections shows an static list of some of the Collections
presents in the Repository, with the items count of each one.

This is an example of how it should be:

Collection 1 [102]
Collection 2 [29]
Collection 3 [45]
Collection 4 [354]
etc

I want to put this list at any place of the body of my home page.
I think there should be a key code between the [  ], on the
page-structure.xsl file, but I don't know...

Can anyone help me?

bender
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: Problem with mvn package under debian 6 and dspace 4.1

2014-07-14 Thread Adan Roman

Hi

Try doing mvn package from /usr/src/dspace-4.1-src-release/ directory.

regards


Help dspace 4.1 installation please..

doing  mvn -version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T09:21:42-04:30)
Maven home: /opt/apache-maven-3.2.2
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: es_VE, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-5-amd64", arch: "amd64", family: "unix"

Then doing

/usr/src/dspace-4.1-src-release/dspace#

mvn package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.dspace:dspace:[unknown-version]
(/usr/src/dspace-4.1-src-release/dspace/pom.xml) has 1 error
[ERROR] Non-parseable POM
/root/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom:
Expected root element 'project' but found 'html' (position: START_TAG
seen ... @1:6)  @
/root/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom,
line 1, column 6 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException


please which may be the error



--
Ing.MSc. Alexander Mackenzie



--
Ing.MSc. Alexander Mackenzie


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds


___
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



--



---
Este mensaje no contiene virus ni malware porque la protección de avast! 
Antivirus está activa.
http://www.avast.com
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: Problem with mvn package under debian 6 and dspace 4.1

2014-07-14 Thread Alexander Mackenzie
Help dspace 4.1 installation please..

doing  mvn -version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T09:21:42-04:30)
Maven home: /opt/apache-maven-3.2.2
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: es_VE, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-5-amd64", arch: "amd64", family: "unix"

Then doing

/usr/src/dspace-4.1-src-release/dspace#

mvn package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.dspace:dspace:[unknown-version]
(/usr/src/dspace-4.1-src-release/dspace/pom.xml) has 1 error
[ERROR] Non-parseable POM
/root/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom:
Expected root element 'project' but found 'html' (position: START_TAG seen
... @1:6)  @
/root/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom, line
1, column 6 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException


 please which may be the error



-- 
Ing.MSc. Alexander Mackenzie



-- 
Ing.MSc. Alexander Mackenzie
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: postgreSQL Backup: -o (preserve oids) needed?

2014-05-19 Thread Stuart Yeates
I can see that option being useful if you're debugging the database and you 
want the database restored as close to possible to the original, to make 
diff'ing query plans more useful.

Cheers
stuart

-Original Message-
From: Christian Völker [mailto:c.voel...@gmx.net] 
Sent: Tuesday, 20 May 2014 11:08 a.m.
To: dspace-tech Tech
Subject: [Dspace-tech] Fwd: postgreSQL Backup: -o (preserve oids) needed?

Hello,

my backup command for postgres is

/usr/bin/pg_dumpall -o -c -v > /srv/dspace/dumpall.sql

I have carried that with me since DSpace 1.3 or DSpace 1.4. Currently, I use 
DSpace 1.8.

Now, while moving to a new machine, I revisited the section under Architecture 
/ Storage Layer in th Documentation and could not find any hint as to why I had 
used the -o option at all. The oldest version of the docs that I still have 
stored locally is DSpace 1.4.2 and there is no mention of -o either.

Had there ever been a requirement to preserve oids while backing up which has 
been removed meanwhile? Did this option make it into my installation by an 
arbitrary yet stupid inspiration of mine? Should I preserve it since it has 
worked so good all the time or should I skip it to make things clean and 
simple? Any opinion and advice appreciated.

Thanks, Christian


--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE 
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available 
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
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



--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
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] Fwd: postgreSQL Backup: -o (preserve oids) needed?

2014-05-19 Thread Christian Völker
Hello,

my backup command for postgres is

/usr/bin/pg_dumpall -o -c -v > /srv/dspace/dumpall.sql

I have carried that with me since DSpace 1.3 or DSpace 1.4. Currently, I use 
DSpace 1.8.

Now, while moving to a new machine, I revisited the section under Architecture 
/ Storage Layer in th Documentation and could not find any hint as to why I had 
used the -o option at all. The oldest version of the docs that I still have 
stored locally is DSpace 1.4.2 and there is no mention of -o either.

Had there ever been a requirement to preserve oids while backing up which has 
been removed meanwhile? Did this option make it into my installation by an 
arbitrary yet stupid inspiration of mine? Should I preserve it since it has 
worked so good all the time or should I skip it to make things clean and 
simple? Any opinion and advice appreciated.

Thanks, Christian


--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
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] Fwd: Re: Error in enabling media filter

2014-05-19 Thread Pascal-Nicolas Becker
Forwarding the solution to dspace-tech, in case anyone reads this in the 
mailinglists archive.


 Original Message 
Subject:Re: [Dspace-tech] Error in enabling media filter
Date:   Fri, 16 May 2014 16:00:55 -0500
From:   Anoj Atapattu 
To: Becker, Pascal-Nicolas 



Hi Pascal,

Thanks for your quick response.
Root caused, Found the exception due to calling filter-media command in
wrong location.

Thanks,
Anoj

On Fri, May 16, 2014 at 4:58 AM, Becker, Pascal-Nicolas wrote:

 Hi,

 I don't think that the problem comes from changing the dspace.cfg.
 The exception message is that the class
 org.springframework.core.io.ClassPathResource couldn't be found.
 Probably some jars are missing? Can you execute other commands over
 the dspace command line interface? Can you list the content of the
 lib-directory?

 Regards,
Pascal

  > -Original Message-
  > From: Anoj [mailto:anojatapa...@gmail.com
 ]
  > Sent: Wednesday, May 14, 2014 6:54 PM
  > To: dspace-tech@lists.sourceforge.net
 
  > Subject: [Dspace-tech] Error in enabling media filter
  >
  > Hi,
  >
  > I am trying to enable thumbnail creation using Media Filter
 plugin for Dspace
  > 3.2.
  > Got the following exception while executing the script.
  >
  > Here are the steps followed and changes in dspac.cfg file.
  >
  > - webui.browse.thumbnail.show = true
  >
  > - webui.item.thumbnail.show = true
  >
  > - webui.browse.thumbnail.linkbehaviour = item
  >
  > - webui.browse.thumbnail.maxheight = 40
  > - webui.browse.thumbnail.maxwidth = 40
  >
  > After having changed to dspace.cfg,
  > - Restart Tomcat Server,
  > - run [dspace]/bin/dspace filter-media,
  >
  > Any help would be great.
  >
  > Thanks
  >
  >
  >
  > Throws the following exception-
  >
  >  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
  > DSpaceKernel:org.dspace:name=fcbd715e-2d76-49d8-9956-
  >
 da3829fe2b41,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:k
  > ernel=null
  >  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader:
  > file:/klib/app/dspace/3.2-up/config/dspace.cfg
  >  INFO [main] (ConfigurationManager.java:1224) - Using dspace
 provided log
  > configuration (log.init.config)  INFO [main]
 (ConfigurationManager.java:1224)
  > - Loading:
  > /klib/app/dspace/3.2-up/config/log4j.properties
  > Exception in thread "main" java.lang.NoClassDefFoundError:
  > org/springframework/core/io/ClassPathResource
  > at
  >
 org.dspace.servicemanager.config.DSpaceConfigurationService.readPropert
  > yResource(DSpaceConfigurationService.java:550)
  > at
  >
 
org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialCo
  > nfig(DSpaceConfigurationService.java:344)
  > at
  >
 
org.dspace.servicemanager.config.DSpaceConfigurationService.(DSpac
  > eConfigurationService.java:61)
  > at
  >
 org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:
  > 145)
  > at
  > org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:51)
  > Caused by: java.lang.ClassNotFoundException:
  > org.springframework.core.io.ClassPathResource
  > at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  > at java.security.AccessController.doPrivileged(Native 
Method)
  > at 
java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  > at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  > at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  > ... 5 more
  >
  >
  >
  >
  > --
  > View this message in context:
 http://dspace.2283337.n4.nabble.com/Error-
  > in-enabling-media-filter-tp4673070.html
  > Sent from the DSpace - Tech mailing list archive at Nabble.com.
  >
  >
 
--
  > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
 FREE
  > Instantly run your Selenium tests across 300+ browser/OS combos.
  > Get unparalleled scalability from the best Selenium testing
 platform available
  > Simple to use. Nothing to install. Get started now for free."
  > http://p.sf.net/sfu/SauceLabs
  > ___
  > DSpace-tech mailing list
  > DSpace-tech@lists.sourceforge.net
 

[Dspace-tech] Fwd: Problems with creating administrator during install

2014-04-07 Thread Anthony Corns
I am having trouble at the last point of the DSpace 4.1 install

When trying to create an administrator using c:\dspace\bin>dspace
create-administrator

I get the following error

Error: Could not find or load main class javax.net.ssl.trustStore;

Can anybody help please

Many Thanks

Anthony
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR___
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] Fwd: Search filter with displayed values

2014-03-24 Thread Hilton Gibson
Hi Victoria

Perhaps these will help.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery/3.2

Regards

hg


*Hilton Gibson*
Ubuntu Linux 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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 21 March 2014 12:52, Victoria Rasero  wrote:

>
>
> Hello,
> we are using DSpace 3.1 XMLUI .
> Does anybody know if it is possible to configure a discovery search filter
> for dc.type with displayed values on the search page, in order to allows
> users to select a value from the list?.
>
> Thanks.
> Regards
> 
> Victoria Rasero
> Universidad Carlos III de Madrid
> 
>
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> 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
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Fwd: Search filter with displayed values

2014-03-21 Thread Victoria Rasero
Hello,
we are using DSpace 3.1 XMLUI .
Does anybody know if it is possible to configure a discovery search filter
for dc.type with displayed values on the search page, in order to allows
users to select a value from the list?.

Thanks.
Regards

Victoria Rasero
Universidad Carlos III de Madrid

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Fwd: Custom statistics page with solr information

2014-03-18 Thread Pottinger, Hardy J.
Hi, Patricia, you might want to check out Harvard¹s MyDASH site.

They've posted the code up on GitHub. [1] It's a Drupal interface to
DSpace statistics. You can also see it in action. [2]

[1] https://github.com/oscharvard/mydash
[2] https://osc.hul.harvard.edu/dash/mydash


It's not quite a custom report, it's more of a stats portal, with a
particular focus on being usable by the content creators. But it still
might be worth a look.

--

HARDY POTTINGER 
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"I think people who can live a life in music are telling the world 'You
can have my love, you can have my smiles. Forget the bad parts, you don't
need them. Just take the music, the goodness, because it's the very best,
and it's the part I give most willingly.'"-- George Harrison





On 3/18/14 4:07 PM, "Patricia B"  wrote:

>Hello I'm new in dspace and I wold like to now if is it possible to
>create a custom report containing the files that were submitted by a
>given user, using a solr log informations.
>
>
>My dspace version is 3.2
>
>
>I appreciate any help.
>
>
>
>
>
>
>
>
>
>
>


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Fwd: Custom statistics page with solr information

2014-03-18 Thread Patricia B
Hello I'm new in dspace and I wold like to now if is it possible to create
a custom report containing the files that were submitted by a given user,
using a solr log informations.

My dspace version is 3.2

I appreciate any help.
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Fwd: Define a new asset store

2014-02-08 Thread Hilton Gibson
Also found this: https://help.ubuntu.com/community/InstallingANewHardDrive

*Hilton Gibson*
Ubuntu Linux 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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


-- Forwarded message --
From: Hilton Gibson 
Date: 8 February 2014 12:07
Subject: Define a new asset store
To: dspace-tech 


Hi all

This is a quick message from my phone.
I wil create a help page on our wiki later.
This help assumes you are using an Ubuntu 12.04 server.

1. After attaching a new hard drive to the server you need to map it to the
file system. To determine the hardware name for the drive type "sudo fdisk
-l". This will list all the hard drives.

2. Normally the drive hardware name is: "/dev/sdX".

3. The next parameter needed is the file system mount point to attach the
drive to. Assuming DSpace is installed in "/home/dspace", then create a
folder for the mount point as follows: "mkdir /home/dspace/assetstore/two".

3. Now create the mapping between the hard drive and the file system using
the file: "/etc/fstab"

With the fstab you can define who owns the mapped drive.

For help with fstab, type: "man fstab" in a terminal.

For help with manual partitioning, search google for: "ubuntu server manual
partitioning" and search for help about fstab and mount permissions.

Once you defined the mount correctly in /etc/fstab, then type "mount" to
actually attach the hard drive to the file system.

You will also need to create partitions and format the drive with an
adequate file system before the mounting. Usually the mkfs.ext4 command is
used to do this. For example: sudo mkfs.ext4 /dev/sda4.

Basically search google for info about adding a new hard drive to your
server.

Cheers

Hg
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Define a new asset store

2014-02-08 Thread Hilton Gibson
Another option maybe to install Zentyal:
https://help.ubuntu.com/12.04/serverguide/zentyal.html

*Hilton Gibson*
Ubuntu Linux 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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


-- Forwarded message --
From: Hilton Gibson 
Date: 8 February 2014 12:07
Subject: Define a new asset store
To: dspace-tech 


Hi all

This is a quick message from my phone.
I wil create a help page on our wiki later.
This help assumes you are using an Ubuntu 12.04 server.

1. After attaching a new hard drive to the server you need to map it to the
file system. To determine the hardware name for the drive type "sudo fdisk
-l". This will list all the hard drives.

2. Normally the drive hardware name is: "/dev/sdX".

3. The next parameter needed is the file system mount point to attach the
drive to. Assuming DSpace is installed in "/home/dspace", then create a
folder for the mount point as follows: "mkdir /home/dspace/assetstore/two".

3. Now create the mapping between the hard drive and the file system using
the file: "/etc/fstab"

With the fstab you can define who owns the mapped drive.

For help with fstab, type: "man fstab" in a terminal.

For help with manual partitioning, search google for: "ubuntu server manual
partitioning" and search for help about fstab and mount permissions.

Once you defined the mount correctly in /etc/fstab, then type "mount" to
actually attach the hard drive to the file system.

You will also need to create partitions and format the drive with an
adequate file system before the mounting. Usually the mkfs.ext4 command is
used to do this. For example: sudo mkfs.ext4 /dev/sda4.

Basically search google for info about adding a new hard drive to your
server.

Cheers

Hg
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Define a new asset store

2014-02-08 Thread Hilton Gibson
You could also install webmin: http://www.webmin.com/deb.html and then
manage your server using a web browser.

*Hilton Gibson*
Ubuntu Linux 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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


-- Forwarded message --
From: Hilton Gibson 
Date: 8 February 2014 12:07
Subject: Define a new asset store
To: dspace-tech 


Hi all

This is a quick message from my phone.
I wil create a help page on our wiki later.
This help assumes you are using an Ubuntu 12.04 server.

1. After attaching a new hard drive to the server you need to map it to the
file system. To determine the hardware name for the drive type "sudo fdisk
-l". This will list all the hard drives.

2. Normally the drive hardware name is: "/dev/sdX".

3. The next parameter needed is the file system mount point to attach the
drive to. Assuming DSpace is installed in "/home/dspace", then create a
folder for the mount point as follows: "mkdir /home/dspace/assetstore/two".

3. Now create the mapping between the hard drive and the file system using
the file: "/etc/fstab"

With the fstab you can define who owns the mapped drive.

For help with fstab, type: "man fstab" in a terminal.

For help with manual partitioning, search google for: "ubuntu server manual
partitioning" and search for help about fstab and mount permissions.

Once you defined the mount correctly in /etc/fstab, then type "mount" to
actually attach the hard drive to the file system.

You will also need to create partitions and format the drive with an
adequate file system before the mounting. Usually the mkfs.ext4 command is
used to do this. For example: sudo mkfs.ext4 /dev/sda4.

Basically search google for info about adding a new hard drive to your
server.

Cheers

Hg
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Define a new asset store

2014-02-08 Thread Hilton Gibson
Found this link:
http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server/
-- Forwarded message --
From: "Hilton Gibson" 
Date: 8 Feb 2014 12:07
Subject: Define a new asset store
To: "dspace-tech" 
Cc:

Hi all

This is a quick message from my phone.
I wil create a help page on our wiki later.
This help assumes you are using an Ubuntu 12.04 server.

1. After attaching a new hard drive to the server you need to map it to the
file system. To determine the hardware name for the drive type "sudo fdisk
-l". This will list all the hard drives.

2. Normally the drive hardware name is: "/dev/sdX".

3. The next parameter needed is the file system mount point to attach the
drive to. Assuming DSpace is installed in "/home/dspace", then create a
folder for the mount point as follows: "mkdir /home/dspace/assetstore/two".

3. Now create the mapping between the hard drive and the file system using
the file: "/etc/fstab"

With the fstab you can define who owns the mapped drive.

For help with fstab, type: "man fstab" in a terminal.

For help with manual partitioning, search google for: "ubuntu server manual
partitioning" and search for help about fstab and mount permissions.

Once you defined the mount correctly in /etc/fstab, then type "mount" to
actually attach the hard drive to the file system.

You will also need to create partitions and format the drive with an
adequate file system before the mounting. Usually the mkfs.ext4 command is
used to do this. For example: sudo mkfs.ext4 /dev/sda4.

Basically search google for info about adding a new hard drive to your
server.

Cheers

Hg
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Editing the Community and Collection creation pages

2014-01-30 Thread Shazia Sathar
I was able to resolve this issue. Instead of commenting out the sections, I
edited the fields for Copyright, Sidebar, etc to hidden fields so that they
do not show up on the page.

Regards,
Shazia

-- Forwarded message --
From: Shazia Sathar 
Date: Wed, Jan 29, 2014 at 12:07 PM
Subject: Editing the Community and Collection creation pages
To: DSpace Tech 


Hello All,

I am trying to remove sections from the community and collection creation
wizard that does not apply to our implementation. I am running DSpace 4 and
use the JSPUI version. Here is what I tried to do

*edit-community,jsp*
Comment out sections for Copyright and sidebar text

*edit-collection.jsp*
Comment out sections for Harvesting settings
Remove Item Template and Collection curations from the Collection's settings

When I did the above I got an Internal Server Error. Any suggestions on how
I can remove the above sections from the JSP files? Is there any parameter
for Harvest settings in the config files that I can disable (similar to
disabling RSS feeds)?

Thanks in advance for the help!

Following is the stacktrace:
--

Jan 29, 2014 10:40:04 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet [edit-communities] in context with
path [/jspuiv4] threw exception [java.lang.NullPointerException] with root
cause
java.lang.NullPointerException
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:525)
 at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:206)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
 at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

--

Regards,
Shazia
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Upgrading DSpace 1.8 to DSpace 3.0 - Weird SQL Statement Exception

2014-01-10 Thread helix84
On Fri, Jan 10, 2014 at 10:33 AM, Alexander Wong  wrote:
> Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near
> "NULLS"

Hi Alexander,

which Postgres version are you using? "NULLS LAST" is supported only
since Postgres 8.3. Our requirements for DSpace 3 correctly list
Postgres 8.3 as the miminum required version (same as in DSpace 1.8):

https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-RelationalDatabase:(PostgreSQLorOracle)


Regards,
~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: Upgrading DSpace 1.8 to DSpace 3.0 - Weird SQL Statement Exception

2014-01-10 Thread Alexander Wong
Dear All,

Recently I have tried to upgrade a DSpace 1.8 installation to 3.0;
Funny things happen here and there.

After completing all the requirements listed on the '1.8 to 3.0' guide, the
webpage works well and there is only log4j errors in the catalina output.

However, when I tried to browse any items or any collctions, the following
errors will be generated.
Notice that the SQL statement has a few problems:

javax.servlet.ServletException: org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException: problem with query: SELECT bi_item.*
FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE
communities2item.community_id=? ) mappings  WHERE
 bi_item.item_id=mappings.item_id  ORDER BY sort_3 DESC  NULLS LAST  LIMIT ?

communities2item.community_id = ?
mappings
NULLS
LIMIT ?

I have tried to do dspace index-init, update-discovery-index but no help.
Can any one shed me lights on this one?

Thanks,
Alexander Wong.

2014-01-10 17:23:49,917 WARN
 org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=4DDF86F44C71459A348342325A63CE91:internal_error:-- URL Was:
http://158.132.160.6/jspui/handle/10397/11
-- Method: GET
-- Parameters were:

javax.servlet.ServletException: org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException: problem with query: SELECT bi_item.*
FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE
communities2item.community_id=? ) mappings  WHERE
 bi_item.item_id=mappings.item_id  ORDER BY sort_3 DESC  NULLS LAST  LIMIT ?
at
org.dspace.app.webui.servlet.HandleServlet.preProcessCommunityHome(HandleServlet.java:528)
at
org.dspace.app.webui.servlet.HandleServlet.communityHome(HandleServlet.java:472)
at
org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:254)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException: problem with query: SELECT bi_item.*
FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE
communities2item.community_id=? ) mappings  WHERE
 bi_item.item_id=mappings.item_id  ORDER BY sort_3 DESC  NULLS LAST  LIMIT ?
at
org.dspace.app.webui.components.RecentCommunitySubmissions.process(RecentCommunitySubmissions.java:53)
at
org.dspace.app.webui.servlet.HandleServlet.preProcessCommunityHome(HandleServlet.java:522)
... 21 more
Caused by: org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException: problem with query: SELECT bi_item.*
FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE
communities2item.community_id=? ) mappings  WHERE
 bi_item.item_id=mappings.item_id  ORDER BY sort_3 DESC  NULLS LAST  LIMIT ?
at
org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:102)
at
org.dspace.app.webui.components.RecentCommunitySubmissions.process(RecentCommunitySubmissions.java:48)
... 22 more
Caused by: org.dspace.browse.BrowseException: problem with query: SELECT
bi_item.* FROM bi_item, (SELECT communities2item.item_i

[Dspace-tech] Fwd: ingesting METS in DSpace 4.0

2013-12-27 Thread Evgeni Dimitrov
I started with DSpace four days ago and I am not sure how much
functionality to expect.
It is DSpace 4.0

I ingested a mets.xml and four pages and a thumbnail - with the METS
packager.
The mets file is attached.

First there was no ADMID attribute in the "fileGrp" and I was getting an
error message:
 "Invalid METS Manifest: file element without ID attribute."
Exactly as in Bug DSpace DS-1846

Then I added the attribute ADMID to the two filegroups. The ingest
succeeded.
And here comes something, which I wonder - is it the normal functionality
or is it a bug:

I see the item with a thumbnail and 4 bitstreems. I can "view" every
bitstreem (page) separately.

But I hoped that following the structMap, I will "view" the item as a whole
- with a kind of "content" on the left side and one "current" page on the
right side.

Could you tell me - was there something wrong with my second "successfull"
ingest - because of which I don't view the item as a whole? Or is this not
meant to happen?

And one more related question - in the code - around this error message I
saw a comment:
"find the ID of the primary or Logo bitstream in manifest"

What is considered as the "primary or Logo bitstream in manifest" ?

Thanks.

http://www.loc.gov/METS/"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd";>
 
  
   ED
  
 
 
  
   http://www.loc.gov/mods/v3"; xmlns:xlink="http://www.w3.org/1999/xlink"; xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-1.xsd";>http://www.loc.gov/mods/v3"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-1.xsd";>
  

  author

AAA
  
  
2013-12-26T01:00:00Z
  
  B13515185290367
  
SSS1
  
  
SSS2
  
  
TTT
  
  BOOK
  
  
 

 
 

 
 
 
 
  
   

   
  
  
   

   
   

   
   

   
   

   
  
 
 
  
   

   
   

   
   

   
   

   
  
 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: How to convert sub-community to top level community

2013-12-18 Thread Andrea Schweer
Hi,

On 19/12/13 16:47, A. Madhava Rao wrote:
> I did not find the file community-filiator in the folder dspace\bin as
> I am using Dspace 2011 version.

In newer versions of DSpace, run the community filiator like so:
dspace\bin\dspace community-filiator
(plus any arguments)

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: How to convert sub-community to top level community

2013-12-18 Thread A. Madhava Rao
Dear Sir

I did not find the file community-filiator in the folder dspace\bin as I am
using Dspace 2011 version.

could you please help me in this regard.

-- Forwarded message --
From: helix84 
Date: Tue, Dec 17, 2013 at 7:33 PM
Subject: Re: How to convert sub-community to top level community
To: dspacecommunityadvisoryteam <
dspacecommunityadvisoryt...@googlegroups.com>


On Tue, Dec 17, 2013 at 5:55 AM, A. Madhava Rao 
wrote:
> We have created one top level community and under the top level community
we
> have created some sub-communities and uploaded the documents but now we
want
> to change the sub-communities as top level communities.

Use the community-filiator tool [1]. In this example, the subcommunity
123465789/456 is owned by the 123456789/123 community and this will
make 123465789/456 a top-level community:

[dspace]/bin/dspace community-filiator --remove --parent=123456789/123
--child=123465789/456


P.S. In the future, it's best to ask this kind of questions at the
dspace-tech mailing list instead of here.

[1] https://wiki.duraspace.org/display/DSDOC3x/Managing+Community+Hierarchy


Regards,
~~helix84

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

--
You received this message because you are subscribed to the Google Groups
"DSpace Community Advisory Team" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to dspacecommunityadvisoryteam+unsubscr...@googlegroups.com.
To post to this group, send email to
dspacecommunityadvisoryt...@googlegroups.com.
Visit this group at
http://groups.google.com/group/DSpaceCommunityAdvisoryTeam.
For more options, visit https://groups.google.com/groups/opt_out.



-- 
Regards

Dr. A. Madhava Rao 
Pune - Maharashtra
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: SOLR/Discovery Date Parsing

2013-11-08 Thread Matthew McKinley
Bram,

Thanks for this. I figured there wasn't an "easy fix", but wanted to ask to
make sure.

And its good this has been translated to a JIRA ticket. From what I can
tell, discovery can't handle time zones at all--only UTC/zulu time, and
without being able to handle an offset time. It's understandable because
date parsing is kind of a nightmare, but even making it a little more
robust will go a long way.




*Matthew McKinley Digital Project Specialist, University of California,
Irvine **about.me
*


On Fri, Nov 8, 2013 at 5:54 AM, Bram Luyten  wrote:

> Hi Matthew,
>
> interesting challenge. I'm not sure how it can be addressed without
> modifying the Java or the dates in your metadata.
>
> When looking at:
>
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceImpl.java#L1439
>
> It seems like the date is guessed purely on String length. Maybe this date
> guessing can be made more robust by doing proper regex matching, like the
> example here:
>
> http://stackoverflow.com/a/3390252
>
> Note that this example code also requires some additional matches to add
> timezone support. To make sure this doesn't get lost, I added this as a
> JIRA ticket: https://jira.duraspace.org/browse/DS-1775
>
> best regards,
>
> Bram
>
> --
> [image: logo]
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com
>
>
> On Thu, Nov 7, 2013 at 7:36 PM, Matthew McKinley <
> matthewjamesmckin...@gmail.com> wrote:
>
>> Whoops! Sent this to the wrong list.
>>
>>
>>
>> *Matthew McKinley Digital Project Specialist, University of California,
>> Irvine **about.me
>> *
>>
>>
>> -- Forwarded message --
>> From: Matthew McKinley 
>> Date: Thu, Nov 7, 2013 at 10:20 AM
>> Subject: SOLR/Discovery Date Parsing
>> To: dspace-de...@lists.sourceforge.net
>>
>>
>> Hi all,
>>
>> We're running DSpace 1.8.2 on Tomcat 6 on a RedHat server.
>>
>> Trying to make the switch to discovery and have most of the kinks worked
>> out except indexing dates. Many of our dates are of simple "MM-DD-"
>> variety, but some include a timestamp as well and these are not being
>> indexed correctly by update-discovery-index. An example of an error
>> encountered is below:
>>
>>
>> 2013-11-07 09:28:26,156 ERROR org.dspace.discovery.SolrServiceImpl @
>> Unable to parse date format
>> java.text.ParseException: Unparseable date: "1998-03-05T07:11:44PST"
>> at java.text.DateFormat.parse(DateFormat.java:337)
>> at
>> org.dspace.discovery.SolrServiceImpl.toDate(SolrServiceImpl.java:1017)
>> at
>> org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:737)
>> at
>> org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:153)
>> at
>> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:297)
>> at
>> org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:262)
>> at org.dspace.discovery.IndexClient.main(IndexClient.java:113)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>>
>>
>> From manually editing the dates and re-updating the discovery index, it
>> seems the problem is either the time zone or lack thereof. Looking at the
>> java file (org.dspace.discovery.SolrServiceImpl), it looks like
>> Discovery/SOLR will accept
>>
>> -MM-dd'T'HH:mm:ss.SSS'Z'
>>
>>
>> or
>>
>> -MM-dd'T'HH:mm:ss'Z'
>>
>> But will NOT accept either a timezone such as "PST" at the end of the
>> date string or no time zone at all (i.e. -MM-dd'T'HH:mm:ss)
>>
>> Is there a way to get around this issue and have Discovery/SOLR index
>> these date values without modifying the java? We have a lot of dspace
>> objects in this (pretty standard UTC) date + time + timezone format and I'd
>> hate to have to remove information just to make them index nicely.
>>
>> Thanks!
>> Matthew
>>
>>
>>
>>
>> *Matthew McKinley Digital Project Specialist, University of California,
>> Irvine **about.me
>> *
>>
>>
>>
>> --
>> November Webinars for C, C++, Fortran Developers
>> Accelerate application performance with scalable programming models.
>> Explore
>> techniques for threading, error checking, porting, and tuning. Get the
>> most
>> from the latest Intel processors and coprocessors. 

Re: [Dspace-tech] Fwd: SOLR/Discovery Date Parsing

2013-11-08 Thread Bram Luyten
Hi Matthew,

interesting challenge. I'm not sure how it can be addressed without
modifying the Java or the dates in your metadata.

When looking at:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceImpl.java#L1439

It seems like the date is guessed purely on String length. Maybe this date
guessing can be made more robust by doing proper regex matching, like the
example here:

http://stackoverflow.com/a/3390252

Note that this example code also requires some additional matches to add
timezone support. To make sure this doesn't get lost, I added this as a
JIRA ticket: https://jira.duraspace.org/browse/DS-1775

best regards,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com


On Thu, Nov 7, 2013 at 7:36 PM, Matthew McKinley <
matthewjamesmckin...@gmail.com> wrote:

> Whoops! Sent this to the wrong list.
>
>
>
> *Matthew McKinley Digital Project Specialist, University of California,
> Irvine **about.me
> *
>
>
> -- Forwarded message --
> From: Matthew McKinley 
> Date: Thu, Nov 7, 2013 at 10:20 AM
> Subject: SOLR/Discovery Date Parsing
> To: dspace-de...@lists.sourceforge.net
>
>
> Hi all,
>
> We're running DSpace 1.8.2 on Tomcat 6 on a RedHat server.
>
> Trying to make the switch to discovery and have most of the kinks worked
> out except indexing dates. Many of our dates are of simple "MM-DD-"
> variety, but some include a timestamp as well and these are not being
> indexed correctly by update-discovery-index. An example of an error
> encountered is below:
>
>
> 2013-11-07 09:28:26,156 ERROR org.dspace.discovery.SolrServiceImpl @
> Unable to parse date format
> java.text.ParseException: Unparseable date: "1998-03-05T07:11:44PST"
> at java.text.DateFormat.parse(DateFormat.java:337)
> at
> org.dspace.discovery.SolrServiceImpl.toDate(SolrServiceImpl.java:1017)
> at
> org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:737)
> at
> org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:153)
> at
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:297)
> at
> org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:262)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>
>
> From manually editing the dates and re-updating the discovery index, it
> seems the problem is either the time zone or lack thereof. Looking at the
> java file (org.dspace.discovery.SolrServiceImpl), it looks like
> Discovery/SOLR will accept
>
> -MM-dd'T'HH:mm:ss.SSS'Z'
>
>
> or
>
> -MM-dd'T'HH:mm:ss'Z'
>
> But will NOT accept either a timezone such as "PST" at the end of the date
> string or no time zone at all (i.e. -MM-dd'T'HH:mm:ss)
>
> Is there a way to get around this issue and have Discovery/SOLR index
> these date values without modifying the java? We have a lot of dspace
> objects in this (pretty standard UTC) date + time + timezone format and I'd
> hate to have to remove information just to make them index nicely.
>
> Thanks!
> Matthew
>
>
>
>
> *Matthew McKinley Digital Project Specialist, University of California,
> Irvine **about.me
> *
>
>
>
> --
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?

[Dspace-tech] Fwd: SOLR/Discovery Date Parsing

2013-11-07 Thread Matthew McKinley
Whoops! Sent this to the wrong list.



*Matthew McKinley Digital Project Specialist, University of California,
Irvine **about.me
*


-- Forwarded message --
From: Matthew McKinley 
Date: Thu, Nov 7, 2013 at 10:20 AM
Subject: SOLR/Discovery Date Parsing
To: dspace-de...@lists.sourceforge.net


Hi all,

We're running DSpace 1.8.2 on Tomcat 6 on a RedHat server.

Trying to make the switch to discovery and have most of the kinks worked
out except indexing dates. Many of our dates are of simple "MM-DD-"
variety, but some include a timestamp as well and these are not being
indexed correctly by update-discovery-index. An example of an error
encountered is below:


2013-11-07 09:28:26,156 ERROR org.dspace.discovery.SolrServiceImpl @ Unable
to parse date format
java.text.ParseException: Unparseable date: "1998-03-05T07:11:44PST"
at java.text.DateFormat.parse(DateFormat.java:337)
at
org.dspace.discovery.SolrServiceImpl.toDate(SolrServiceImpl.java:1017)
at
org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:737)
at
org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:153)
at
org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:297)
at
org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:262)
at org.dspace.discovery.IndexClient.main(IndexClient.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)


>From manually editing the dates and re-updating the discovery index, it
seems the problem is either the time zone or lack thereof. Looking at the
java file (org.dspace.discovery.SolrServiceImpl), it looks like
Discovery/SOLR will accept

-MM-dd'T'HH:mm:ss.SSS'Z'


or

-MM-dd'T'HH:mm:ss'Z'

But will NOT accept either a timezone such as "PST" at the end of the date
string or no time zone at all (i.e. -MM-dd'T'HH:mm:ss)

Is there a way to get around this issue and have Discovery/SOLR index these
date values without modifying the java? We have a lot of dspace objects in
this (pretty standard UTC) date + time + timezone format and I'd hate to
have to remove information just to make them index nicely.

Thanks!
Matthew




*Matthew McKinley Digital Project Specialist, University of California,
Irvine **about.me
*
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: stats: bistream count

2013-11-04 Thread Jose Blanco
Posting this again.  Thanks!
Jose


-- Forwarded message --
From: Jose Blanco 
Date: Thu, Oct 31, 2013 at 1:05 PM
Subject: stats: bistream count
To: Dspace-Tech 


When I look at an items stats page, I see 'File Vistis' count. Is this
a running count from all the months or the current month's coun?  Is
there a way to see the counts for visits to bitstreams per month, as
there is for the item view?

Thank you!
Jose

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Fwd: Text Filtering of HTML Files

2013-10-08 Thread Terry Brady
I increased the size of maxFieldLength, rebuilt my search index, and my
results are now being returned.  So far, the system is still responsive.

Interestingly, the DSpace keyword highlighting code is not returning
snippets for search terms that occur in the latter portion of my document.

I have been looking for a corresponding highlighter setting to update, and
I have not yet found one.

Please let me know if you can offer any advice on that question.

Thanks, Terry


On Thu, Oct 3, 2013 at 5:54 PM, helix84  wrote:

> If you search for "solr maximum text field size" there seems to be
> relevant stuff there. Haven't played with this myself. Try whether it
> works if you keep the field size under 32k. You can modify the stored
> values using the Solr HTTP interface, its syntax is easy to grasp and
> there's a lot of documentation. Don't worry about screwing up by
> manual intervention, you can then fix it up by running
> "update-discovery-index -f" or "update-discovery-index -b".
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Text Filtering of HTML Files

2013-10-03 Thread helix84
If you search for "solr maximum text field size" there seems to be
relevant stuff there. Haven't played with this myself. Try whether it
works if you keep the field size under 32k. You can modify the stored
values using the Solr HTTP interface, its syntax is easy to grasp and
there's a lot of documentation. Don't worry about screwing up by
manual intervention, you can then fix it up by running
"update-discovery-index -f" or "update-discovery-index -b".


Regards,
~~helix84

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

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Fwd: Text Filtering of HTML Files

2013-10-03 Thread Terry Brady
Thanks.  I see that there are 2 fields "fulltext" and "fulltext_hl".  Each
field contains 627000 bytes.  My search term is present in that field.

I noticed that I can successfully find terms at the start of the full text
field but not at the end.

I presume that I would need to either adjust a lucene setting or a solr
setting in order to index deeper into the document.

I have not yet tested if this issue also occurs in my long PDF documents.

Terry


On Thu, Oct 3, 2013 at 3:20 PM, helix84  wrote:

> Hi Terry,
>
> get this document:
>
> http://localhost:1234/solr/search/select/?q=handle:10822/559063&indent=on
>
> and look at //result/doc/arr[@name="fulltext"]/str
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Text Filtering of HTML Files

2013-10-03 Thread helix84
Hi Terry,

get this document:

http://localhost:1234/solr/search/select/?q=handle:10822/559063&indent=on

and look at //result/doc/arr[@name="fulltext"]/str


Regards,
~~helix84

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

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: Text Filtering of HTML Files

2013-10-03 Thread Terry Brady
I am encountering an issue with the text indexing of an HTML document.
 Please let me know if you have any advice on this issue.  I have already
forced a re-index of all of the items in this collection.

Thank you for any advice you can offer.

We have the following finding aid in our collection.
https://repository.library.georgetown.edu/handle/10822/559063

Note the presence of the name "Sparling" in the html.  (Searching via the
browser)
[image: Inline image 1]

If I search this collection for this term, no results are found.
https://repository.library.georgetown.edu/handle/10822/558685/discover?query=sparling

Other queries return results as expected
https://repository.library.georgetown.edu/handle/10822/549417/discover?query=%22Saginaw+News%22&submit=Go

When I look at the underlying TEXT bitstream, I see that this name is
present.
https://repository.library.georgetown.edu/bitstream/id/86670/GTM.GAMMS285.html.txt

??84688??Sparling, Jim.??01/01/1974-12/31/1974??Correspondence dated
1974 between Richard D. Mudd and Jim Sparling.
31

>  Subjects and Associated Physical Materials
> SPARLING, JIM - CORRESP. W/ MUDD, RICHARD D. (1974): Other Types
> 26
>
>
-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: [Problem]Enabling Discovery

2013-09-19 Thread Ahmed Mahmoud
-- Forwarded message --
From: Ahmed Mahmoud 
Date: Thu, Sep 19, 2013 at 10:16 PM
Subject: [Problem]Enabling Discovery
To: dspace-tech@lists.sourceforge.net


Dear Dspace-tech,
  I'm new on Dspace, and I followed steps to Enable Discovery as shown on
dspace official site https://wiki.duraspace.org/display/DSDOC3x/Discovery


Hint: I run dspace on my local machine using:
1- apache-ant-1.9.0
2- apache-maven-3.0.5-bin
3- apache-tomcat-7.0.39
4- dspace-3.1
5- solr-4.4.0
6- Jre 7 & jdk-6u2
7- PostgreSQL 9.2
8- Operating system: win 8

But when I tried to execute command update-discovery-index I got the
following problem as attached

Please Help me and I'll be so grateful to u
Thanks in advance

Yours'
Ahmed Mahmoud Zaki
Solutions developer
Yahoo! Mktoob Egypt
<>--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: What are the options for restricting the display of the login box for embargoed files

2013-09-19 Thread helix84
On Thu, Sep 19, 2013 at 1:24 PM, Sean Carte  wrote:
> There wasn't anything else I should have done?

I don't think there is. We must be missing something simple. Send me
the whole METS file.

Now that I think of it, I'm not sure I ever tested it with the new
embargo. For another publicly accessible item, try to remove the READ
right for the Anonymous group, i.e. not set an embargo, just remove
them and see if the lock shows up. This is to see whether there is a
problem with embargoed items showing the lock (sorry, can't rest it
myself right now).


Regards,
~~helix84

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

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Fwd: What are the options for restricting the display of the login box for embargoed files

2013-09-19 Thread Sean Carte
On 19 September 2013 12:33, helix84  wrote:

> Do you have the METSRightsCrosswalk enabled? Here's how to check -
> open the following URL:
>
> /metadata/handle/10673/3/mets.xml?rightsMDTypes=METSRIGHTS
>
> and see if it contains an ADMID attribute.
>

 


> If not, enable the crosswalk in dspace.cfg:
>
> plugin.named.org.dspace.content.crosswalk.DisseminationCrosswalk = \
> ...
>   org.dspace.content.crosswalk.METSRightsCrosswalk = METSRIGHTS, \
> ...
>
>  plugin.named.org.dspace.content.crosswalk.IngestionCrosswalk = \
  org.dspace.content.crosswalk.AIPDIMCrosswalk = DIM, \
  org.dspace.content.crosswalk.AIPTechMDCrosswalk = AIP-TECHMD, \
  org.dspace.content.crosswalk.PREMISCrosswalk = PREMIS, \
  org.dspace.content.crosswalk.OREIngestionCrosswalk = ore, \
  org.dspace.content.crosswalk.NullIngestionCrosswalk = NIL, \
  org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = dc, \
  org.dspace.content.crosswalk.DIMIngestionCrosswalk = dim, \
  org.dspace.content.crosswalk.METSRightsCrosswalk = METSRIGHTS, \
  org.dspace.content.crosswalk.RoleCrosswalk = DSPACE-ROLES

This could be missing if you upgraded from 1.6.x and reused the old
> configuration file (practice which I also recommend against).
>

This is a completely new 3.2 installation. I've only changed the settings
in the build.properties and enabled the embargo submission in
item-submission.xml.

There wasn't anything else I should have done?

Sean
--
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: What are the options for restricting the display of the login box for embargoed files

2013-09-19 Thread helix84
Do you have the METSRightsCrosswalk enabled? Here's how to check -
open the following URL:

/metadata/handle/10673/3/mets.xml?rightsMDTypes=METSRIGHTS

and see if it contains an ADMID attribute.

If not, enable the crosswalk in dspace.cfg:

plugin.named.org.dspace.content.crosswalk.DisseminationCrosswalk = \
...
  org.dspace.content.crosswalk.METSRightsCrosswalk = METSRIGHTS, \
...

This could be missing if you upgraded from 1.6.x and reused the old
configuration file (practice which I also recommend against).


Regards,
~~helix84

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

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: text encoding problem with bitstreams in DSpace 3.1 - resolved

2013-08-30 Thread Terry Brady
I have also encountered this issue.

Mark, per your recommendation, I have attempted to modify BitstreamReader.

I did not see a place to set encoding apart from the mime type.

this.bitstreamMimeType = bitstream.getFormat().getMIMEType();

if (bitstreamMimeType.equals("text/html")) {
bitstreamMimeType = "text/html; charset=UTF-8";
}

this.bitstreamName = bitstream.getName();

Based on a couple quick tests, this looks promising.

Is this what you were recommending?

Terry

-- Forwarded message --
From: Mark H. Wood 
Date: Thu, Jul 25, 2013 at 9:54 AM
Subject: Re: [Dspace-tech] text encoding problem with bitstreams in DSpace
3.1 - resolved
To: dspace-tech@lists.sourceforge.net


On Thu, Jul 25, 2013 at 03:07:36AM +, Halliday, James Leonard wrote:
> Hi everyone,
>
> I posted about this a while back, and finally found a workaround so I
wanted to share. My problem was regarding HTML bitstreams in DSpace 3.1
(XMLUI).
>
> In previous versions of DSpace, the encoding for my UTF-8 bitstreams
worked just fine, but in DSpace 3.1, the encoding for ONLY the bitstreams
was coming out as ISO-8859 instead. After much searching, I finally found a
workaround which involved changing a value in the web.xml file, as follows:
>
> In the original web.xml are the following lines:
>
>   
> SetCharacterEncoding
>
org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter
> 
>   encoding
>   UTF-8
> 
>   
>
> I substituted:
>
> 
> SetCharacterEncoding
>
org.springframework.web.filter.CharacterEncodingFilter
> 
> encoding
> UTF-8
> 
> 
> forceEncoding
> true
> 
>   
>
> So basically I took out the DSpace-specific encoding filter, and
substituted the Spring one (which is already included by default). So I had
to change only these lines, and my encoding problem was resolved. This
tells me there might be a problem in the DSpace encoding filter ... ?

Thank you.  Interesting.  If this works well, then at the least we
could just use Spring's filter and stop maintaining our own.

I'm thinking that our filter as written could never have done what you
expect, and the effect was produced elsewhere.  Our filter only sets
the request's encoding.  Spring's filter is documented to also set the
response's encoding when forceEncoding=true.  Perhaps BitstreamReader
should just set the encoding on the response?

--
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053


signature.asc
Description: PGP signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd:

2013-07-11 Thread Awanish Singh
-- Forwarded message --
From: 
Date: Thu, Jul 11, 2013 at 3:19 PM
Subject:
To: singhawanish1...@gmail.com


This list does not accept non-member postings , if you wish to post an
email to the DSpace General List, please subscribe and post your
message again.

https://lists.sourceforge.net/lists/listinfo/dspace-general

Sincerely, The DSpace Community



-- Forwarded message --
From: Awanish Singh 
To: dspace-gene...@lists.sourceforge.net, dspace-tech@lists.sourceforge.net
Cc:
Date: Thu, 11 Jul 2013 15:19:21 +0530
Subject:

Hi

I made some changes in servlets, jsptags.etc  and put these java files in
modules folder of dspace3.0 .
for example : I made changes in AbstractBrowseServlet.java
DspaceServlet.java etc.
and put these java file in following folder of modules folder.

\dspace-3.0-src-rsdebate\dspace\modules\jspui\src\main\java\org\dspace\app\webui\servlet

after run mvn package there is no reflection in
dspace-jspui-classes.3.0.jar i.e there is no change made in respected class
 files of  AbstractBrowseServlet.java DspaceServlet.java

I want to changed AbstractBrowseServlet.class and DspaceServlet.class
will be appear in dspace-jspui-classes.3.0.jar .

How this is possible.

-- 
Thanks
Awanish Singh
9910287114




-- 
Thanks
Awanish Singh
9910287114
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: Regarding Making modification inDSpace

2013-06-24 Thread helix84
On Mon, Jun 24, 2013 at 8:22 AM, Chitra Sharma
 wrote:
> Hello Sir/Ma'am
> M bringing out with a problem in DSpace about how to add new servlet files
> (.java files) and to compile them to use in the existing DSpace.
> Kindly Reply Soon

If you want to rebuild DSpace, please follow these instructions:

https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace

There is also a recommended location for your changes into an
"overlay" to keep them separate from the DSpace source in order to
make upgrades easier. That method is explained here:

https://www.ideals.illinois.edu/handle/2142/11915


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Fwd: Regarding Making modification inDSpace

2013-06-23 Thread Chitra Sharma
Hello Sir/Ma'am
M bringing out with a problem in DSpace about how to add new servlet files
(.java files) and to compile them to use in the existing DSpace.
Kindly Reply Soon





-- 
Chitra sharma :-)
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Fwd: Front page news section gone away after editing the news on "news-xmlui.xml"

2013-06-13 Thread helix84
The email arrived fine to me (no space). It also works for Ataur,
forwarding his confirmation. This is why people should always reply to
the list, sigh.


-- Forwarded message --
From: Md. Ataur Rahman 
Date: Thu, Jun 13, 2013 at 10:17 AM
Subject: Re: [Dspace-tech] Front page news section gone away after
editing the news on "news-xmlui.xml"
To: Ivan Masár 


hi helix,

thanks a lot. its working after clearing the Cocoon cache. thank you very much.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Fwd: [Dspace-devel] Item state definitions

2013-05-27 Thread Pottinger, Hardy J.
In a way, this is a start at documenting our business rules, which is useful 
work in and of itself, but would be especially useful for building a "business 
logic layer", which is something many of us have expressed an interest in. As 
Peter Dietz observed more than a year ago, it is currently up to each interface 
to implement these rules.

My comment at this point is "carry on." But, I should also add, "How can we 
help?"

--Hardy

Sent from my iPad

On May 27, 2013, at 3:16 AM, "helix84"  wrote:

> On Mon, May 27, 2013 at 9:52 AM, Andrea Bollini  wrote:
>> As I haven't received yet any feedback or comment I'm trying to get more 
>> visibility on the tech list.
>> Please note that imho it is very important for the consistent of the DSpace 
>> data model that we all agree about standard scope and usage of item state.
> 
> 
> Hi Andrea,
> 
> I think the reason you didn't get feedback is that you're describing
> how things should work, while it's not completely clear how it differs
> from how things currently work. To get feedback, you should describe
> the status quo, why it is not ideal and propose a change.
> 
> For example, I notice that no interface except XMLUI currently doesn't
> respects the "discoverable" attribute (the private state). It's clear
> that this is a problem. So the proposal should say whether we should
> add support to all other interfaces or wait for a more final solution
> and what that would be.
> 
> I know this is a lot of work and I appreciate you started looking into
> it, thank you.
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> ___
> 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

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Fwd: [Dspace-devel] Item state definitions

2013-05-27 Thread helix84
On Mon, May 27, 2013 at 9:52 AM, Andrea Bollini  wrote:
> As I haven't received yet any feedback or comment I'm trying to get more 
> visibility on the tech list.
> Please note that imho it is very important for the consistent of the DSpace 
> data model that we all agree about standard scope and usage of item state.


 Hi Andrea,

I think the reason you didn't get feedback is that you're describing
how things should work, while it's not completely clear how it differs
from how things currently work. To get feedback, you should describe
the status quo, why it is not ideal and propose a change.

For example, I notice that no interface except XMLUI currently doesn't
respects the "discoverable" attribute (the private state). It's clear
that this is a problem. So the proposal should say whether we should
add support to all other interfaces or wait for a more final solution
and what that would be.

I know this is a lot of work and I appreciate you started looking into
it, thank you.


Regards,
~~helix84

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

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Fwd: [Dspace-devel] Item state definitions

2013-05-27 Thread Andrea Bollini
As I haven't received yet any feedback or comment I'm trying to get more 
visibility on the tech list.
Please note that imho it is very important for the consistent of the 
DSpace data model that we all agree about standard scope and usage of 
item state.

Best,
Andrea



 Messaggio originale 
Oggetto:[Dspace-devel] Item state definitions
Data:   Thu, 23 May 2013 13:06:37 +0200
Mittente:   Andrea Bollini 
A:  dspace-devel 



As agreed in yesterday dev meeting I have start a page to gather 
informations about DSpace state.

https://wiki.duraspace.org/display/~bollini/DSpace+Item+state+definitions 


Please note that I'm not an experienced user of the wiki so if it is 
appropriate, preferable to move the page in other space just let me know 
(also direction on how to make this move will be appreciate ;-) )

Andrea
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Dspace-devel mailing list
dspace-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
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] Fwd: Problem validating OAI-PMH

2013-04-23 Thread Miguel Ángel 0rtiz Camilo
Guillermo,  looks like everything is going right, the "oai" module is 
working... http://www.kerwa.ucr.ac.cr/oai/request  I don't know man, hope 
someone can respond. CheersMiguel Ángel 
 Date: Tue, 23 Apr 2013 13:19:45 -0600
From: mem...@gmail.com
To: christos.rodosthen...@ouc.ac.cy
CC: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Fwd: Problem validating OAI-PMH

Its a fresh install.  Thanks,
Guillermo Esteban Murillo GoussenUniversidad de Costa Ricawww.kerwa.ucr.ac.cr


2013/4/23 Christos Rodosthenous 









Hi all,
 
We have the same problem. João Melo tried some fixes but unfortunatelly the 
problem persists .

Is it a clean installation or an upgrade?
 
Kind regards,
 
Christos
 
From: Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com]


Sent: Monday, April 22, 2013 11:32 PM

To: DSpace Tech; dspace-gene...@lists.sourceforge.net

Subject: [Dspace-tech] Fwd: Problem validating OAI-PMH
 

Hi all,



 


I'm trying to validate here: http://www.openarchives.org/  the OAI-PMH 
interface of our repository (it is a DSpace
 v3.1) but I'm getting this error:


 


[FAIL] ListRecords response gave a noRecordsMatch error when it should have 
included at least the record with identifier oai:localhost:10669/296. The from 
and
 until parameters of the request were set to the datestamp of this record 
(2012-02-06T14:50:02Z). The from and until parameters are inclusive, see 
protocol spec section 2.7.1. The message included in the error response was: 
'No matches for the query'



 


I searched in the Web for the solution and found this:




https://jira.duraspace.org/browse/DS-1445



 


Is this still an open bug or is there a way to fix it.  


 


Thanks!


 



Guillermo Esteban Murillo Goussen

Universidad de Costa Rica


www.kerwa.ucr.ac.cr


 

-- 

La pureza del alma no se pierde sin consentimiento 







-- 
La pureza del alma no se pierde sin consentimiento


--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
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
  --
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
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] Fwd: Problem validating OAI-PMH

2013-04-23 Thread Guillermo Esteban Murillo Goussen
Its a fresh install.  Thanks,

Guillermo Esteban Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.cr


2013/4/23 Christos Rodosthenous 

>  Hi all,
>
> ** **
>
> We have the same problem. João Melo tried some fixes but unfortunatelly
> the problem persists . 
>
> Is it a clean installation or an upgrade?
>
> ** **
>
> Kind regards,
>
> ** **
>
> Christos
>
> ** **
>
> *From:* Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com]
> *Sent:* Monday, April 22, 2013 11:32 PM
> *To:* DSpace Tech; dspace-gene...@lists.sourceforge.net
> *Subject:* [Dspace-tech] Fwd: Problem validating OAI-PMH
>
> ** **
>
> Hi all,
>
> ** **
>
> I'm trying to validate here: http://www.openarchives.org/  the OAI-PMH
> interface of our repository (it is a DSpace v3.1) but I'm getting this
> error:
>
> ** **
>
> [FAIL] ListRecords response gave a noRecordsMatch error when it should
> have included at least the record with identifier oai:localhost:10669/296.
> The from and until parameters of the request were set to the datestamp of
> this record (2012-02-06T14:50:02Z). The from and until parameters are
> inclusive, see protocol spec section 2.7.1. The message included in the
> error response was: 'No matches for the query'
>
> ** **
>
> I searched in the Web for the solution and found this:
>
>
> 
>
> https://jira.duraspace.org/browse/DS-1445
>
> ** **
>
> Is this still an open bug or is there a way to fix it.  
>
> ** **
>
> Thanks!
>
> ** **
>
> Guillermo Esteban Murillo Goussen
>
> Universidad de Costa Rica
>
> www.kerwa.ucr.ac.cr
> 
>
> ** **
>
> --
> La pureza del alma no se pierde sin consentimiento 
>



-- 
La pureza del alma no se pierde sin consentimiento
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
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] Fwd: Problem validating OAI-PMH

2013-04-22 Thread Christos Rodosthenous
Hi all,

We have the same problem. João Melo tried some fixes but unfortunatelly the 
problem persists .
Is it a clean installation or an upgrade?

Kind regards,

Christos

From: Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com]
Sent: Monday, April 22, 2013 11:32 PM
To: DSpace Tech; dspace-gene...@lists.sourceforge.net
Subject: [Dspace-tech] Fwd: Problem validating OAI-PMH

Hi all,

I'm trying to validate here: http://www.openarchives.org/  the OAI-PMH 
interface of our repository (it is a DSpace v3.1) but I'm getting this error:

[FAIL] ListRecords response gave a noRecordsMatch error when it should have 
included at least the record with identifier oai:localhost:10669/296. The from 
and until parameters of the request were set to the datestamp of this record 
(2012-02-06T14:50:02Z). The from and until parameters are inclusive, see 
protocol spec section 2.7.1. The message included in the error response was: 
'No matches for the query'

I searched in the Web for the solution and found this:

https://jira.duraspace.org/browse/DS-1445

Is this still an open bug or is there a way to fix it.

Thanks!

Guillermo Esteban Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.cr<http://www.kerwa.ucr.ac.cr>

--
La pureza del alma no se pierde sin consentimiento
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
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] Fwd: Problem validating OAI-PMH

2013-04-22 Thread Guillermo Esteban Murillo Goussen
Hi all,

I'm trying to validate here: http://www.openarchives.org/  the OAI-PMH
interface of our repository (it is a DSpace v3.1) but I'm getting this
error:

[FAIL] ListRecords response gave a noRecordsMatch error when it should have
included at least the record with identifier oai:localhost:10669/296. The
from and until parameters of the request were set to the datestamp of this
record (2012-02-06T14:50:02Z). The from and until parameters are inclusive,
see protocol spec section 2.7.1. The message included in the error response
was: 'No matches for the query'

I searched in the Web for the solution and found this:

https://jira.duraspace.org/browse/DS-1445

Is this still an open bug or is there a way to fix it.

Thanks!

Guillermo Esteban Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.cr

-- 
La pureza del alma no se pierde sin consentimiento
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
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] Fwd: Re: oai

2013-04-12 Thread João Melo
Sorry wrong reply button hit.

Mail sent from my mobile.
-- Mensagem reencaminhada --
De: "João Melo" 
Data: 12 de Abr de 2013 20:09
Assunto: Re: [Dspace-tech] oai
Para: "Jose Blanco" 
Cc:

Not  so strait as that.  If the record doesn't contain  no field with that
data it will be filtered out from the list.

By another perspective, all items shown will contain at least one field
DC.rights.restricted  with free word on it.

Imagine you have some record with two DC. Righs. Restricted values (free
and closed, for example ) it will be shown.

I hope this makes sense to you.
:)

Mail sent from my mobile.
No dia 12 de Abr de 2013 14:47, "Jose Blanco"  escreveu:

> so if I have it check for FREE and the dc contains RESTRICTED, will
> exclude it?
>
> On Thu, Apr 11, 2013 at 9:03 PM, João Melo  wrote:
>
>> Hi Jose,
>>
>> all filters are inclusive filters (they are used to include items, not to
>> exclude them). That is, using that filter XOAI will show those items with 
>> RESTRICTED
>> on dc.rights.restrict.
>>
>> If you find it too hard to implement, we do offer XOAI specific project
>> configuration services, more info at the signature.
>>
>> Best regards,
>> João Melo
>>
>>
>> On 11 April 2013 20:24, Jose Blanco  wrote:
>>
>>>  helix84,
>>>
>>> I'm trying to restrict some items from appearing in oai and it's not
>>> quite working. This is the filter I added to the xoai.xml:
>>>
>>> 
>>>
>>> org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter
>>> 
>>> dc.rights.restrict
>>> 
>>> 
>>> contains
>>> 
>>> 
>>> RESTRICTED
>>> 
>>> 
>>>
>>>
>>> On Mon, Apr 8, 2013 at 11:58 AM, Jose Blanco  wrote:
>>>
 Great.  Thank you!


 On Mon, Apr 8, 2013 at 11:54 AM, helix84  wrote:

> On Mon, Apr 8, 2013 at 5:33 PM, Jose Blanco  wrote:
> > 1.  In the old oai we used to put the dc values associated with a
> particular
> > format in crosswalks dir (say we wanted to add a particular dc
> value, or
> > remove one from the response).  I think in this version of oai, if
> we want
> > to change anything from the out-of-the-box, we go to
> > crosswalks/oai/metadataFormats and change the xsl, right?
>
> That's correct. You will also need to run "[dspace]/bin/dspace oai
> clean-cache" to get rid of the pre-cached OAI responses.
>
> > 2.  I'm going to try using the solr instance for oai in production,
> if the
> > oai setup hiccups or I have to stop it because performance is bad on
> our
> > instance, this will not mess-up the solr index used by our instance,
> right?
>
> If you mean your Solr index used by Discovery, then no it will have no
> effect. Discovery uses a Solr core (Solr terminology for index) called
> "search". OAI uses its own core called "oai".
>
> If you interrupt "oai import -c" or "oai import", you should be simply
> able to resume where you left of by running "oai import".
>
> Generally speaking, if something goes horribly wrong, either with the
> "search" or "oai" core, it is trivial (although time-consuming) to
> recreate them from the DB. The only data you don't want to lose is the
> "statistics" core (if you're using Solr statistics).
>
> > 3.  Presently when a search/browse is done against solr, items that
> have
> > READ access to a particular group will not be exposed, unless the
> user is a
> > member of that group.  So I would expect that users of oai would
> fall under
> > the Anonymous category and so no items with READ permission set to a
> group
> > should be exposed in oai.  This may be a question for Mark Diggory,
> but
> > wanted to check if you knew the answer.
>
> No, I don't think OAI 2.0 respects that and I'm not sure the old OAI
> did, either. Moreover, it doesn't respect items marked as "private"
> (discoverable=false) because private items and the new OAI were 3.0
> features developed in parallel, so they don't work together just yet.
>
> But it is relatively simple to configure a "filter" in XOAI
> configuration which will filter out items based on any metadata value.
> Read more here:
>
> https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>


>>>
>>>
>>> --
>>> Precog is a next-generation analytics platform capable of advanced
>>> analytics on semi-structured data. The platform includes APIs for
>>> building
>>> apps and a phenomenal toolset for data science. Developers can use
>>> our toolset for easy data analysis & visualization. Get a free acc

Re: [Dspace-tech] Fwd: dspace 3.x OAI-PMH help

2013-03-10 Thread João Melo
Dear Mckeane,

please always add the dspace-tech list as CC.
At the harvest configured collection what is the status message (Last
Harvest Result)?


On 7 March 2013 21:46, Mckeane Thomas  wrote:

> yes I rebuild dspace and ran $ bin/dspace oai clean-cache and is still
> getting the same message:
> OAI server did not contain any updates
>
>
>
> On Thu, Mar 7, 2013 at 10:20 AM, João Melo  wrote:
>
>> Hi Mckeane,
>>
>> did you rebuild DSpace and cleared the cache at the server side?
>>
>> $ bin/dspace oai clean-cache
>>
>>
>> On 7 March 2013 14:44, helix84  wrote:
>>
>>>  -- Forwarded message --
>>> From: Mckeane Thomas 
>>> Date: Thu, Mar 7, 2013 at 3:40 PM
>>> Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
>>> To: Ivan Masár 
>>>
>>>
>>> Yes I did apply the patch and  am still getting the same and I am
>>> still unable to harvest from a collection. i am still getting the
>>> message:
>>>
>>> OAI server did not contain any updates
>>>
>>> On Wed, Mar 6, 2013 at 12:13 PM, helix84  wrote:
>>> >
>>> >
>>> > On Mar 6, 2013 5:56 PM, "Mckeane Thomas" 
>>> wrote:
>>> > > I haven't been able to harvest any items at all from the dspace 3.1
>>> installation.
>>> >
>>> > Thomas, did you also apply Joao's patch on the server side?
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Thanks, João Melo (My Portfolio )
>> DSpace Department
>> *Lyncode*: Official 
>> website
>> [image: Follow us on 
>> Facebook]
>> 
>>
>
>


-- 
Thanks, João Melo (My Portfolio )
DSpace Department
*Lyncode*: Official
website
[image: Follow us on
Facebook]

--
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] Fwd: dspace 3.x OAI-PMH help

2013-03-07 Thread João Melo
Hi Mckeane,

did you rebuild DSpace and cleared the cache at the server side?

$ bin/dspace oai clean-cache


On 7 March 2013 14:44, helix84  wrote:

> -- Forwarded message --
> From: Mckeane Thomas 
> Date: Thu, Mar 7, 2013 at 3:40 PM
> Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
> To: Ivan Masár 
>
>
> Yes I did apply the patch and  am still getting the same and I am
> still unable to harvest from a collection. i am still getting the
> message:
>
> OAI server did not contain any updates
>
> On Wed, Mar 6, 2013 at 12:13 PM, helix84  wrote:
> >
> >
> > On Mar 6, 2013 5:56 PM, "Mckeane Thomas" 
> wrote:
> > > I haven't been able to harvest any items at all from the dspace 3.1
> installation.
> >
> > Thomas, did you also apply Joao's patch on the server side?
>
>
> --
> 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
>



-- 
Thanks, João Melo (My Portfolio )
DSpace Department
*Lyncode*: Official
website
[image: Follow us on
Facebook]

--
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] Fwd: dspace 3.x OAI-PMH help

2013-03-07 Thread helix84
-- Forwarded message --
From: Mckeane Thomas 
Date: Thu, Mar 7, 2013 at 3:40 PM
Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
To: Ivan Masár 


Yes I did apply the patch and  am still getting the same and I am
still unable to harvest from a collection. i am still getting the
message:

OAI server did not contain any updates

On Wed, Mar 6, 2013 at 12:13 PM, helix84  wrote:
>
>
> On Mar 6, 2013 5:56 PM, "Mckeane Thomas"  wrote:
> > I haven't been able to harvest any items at all from the dspace 3.1 
> > installation.
>
> Thomas, did you also apply Joao's patch on the server side?

--
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] Fwd:

2013-02-11 Thread Lance King
http://151.9.183.157/kymzov.php?s=ot


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-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


[Dspace-tech] Fwd:

2013-02-08 Thread Mark Ehle
http://globenetwork.it/lbux8g.php?s=lf


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-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


[Dspace-tech] Fwd:

2013-02-04 Thread Matthew McKinley
http://www.fermentivino.it/hmq0xv.php?s=ot


--
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_jan
___
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] Fwd: need help

2013-01-29 Thread helix84
Hi Ashapurna,

Try running one of these commands on your DSpace machine to verify
that you can connect to Maven Central:
wget http://repo1.maven.org/maven2/org/dspace/dspace-pom/10/dspace-pom-10.pom
or
curl http://repo1.maven.org/maven2/org/dspace/dspace-pom/10/dspace-pom-10.pom

Do you need to use a proxy server to connect to the internet from this machine?


Regards,
~~helix84

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

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
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] Fwd: need help

2013-01-28 Thread Ashapurna P. Nayak
please help me out for the problem
 *
*
*C:\dspace-1.8.2-src-release\dspace>mvn package*
*[INFO] Scanning for projects...*
*Downloading:
http://repo.maven.apache.org/maven2/org/dspace/dspace-pom/12/dspace*
*-pom-12.pom*
*[ERROR] The build could not read 1 project -> [Help 1]*
*[ERROR]*
*[ERROR]   The project org.dspace:dspace:1.8.2
(C:\dspace-1.8.2-src-release\dspac*
*e\pom.xml) has 1 error*
*[ERROR] Non-resolvable parent POM for org.dspace:dspace-parent:1.8.2:
Could*
*not transfer artifact org.dspace:dspace-pom:pom:12 from/to central (
http://repo.*
*maven.apache.org/maven2): repo.maven.apache.org and 'parent.relativePath'
points*
* at wrong local POM @ org.dspace:dspace-parent:1.8.2,
C:\dspace-1.8.2-src-releas*
*e\pom.xml, line 15, column 13: Unknown host repo.maven.apache.org -> [Help
2]*
*[ERROR]*
*[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swit*
*ch.*
*[ERROR] Re-run Maven using the -X switch to enable full debug logging.*
*[ERROR]*
*[ERROR] For more information about the errors and possible solutions,
please rea*
*d the following articles:*
*[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin*
*gException*
*[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo*
*delException*
*C:\dspace-1.8.2-src-release\dspace>*
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
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] Fwd: dspace-discovery missing from GIT clone of V3.0rc2

2012-11-01 Thread helix84
Forwarding to the list.

On Thu, Nov 1, 2012 at 5:50 AM, Kevin Gunn  wrote:
> Hi Emilo,
>
> Sorry for the delayed response but these emails were getting filtered from me.
>
> I haven't been given time for testing and contributing to V3, and there's no 
> indication yet of when a stable version of 3.0 will be released, so I'm 
> sticking with 1.8.2 from subversion. The 1.8.2 from GIT appears to be 
> different from that in subversion? I had issues with the master branch and 
> tag 3.0rc1, haven't tried 3.0rc2. I was able to modify the subversion 1.8.2 
> base to include CAS authentication SSO and also the a vocabulary selector for 
> subject/keyword selection based of what is now available from the master/V3 
> tags. Although for us it means maintaining standalone version of the 
> dspace-api jar, the dspace-xmlui-api jar and the dspace-xmlui-webapp war 
> files in our local maven repository and updating the POMS of these XMLUI 
> components to look for the modified libraries.
>
> On the build, should I be able to get the build to use the jar/war file in 
> the target directory, instead of always retrieving the files from the maven 
> repository? Maven is good for dependency management, but I was hoping it 
> might be able to realise that there's an updated library in the project 
> structure and not always go to the repo?? Or should the build be updating my 
> local repo??
>
> Sorry I don't have more time to put into version 3 but my organisation is 
> keen for me to get DSpace into production. I'm hoping they allocate so more 
> time to me in the first half of next year to revisit upgrading our DSpace.
>
> Cheers
> Kevin
>
> -Original Message-
> From: emilio lorenzo [mailto:elore...@arvo.es]
> Sent: Thursday, 1 November 2012 7:23 AM
> To: heli...@centrum.sk
> Cc: Kevin Gunn; pottinge...@missouri.edu
> Subject: Re: [Dspace-tech] dspace-discovery missing from GIT clone of V3.0rc2
>
> I had no luck with mvn package   from  SVN  v3.0rc2   nor
> dspace-3.0-rc2-8-g9205de1(git + zip extraction)
>
> In any case,  I could run mvn package against
> dspace-3.0-rc2-8-g9205de1  (git)  a first time Without errors, in a clean 
> installation, BUT any subsequent compiles produce the aforementioned error.
>
>
> only  org.dspace.content.authority.DSpaceControlledVocabularyTest and 
> org.dspace.statistics.util.TestLocationUtils  passed without errors
>
> The error is always related with
> 'org.dspace.discovery.configuration.DiscoveryConfigurationService'
>
> Running org.dspace.content.MetadataSchemaTest
> Failed to startup the DSpace Service Manager: failure starting up spring 
> service manager: Error creating bean with name 
> 'org.dspace.discovery.configuration.DiscoveryConfigurationService'
> defined in file
> [/home/dspace/dspace-3.0-rc2-src-release/dspace-api/target/classes/spring/spring-dspace-addon-discovery-configuration-services.xml]:
> Cannot resolve reference to bean 'defaultConfiguration' while setting bean 
> property 'map' with key [TypedStringValue: value [default], target type 
> [null]]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'defaultConfiguration' defined in file
> [/home/dspace/dspace-3.0-rc2-src-release/dspace-api/target/classes/spring/spring-dspace-addon-discovery-configuration-services.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.ConversionNotSupportedException: Failed to convert 
> property value of type 'java.util.ArrayList' to required type 
> 'java.util.List' for property 'sidebarFacets'; nested exception is
> java.lang.IllegalStateException: Cannot convert value of type 
> [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required 
> type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for 
> property 'sidebarFacets[0]': no matching editors or conversion strategy found
>
>
> Emilio
>
>
>
>
>
>
>
> El 31/10/2012 18:19, helix84 escribió:
>>
>> Hi, there already has been rc2 meanwhile and some commits since that.
>> I recommend giving thee master branch a try:
>> https://github.com/DSpace/DSpace
>>
>> There's even a button that will give you a zip file of the latest code
>> if you prefer that before Git.
>>
>> Thank you for testing the latest code and reporting issues, much
>> appreciated!
>>
>
>
>
> --
> 
> The information contained within this transmission is for the
> use of the intended recipient only and may contain confidential
> and/or legally privileged material and/or material the subject
> of copyright and/or personal information and/or sensitive
> information that is subject to the Privacy Act 1988. Any review,
> re-transmission, disclosure, dissemination or other use of, or
> taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is
> prohibited. If you have received this email in error please
> notif

Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-22 Thread Mark H. Wood
On Mon, Oct 22, 2012 at 04:23:38PM +0200, Hilton Gibson wrote:
> Just a note.
> 
> When Tomcat crashes, is the pid still there?
> Would it not be better to monitor the port?

Good point.  I already had Nagios watching ports from afar, so I've
been concentrating on the simple case where the process actually
disappears.  We've been having crashes (process dies) lately but no
hangs (process remains but is unresponsive) or runaways (process
consumes much CPU but does little apparent work).

Monit is right there on the same host and can do something about a
crashed or hung service, so I'll be adding conditions and responses as
I get a feel for the tool.  I'm intrigued by the possibility of using
the JMX plugin to recognize imminent PermGen exhaustion, take a thread
dump and preemptively restart.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpInEWMUOoXO.pgp
Description: PGP signature
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-22 Thread Hilton Gibson
Just a note.

When Tomcat crashes, is the pid still there?
Would it not be better to monitor the port?

See below

bibboek@ir1:/etc/monit$ sudo cat monitrc
set daemon  60
set logfile syslog facility log_daemon
set mailserver localhost
set mail-format { from: mo...@ez.sun.ac.za }
set alert root@localhost
set httpd port 2812
 allow X:X

check process sshd with pidfile /var/run/sshd.pid
   start program  "/etc/init.d/ssh start"
   stop program  "/etc/init.d/ssh stop"
   if failed port 22 protocol ssh then restart

check host sunscholar with address scholar.sun.ac.za
   start program = "/etc/init.d/tomcat6 restart"
   stop program  = "/etc/init.d/tomcat6 stop"
   if failed port 80 proto http then restart
   alert hgib...@sun.ac.za
   alert wk...@sun.ac.za
###

On 22 October 2012 16:10, Mark H. Wood  wrote:

> On Sat, Oct 20, 2012 at 03:21:34PM +0200, Hilton Gibson wrote:
> > Can you cc the list your monit configurations?
>
> Here's what I have so far.  There is much more I'd like to
> investigate, but I'm going slowly and feeling my way.
>
> savage monit.d # cat check-tomcat-7.rc
> check process tomcat-7 with pidfile /var/run/tomcat-7.pid
> start program = "/etc/init.d/tomcat-7 restart"
> stop program = "/etc/init.d/tomcat-7 stop"
> # below from
> http://fak3r.com/2010/10/07/howto-monitor-tomcat-with-monit-and-munin-in-debian/
> if cpu > 60% for 2 cycles then alert
> #   if cpu > 80% for 5 cycles then restart
> #   if totalmem > 1500.0 MB for 5 cycles then restart
> #   if failed host 127.0.0.1 port 113 then alert
> #   if failed host 127.0.0.1 port 8180 then alert
> #   if 5 restarts within 5 cycles then timeout
> savage monit.d # cat notify.rc
> # notify.rc
> # monit alert recipients
>
> set alert mw...@iupui.edu
> set alert 3175551...@vtext.com
>
> set alert someone-e...@iupui.edu
> savage monit.d #
>
> I found that, on Gentoo Linux, you really need to use "restart" rather
> than "start", because OpenRC will have Tomcat in "crashed" state and
> "start" won't work.
>
> I have no idea why the commented-out parts above want to monitor the
> Ident port (113).
>
> Just the default process monitoring has caught several crashes in the
> last few weeks, and restarted Tomcat automatically each time.
>
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Asking whether markets are efficient is like asking whether people are
> smart.
>
>
> --
> 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_sfd2d_oct
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
*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
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-22 Thread Mark H. Wood
On Sat, Oct 20, 2012 at 03:21:34PM +0200, Hilton Gibson wrote:
> Can you cc the list your monit configurations?

Here's what I have so far.  There is much more I'd like to
investigate, but I'm going slowly and feeling my way.

savage monit.d # cat check-tomcat-7.rc 
check process tomcat-7 with pidfile /var/run/tomcat-7.pid
start program = "/etc/init.d/tomcat-7 restart"
stop program = "/etc/init.d/tomcat-7 stop"
# below from 
http://fak3r.com/2010/10/07/howto-monitor-tomcat-with-monit-and-munin-in-debian/
if cpu > 60% for 2 cycles then alert
#   if cpu > 80% for 5 cycles then restart
#   if totalmem > 1500.0 MB for 5 cycles then restart
#   if failed host 127.0.0.1 port 113 then alert
#   if failed host 127.0.0.1 port 8180 then alert
#   if 5 restarts within 5 cycles then timeout
savage monit.d # cat notify.rc 
# notify.rc
# monit alert recipients

set alert mw...@iupui.edu
set alert 3175551...@vtext.com

set alert someone-e...@iupui.edu
savage monit.d # 

I found that, on Gentoo Linux, you really need to use "restart" rather
than "start", because OpenRC will have Tomcat in "crashed" state and
"start" won't work.

I have no idea why the commented-out parts above want to monitor the
Ident port (113).

Just the default process monitoring has caught several crashes in the
last few weeks, and restarted Tomcat automatically each time.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpAKcT4jWYqx.pgp
Description: PGP signature
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-20 Thread Hilton Gibson
Can you cc the list your monit configurations?

On 19 October 2012 20:57, Mark H. Wood  wrote:

> On Fri, Oct 19, 2012 at 09:41:31AM +0200, Sean Carte wrote:
> > On 18 October 2012 14:00, Vlastimil Krejcir  wrote:
> > > Tomcat seems to be running (ps ax | grep tomcat), but no response or
> > > timeouting. No usefull info in logs. The solution is to restart the
> Tomcat -
> > > I restart it once a day. And I have a "watch" script testing if Tomcat
> is
> > > running correctly and if not then the "watch" restart him (this can
> include
> > > kill -9 restart because sometimes Tomcat doesn't want to terminate
> himself
> > > correctly).
> >
> > Thanks for the input Vlastik. In my case, though, Tomcat was no longer
> > running. I also restart tomcat daily.
> >
> > About your 'watch' script, is that a bash script running ps ax | grep
> > tomcat in a loop, and relaunching tomcat if it's not found?
>
> I've begun using a gadget called Monit (http://mmonit.com/monit/) to
> watch Tomcat, and to SMS me and restart it when it crashes.  Monit can
> trigger on a number of different conditions, and I'm hoping to be able
> to automatically manage other failure modes (such as spinning at 100%
> when PermGen is exhausted, grrr!)
>
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Asking whether markets are efficient is like asking whether people are
> smart.
>
>
> --
> 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_sfd2d_oct
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
*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
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


  1   2   3   >