Re: [Dspace-tech] Turning SSL on with self-signed certificate breaks solr functionality

2015-04-09 Thread Stuart Yeates
We do HTTPS by putting apache HTTPD in front of tomcat. Tomcat works in 
pure-HTTP (but is not accessible from the network) and HTTPD proxies tomcat on 
HTTP and HTTPS as necessary.

cheers
stuart

--
I have a new phone number: 04 463 5692
https://www.facebook.com/VUWLibrary / https://www.facebook.com/TKMPC


From: Chris Gray cpg...@uwaterloo.ca
Sent: Friday, 10 April 2015 3:10 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Turning SSL on with self-signed certificate breaks   
solr functionality

We're using DSpace 5.1 and when we turn on SSL as per the instructions
in the installation documentation then browsing and RSS feeds break.

Looking at the localhost access logs it looks like requests to solr on
127.0.0.1 return a 302 status rather than 200.

Using wget from the command line I'm told I need to add the
--no-check-certificate parameter.

Is there a way to have tomcat7 force 8080 traffic to 8443 only for the
hostname and public IP address and not for localhost and 127.0.0.1?

Chris

--
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_15utm_medium=emailutm_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

--
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_15utm_medium=emailutm_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


Re: [Dspace-tech] Build Errors: DSpace 5.1 + MIRAGE 2

2015-04-09 Thread Tim Donohue

Hi David and all,

Just a note to say we definitely *are* aware there have been issues with 
getting the Mirage2 build process to auto-install all dependencies. Some 
of those problems are being tracked in this ticket:

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

Admittedly, I'm not sure we fully understand the problem quite yet. It 
*may* be OS specific (or setup specific) somehow, but the exact causes 
have yet to be tracked down.

For example, the default Mirage2 build works well on Ubuntu (at least 
for me it has been).  It also works great in our automated continuous 
integration builds (after every code change, DSpace is rebuilt 
automatically and Mirage2 is auto-rebuilt too -- if any errors occur, we 
are notified).

So, this is just to say, we realize it seems to be not working well for 
everyone. But, we haven't tracked down the exact problem yet (and if 
anyone has clues to share or ideas, we'd appreciate your feedback on 
mailing lists or the ticket linked above).

- Tim


On 4/9/2015 12:46 PM, Baker, David A. wrote:
 Graham, looks like I got my M-words mixed up. I meant to say, ...using the 
 Mirage 2 theme... instead of Maven 2. I guess my question made no sense at 
 all when phrased that way (c:

 Thanks for helping me clarify that. I'm still curious as to why the build 
 doesn't automatically install the pre-requisite software as it's supposed to 
 each time it builds. Not a huge issue since it works if you manually install 
 it, but I'm sure the devs would like to figure out why people are having an 
 issue with it.


 --
 David Baker
 Digital Resources  Web Development Specialist
 P.H. Welshimer Memorial Library, Milligan College


 On 04/08/2015 10:53 AM, Graham Triggs wrote:
 Hi David,

 The installation document states that Maven 3.x is required.

 Regards,
 Graham

 On 06/04/2015 14:36:58, Baker, David A. 
 daba...@milligan.edumailto:daba...@milligan.edu wrote:

 I'm attempting a fresh install of 5.1 using the Maven 2 theme on Debian 
 Wheezy. I'm getting errors on the build. I've tried both:

 mvn -U clean package -Dmirage.on=true
 mvn package -Dmirage.on=true

 I am not building as root, and I have also changed git to use port 443 with 
 command:

 git config --global url.https://github.com/;https://github.com/.insteadOf 
 git://github.com/

 I've attached the output from Maven

 Thanks

 --
 David Baker
 Digital Resources  Web Development Specialist
 P.H. Welshimer Memorial Library, Milligan College

 --
 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_15utm_medium=emailutm_campaign=VA_SF___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 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_15utm_medium=emailutm_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


--
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_15utm_medium=emailutm_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


[Dspace-tech] Turning SSL on with self-signed certificate breaks solr functionality

2015-04-09 Thread Chris Gray
We're using DSpace 5.1 and when we turn on SSL as per the instructions 
in the installation documentation then browsing and RSS feeds break.

Looking at the localhost access logs it looks like requests to solr on 
127.0.0.1 return a 302 status rather than 200.

Using wget from the command line I'm told I need to add the 
--no-check-certificate parameter.

Is there a way to have tomcat7 force 8080 traffic to 8443 only for the 
hostname and public IP address and not for localhost and 127.0.0.1?

Chris

--
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_15utm_medium=emailutm_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


Re: [Dspace-tech] Build Errors: DSpace 5.1 + MIRAGE 2

2015-04-09 Thread Borda, Susan
Hi David-
I had the same issue with the Mirage 2 build not working unless I
installed the dependencies firstŠ

-susan 

On 4/9/15, 11:46 AM, Baker, David A. daba...@milligan.edu wrote:

Graham, looks like I got my M-words mixed up. I meant to say, ...using
the Mirage 2 theme... instead of Maven 2. I guess my question made no
sense at all when phrased that way (c:

Thanks for helping me clarify that. I'm still curious as to why the build
doesn't automatically install the pre-requisite software as it's supposed
to each time it builds. Not a huge issue since it works if you manually
install it, but I'm sure the devs would like to figure out why people are
having an issue with it.


--
David Baker
Digital Resources  Web Development Specialist
P.H. Welshimer Memorial Library, Milligan College


On 04/08/2015 10:53 AM, Graham Triggs wrote:
Hi David,

The installation document states that Maven 3.x is required.

Regards,
Graham

On 06/04/2015 14:36:58, Baker, David A.
daba...@milligan.edumailto:daba...@milligan.edu wrote:

I'm attempting a fresh install of 5.1 using the Maven 2 theme on Debian
Wheezy. I'm getting errors on the build. I've tried both:

mvn -U clean package -Dmirage.on=true
mvn package -Dmirage.on=true

I am not building as root, and I have also changed git to use port 443
with command:

git config --global
url.https://github.com/;https://github.com/.insteadOf git://github.com/

I've attached the output from Maven

Thanks

--
David Baker
Digital Resources  Web Development Specialist
P.H. Welshimer Memorial Library, Milligan College

--

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_15utm_medium=emailutm_campaign=VA_SF
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--

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_15utm_medium=emailutm_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



--
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_15utm_medium=emailutm_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


Re: [Dspace-tech] Javascript disabled on DSpace?

2015-04-09 Thread Borda, Susan
Hi-
I finally got this working this morning thanks to Alex in the Jira post. It is 
odd that the Mirage 2 build doesn’t seem to work unless you download the 
dependencies.

Thanks,
susan

From: Borda, Susan Borda 
susan.bo...@montana.edumailto:susan.bo...@montana.edu
Date: Thursday, April 2, 2015 at 10:02 AM
To: Andrea Schweer schw...@waikato.ac.nzmailto:schw...@waikato.ac.nz, 
dspace-tech 
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Javascript disabled on DSpace?

Just added a paste of my output.log to: 
https://jira.duraspace.org/browse/DS-2368

Thanks,
susan
From: Andrea Schweer schw...@waikato.ac.nzmailto:schw...@waikato.ac.nz
Date: Wednesday, April 1, 2015 at 9:58 PM
To: Susan Borda susan.bo...@montana.edumailto:susan.bo...@montana.edu, 
dspace-tech 
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Javascript disabled on DSpace?

Hi Susan,

what maven version are you using (mvn --version)? I just discovered that Mirage 
2 doesn't appear to work with Maven 3.3.1; Maven 3.2.5 is fine. 
https://jira.duraspace.org/browse/DS-2533

cheers,
Andrea

On 02/04/15 12:28, Borda, Susan wrote:
I’m having this same issue:
https://jira.duraspace.org/browse/DS-2368
-susan



--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
--
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_15utm_medium=emailutm_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

[Dspace-tech] multiple locales

2015-04-09 Thread Zuikis Kosminis
Hello everyone.

I'm testing Dspace 5.1 with Mirage2 theme for my institution. We want to
have multilanguage Dspace.

Dspace is running on Tomcat behind Apace mod_proxy. I've created
messages_lang.xml file successfully and I am able to change the language
manually.

I mean if I want to change the language, I press on the link and get
following URL:
 http://localhost:8080/discover?locale-attribute=lang

If I change URL in browser with real URL, lets say
https://mydspace-url.university.com/discover?locale-attribute=lang language
changes. If I want to change the language back, I have the same error with
localhost url. I think the problem is with change language URL generation,
but I don't know where to look.

Thanks for any help or hints.

Best Regards
K.Z.
--
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_15utm_medium=emailutm_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

Re: [Dspace-tech] Validating in BASE OAI-PMH Validator

2015-04-09 Thread Claudia Jürgen
Hello,

thought this was a solved issue (DS-1445).
Have you tested the validation with
http://www.openarchives.org/Register/ValidateSite
There you can validate only (not register).

Maybe it's an issue with the BASE validator. It gives the same error for 
5.1 (demo.dspace.org) and our own instance (4.2) which validated with 
the openarchives validator.

Hope this helps

Claudia



Am 09.04.2015 um 14:46 schrieb Dspace P:
 Hi all.
 I try to validat a dspace 4.1 in http://oval.base-search.net/
 I can read in the report obtained after validation (well after trying to
 validate) the following error *ERROR:* No incremental harvesting (day
 granularity) of ListRecords: Harvest for reference date 2015-03-02 returned
 no records. Please make sure that the from and until parameters are
 evaluated.
 I tested these parameters in the url of the browser

 request?verb=ListRecordsfrom=2015-03-02metadataPrefix=oai_dc
 request?verb=ListRecordsuntil=2015-03-02metadataPrefix=oai_dc
 request?verb=ListRecordsfrom=2015-03-02T00:00:00Zuntil=2015-03-02T23:59:59ZmetadataPrefix=oai_dc

 and in all cases i have results

 Any idea about the error or what to do in my intance of dspace 4.1?
 Thanks.
 Best regards
 Antonio



 --
 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_15utm_medium=emailutm_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


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
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_15utm_medium=emailutm_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


[Dspace-tech] Validating in BASE OAI-PMH Validator

2015-04-09 Thread Dspace P
Hi all.
I try to validat a dspace 4.1 in http://oval.base-search.net/
I can read in the report obtained after validation (well after trying to
validate) the following error *ERROR:* No incremental harvesting (day
granularity) of ListRecords: Harvest for reference date 2015-03-02 returned
no records. Please make sure that the from and until parameters are
evaluated.
I tested these parameters in the url of the browser

request?verb=ListRecordsfrom=2015-03-02metadataPrefix=oai_dc
request?verb=ListRecordsuntil=2015-03-02metadataPrefix=oai_dc
request?verb=ListRecordsfrom=2015-03-02T00:00:00Zuntil=2015-03-02T23:59:59ZmetadataPrefix=oai_dc

and in all cases i have results

Any idea about the error or what to do in my intance of dspace 4.1?
Thanks.
Best regards
Antonio
--
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_15utm_medium=emailutm_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

Re: [Dspace-tech] multiple locales

2015-04-09 Thread Claudia Jürgen
Hello,

the languages or rather locales (see 
http://en.wikipedia.org/wiki/Locale) to be used are configurable in 
dspace.cfg with webui.supported.locales

see
# All the Locales, that are supported by this instance of DSpace
# A comma-separated list of Locales. All types of Locales country, 
country_language, country_language_variant
# Note that the appropriate file are present, especially that all the 
Messages_x.properties are there
# may be used, e. g: webui.supported.locales = en, de


The language catalogues are dependencies dspace-api-lang  and 
dspace-xmlui-lang and automatically part of the installation. If you 
want to customize them you can use the usual overlay mechanism.


If you do work with DSpace in a non-en language it would be great 
contributing back updating an existing or sharing a new translation.

Hope this helps

Claudia Jürgen


Am 09.04.2015 um 13:39 schrieb Zuikis Kosminis:
 Hello everyone.

 I'm testing Dspace 5.1 with Mirage2 theme for my institution. We want to
 have multilanguage Dspace.

 Dspace is running on Tomcat behind Apace mod_proxy. I've created
 messages_lang.xml file successfully and I am able to change the language
 manually.

 I mean if I want to change the language, I press on the link and get
 following URL:
   http://localhost:8080/discover?locale-attribute=lang

 If I change URL in browser with real URL, lets say
 https://mydspace-url.university.com/discover?locale-attribute=lang language
 changes. If I want to change the language back, I have the same error with
 localhost url. I think the problem is with change language URL generation,
 but I don't know where to look.

 Thanks for any help or hints.

 Best Regards
 K.Z.



 --
 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_15utm_medium=emailutm_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


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
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_15utm_medium=emailutm_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


Re: [Dspace-tech] managing dspace and tomcat log files

2015-04-09 Thread Àlex Magaz Graça
El 06/04/15 a les 22:19, Hilton Gibson ha escrit:
 Hi Chris

 1. Check the log clean-up here:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Daily_Admin/4.X#Sample_crontab
 2. Check the daily restart that also cleans out the tomcat logs here:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Restart_DSpace

 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 6 April 2015 at 20:20, Chris Gray cpg...@uwaterloo.ca
 mailto:cpg...@uwaterloo.ca wrote:

 We have an instance of 3.1 (scheduled to be replaced by 5.1
 eventually)
 where the log files for dspace and tomcat keep overflowing the file
 system.

 Is there any place that documents best practices for rolling over
 these
 files and keeping disk usage reasonable?  Both tomcat and dspace are
 deployed in the /home/dspace directory.  The server is RHEL 6.6.

 One problem is that catalina.out seems to grow without bounds.  It is
 currently ~30GB.  Shouldn't it be truncated when the daily log is
 broken
 off?

 Chris Gray
 Systems Analyst
 519-888-4567, ext. 35764
 cpg...@uwaterloo.ca mailto:cpg...@uwaterloo.ca
 University of Waterloo


 --
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 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_15utm_medium=emailutm_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


Hi,

You can further reduce the logs generated by Tomcat by doing the following:

- Disable localhost_access_log by commenting this entry in Tomcat's
server.xml:

!--
Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs
 prefix=localhost_access_log. suffix=.txt
 pattern=%h %l %u %t quot;%rquot; %s %b /
--

- Disable manager, host-manager and ConsoleHandler leaving Tomcat's
logging.properties like this:
 handlers = 1catalina.org.apache.juli.FileHandler, 
2localhost.org.apache.juli.FileHandler
   .handlers = 1catalina.org.apache.juli.FileHandler

   
   # Handler specific properties.
   # Describes specific configuration info for Handlers.
   

   1catalina.org.apache.juli.FileHandler.level = FINE 
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
   1catalina.org.apache.juli.FileHandler.prefix = catalina.

   2localhost.org.apache.juli.FileHandler.level = WARNING
   2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
   2localhost.org.apache.juli.FileHandler.prefix = localhost.

   
   # Facility specific properties.
   # Provides extra control for each logger.
   

   org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = 
INFO
 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 
2localhost.org.apache.juli.FileHandler


Before disabling these logs ensure you really don't need them.

Cheers,
Àlex

--
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_15utm_medium=emailutm_campaign=VA_SF
___
DSpace-tech mailing list

Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional information)

2015-04-09 Thread Tim Donohue
Hi George,

Hmmm...it actually looks a bit fishy to me.

You have two Host entries defined, which look to me like they are 
loading the same webapps:

1. Host name=localhost is configured to load *everything* under the 
webapps subdirectory.

2. Host name=ecommons-test.library.cornell.edu is then configured to 
load webapps/xmlui and webapps/jspui

So, essentially, between these two Host definitions, it looks like you 
are telling Tomcat to load both the XMLUI and JSPUI *twice*.

Could you try commenting out one of your Host definitions and 
rebooting Tomcat? I wonder if that would resolve the Solr lock issues. 
In general, with the setup you are using, you really only need to either 
set appBase='webapps' OR define individual Context tags per webapp. 
You don't need to do both.

As for your other question, I'm not sure why this work work on older 
versions of DSpace and not in DSpace 5.1. Perhaps it has something to do 
with the fact that we upgraded Solr to the latest version in DSpace 5.1. 
Maybe the latest version of Solr is less forgiving about multiple apps 
writing to it simultaneously.

- Tim

On 4/9/2015 8:40 AM, George Stanley Kozak wrote:
 Tim and  Graham:

 Here are excerpts from my tomcat sever.xml file (again, this works OK under 
 DSpace 4.3 and lower):

 Engine name=Catalina defaultHost=localhost
 ...
 Host name=localhost  appBase=webapps
  unpackWARs=true autoDeploy=true
 ...
 Host name=ecommons-test.library.cornell.edu  debug=0
  unpackWARs=true autoDeploy=false
 ...
 Context path= docBase=[tomcat]/webapps/xmlui /
 ...
 Context path=/jspui docBase=[ tomcat]/webapps/jspui /

 Do you think that this kind of configuration could cause the problem I am 
 observing?  And, if so, why doesn't it happen at a lower version of DSpace?

 George Kozak
 Digital Library Specialist
 Cornell University Library Information Technologies (CUL-IT)
 218 Olin Library
 Cornell University
 Ithaca, NY 14853
 607-255-8924


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: Thursday, April 09, 2015 9:24 AM
 To: George Stanley Kozak; Graham Triggs; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional 
 information)

 Hi George,

 On 4/8/2015 1:48 PM, George Stanley Kozak wrote:
 By the way, I run my webapps under tomcat, but I know that some of you
 run the webapps in their dspace directory.  Is there any advantage to
 doing one or another?

 It's really just a matter of preference, it doesn't matter which way you load 
 your webapps via Tomcat.  But, as Graham notes, the one thing you don't want 
 to do is have a single webapp loaded *twice*.  So, if your XMLUI (or JSPUI) 
 webapp is both under [tomcat]/webapps/ and configured under 
 [tomcat]/config/Catalina/localhost/ , then Tomcat may be essentially running 
 two copies of it. As Graham notes, this also could be a possible cause of the 
 Solr lock errors.

 Out of curiosity, are you running both XMLUI and JSPUI in parallel?
 While I've never heard it reported, I wonder if doing so could be causing 
 that same sort of issue -- one webapp obtains Solr access, and the other then 
 hits lock errors.

 (Again though, this is complete speculation...just trying to determine what 
 may be unique about your 5.1 setup)

 - Tim


--
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_15utm_medium=emailutm_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


Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional information)

2015-04-09 Thread George Stanley Kozak
Tim and  Graham:

Here are excerpts from my tomcat sever.xml file (again, this works OK under 
DSpace 4.3 and lower):

Engine name=Catalina defaultHost=localhost
...
Host name=localhost  appBase=webapps
unpackWARs=true autoDeploy=true
...
Host name=ecommons-test.library.cornell.edu  debug=0
unpackWARs=true autoDeploy=false
...
Context path= docBase=[tomcat]/webapps/xmlui /
...
Context path=/jspui docBase=[ tomcat]/webapps/jspui /

Do you think that this kind of configuration could cause the problem I am 
observing?  And, if so, why doesn't it happen at a lower version of DSpace?  

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Thursday, April 09, 2015 9:24 AM
To: George Stanley Kozak; Graham Triggs; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional 
information)

Hi George,

On 4/8/2015 1:48 PM, George Stanley Kozak wrote:
 By the way, I run my webapps under tomcat, but I know that some of you 
 run the webapps in their dspace directory.  Is there any advantage to 
 doing one or another?

It's really just a matter of preference, it doesn't matter which way you load 
your webapps via Tomcat.  But, as Graham notes, the one thing you don't want to 
do is have a single webapp loaded *twice*.  So, if your XMLUI (or JSPUI) webapp 
is both under [tomcat]/webapps/ and configured under 
[tomcat]/config/Catalina/localhost/ , then Tomcat may be essentially running 
two copies of it. As Graham notes, this also could be a possible cause of the 
Solr lock errors.

Out of curiosity, are you running both XMLUI and JSPUI in parallel? 
While I've never heard it reported, I wonder if doing so could be causing that 
same sort of issue -- one webapp obtains Solr access, and the other then hits 
lock errors.

(Again though, this is complete speculation...just trying to determine what may 
be unique about your 5.1 setup)

- Tim
--
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_15utm_medium=emailutm_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


[Dspace-tech] [DSpace-tech]: Null pointer Exception with item submission!

2015-04-09 Thread Nada Abo-Eita
Dear Dspace Community,

I am running dspace 4.2 and I have problem with item submission. I’m
getting java.lang.NullPointerException sometimes when I am submitting an
item right before I get to the CC Licensing step.

I didn't get this error always when submit an item, sometimes It appears
and sometimes not.

Java stacktrace [hide]

java.lang.NullPointerException
at 
org.dspace.app.xmlui.aspect.submission.submit.CCLicenseStep.addBody(CCLicenseStep.java:127)
at 
org.dspace.app.xmlui.aspect.submission.StepTransformer.addBody(StepTransformer.java:145)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy47.startElement(Unknown Source)
at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at 
org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(AbstractXMLByteStreamInterpreter.java:117)
at 
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:44)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:324)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy38.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 
org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy39.generate(Unknown Source)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy38.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 
org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy39.generate(Unknown Source)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 

Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional information)

2015-04-09 Thread Tim Donohue
Hi George,

On 4/8/2015 1:48 PM, George Stanley Kozak wrote:
 By the way, I run my webapps under tomcat, but I know that some of you
 run the webapps in their dspace directory.  Is there any advantage to
 doing one or another?

It's really just a matter of preference, it doesn't matter which way you 
load your webapps via Tomcat.  But, as Graham notes, the one thing you 
don't want to do is have a single webapp loaded *twice*.  So, if your 
XMLUI (or JSPUI) webapp is both under [tomcat]/webapps/ and configured 
under [tomcat]/config/Catalina/localhost/ , then Tomcat may be 
essentially running two copies of it. As Graham notes, this also could 
be a possible cause of the Solr lock errors.

Out of curiosity, are you running both XMLUI and JSPUI in parallel? 
While I've never heard it reported, I wonder if doing so could be 
causing that same sort of issue -- one webapp obtains Solr access, and 
the other then hits lock errors.

(Again though, this is complete speculation...just trying to determine 
what may be unique about your 5.1 setup)

- Tim

--
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_15utm_medium=emailutm_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