[Dspace-tech] ORCID patch for DSpace 3.2

2015-03-04 Thread Ruben
Hi all,

I'm trying to integrate ORCID into DSpace and I've noticed about his 
integration in the recent 5.0 version. Now I don't want to upgrade my 
DSpace version, but I'm interested in this functionality for my 3.2 and 
I read something about a patch for 3.x and 4.x versions. Someone knows 
something about this patch?

Thanks in advance

-- 


Rubén Boada
Tècnic de Càlcul i Aplicacions
Consorci de Serveis Universitaris de Catalunya (CSUC)

Gran Capità, 2 (Edifici Nexus)•08034 Barcelona
T.93 551 62 13•ruben.bo...@csuc.cat
www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin
Subscriu-te al butlletí; (www.csuc.cat/butlleti)



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] maven error

2015-03-04 Thread Lewatle Phaladi
Hi,

I am getting the following error, any idea what am I doing wrongly

dspace@lcstest:~/dspace-5.0-src-release$ mvn package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.dspace:dspace-parent:5.0 
(/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error
[ERROR] 
'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @ line 
176, column 28
[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

Regards,
Lewatle



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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] Input Forms Value Pairs

2015-03-04 Thread Hilton Gibson
Hi All

Just wondering. Does anybody have an input form value pair for ISO
countries that is available on the web publically?
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Submissions/Forms#Definition_of_.3Cvalue-pairs.3E

Cheers

*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
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] Batch data change

2015-03-04 Thread Hakan Yanaz
Hi,

I want to change document type of all items inserted as "Article" to
"article".

I do some research about that and the result is :

in Postgresql, pgAdmin interface:

The "metadata_field_id" of "type" field is "66" in "metadatafieldregistry"
table.

I can listed all Articles from "metadatavalue" table where
metadata_field_id = 66 and text_value = "Article"

If I change all text_value fields to "article" which I can listed like
above, all things is that?

Thanks for any advice.

Best Regards

Hakan Yanaz
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] install error for upstream/master

2015-03-04 Thread Monika C. Mevenkamp
Thanks Andrea  and a follow up question to mvn experts

My tomcat8 says in its release notes
* servlet-api.jar (Servlet 3.1 API)
so I changed the main pom to say

   javax.servlet
   servlet-api
   3.1.0


then a couple rounds of unsuccessful mvn package attempts

Finally  I removed  ~/.m2/repository/javax  and tried again
> mvn clean
> mvn -U package

this triggers downloading of all sorts of a javax packages. As you can see in 
the list below there is a
javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom

despite this I get the error

[ERROR] Failed to execute goal on project dspace-services: Could not resolve 
dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could not 
find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases 
(https://oss.sonatype.org/content/repositories/releases/)

I am at a loss - since the jar/pom was downloaded - why is maven / am I 
confused  ?

Any suggestions ?

Monika


contents of .m2/repository/javax/:
/Users/monikam/.m2/repository/javax/activation/activation/1.1/_remote.repositories
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar.lastUpdated
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar.sha1
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.pom
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.pom.lastUpdated
/Users/monikam/.m2/repository/javax/activation/activation/1.1/activation-1.1.pom.sha1
/Users/monikam/.m2/repository/javax/mail/mail/1.4/_remote.repositories
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar.lastUpdated
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar.sha1
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.pom
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.pom.lastUpdated
/Users/monikam/.m2/repository/javax/mail/mail/1.4/mail-1.4.pom.sha1
/Users/monikam/.m2/repository/javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar.lastUpdated
/Users/monikam/.m2/repository/javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.pom.lastUpdated




Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 
08544


On Mar 3, 2015, at 7:16 PM, Andrea Schweer 
mailto:schw...@waikato.ac.nz>> wrote:

Hi Monika,

On 04/03/15 12:42, Monika C. Mevenkamp wrote:
I am trying to run upstream/master with code changes of mine inside dspace-api

I created a new database
did mvn package  and ran fresh_install
when going to home page I get the following error

http://localhost:8080/jspui/internal-error
-- Method: GET
-- Parameters were:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [94] in the generated java file: 
[/usr/local/Cellar/tomcat/8.0.17/libexec/work/Catalina/localhost/jspui/org/apache/jsp/index_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest

My first suspect would be the version of servlet-api that comes with your 
tomcat install. A quick web search for "The method getDispatcherType() is 
undefined for the type HttpServletRequest" leads to this: 
http://stackoverflow.com/questions/26436463/getdispatchertype-is-undefined-for-the-type-httpservletrequest

>From this line in the top-level pom, it looks to me like DSpace expects 
>version 2.5 of servlet-api to be provided by your web application container:
https://github.com/DSpace/DSpace/blob/master/pom.xml#L1030

I don't know whether you can just swap out the servlet-api jar that comes with 
tomcat. One of the answers to the stackoverflow question suggests going the 
other direction, ie changing the version number in the DSpace pom file to what 
is provided by your web application container (3.1, it looks like?). I suspect 
in that case you'll get compile-time errors about the same thing.

The DSpace docs say we support Tomcat 7 or newer; if this problem persists for 
Tomcat 8 then this might be worth a Jira issue.

cheers,
Andrea


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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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

Re: [Dspace-tech] ORCID patch for DSpace 3.2

2015-03-04 Thread helix84
You can see the original ORCID patch here:
https://github.com/DSpace/DSpace/pull/612/files

I wouldn't attempt to apply it to 3.x. Remember that DSpace 5 had the
metadata for all DSOs changes, which are pretty extensive. Moreover,
the ORCID feature later received several bugfixes, which are not part
of PR#612. Your best bet is to upgrade to DSpace 5.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] install error for upstream/master

2015-03-04 Thread Mark H. Wood
On Wed, Mar 04, 2015 at 03:19:02PM +, Monika C. Mevenkamp wrote:
> Thanks Andrea  and a follow up question to mvn experts
> 
> My tomcat8 says in its release notes
> * servlet-api.jar (Servlet 3.1 API)
> so I changed the main pom to say
> 
>javax.servlet
>servlet-api
>3.1.0
> 
> 
> then a couple rounds of unsuccessful mvn package attempts
> 
> Finally  I removed  ~/.m2/repository/javax  and tried again
> > mvn clean
> > mvn -U package
> 
> this triggers downloading of all sorts of a javax packages. As you can see in 
> the list below there is a
> javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom
> 
> despite this I get the error
> 
> [ERROR] Failed to execute goal on project dspace-services: Could not resolve 
> dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could 
> not find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases 
> (https://oss.sonatype.org/content/repositories/releases/)
> 
> I am at a loss - since the jar/pom was downloaded - why is maven / am I 
> confused  ?

They changed the name of the artifact starting with 3.0.1.  The GAV
coordinates are now javax.servlet:javax.servlet-api:3.1.0.

http://search.maven.org/#artifactdetails|javax.servlet|javax.servlet-api|3.1.0|jar

Personally I think this sort of renaming should be a hanging offense.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] XOAI wrong request info

2015-03-04 Thread Claudia Jürgen
Hi all,

got a weird effect with oai (DSpace version 4.2 + the latest security 
patches, oai caching disabled).

Validated our site with the Openarchives oai validator after the upgrade 
to 4.2 and all was ok. Now it complains about the baseUrl not matching
http://eldorado.uni-dortmund.de:8080/dspace-oai/request?verb=Identify
Validator output:
[FAIL] baseURL supplied 
'http://eldorado.uni-dortmund.de:8080/dspace-oai/request' does not match 
the baseURL in the Identify response 
'https://eldorado.tu-dortmund.de/dspace-oai/request'. The baseURL you 
enter must EXACTLY match the baseURL returned in the Identify response. 
It must match in case (http://Wibble.org/ does not match 
http://wibble.org/) and include any trailing slashes etc.

In our test instance
http://eldorado2.uni-dortmund.de:8080/dspace-oai/request it is ok.

Both run from the same sources and the same configuration (no rewrite to 
https for dspace-oai) and nothing has changed between the times of the 
two validations.

Has anyone an idea

Claudia

-- 
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.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] Registering DOIs with crossref from DSpace

2015-03-04 Thread Chris Gray
Has anyone managed to automatically register DOIs with crossref from DSpace?

What I have found out so far:

It looks to me that the DSpace documentation on DOIs [1] won't work with 
crossref.  But crossref is used with DSpace with DOIs based on handles [2].

crossref provides ways to upload metadata for new DOIs including a Java 
class [3].

Thanks,
Chris

[1]: 
https://wiki.duraspace.org/display/DSDOC5x/DOI+Digital+Object+Identifier
[2]: http://help.crossref.org/d
[3]: http://help.crossref.org/using_http_to_post


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] install error for upstream/master

2015-03-04 Thread Monika C. Mevenkamp
Ah - Yikes - Thanks

It compiles now   after I changed the dependencies to rely on  
javax.servlet-api
Unfortunately this had to be done in all sorts of pom.xml files

BUT

after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in 
webapps/*/WEB-INF/lib directories

when I do
> ant update
> rm $DSPACE_HOME/webapps/jspui/WEB-INF/lib/*servlet*
then restart tomcat and localhost:8080/jspui comes up fine

This is an ugly hack - but good enough for now.  I’d be curious to know though 
why insist in adding the old servlet jar,
but not curious enough to keep digging.

Monika

the diff in case anybody cares to look:




Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 
08544


> On Mar 4, 2015, at 1:00 PM, Mark H. Wood  wrote:
>
> On Wed, Mar 04, 2015 at 03:19:02PM +, Monika C. Mevenkamp wrote:
>> Thanks Andrea  and a follow up question to mvn experts
>>
>> My tomcat8 says in its release notes
>>* servlet-api.jar (Servlet 3.1 API)
>> so I changed the main pom to say
>> 
>>   javax.servlet
>>   servlet-api
>>   3.1.0
>> 
>>
>> then a couple rounds of unsuccessful mvn package attempts
>>
>> Finally  I removed  ~/.m2/repository/javax  and tried again
>>> mvn clean
>>> mvn -U package
>>
>> this triggers downloading of all sorts of a javax packages. As you can see 
>> in the list below there is a
>> javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom
>>
>> despite this I get the error
>>
>> [ERROR] Failed to execute goal on project dspace-services: Could not resolve 
>> dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could 
>> not find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases 
>> (https://oss.sonatype.org/content/repositories/releases/)
>>
>> I am at a loss - since the jar/pom was downloaded - why is maven / am I 
>> confused  ?
>
> They changed the name of the artifact starting with 3.0.1.  The GAV
> coordinates are now javax.servlet:javax.servlet-api:3.1.0.
>
> http://search.maven.org/#artifactdetails|javax.servlet|javax.servlet-api|3.1.0|jar
>
> Personally I think this sort of renaming should be a hanging offense.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. 
> http://goparallel.sourceforge.net/___
> 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-api/pom.xml   |  7 +++
 dspace-jspui/pom.xml |  2 +-
 dspace-lni/dspace-lni-client/pom.xml |  2 +-
 dspace-lni/pom.xml   |  4 ++--
 dspace-oai/pom.xml   |  2 +-
 dspace-rdf/pom.xml   |  2 +-
 dspace-rest/pom.xml  |  4 ++--
 dspace-services/pom.xml  |  2 +-
 dspace-solr/pom.xml  |  3 +--
 dspace-sword/pom.xml |  2 +-
 dspace-swordv2/pom.xml   |  2 +-
 dspace-xmlui/pom.xml |  2 +-
 dspace/modules/additions/pom.xml |  2 +-
 dspace/modules/jspui/pom.xml |  4 ++--
 dspace/modules/lni/pom.xml   |  4 ++--
 dspace/modules/oai/pom.xml   |  2 +-
 dspace/modules/rdf/pom.xml   |  2 +-
 dspace/modules/rest/pom.xml  |  2 +-
 dspace/modules/sword/pom.xml |  2 +-
 dspace/modules/swordv2/pom.xml   |  2 +-
 dspace/modules/xmlui/pom.xml |  2 +-
 dspace/pom.xml   |  2 +-
 pom.xml  | 12 +---
 23 files changed, 37 insertions(+), 33 deletions(-)
diff --git a/dspace-api/pom.xml b/dspace-api/pom.xml
index a85383b..487e317 100644
--- a/dspace-api/pom.xml
+++ b/dspace-api/pom.xml
@@ -365,7 +365,7 @@
 
 
 javax.servlet
-servlet-api
+javax.servlet-api
 provided
 
 
@@ -569,10 +569,9 @@
 
 
 
-com.oracle
-ojdbc6
+postgresql
+postgresql
 
-

 
 org.slf4j
diff --git a/dspace-jspui/pom.xml b/dspace-jspui/pom.xml
index 5411545..789b0b0 100644
--- a/dspace-jspui/pom.xml
+++ b/dspace-jspui/pom.xml
@@ -106,7 +106,7 @@
 
 
 javax.servlet
-s

Re: [Dspace-tech] Registering DOIs with crossref from DSpace

2015-03-04 Thread helix84
Hi Chris,

you are correct, DSpace currrently supports only the DataCite and EZID
APIs. It doesn't support the CrossRef API yet, but the infrastructure
for minting DOIs is already in place, so it should be relatively easy
to write a CrossRef class for someone with access to CrossRef API.
Here's how:

https://wiki.duraspace.org/display/DSDOC5x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-AddingsupportforotherRegistrationAgencies


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] install error for upstream/master

2015-03-04 Thread helix84
On Wed, Mar 4, 2015 at 8:34 PM, Monika C. Mevenkamp
 wrote:
> after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in
> webapps/*/WEB-INF/lib directories

Sorry for asking the obvious, but did you run mvn clean?


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] install error for upstream/master

2015-03-04 Thread Andrea Schweer
On 05/03/15 10:35, helix84 wrote:
> On Wed, Mar 4, 2015 at 8:34 PM, Monika C. Mevenkamp
>  wrote:
>> after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in
>> webapps/*/WEB-INF/lib directories
> Sorry for asking the obvious, but did you run mvn clean?

Seconding helix84, pretty much every time I've had weird "why is that 
version of the jar there" issues was when I had forgotten to run mvn 
clean. The only other time was when I had a very messy pom file in a 
custom module (before I understood provided and in the 
middle of switching DSpace versions), and I would assume that's not the 
case in the main DSpace codebase :)

cheers,
Andrea

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


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] XOAI wrong request info

2015-03-04 Thread helix84
On Wed, Mar 4, 2015 at 7:46 PM, Claudia Jürgen
 wrote:
> got a weird effect with oai (DSpace version 4.2 + the latest security
> patches, oai caching disabled).

Hi Claudia,

the description part of OAI Identify response was backported to 4.x,
so most likely that's the change you weren't expecting:
https://github.com/DSpace/DSpace/commit/8fd038334e464593b3732c0ce832c4f27d77fc33#diff-2892a00c2368f97457e6ac3f2030c9e9

By default,  is configured to point to your
dspace.hostname - I assume that's the problem. You can change it here:
https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/config/crosswalks/oai/description.xml#L3

Then just restart your servlet container. You have caching turned off
(may I suggest you reconsider this decision?), so no need to run "oai
clean-cache".


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] (no subject)

2015-03-04 Thread Skevas Spiridon
I've installed the dspace and when i go to browse "Authors" or "By Issue
Date" or "Titles" as Administrator i get an error. This happens also when i
try to browse "Private Items" or "Withdraw items" again as
administrator.What happens?

stacktrace is:

java.net.ConnectException: Connection refused at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at
java.net.Socket.connect(Socket.java:579) at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:365)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) at
org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1582) at
org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189) at
org.dspace.browse.SolrBrowseDAO.doCountQuery(SolrBrowseDAO.java:230) at
org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:761) at
org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:721) at
org.dspace.browse.BrowseEngine.browseByItem(BrowseEngine.java:264) at
org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:100) at
org.dspace.app.xmlui.aspect.administrative.WithdrawnItems.getBrowseInfo(WithdrawnItems.java:719)
at
org.dspace.app.xmlui.aspect.administrative.WithdrawnItems.addBody(WithdrawnItems.java:237)
at
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
at sun.reflect.GeneratedMethodAccessor86.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.$Proxy27.startElement(Unknown Source) at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
at
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
at sun.reflect.GeneratedMethodAccessor86.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.$Proxy27.startElement(Unknown Source) at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
at
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
at sun.reflect.GeneratedMethodAccessor86.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.$Proxy27.startElement(Unknown Source) at
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
at
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
at sun.reflect.GeneratedMethodAccessor86.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.$Proxy27.startElement(Unknown Source) at
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
at
org.apache.cocoon.components.sax.XM

Re: [Dspace-tech] Input Forms Value Pairs

2015-03-04 Thread helix84
Hi Hilton,

that would be ISO 3166, one of the few ISO norms that has tables
easily findable on the web.

This project even makes translations of the country names to other languages:
http://translationproject.org/domain/iso_3166.html

Check out the iso-codes debian package; it's the same thing.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] Input Forms Value Pairs

2015-03-04 Thread Hilton Gibson
Hi Ivan,

Thx for the reply.
Perhaps I was too brief.
I type with two fingers!

I would like to add:
I am looking for a prepared input.xml file with the value-pairs already
prepared.
This is for subject specific repository that does global research.

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 5 March 2015 at 00:38, helix84  wrote:

> Hi Hilton,
>
> that would be ISO 3166, one of the few ISO norms that has tables
> easily findable on the web.
>
> This project even makes translations of the country names to other
> languages:
> http://translationproject.org/domain/iso_3166.html
>
> Check out the iso-codes debian package; it's the same thing.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] XOAI wrong request info

2015-03-04 Thread Claudia Jürgen
Hello Ivan,

thanx, but the repositoryIdentifier was not the problem it is
the  and the  in the response.
Calling
http://eldorado.uni-dortmund.de:8080/dspace-oai/request?verb=Identify
the reponse looks like that:


https://eldorado.tu-dortmund.de/dspace-oai/request

https://eldorado.tu-dortmund.de/dspace-oai/request

...

the baseURL is what does not validate.

thank you

Claudia



Am 04.03.2015 um 23:33 schrieb helix84:
> On Wed, Mar 4, 2015 at 7:46 PM, Claudia Jürgen
>  wrote:
>> got a weird effect with oai (DSpace version 4.2 + the latest security
>> patches, oai caching disabled).
>
> Hi Claudia,
>
> the description part of OAI Identify response was backported to 4.x,
> so most likely that's the change you weren't expecting:
> https://github.com/DSpace/DSpace/commit/8fd038334e464593b3732c0ce832c4f27d77fc33#diff-2892a00c2368f97457e6ac3f2030c9e9
>
> By default,  is configured to point to your
> dspace.hostname - I assume that's the problem. You can change it here:
> https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/config/crosswalks/oai/description.xml#L3
>
> Then just restart your servlet container. You have caching turned off
> (may I suggest you reconsider this decision?), so no need to run "oai
> clean-cache".
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing 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.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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