Re: [Dspace-tech] Embargoed items

2015-02-09 Thread helix84
On Fri, Feb 6, 2015 at 6:24 PM, Collier, Aaron acoll...@calstate.edu wrote:
 http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json

Hi Aaron,

did you know that it's easier to use the phps Solr writer when querying
Solr from PHP? No need for json decoding. I added a complete example here:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Solrresponses


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] IP Authentification Problems

2015-02-09 Thread Stefanie Behnke
Dear Wolfgang,

 

I did already uses this patch, you mentioned

dspace-api/src/main/java/org/dspace/authenticate/IPMatcher.java 

 

rebuilt Maven, ant and started Tomcat.

 

This does not work for me.

 

Best regards

Stefanie

 

 

 

 

 

Von: Riese Wolfgang [mailto:w.ri...@zbw.eu] 
Gesendet: Montag, 9. Februar 2015 17:24
An: 'Stefanie Behnke'; dspace-tech@lists.sourceforge.net
Betreff: AW: [Dspace-tech] IP Authentification Problems

 

Hi,

 

for me on Dspace 3.2 XMLUI, Patch DS-1235 does the trick.

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

 

 

Hope it helps,

Wolfgang

 

 

--

WOLFGANG RIESE

IIPT

 

HH, Raum 414

T:  +49-40-42834-240

http://www.zbw.eu

 

ZBW - Deutsche Zentralbibliothek für Wirtschaftswissenschaften
Leibniz-Informationszentrum Wirtschaft

- Standort Hamburg -

Neuer Jungfernstieg 21

 

20354 Hamburg

 

Von: Stefanie Behnke [mailto:dsp...@eurographics-office-goslar.de] 
Gesendet: Montag, 9. Februar 2015 15:54
An:  mailto:dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Betreff: [Dspace-tech] IP Authentification Problems

 

Dear all,

 

we are using Dspace 3.1 with the XMLUI (Mirage).

 

I have set the IP configuration:

In authentification.cfg:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \

org.dspace.authenticate.IPAuthentication, \

org.dspace.authenticate.LDAPAuthentication, \

org.dspace.authenticate.PasswordAuthentication

 

I have visit  https://github.com/DSpace/DSpace/pull/632/files
https://github.com/DSpace/DSpace/pull/632/files and added the patch to my
system.

Also I added the patch from https://github.com/DSpace/DSpace/pull/255/files

 

In our repository all items are visible to all users, but the bitsteams are
only accessible with read right group 

“eg-member”.

 

So I have configured 

authentication-ip.cfg (see attachment)

 

Full IPs, partial IPs are working,

but using network/netmask or network/CIDR then only one entry works.

 

For example:

….

129.27, \

139.174, \

…. Is working

But

….

129.27.0.0/16, \

139.174.0.0/16, \

….

does not work.

 

As you can see I have a lot of IP ranges where I have to use network/netmask
or network/CIDR,

I tried both, with same result: If the CIDR is not 32 or the netmask not
255.255.255.255,

it only works for one IP range.

 

I hope you can help me, thanking you in advance

Stefanie

 

 

--
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] Error occurred while clicking on Feedback link (XMLUI)

2015-02-09 Thread euler
Hi Vinay,

In your dspace.cfg, look for the line mail.allowed.referrers. The default
value for this is localhost. Add your hostname or domain name to this entry.

Ex:

mail.allowed.referrers = localhost,101.2.163.148,your.dspace.instance.org

Save dspace.cfg and restart tomcat.

Regards,
euler



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Error-occurred-while-clicking-on-Feedback-link-XMLUI-tp4676555p4676558.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
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] DSpace 5 on server 2012 R2

2015-02-09 Thread Andrea Schweer

  
  
Hi,

there are instructions for deploying the web apps here:
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation
step 10. I don't know whether you can deploy the solr webapp via the
tomcat application manager.

cheers,
Andrea

On 06/02/15 10:28, Goran Ivaz wrote:


  
  
  
  
I deployed
web.xml only. But I am unable to start solr….
 
FAIL
- Application at context path /solr could not be started
FAIL
- Encountered exception
org.apache.catalina.LifecycleException: Failed to start
component [/solr]
 
Any
suggestions ?
 
Thanks
 

  
From: Andrea Schweer
[mailto:schw...@waikato.ac.nz] 
Sent: Wednesday, February 04, 2015 4:55 PM
To: Goran Ivaz; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 5 on server
2012 R2
  

 
Hi,

  On 05/02/15 12:21, Goran Ivaz wrote:


  If
  I only want to use the /xmlui interface in Tomcat 8 which
  other webapp must I add/deploy to Tomcat. So far I added
  only the xmlui webapp and it seems OK. Do I need to deploy
  any other webapps from the DSPace directory ?


Assuming you're using the default settings, you will also
need the solr webapp (for search, browse, recently added
lists, facets and usage statistics).

cheers,
Andrea



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


-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-838 4466 ext. 6972
  


--
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] LDAP authentication mail attribute issue

2015-02-09 Thread Hakan Yanaz
Hi,

I am using LDAP authentication for autoregister.

DSpace can communicate with LDAP server and get mail value independently.

When I configure ldap to match email_field = mail, it doesn't work.
However, it is working as phone_field = mail.

I can not understand and find any post related to this issue.

I hope someone can help me to figure out it.

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] R: R: R: Mirage 2

2015-02-09 Thread Andrea Schweer

  
  
Hi,

in your attachment, I see this just before it starts to complain:


  
   EACCES EACCES,
  mkdir '/tmp/dspace/bower'
  [INFO]

  
  [INFO]
  Stack trace:
  [INFO]
  Error: EACCES, mkdir '/tmp/dspace/bower'
  [INFO] 
  
  
  

That looks like a permissions problem to me. Ensure that the dspace
user has permission to write to /tmp/dspace and try again, does it
work then?

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

[Dspace-tech] COMMUNITY LIST

2015-02-09 Thread Fernando Casas Osorio
Regards,
Can someone help me telling me as I set Communities  Collections with drill 
drown?I hope these appear as tree but not open at all levels
Thanks for your help.
Fernando Casas Osorio --
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] IP Authentification Problems

2015-02-09 Thread Stefanie Behnke
Dear all,

 

we are using Dspace 3.1 with the XMLUI (Mirage).

 

I have set the IP configuration:

In authentification.cfg:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \

org.dspace.authenticate.IPAuthentication, \

org.dspace.authenticate.LDAPAuthentication, \

org.dspace.authenticate.PasswordAuthentication

 

I have visit  https://github.com/DSpace/DSpace/pull/632/files
https://github.com/DSpace/DSpace/pull/632/files and added the patch to my
system.

Also I added the patch from https://github.com/DSpace/DSpace/pull/255/files

 

In our repository all items are visible to all users, but the bitsteams are
only accessible with read right group 

eg-member.

 

So I have configured 

authentication-ip.cfg (see attachment)

 

Full IPs, partial IPs are working,

but using network/netmask or network/CIDR then only one entry works.

 

For example:

..

129.27, \

139.174, \

.. Is working

But

..

129.27.0.0/16, \

139.174.0.0/16, \

..

does not work.

 

As you can see I have a lot of IP ranges where I have to use network/netmask
or network/CIDR,

I tried both, with same result: If the CIDR is not 32 or the netmask not
255.255.255.255,

it only works for one IP range.

 

I hope you can help me, thanking you in advance

Stefanie

 

 



authentication-ip.cfg
Description: Binary data
--
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] Error occurred while clicking on Feedback link (XMLUI)

2015-02-09 Thread emilio lorenzo

Hi,   check  in dspace.cfg the parameter  mail.allowed.referrers

The feedback requests aret checked against it In order to prevent spam

Regards

Emilio


El 10/02/2015 a las 5:32, Vinay Kumar Sharma escribió:

Dear Professionals,

We have implemented Dspace 4.2, Everything is running file except one 
error.


While clicking on feedback link in XMLUI, it showing me following 
error. The detail error is attached in text file.



  An error has occurred

Go to DSpace home

org.dspace.authorize.AuthorizeException: The feedback mail page may 
only be invoked from another DSpace page


Cocoon stacktrace [show]

Java stacktrace [show]

Java full stacktrace [show]

You can also view the live error on following URL: 
http://101.2.163.148:8080/xmlui/feedback


Please help me to rectify this error.


thanks  regards
Vinay Kumar Sharma
Librarian
Sarath Engineering and Technology
N.H. - 08, Nr. Chiloda
Himatnagar-383125
Gujarat


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


--
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] Error occurred while clicking on Feedback link (XMLUI)

2015-02-09 Thread Vinay Kumar Sharma
Dear Professionals,

We have implemented Dspace 4.2, Everything is running file except one error.

While clicking on feedback link in XMLUI, it showing me following error.
The detail error is attached in text file.

An error has occurred

Go to DSpace home

org.dspace.authorize.AuthorizeException: The feedback mail page may only be
invoked from another DSpace page

Cocoon stacktrace [show]

Java stacktrace [show]

 Java full stacktrace [show]
You can also view the live error on following URL:
http://101.2.163.148:8080/xmlui/feedback

Please help me to rectify this error.


thanks  regards
Vinay Kumar Sharma
Librarian
Sarath Engineering and Technology
N.H. - 08, Nr. Chiloda
Himatnagar-383125
Gujarat
An error has occurred

Go to DSpace home

org.dspace.authorize.AuthorizeException: The feedback mail page may only be 
invoked from another DSpace page

Cocoon stacktrace [hide]
Sitemap: error invoking action
context:/resource://aspects/ViewArtifacts/sitemap.xmap - 275:40 
map:act type=SendFeedbackAction
context:/resource://aspects/ViewArtifacts/sitemap.xmap - 274:34 
map:match
context:/jndi:/localhost/aspects/aspects.xmap - 89:72   map:mount
context:/jndi:/localhost/aspects/aspects.xmap - 79:34   map:select 
type=parameter
context:/jndi:/localhost/aspects/aspects.xmap - 78:36   map:match 
type=AspectMatcher
context:/jndi:/localhost/sitemap.xmap - 487:100 map:mount
context:/jndi:/localhost/sitemap.xmap - 486:49  map:match
context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 108:40   
map:serialize type=xml
context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 47:47
map:transform type=Navigation
context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 41:28
map:generate
context:/resource://aspects/Discovery/sitemap.xmap - 214:40 map:serialize 
type=xml
context:/resource://aspects/Discovery/sitemap.xmap - 78:47  map:transform 
type=Navigation
context:/resource://aspects/Discovery/sitemap.xmap - 66:28  map:generate
context:/resource://aspects/Administrative/sitemap.xmap - 1037:31   
map:serialize type=xml
context:/resource://aspects/Administrative/sitemap.xmap - 282:38
map:transform type=Navigation
context:/resource://aspects/Administrative/sitemap.xmap - 281:44
map:transform type=SystemwideAlerts
context:/resource://aspects/Administrative/sitemap.xmap - 279:19
map:generate
context:/resource://aspects/EPerson/sitemap.xmap - 302:31   map:serialize 
type=xml
context:/resource://aspects/EPerson/sitemap.xmap - 107:38   map:transform 
type=Navigation
context:/resource://aspects/EPerson/sitemap.xmap - 96:19map:generate
context:/resource://aspects/Submission/sitemap.xmap - 277:27map:serialize
context:/resource://aspects/Submission/sitemap.xmap - 257:26map:generate
context:/resource://aspects/Statistics/sitemap.xmap - 292:36map:serialize 
type=xml
context:/resource://aspects/Statistics/sitemap.xmap - 37:19 map:generate
context:/resource://aspects/Workflow/sitemap.xmap - 161:27  map:serialize
context:/resource://aspects/Workflow/sitemap.xmap - 145:26  map:generate
context:/jndi:/localhost/aspects/aspects.xmap - 85:34   map:serialize 
type=xml
context:/jndi:/localhost/aspects/aspects.xmap - 84:43   map:transform 
type=PageNotFound
context:/jndi:/localhost/aspects/aspects.xmap - 83:22   map:generate
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 164:34map:serialize 
type=xhtml
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 158:33map:transform 
type=i18n
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 153:51map:transform
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 140:55map:transform 
type=IncludePageMeta
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 135:55map:transform 
type=IncludePageMeta
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 126:55map:transform 
type=IncludePageMeta
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 120:55map:generate 
type=file
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 117:28map:match
context:/jndi:/localhost/themes/themes.xmap - 33:45 map:mount
context:/jndi:/localhost/themes/themes.xmap - 32:35 map:match 
type=ThemeMatcher
context:/jndi:/localhost/sitemap.xmap - 680:94  map:mount

Java stacktrace [hide]

org.dspace.authorize.AuthorizeException: The feedback mail page may only be 
invoked from another DSpace page
at 
org.dspace.app.xmlui.aspect.artifactbrowser.SendFeedbackAction.act(SendFeedbackAction.java:90)
at 
org.apache.cocoon.sitemap.impl.DefaultExecutor.invokeAction(DefaultExecutor.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:105)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 

Re: [Dspace-tech] LDAP authentication mail attribute issue

2015-02-09 Thread Olivier Nicole
Hi,

 I am using LDAP authentication for autoregister.

 DSpace can communicate with LDAP server and get mail value independently.

 When I configure ldap to match email_field = mail, it doesn't work.
 However, it is working as phone_field = mail.

 I can not understand and find any post related to this issue.

 I hope someone can help me to figure out it.

I had that same problem one month ago, the answer given to me wasa:

As for the email field problem. There was a known bug regarding
this in DSpace 3 and 4. It's now been fixed in DSpace 5. Here's the info
on that problem: https://jira.duraspace.org/browse/DS-1781

I applied the patch, mvn -U clean package in [dspace source] and ant
update and restart tomcat.

Best regards,

Olivier

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