[Dspace-tech] Displayed metadata when using discovery

2011-12-05 Thread MesArch MesArch
Hello Dspacers,

I am a newbie with Dspace and I am currently using Dspace 1.8.0 with Mirage
theme and Discovery enabled. I want to change the metadata displayed in the
search results when using Discovery. As far as I know the default metadata
to be displayed are Title, Author and Issue date. I want to remove these
fields and add some other metadata as defaults. The only thing I found is
to add the metadata at webui.itemlist.columns in dspace.cfg but this seems
to change the metadata displayed when using JSPUI and not XMLUI. Any help
will be appreciated.

Thanks in advance,

George K.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Displayed metadata when using discovery

2011-12-05 Thread helix84
On Mon, Dec 5, 2011 at 10:21, MesArch MesArch mesarch.dsp...@gmail.com wrote:
 Hello Dspacers,

 I am a newbie with Dspace and I am currently using Dspace 1.8.0 with Mirage
 theme and Discovery enabled. I want to change the metadata displayed in the
 search results when using Discovery. As far as I know the default metadata
 to be displayed are Title, Author and Issue date. I want to remove these
 fields and add some other metadata as defaults. The only thing I found is to
 add the metadata at webui.itemlist.columns in dspace.cfg but this seems to
 change the metadata displayed when using JSPUI and not XMLUI. Any help will
 be appreciated.

Hi George,
you need to modify template
xsl:template match=dim:dim mode=itemSummaryList-DIM-metadata
in
Mirage/lib/xsl/aspect/artifactbrowser/item-list.xsl line 152.

Regards,
~~helix84

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exception in thread main java.lang.NoClassDefFoundError: org/dspace/app/launcher/ScriptLauncher

2011-12-05 Thread Abhishek Raval
Hello All,

 I am also getting the same problem .in *dspace create-administrator* 
in *dspace filter-media
* how do i resolve this proble ???

I am using dspace-1.7.2 



-- Forwarded message --
From: helix84 heli...@centrum.sk
To: Fabiana Zollo picc...@hotmail.it
Cc: dspace-tech@lists.sourceforge.net
Date: Fri, 2 Dec 2011 14:12:27 +0100
Subject: Re: [Dspace-tech] Exception in thread main
java.lang.NoClassDefFoundError: org/dspace/app/launch er/ScriptLauncher
Hi Fabiana,
the problem is you haven't installed DSpace yet. You only downloaded
and unpacked it.

I got the suspicion when I saw the name of your directory -
dspace-1.8.0-src-release. This is what we call [dspace-src] in
documentation, not [dspace]. To verify that I'm right I ran the
script in the installation directory and got the same result as you did.

Please read the DSpace documentation where things like [dspace-src]
and [dspace] are explained and follow the detailed installation
instructions.
https://wiki.duraspace.org/display/DSDOC18/DSpace+1.8+Documentation

Regards,
~~helix84


Thanks n Regards
Abhishek Raval
Ph no.-+919601077584
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exception in thread main java.lang.NoClassDefFoundError: org/dspace/app/launcher/ScriptLauncher

2011-12-05 Thread helix84
On Mon, Dec 5, 2011 at 11:39, Abhishek Raval abhis...@webinito.com wrote:
  I am also getting the same problem .in dspace create-administrator  in
 dspace filter-media
  how do i resolve this proble ???

 I am using dspace-1.7.2 

Hello Abishek,
my explanation also applies to your dspace version - you need to
actually install dspace before you run those scripts. Look at the
documentation I linked to.

Regards,
~~helix84

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Login in Dspace 1.6.2 with LDAP (Active Directory)

2011-12-05 Thread Alexandre Zart
Dear friends,

 

We are using the native Dspace login, wich stores the e-person e-mail and a 
specific password, in tables of the Dspace database structure.

Is there some way to use our netword login (LDAP - Microsoft Active Directory) 
to authenticate in Dspace, instead of Dspace authentication structure? Is there 
some way to provide to the user the possibility of changing his password in 
Dspace, and this change be applied to AD too, and vice-versa?

 

 

Cordialmente,

 

Alexandre Zart

Coordenação de Desenvolvimento de Sistemas Acadêmicos

Gerência de Tecnologia da Informação e Telecomunicação

PUCRS - Prédio 40 - fone 3320-3511 ramal 4679

 

 

image001.png--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Login in Dspace 1.6.2 with LDAP (Active Directory)

2011-12-05 Thread helix84
On Mon, Dec 5, 2011 at 12:33, Alexandre Zart z...@pucrs.br wrote:
 Is there some way to use our netword login (LDAP – Microsoft Active 
 Directory) to authenticate in Dspace, instead of Dspace authentication 
 structure? Is there some way to provide to the user the possibility of 
 changing his password in Dspace, and this change be applied to AD too, and 
 vice-versa?

Hello Alexandre,

LDAP authentication is a standard feature of DSpace described in the manual:
https://wiki.duraspace.org/display/DSDOC18/Authentication+Plugins

Concerning changing password in LDAP from DSpace, AFAIK this is not
possible because there's no standardized way of doing this over the
LDAP protocol - it's both vendor specific and schema-specific.

Regards,
~~helix84

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Asset Store

2011-12-05 Thread Henry Atsu Agbodza
Is it possible (is it technically good) to set your assetstore to a
network storage.
Thank you





--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Modification of Input form- Embargo fields to be show if a thesis is embargoed

2011-12-05 Thread Sean Carte
On 29 November 2011 10:59, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:

 I am implementing a thesis repository using DSpace.  I would like to be
 able to add the statement  “ The thesis has been embargoed “  on the
 “Describe this Item” of the submission  process, so that embargo-related
 fields are shown if the submitter has indicated so, just as with the item
 has been published before.


Hi Admire

Are you using XMLUI or JSPUI? If the former, let me know and I'll outline
what we did.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Changing from 2 column to a 3 column layout 1.7.2 Manakin

2011-12-05 Thread Art Gutierrez
Hello,

I am hoping there is a resource out there to help me move from a 2 column 
layout to a 3 column layout for DSpace and move the navigation to the left.   
If you have a resource you can share or have any advice it would be greatly 
appreciated.

Thanks

Art Gutierrez
Head of Systems and Technical Services
Assistant Professor
Emporia State University
Agutierr at emporia dot edu
620-341-6205

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to remove search filter from Discovery?

2011-12-05 Thread Jason Stirnaman

Kevin, 
Thanks! That worked. I had previously tried just commenting out the refs like 
list 
  !-- ref ... / -- 
/list 
and expected the same result as having an empty list. 
Jason


Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319


 On 12/4/2011 at 04:55 AM, in message 
 CAKUyip5LfgqkL4byLGR4yOpft7iCZhCc7id=5R=ddh7ftea...@mail.gmail.com, Kevin 
 Van de Velde ke...@mire.be wrote:


Dear Jason, 



I believe the following configuration for the search filters should do the 
trick (a restart of the tomcat is required after changing the configuration): 



!--The search filters which can be used on the discovery search page-- 

property name=searchFilters 

list 

/list 

/property 





Kind regards, 


Kevin Van de Velde
@mire
Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions




On 3 December 2011 21:59, Jason Stirnaman jstirna...@kumc.edu wrote:



In DSpace 1.8.0, I want to remove/hide the search filter. In the UI, that's 
div#aspect_discovery_SimpleSearch_div_search-filters
I was hoping to do it through configuration, e.g. by setting the property list 
to null in 
spring/discovery/spring-dspace-addon-discovery-configuration-services.xml like

property name=searchFilters
null/
/property

Tomcat doesn't complain about this configuration (unlike just commenting out 
the list), but the search filter doesn't go away either. Should I alter the 
theme or discovery's sitemap.xmap instead?

Thanks,
Jason


Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319 ( tel:913-588-7319 )



--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Prevent LDAP users from changing password

2011-12-05 Thread Jason Stirnaman

Thanks, Hardy. Yes, I'm using stacked authentication. Here's 
config/modules/authentication.cfg: 

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ 
  org.dspace.authenticate.LDAPAuthentication, \ 
  org.dspace.authenticate.PasswordAuthentication, \ 
  org.dspace.authenticate.IPAuthentication 

Jason


Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319


 On 12/3/2011 at 08:29 PM, in message 
 9067a279-9df7-4d13-8428-3aea2fcad...@umsystem.edu, Pottinger, Hardy J. 
 pottinge...@umsystem.edu wrote:


Hi, Jason, I just wanted to confirm that you are in fact using stacked 
authentication methods? This issue sounds familiar to me (see DS-994 and 
DS-1007). I will see if there is a similar loop to what we found in DS-1007 as 
soon as I'm at a proper computer.

--Hardy

Sent from my iPad

On Dec 3, 2011, at 4:38 PM, Jason Stirnaman 
jstirna...@kumc.edumailto:jstirna...@kumc.edu wrote:


Giving this one more shot with a different subject line since it got no love 
the last time around 
(http://sourceforge.net/mailarchive/message.php?msg_id=28438078 ). Apologies 
for the duplication.


I'm using LDAP authentication in DSpace 1.8.0 with XMLUI and Mirage theme. When 
I login and go to my account profile, I'm allowed to change my password. How do 
I disallow that, or might I have something misconfigured so that I'm falling 
through the authentication stack to the password authentication (although I'm 
fairly sure that's not the case)?


I know there is an allowSetPassword boolean available for just this purpose, 
but it doesn't seem to be applied.


Thanks,

Jason

Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edumailto:jstirna...@kumc.edu
913-588-7319


--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Changing from 2 column to a 3 column layout 1.7.2 Manakin

2011-12-05 Thread Joseph
(Shooting from the hip here since I haven't tried this.)

Re: Moving Navigation to the left

Assuming you are starting with the Mirage or Reference Theme.
The location of the navigation or sidebar is completely decided by CSS.
(The divs #ds-body and #ds-options-wrapper are sequential in the hypertext.)
You can even play around with this a bit by going to a page that uses
Mirage and using either Chrome's Dev Tools or Firefox firebug
extension and changing the CSS in #ds-body from float: left; to
float:right;
You would then change the css in the theme you want to use.


Re: Changing from two to three column layout

Assuming you are starting with Mirage
You will again need to modify or create a theme.  This time create a
new div (Say #ds-options-left) for the content you want in the third
column. at the same level as #ds-body and #ds-options-wrapper
Most likely done in [themename]/lib/xsl/core/page-structure.xsl

and then if you want to move some of the things that were in  the
original sidebar you would need to modify navigation.xsl, and grab
only some of the dri:options using xsl (possibly some template using
n='OPTION_NAME' to specify the ones you want in each sidebar) eg...
xsl:template match=dri:options/dri:list[@n='browse'
  !-- do the internal stuff with this options list --
   xsl:apply-templates/
/xsl:template

Like I said, shooting from the hip but that might give you some ideas
to run with.

-Joseph

On Mon, Dec 5, 2011 at 09:44, Art Gutierrez aguti...@emporia.edu wrote:
 Hello,



 I am hoping there is a resource out there to help me move from a 2 column
 layout to a 3 column layout for DSpace and move the navigation to the left.
  If you have a resource you can share or have any advice it would be greatly
 appreciated.



 Thanks



 Art Gutierrez

 Head of Systems and Technical Services

 Assistant Professor

 Emporia State University

 Agutierr at emporia dot edu

 620-341-6205




 --
 All the data continuously generated in your IT infrastructure
 contains a definitive record of customers, application performance,
 security threats, fraudulent activity, and more. Splunk takes this
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Prevent LDAP users from changing password

2011-12-05 Thread Pottinger, Hardy J.
Hi, Jason, it looks like you've found a bug. It's definitely the same kind
of problem we found in DS-994 and DS-1007, though it's a different method
in AuthenticationManager this time: allowSetPassword. In that method,
there's a loop which goes through each authentication method in the stack,
and if any of them returns true for their allowSetPassword method, the
AuthenticationManager.allowSetPassword method also returns true.

I have opened a new ticket for this issue:

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



--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/



On 12/5/11 9:00 AM, Jason Stirnaman jstirna...@kumc.edu wrote:



  Thanks, Hardy. Yes, I'm using stacked authentication. Here's
config/modules/authentication.cfg:

  

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

org.dspace.authenticate.LDAPAuthentication, \

org.dspace.authenticate.PasswordAuthentication, \

org.dspace.authenticate.IPAuthentication

  

  Jason


Jason Stirnaman

Biomedical Librarian, Digital Projects

A.R. Dykes Library, University of Kansas Medical Center

jstirna...@kumc.edu

913-588-7319



 On 12/3/2011 at 08:29 PM, in message
9067a279-9df7-4d13-8428-3aea2fcad...@umsystem.edu, Pottinger, Hardy
J. pottinge...@umsystem.edu wrote:


  

  

  Hi, Jason, I just wanted to confirm that you are in fact
using stacked authentication methods? This issue sounds familiar to me
(see DS-994 and DS-1007). I will see if there is a similar loop to what
we found in DS-1007 as soon as I'm at a proper computer.

--Hardy

Sent from my iPad

On Dec 3, 2011, at 4:38 PM, Jason Stirnaman
jstirna...@kumc.edumailto:jstirna...@kumc.edu wrote:


Giving this one more shot with a different subject line since it got no
love the last time around
(http://sourceforge.net/mailarchive/message.php?msg_id=28438078 ).
Apologies for the duplication.


I'm using LDAP authentication in DSpace 1.8.0 with XMLUI and Mirage
theme. When I login and go to my account profile, I'm allowed to change
my password. How do I disallow that, or might I have something
misconfigured so that I'm falling through the authentication stack to the
password authentication (although I'm fairly sure that's not the case)?


I know there is an allowSetPassword boolean available for just this
purpose, but it doesn't seem to be applied.


Thanks,

Jason

Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edumailto:jstirna...@kumc.edu
913-588-7319


--

All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net

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

  

  

  


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Prevent LDAP users from changing password

2011-12-05 Thread Jason Stirnaman

Thanks for looking into it, Hardy. Good to know. 

Jason


Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edu
913-588-7319


 On 12/5/2011 at 11:09 AM, in message 
 cb0252b4.c383%pottinge...@umsystem.edu, Pottinger, Hardy J. 
 pottinge...@umsystem.edu wrote:


Hi, Jason, it looks like you've found a bug. It's definitely the same kind
of problem we found in DS-994 and DS-1007, though it's a different method
in AuthenticationManager this time: allowSetPassword. In that method,
there's a loop which goes through each authentication method in the stack,
and if any of them returns true for their allowSetPassword method, the
AuthenticationManager.allowSetPassword method also returns true.

I have opened a new ticket for this issue:

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



--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/



On 12/5/11 9:00 AM, Jason Stirnaman jstirna...@kumc.edu wrote:


   
  Thanks, Hardy. Yes, I'm using stacked authentication. Here's
config/modules/authentication.cfg:

 
   
  plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
   
org.dspace.authenticate.LDAPAuthentication, \
   
org.dspace.authenticate.PasswordAuthentication, \
   
org.dspace.authenticate.IPAuthentication

 
   
  Jason


Jason Stirnaman

Biomedical Librarian, Digital Projects

A.R. Dykes Library, University of Kansas Medical Center

jstirna...@kumc.edu

913-588-7319



 On 12/3/2011 at 08:29 PM, in message
9067a279-9df7-4d13-8428-3aea2fcad...@umsystem.edu, Pottinger, Hardy
J. pottinge...@umsystem.edu wrote:
   
   
 
   
 
   
  Hi, Jason, I just wanted to confirm that you are in fact
using stacked authentication methods? This issue sounds familiar to me
(see DS-994 and DS-1007). I will see if there is a similar loop to what
we found in DS-1007 as soon as I'm at a proper computer.

--Hardy

Sent from my iPad

On Dec 3, 2011, at 4:38 PM, Jason Stirnaman
jstirna...@kumc.edumailto:jstirna...@kumc.edu wrote:


Giving this one more shot with a different subject line since it got no
love the last time around
(http://sourceforge.net/mailarchive/message.php?msg_id=28438078 ).
Apologies for the duplication.


I'm using LDAP authentication in DSpace 1.8.0 with XMLUI and Mirage
theme. When I login and go to my account profile, I'm allowed to change
my password. How do I disallow that, or might I have something
misconfigured so that I'm falling through the authentication stack to the
password authentication (although I'm fairly sure that's not the case)?


I know there is an allowSetPassword boolean available for just this
purpose, but it doesn't seem to be applied.


Thanks,

Jason

Jason Stirnaman
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
jstirna...@kumc.edumailto:jstirna...@kumc.edu
913-588-7319


--

All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net

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

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Can't grant or change CC license

2011-12-05 Thread Rafa Carreres

Hi,

I have a DSpace test instance with 1.7.1, jspui, Oracle and  java6.

When I submit an item and grant a CC license or edit an item and want to 
substitute the CC license by a different one, I get this  error:


After tracking the error log, I've found that DSpace can't execute fetchURL 
successfully, but if I comment that part of the code, it works. That is, I can 
see the license_rdf and the license_url bitstreams, but of course, there's no 
license_txt.


Here the dspace.log:


- URL Was: 
http://ruadesa.ua.es/jspui/tools/edit-item?item_id=19065cc_license_url=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F3.0%2F


-- Method: GET
-- Parameters were:
-- item_id: 19065
-- cc_license_url:http://creativecommons.org/licenses/by/3.0/;


Exception:
java.lang.NegativeArraySizeException
at org.dspace.license.CreativeCommons.fetchURL(CreativeCommons.java:393)
at 
org.dspace.license.CreativeCommons.fetchLicenseText(CreativeCommons.java:268)
at 
org.dspace.license.CreativeCommons.setLicense(CreativeCommons.java:130)
at 
org.dspace.app.webui.servlet.admin.EditItemServlet.showEditForm(EditItemServlet.java:379)
at 
org.dspace.app.webui.servlet.admin.EditItemServlet.doDSGet(EditItemServlet.java:135)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)
...


I've commented this lines at CreativeCommons.java:

---
127c127
  //String license_text = fetchLicenseText(cc_license_url);

145,146c144,145


 setBitstreamFromBytes(item, bundle, BSN_LICENSE_TEXT, bs_text_format,
 license_text.getBytes());

---


I think I'm very close to the solution but I can't find it. Any help would be 
appreciated

Regards.

Rafa Carreres
Institutional Repository Administrator (http://rua.ua.es)
University of Alicante
Spain


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Can't grant or change CC license

2011-12-05 Thread Rafa Carreres

[This is a repost. Sorry for the inconvenience.]

Hi,

I have a DSpace test instance with 1.7.1, jspui, Oracle and  java6.

When I submit an item and grant a CC license or edit an item and want to 
substitute the CC license by a different one, I get this  error:




- URL Was: 
http://ruadesa.ua.es/jspui/tools/edit-item?item_id=19065cc_license_url=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F3.0%2F


-- Method: GET
-- Parameters were:
-- item_id: 19065
-- cc_license_url: http://creativecommons.org/licenses/by/3.0/;


Exception:
java.lang.NegativeArraySizeException
at org.dspace.license.CreativeCommons.fetchURL(CreativeCommons.java:393)
at 
org.dspace.license.CreativeCommons.fetchLicenseText(CreativeCommons.java:268)

at org.dspace.license.CreativeCommons.setLicense(CreativeCommons.java:130)
at 
org.dspace.app.webui.servlet.admin.EditItemServlet.showEditForm(EditItemServlet.java:379)
at 
org.dspace.app.webui.servlet.admin.EditItemServlet.doDSGet(EditItemServlet.java:135)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)

at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

at java.lang.Thread.run(Thread.java:662)
...

After tracking the error log, I've found that DSpace can't execute 
fetchURL successfully, but if I comment that part of the code, it works. 
That is, I can see the license_rdf and the license_url bitstreams, but 
of course, there's no license_txt.



I've commented this lines at CreativeCommons.java:

---
127c127
 // String license_text = fetchLicenseText(cc_license_url);

145,146c144,145

 setBitstreamFromBytes(item, bundle, BSN_LICENSE_TEXT, bs_text_format,
 license_text.getBytes());
---


I think I'm very close to the solution but I can't find it. Any help 
would be appreciated


Regards.

Rafa Carreres
Institutional Repository Administrator (http://rua.ua.es)
University of Alicante
Spain

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Can't grant or change CC license

2011-12-05 Thread Daniel Ishimitsu
Hi Rafa,

We're getting the same error. I think it's because the creativecommons url
doesn't expose a content-length in the header. Possibly a recent change
because it seemed to be working for us last month.

I'm using the following (untested) workaround:

*Add to the imports...*
import java.io.BufferedReader;
import java.io.InputStreamReader;

*Replace everything in the try{} block with...*
URL url = new URL(url_string);
URLConnection connection = url.openConnection();
InputStream inputStream = connection.getInputStream();
BufferedReader reader = new BufferedReader(new
InputStreamReader(inputStream));
StringBuilder sb = new StringBuilder();

while ((line = reader.readLine()) != null)
sb.append(line);

return sb.toString().getBytes();



Instead of declaring a byte array upfront (which requires the length), I
read in the entire file and then output the byte array. As a side note, it
looks like version 1.8.0 catches the generic Exception and just swallows
the error.

Hope that helps,

Daniel Ishimitsu
Hamilton Library, DNS
University of Hawaii at Manoa



On Mon, Dec 5, 2011 at 10:23 AM, Rafa Carreres r...@ua.es wrote:

 **
 [This is a repost. Sorry for the inconvenience.]


 Hi,

 I have a DSpace test instance with 1.7.1, jspui, Oracle and  java6.

 When I submit an item and grant a CC license or edit an item and want to
 substitute the CC license by a different one, I get this  error:

 

 - URL Was:
 http://ruadesa.ua.es/jspui/tools/edit-item?item_id=19065cc_license_url=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F3.0%2F

 -- Method: GET
 -- Parameters were:
 -- item_id: 19065
 -- cc_license_url: 
 http://creativecommons.org/licenses/by/3.0/;http://creativecommons.org/licenses/by/3.0/


 Exception:
 java.lang.NegativeArraySizeException
 at org.dspace.license.CreativeCommons.fetchURL(CreativeCommons.java:393)
 at
 org.dspace.license.CreativeCommons.fetchLicenseText(CreativeCommons.java:268)
 at org.dspace.license.CreativeCommons.setLicense(CreativeCommons.java:130)
 at
 org.dspace.app.webui.servlet.admin.EditItemServlet.showEditForm(EditItemServlet.java:379)
 at
 org.dspace.app.webui.servlet.admin.EditItemServlet.doDSGet(EditItemServlet.java:135)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
 at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
 at
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
 at
 org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:662)
 ...

 After tracking the error log, I've found that DSpace can't execute
 fetchURL successfully, but if I comment that part of the code, it works.
 That is, I can see the license_rdf and the license_url bitstreams, but of
 course, there's no license_txt.


 I've commented this lines at CreativeCommons.java:

 ---
 127c127
  // String license_text = fetchLicenseText(cc_license_url);

 145,146c144,145

  setBitstreamFromBytes(item, bundle, BSN_LICENSE_TEXT, bs_text_format,
  license_text.getBytes());
 ---


 I think 

[Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-05 Thread Nemiz, Elvi S.
Dear Dr. Andrea,

After reading https://jira.duraspace.org/browse/DS-842, I tried to apply
the patches and I can't make it work. I am hoping and would like to ask if
you have successfully resolved adding locale selector and how? Keiji Suzuki
from Japan have successfully implemented these (http://zuki-ebetsu.jp/xmlui/)
and I also contacted him for some info. Hoping for a positive response and
thanks in advance.

Sincerely,
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exception in thread main java.lang.NoClassDefFoundError: org/dspace/app/launcher/ScriptLauncher

2011-12-05 Thread Abhishek Raval
Hello Helix,

I hv installed dspace-1.7.2 in red hat 5.5 .every thing is done act i
can see the UI but i m not able to make any administrator i made
that by entering required data in POSTGRES and made a admin ;) but wen it
comes to indexing this i do need to run a command n that is not happening :(


any idea wat sud i do now 

error is

 bin]$ ./dspace filter-media
Exception in thread main java.lang.ClassFormatError:
org.dspace.app.launcher.ScriptLauncher (unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at gnu.java.lang.MainThread.run(libgcj.so.7rh)





On Mon, Dec 5, 2011 at 5:00 PM, helix84 heli...@centrum.sk wrote:

 On Mon, Dec 5, 2011 at 11:39, Abhishek Raval abhis...@webinito.com
 wrote:
   I am also getting the same problem .in dspace create-administrator
  in
  dspace filter-media
   how do i resolve this proble ???
 
  I am using dspace-1.7.2 

 Hello Abishek,
 my explanation also applies to your dspace version - you need to
 actually install dspace before you run those scripts. Look at the
 documentation I linked to.

 Regards,
 ~~helix84




-- 
Thanks n Regards
Abhishek Raval
Software Engg.
Webinito Networks
Ph no.-+919601077584
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exception in thread main java.lang.NoClassDefFoundError: org/dspace/app/launcher/ScriptLauncher

2011-12-05 Thread Stuart Lewis
Hi Abhishek,

It looks like you are using the GNU libgcj version of Java.  DSpace requires 
the use of the Sun / Oracle JDK.  Swapping to the Sun / Oracle version might 
help with this problem.

Thanks,


Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


On 6/12/2011, at 6:00 PM, Abhishek Raval wrote:

 Hello Helix, 
 
 I hv installed dspace-1.7.2 in red hat 5.5 .every thing is done act i can 
 see the UI but i m not able to make any administrator i made that by 
 entering required data in POSTGRES and made a admin ;) but wen it comes to 
 indexing this i do need to run a command n that is not happening :(
 
 
 any idea wat sud i do now 
 
 error is 
 
  bin]$ ./dspace filter-media
 Exception in thread main java.lang.ClassFormatError: 
 org.dspace.app.launcher.ScriptLauncher (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
 
 
 
 
 
 On Mon, Dec 5, 2011 at 5:00 PM, helix84 heli...@centrum.sk wrote:
 On Mon, Dec 5, 2011 at 11:39, Abhishek Raval abhis...@webinito.com wrote:
   I am also getting the same problem .in dspace create-administrator  in
  dspace filter-media
   how do i resolve this proble ???
 
  I am using dspace-1.7.2 
 
 Hello Abishek,
 my explanation also applies to your dspace version - you need to
 actually install dspace before you run those scripts. Look at the
 documentation I linked to.
 
 Regards,
 ~~helix84
 
 
 
 -- 
 Thanks n Regards
 Abhishek Raval
 Software Engg.
 Webinito Networks
 Ph no.-+919601077584
 
 --
 Cloud Services Checklist: Pricing and Packaging Optimization
 This white paper is intended to serve as a reference, checklist and point of 
 discussion for anyone considering optimizing the pricing and packaging model 
 of a cloud services business. Read Now!
 http://www.accelacomm.com/jaw/sfnl/114/51491232/___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech