Re: [Dspace-tech] change permisson

2012-09-27 Thread Miguel Angel Robledo
Is possible change the permissions for old items  (sent before the 
change) ? is possible by dspace's command or database scripts?

-- 
Ing. Miguel Angel Robledo
Secretaría de Tecnologías para la Gestión
Ministerio de Gobierno y Reforma del Estado
Provincia de Santa Fe
0342-4508704

El 18/09/12 17:09, helix84 escribió:
> On Tue, Sep 18, 2012 at 10:02 PM, Miguel Angel Robledo
>  wrote:
>> I have to change the permissions of a collection but I understand that these
>> change are for news articles.
> That's correct, the collection permissions are inherited to its items
> only during submission. So only new items (sent after the change) will
> be affected.
>
>> There is a way to restore the read permission for the items already
>> existing?
> Yes, just like I wrote:
>
>> El 10/09/12 08:08, helix84 escribió:
>>> I XMLUI you can use the "wildcard policy admin tool" when you log in
>>> as administrator and select "Authorizations" from the "Administrative"
>>> menu. It operates on collections, though (not on an arbitrary set of
>>> items).
> Regards,
> ~~helix84


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving items between installations keeping handle

2012-09-27 Thread Tim Donohue
Andre,

Between the DSpace 1.6.2 and 1.7.0 releases, the ItemImporter underwent 
several improvements & bug fixes.  However, I'm unaware of any bugs 
relating to not keeping around the handle, though it's possible there 
may have been a bug that we unknowingly fixed in 1.7.0.

If you'd like to see a list of these bug fixes to the import script, 
they are listed in the 1.7.0 section of the "History" page of the 
Documentation:

https://wiki.duraspace.org/display/DSDOC18/History#History-ChangesinDSpace1.7.0

You'd specifically want to search/scan that area for the word "import". 
I see four specific fixes that were applied in DSpace 1.7.0:
https://jira.duraspace.org/browse/DS-662
https://jira.duraspace.org/browse/DS-736
https://jira.duraspace.org/browse/DS-629
https://jira.duraspace.org/browse/DS-743

I'm not sure if this is much help, but that's the all I'm able to 
determine has changed between 1.6.2 and 1.7.0.

- Tim

On 9/27/2012 1:35 PM, André wrote:
> Dear helix,
>
> I've made some experiments in this period of time, and concluded that
> moving between two DSpace 1.7 (or 1.8) installations everything works
> fine in keeping the handle, but when I'm moving between two DSpace 1.6.3
> or from one DS1.7 to a DS1.6 it does not work; in both cases the handles
> are not kept, even though I see a "handle" file in the exported
> directory and I supress the "--migrate" argument.
>
> Is there any known bug in DS1.6.2 importer related to not keeping the
> handle?
>
> Thank you and regards
>
> Andre
>
>
> 2012/8/27 helix84 mailto:heli...@centrum.sk>>
>
> On Mon, Aug 27, 2012 at 4:03 PM, André  > wrote:
>  > when moving items between - for instance - a test and a
> production DSpace
>  > installation, one should export using the "--migrate" argument so
> that the
>  > (date.accessioned, date.available, date.issued,
> description.provenance,
>  > format.extent, format.mimetype and the identifier.uri) metadata
> will be
>  > removed to receive new data from the import.
>
> Hi André,
>
> the question is - do you actually care about the values of these
> metadata fields?
>
> If not, you can just take them with you to the other repository
> unchanged.
>
> You can use AIP to transfer the whole object along with the handle.
> You may want to take a look at the "submission mode" when restoring
> and using the "-o ignoreHandle=false" option:
> 
> https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore%2FReplace%22modes
> The question then is what happens if you're copying the item over
> second time (i.e. if it already exists in the target repository from a
> previous import).
>
> Regards,
> ~~helix84
>
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving items between installations keeping handle

2012-09-27 Thread André
Dear helix,

I've made some experiments in this period of time, and concluded that
moving between two DSpace 1.7 (or 1.8) installations everything works fine
in keeping the handle, but when I'm moving between two DSpace 1.6.3 or from
one DS1.7 to a DS1.6 it does not work; in both cases the handles are not
kept, even though I see a "handle" file in the exported directory and I
supress the "--migrate" argument.

Is there any known bug in DS1.6.2 importer related to not keeping the
handle?

Thank you and regards

Andre


2012/8/27 helix84 

> On Mon, Aug 27, 2012 at 4:03 PM, André  wrote:
> > when moving items between - for instance - a test and a production DSpace
> > installation, one should export using the "--migrate" argument so that
> the
> > (date.accessioned, date.available, date.issued, description.provenance,
> > format.extent, format.mimetype and the identifier.uri) metadata will be
> > removed to receive new data from the import.
>
> Hi André,
>
> the question is - do you actually care about the values of these
> metadata fields?
>
> If not, you can just take them with you to the other repository unchanged.
>
> You can use AIP to transfer the whole object along with the handle.
> You may want to take a look at the "submission mode" when restoring
> and using the "-o ignoreHandle=false" option:
>
> https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore%2FReplace%22modes
> The question then is what happens if you're copying the item over
> second time (i.e. if it already exists in the target repository from a
> previous import).
>
> Regards,
> ~~helix84
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Purging thumbnails and previews created using filter-media

2012-09-27 Thread Hayden Young
We have been using filter-media to create previews and thumbnails but 
have recently decided to use a different mechanism to generate these files.

We are able to stop creating previews for newly archived items but is 
there a way to purge previews and thumbnails from existing items?

Cheers

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6398 5010
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential. They may contain legally privileged or copyright material. You 
should not read, copy, use or disclose them without authorization. If you are 
not the intended recipient please contact the sender as soon as possible by 
return e-mail and then please delete both messages. This notice should not be 
removed.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace logs

2012-09-27 Thread emilio lorenzo


  
  
Hi Rodrigo

DSpace logs are written in Catalina (tomcat) logs . Depending on
your operating system and installation process, the path will
differ. Try to find something as catalina.-MM-DD.log

The level of logging can also affect ths information you will find.

best luck

  


El 26/09/2012 15:52, Calloni, Rodrigo escribió:

  
  
  
  
  
Hello
 
We are in DSpace 1.6.2 using XMLUI
 
We received two strange reports from people
  that work ingesting items in DSpace last two days. They say
  that when they click the button to save the item metadata
  DSpace was refreshing and showing all metadata blanked out.
 
We have at least 3 reports of this in the
  last 2 days.
 
I wonder if there is some kind of log in
  DSpace that records the transactions it makes. I would like to
  take a look in this log to find some clue of what happened.
 
Thanks!
  Rodrigo
 
Rodrigo Calloni
System Librarian
Felipe
Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax:
202-623-3183

1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.org
 
"Knowledge
  for Development Challenges"
P  Please
  consider the environment before printing this email
 
  
  

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


  

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] incorrect timestamps in DSpace

2012-09-27 Thread Darren Arsenault
Hi all,

I've corrected the issue.

As Bram mentioned, dates are stored in UTC. When you display an item's full 
record, ItemTag.java simply pulls the data from the database and displays 
it—with no care as to what type of data the string contains. I added a few 
lines of code to check if the field represented a date field and then called 
the appropriate method in UIUtil.java:

if(values[i].element.equals("date") && 
(values[i].qualifier.equals("accessioned") || 
values[i].qualifier.equals("available") ||

values[i].qualifier.equals("updated")))
 {
DCDate dt = new DCDate(values[i].value) ;
String str = UIUtil.displayDate(dt, true, true, 
(HttpServletRequest)pageContext.getRequest()) ;
out.print(Utils.addEntities(str)) ;
 }
else out.print(Utils.addEntities(values[i].value));

(The highlighted portion is the original code.)


Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8


From: bluy...@gmail.com [bluy...@gmail.com] On Behalf Of Bram Luyten 
[b...@mire.be]
Sent: September-27-12 3:19 AM
To: Darren Arsenault
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] incorrect timestamps in DSpace

Hi Darren,

at first sight, this looks like a UI specific problem:

In the back-end, dates are just stored as UTC:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/DCDate.java#L44

JSP UI seems to have a util class that renders the dates according to the 
user's locale:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/util/UIUtil.java#L247

In XMLUI however, the dates seem to be retrieved from the metadata without 
transformation into something local.

Mirage & other dri2xhtml alt based themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L286

Kubrick, Classic, Reference themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L621

best regards,

Bram

--
[http://atmire.com/images/@mire_web_2.jpg]
Bram Luyten @mire
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com



On Wed, Sep 26, 2012 at 6:16 PM, Darren Arsenault 
mailto:arse...@algonquincollege.com>> wrote:
Hi all,

I have just noticed that the timestamps in DSpace are all off by +4 hours. The 
timezone must be set to GMT (I am GMT -4), but I cannot find where to correct 
this. Can anyone point me in the right direction please?

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace 1.8.2 : registering error

2012-09-27 Thread Pottinger, Hardy J.
Hi, François, it's possible the problem you have found may have something
to do with this issue:

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

But, I think it's likely you've found a new issue specific to the LDAP
AuthN code. I'd suggest opening a Jira ticket for this issue

http://jira.dspace.org/

and include any patches/workarounds you find which help with the problem.
This will help us track down, and possibly fix, the problem. Posting
workarounds in a Jira ticket will help others who may encounter the issue.

Thanks!

--
HARDY POTTINGER 
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"No matter how far down the wrong road you've gone,
turn back." --Turkish proverb






On 9/27/12 6:37 AM, "François Lefebvre" 
wrote:

>
>
>
>Hi,
>
>Thanks for your answer.
>I think I found a beginning of a solution :
>
>In RegisterServlet.java ( line 298 ), Dspace try to add new users in the
>LDAP. But He can't.
>So, to avoid this, I play with the conditions. I change the JSP
>new-ldap-user.
>In this file, you can write your mail only. So, if your netid is empty,
>you don't enter in this condition, so you add your new users in the
>dspace DB and not your LDAP.
>
>
>So registration works.
>
>
>The second point is :
>Each time I click on the link "become a new user", I receive a error by
>mail :
>
>at 
>org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:
>101)
>
>
>The source code is :
>
>// Registering a new user
>if (ldap_enabled)
>{
>JSPManager.showJSP(request, response,
>"/register/new-ldap-user.jsp");
>}
>JSPManager.showJSP(request, response,
>"/register/new-user.jsp");
>
>
>So : LDAP is enabled, so the new-ldap-user.jsp is called.
>But, new-user.jsp too !
>
>
>I don't want to change the source code. Is there a way to make a
>new-user.jsp empty ?
>
><% return 0; %> or something like that ?
>
>
>Thanks.
>
>
>
>Le 27/09/2012 12:03, Bram Luyten a écrit :
>
>Hi François,
>
>
>you might be suffering from a DSpace bug.
>
>
>Does it work when you configure following values in dspace.cfg
>
>
>ldap.provider_url
>ldap.id_field
>ldap.search_context
>
>
>I know that they *should* be in authentication-ldap.cfg, but the bug you
>might be facing still expects them to be in dspace.cfg.
>
>
>If this works, we should check whether this has already officially been
>filed as a bug in JIRA.
>
>
>best regards,
>
>
>Bram
>
>-- 
> 
>Bram Luyten@mire
>2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
>Esperantolaan 4, Heverlee 3001, Belgium
>  www.atmire.com
>mail&utm_campaign=braml>
>
>
>On Thu, Sep 27, 2012 at 10:54 AM, François Lefebvre
> wrote:
>
>Hi,
>
>I'm still looking about this error. Any ideas ?
>
>In the mailing archives, I found a similar post but there is no solution.
>Someone wrote that he doesn't understand why there are 2 authentications.
>
>For me, we need both because we've got 2 kinds of population : from the
>university and the others. So the others must not appear in our LDAP.
>
>
>I put the logs in DEBUG mode, but I don't see something which help me.
>
>
>thanks.
>
>
>
>Le 26/09/2012 16:53, François Lefebvre a écrit :
>
>Hi, 
>
>I'm a new dspace user.
>I've installed dspace 1.8.2 and I have an error when I try to register a
>user with the jspui interface.
>
>
>
>I'm using LDAP authentication et password, so in the authentication.cfg
>file I have :
>
>
>plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
>org.dspace.authenticate.PasswordAuthentication, \
>org.dspace.authenticate.LDAPAuthentication
>
>
>
>So with LDAP user, all is OK.
>
>When I try to subscribe ( the /register page ), I send the form an dspace
>displays "An internal server error".
>
>
>This is what I'm getting by mail :
>
>The first one : 
>
>An internal server error occurred onhttp://iris.univ-lille1.fr/jspui
>:
>
>
>Date:   26/09/12 16:43
>Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
>User:   Anonymous
>IP address: x
>
>-- URL Was:http://iris.univ-lille1.fr/jspui//register
>-- Method: GET 
>-- Parameters were:
>
>
>Exception: 
>java.lang.IllegalStateException: Impossible d'utiliser faire-suivre
>(forward) après que la réponse ait été envoyée
>
>at 
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat
>cher.java:312)
>at 
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch
>er.java:302)
>at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
>at 
>org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:
>101)
>at 
>org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.ja
>va:119)
>at 
>org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
>at javax.servlet

Re: [Dspace-tech] incorrect timestamps in DSpace

2012-09-27 Thread Darren Arsenault
Hi Bram,

Thank you very much for your help. I have confirmed that the locale on the 
server is set correctly, so the remaining possibility at this point is the 
boolean 'localTime' in the method call:

* @param localTime
*if true, adjust for local timezone, otherwise GMT

I suspect that this value is false when invoked for some reason. I will look 
into this.

Thanks again,

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8


From: bluy...@gmail.com [bluy...@gmail.com] On Behalf Of Bram Luyten 
[b...@mire.be]
Sent: September-27-12 3:19 AM
To: Darren Arsenault
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] incorrect timestamps in DSpace

Hi Darren,

at first sight, this looks like a UI specific problem:

In the back-end, dates are just stored as UTC:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/DCDate.java#L44

JSP UI seems to have a util class that renders the dates according to the 
user's locale:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/util/UIUtil.java#L247

In XMLUI however, the dates seem to be retrieved from the metadata without 
transformation into something local.

Mirage & other dri2xhtml alt based themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L286

Kubrick, Classic, Reference themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L621

best regards,

Bram

--
[http://atmire.com/images/@mire_web_2.jpg]
Bram Luyten @mire
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com



On Wed, Sep 26, 2012 at 6:16 PM, Darren Arsenault 
mailto:arse...@algonquincollege.com>> wrote:
Hi all,

I have just noticed that the timestamps in DSpace are all off by +4 hours. The 
timezone must be set to GMT (I am GMT -4), but I cannot find where to correct 
this. Can anyone point me in the right direction please?

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace 1.8.2 : registering error

2012-09-27 Thread François Lefebvre

Hi,

Thanks for your answer.
I think I found a beginning of a solution :

In RegisterServlet.java ( line 298 ), Dspace try to add new users in the 
LDAP. But He can't.
So, to avoid this, I play with the conditions. I change the JSP 
new-ldap-user.
In this file, you can write your mail only. So, if your netid is empty, 
you don't enter in this condition, so you add your new users in the 
dspace DB and not your LDAP.



So registration works.


The second point is :
Each time I click on the link "become a new user", I receive a error by 
mail :


at 
org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:101)


The source code is :

// Registering a new user
if (ldap_enabled)
{
JSPManager.showJSP(request, response, 
"/register/new-ldap-user.jsp");
}
JSPManager.showJSP(request, response, "/register/new-user.jsp");


So : LDAP is enabled, so the new-ldap-user.jsp is called.
But, new-user.jsp too !


I don't want to change the source code. Is there a way to make a new-user.jsp 
empty ?

<% return 0; %>  or something like that ?


Thanks.




Le 27/09/2012 12:03, Bram Luyten a écrit :

Hi François,

you might be suffering from a DSpace bug.

Does it work when you configure following values in *dspace.cfg*
*
*
ldap.provider_url
ldap.id_field
ldap.search_context

I know that they *should* be in authentication-ldap.cfg, but the bug 
you might be facing still expects them to be in dspace.cfg.


If this works, we should check whether this has already officially 
been filed as a bug in JIRA.


best regards,

Bram

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






On Thu, Sep 27, 2012 at 10:54 AM, François Lefebvre 
> wrote:


Hi,

I'm still looking about this error. Any ideas ?

In the mailing archives, I found a similar post but there is no
solution.
Someone wrote that he doesn't understand why there are 2
authentications.

For me, we need both because we've got 2 kinds of population :
from the university and the others. So the others must not appear
in our LDAP.


I put the logs in DEBUG mode, but I don't see something which help me.


thanks.



Le 26/09/2012 16:53, François Lefebvre a écrit :

Hi,

I'm a new dspace user.
I've installed dspace 1.8.2 and I have an error when I try to
register a user with the jspui interface.


I'm using LDAP authentication et password, so in the
authentication.cfg file I have :

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



So with LDAP user, all is OK.

When I try to subscribe ( the /register page ), I send the form
an dspace displays "An internal server error".

This is what I'm getting by mail :

The first one :

An internal server error occurred
onhttp://iris.univ-lille1.fr/jspui
:

Date:   26/09/12 16:43
Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
User:   Anonymous
IP address: x

-- URL Was:http://iris.univ-lille1.fr/jspui//register
-- Method: GET
-- Parameters were:


Exception:
java.lang.IllegalStateException: Impossible d'utiliser
faire-suivre (forward) après que la réponse ait été envoyée
at

org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:312)
at

org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at

org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:101)
at

org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at

org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at

org.apache.ca

Re: [Dspace-tech] dspace 1.8.2 : registering error

2012-09-27 Thread Bram Luyten
Hi François,

you might be suffering from a DSpace bug.

Does it work when you configure following values in *dspace.cfg*
*
*
ldap.provider_url
ldap.id_field
ldap.search_context

I know that they *should* be in authentication-ldap.cfg, but the bug you
might be facing still expects them to be in dspace.cfg.

If this works, we should check whether this has already officially been
filed as a bug in JIRA.

best regards,

Bram

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


On Thu, Sep 27, 2012 at 10:54 AM, François Lefebvre <
francois.lefeb...@univ-lille1.fr> wrote:

> **
> Hi,
>
> I'm still looking about this error. Any ideas ?
>
> In the mailing archives, I found a similar post but there is no solution.
> Someone wrote that he doesn't understand why there are 2 authentications.
>
> For me, we need both because we've got 2 kinds of population : from the
> university and the others. So the others must not appear in our LDAP.
>
>
> I put the logs in DEBUG mode, but I don't see something which help me.
>
>
> thanks.
>
>
>
> Le 26/09/2012 16:53, François Lefebvre a écrit :
>
> Hi,
>
> I'm a new dspace user.
> I've installed dspace 1.8.2 and I have an error when I try to register a
> user with the jspui interface.
>
>
> I'm using LDAP authentication et password, so in the authentication.cfg
> file I have :
>
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
> org.dspace.authenticate.PasswordAuthentication, \
> org.dspace.authenticate.LDAPAuthentication
>
>
>
> So with LDAP user, all is OK.
>
> When I try to subscribe ( the /register page ), I send the form an dspace
> displays "An internal server error".
>
> This is what I'm getting by mail :
>
> The first one :
>
> An internal server error occurred onhttp://iris.univ-lille1.fr/jspui:
>
> Date:   26/09/12 16:43
> Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
> User:   Anonymous
> IP address: x
>
> -- URL Was:http://iris.univ-lille1.fr/jspui//register
> -- Method: GET
> -- Parameters were:
>
>
> Exception:
> java.lang.IllegalStateException: Impossible d'utiliser faire-suivre
> (forward) après que la réponse ait été envoyée
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:312)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
> at
> org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:101)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> at java.lang.Thread.run(Thread.java:636)
>
>
> The second one :
>
> An internal server error occurred onhttp://iris.univ-lille1.fr/jspui:
>
> Date:   26/09/12 16:43
> Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
> User:   Anonymous
> IP address: xxx
>
> -- URL Was:http://iris.univ-lille1.fr/jspui//register
> 

Re: [Dspace-tech] dspace 1.8.2 : registering error

2012-09-27 Thread François Lefebvre

Hi,

I'm still looking about this error. Any ideas ?

In the mailing archives, I found a similar post but there is no solution.
Someone wrote that he doesn't understand why there are 2 authentications.

For me, we need both because we've got 2 kinds of population : from the 
university and the others. So the others must not appear in our LDAP.



I put the logs in DEBUG mode, but I don't see something which help me.


thanks.



Le 26/09/2012 16:53, François Lefebvre a écrit :

Hi,

I'm a new dspace user.
I've installed dspace 1.8.2 and I have an error when I try to register 
a user with the jspui interface.



I'm using LDAP authentication et password, so in the 
authentication.cfg file I have :


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



So with LDAP user, all is OK.

When I try to subscribe ( the /register page ), I send the form an 
dspace displays "An internal server error".


This is what I'm getting by mail :

The first one :

An internal server error occurred onhttp://iris.univ-lille1.fr/jspui:

Date:   26/09/12 16:43
Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
User:   Anonymous
IP address: x

-- URL Was:http://iris.univ-lille1.fr/jspui//register
-- Method: GET
-- Parameters were:


Exception:
java.lang.IllegalStateException: Impossible d'utiliser faire-suivre 
(forward) après que la réponse ait été envoyée
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:312)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at 
org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java:101)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

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


The second one :

An internal server error occurred onhttp://iris.univ-lille1.fr/jspui:

Date:   26/09/12 16:43
Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA
User:   Anonymous
IP address: xxx

-- URL Was:http://iris.univ-lille1.fr/jspui//register
-- Method: POST
-- Parameters were:
-- submit: "S'enregistrer"
-- email:"bu-infor@..."
-- netid: "buinfo"
-- password: "thepassword"
-- step: "1"


Exception:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:411)
at 
org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)
at 
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.utils.servlet.DSpace

Re: [Dspace-tech] arXiv metadata with DSPace

2012-09-27 Thread Lewatle Phaladi
We are using Dublin Core and their system also uses Dublin Core metadata 
standard, we harvested few collections and are searchable.

Regards,
Lewatle

From: Bram Luyten [mailto:b...@mire.be]
Sent: 27 September 2012 09:43 AM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] arXiv metadata with DSPace

Great! Could you comment whether the metadata you get from Arxiv is DSpace 
"compatible" or not. e.g. did you find strange abbreviations or constructs 
within specific metadata fields? Or is it all pretty clean?

[Inline image 1]

--
[logo]

Bram Luyten @mire
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com



On Thu, Sep 27, 2012 at 8:25 AM, Lewatle Phaladi 
mailto:lewatle.phal...@wits.ac.za>> wrote:
Hi Bram

We have managed to complete the setup successfully.

Regards,
Lewatle

From: Bram Luyten [mailto:b...@mire.be]
Sent: 21 September 2012 09:34 AM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] arXiv metadata with DSPace

Hi Lewatle,

correct! The interface and used standards are the same. But given that most 
fields in simple dublin core are optional, there might be a difference in the 
number of fields for which you'll be able to retrieve metadata.

good luck,

Bram

--


Bram Luyten @mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com


On Fri, Sep 21, 2012 at 8:13 AM, Lewatle Phaladi 
mailto:lewatle.phal...@wits.ac.za>> wrote:
Dear Bram

Thanks for sharing with us,
Ok, is it like normal harvesting between two DSpace instances ?

Regards,
Lewatle

From: Bram Luyten [mailto:b...@mire.be]
Sent: 20 September 2012 09:06 PM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] arXiv metadata with DSPace

Hi Lewatle,

given that they have an OAI-PMH Interface, I assume you can use the standard 
DSpace functionality to hook up a collection to an external OAI-PMH Source.

Edit Collection > Content Source

Screenshot attached. Haven't actually tried this for Arxiv but for other 
sources. Would be interesting to see if you run into any specific issues.

rgds

Bram Luyten

--


Bram Luyten @mire

2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com


On Thu, Sep 20, 2012 at 3:48 PM, Lewatle Phaladi 
mailto:lewatle.phal...@wits.ac.za>> wrote:
Hi All

Just a question, is there anyone who uploaded arXiv metadata to the Dspace 
repository, I would like to follow same route and have arXiv metadata on our 
DSpace site. Info link http://arxiv.org/help/bulk_data


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




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


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

Re: [Dspace-tech] arXiv metadata with DSPace

2012-09-27 Thread Bram Luyten
Great! Could you comment whether the metadata you get from Arxiv is DSpace
"compatible" or not. e.g. did you find strange abbreviations or constructs
within specific metadata fields? Or is it all pretty clean?

[image: Inline image 1]

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


On Thu, Sep 27, 2012 at 8:25 AM, Lewatle Phaladi  wrote:

>  Hi Bram
>
> ** **
>
> We have managed to complete the setup successfully.
>
> ** **
>
> Regards, 
>
> Lewatle 
>
> ** **
>
> *From:* Bram Luyten [mailto:b...@mire.be]
> *Sent:* 21 September 2012 09:34 AM
> *To:* Lewatle Phaladi
> *Cc:* DSpace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] arXiv metadata with DSPace
>
> ** **
>
> Hi Lewatle,
>
> ** **
>
> correct! The interface and used standards are the same. But given that
> most fields in simple dublin core are optional, there might be a difference
> in the number of fields for which you'll be able to retrieve metadata.
>
> ** **
>
> good luck,
>
> ** **
>
> Bram
>
> -- 
>
> [image: logo] 
>
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
>   
> www.atmire.com
> 
>
>
>
> 
>
> On Fri, Sep 21, 2012 at 8:13 AM, Lewatle Phaladi <
> lewatle.phal...@wits.ac.za> wrote:
>
> Dear Bram 
>
>  
>
> Thanks for sharing with us,
>
> Ok, is it like normal harvesting between two DSpace instances ?
>
>  
>
> Regards,
>
> Lewatle 
>
>  
>
> *From:* Bram Luyten [mailto:b...@mire.be]
> *Sent:* 20 September 2012 09:06 PM
> *To:* Lewatle Phaladi
> *Cc:* DSpace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] arXiv metadata with DSPace
>
>  
>
> Hi Lewatle,
>
>  
>
> given that they have an OAI-PMH Interface, I assume you can use the
> standard DSpace functionality to hook up a collection to an external
> OAI-PMH Source.
>
>  
>
> Edit Collection > Content Source
>
>  
>
> Screenshot attached. Haven't actually tried this for Arxiv but for other
> sources. Would be interesting to see if you run into any specific issues.*
> ***
>
>  
>
> rgds
>
>  
>
> Bram Luyten
>
>
> -- 
>
>  
>
> *Bram Luyten* *@mire*
>
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
>   
> www.atmire.com
> 
>
>** **
>
> On Thu, Sep 20, 2012 at 3:48 PM, Lewatle Phaladi <
> lewatle.phal...@wits.ac.za> wrote:
>
> Hi All
>
>  
>
> Just a question, is there anyone who uploaded arXiv metadata to the
> Dspace repository, I would like to follow same route and have arXiv
> metadata on our DSpace site. Info link http://arxiv.org/help/bulk_data ***
> *
>
>  
>
>  
>
> *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 authorized 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.
>
>  
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>  
>
> 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 authorized signatories are competent to enter into agreements on
> behalf of

Re: [Dspace-tech] arXiv metadata with DSPace

2012-09-27 Thread Lewatle Phaladi
Hi Bram

We have managed to complete the setup successfully.

Regards,
Lewatle

From: Bram Luyten [mailto:b...@mire.be]
Sent: 21 September 2012 09:34 AM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] arXiv metadata with DSPace

Hi Lewatle,

correct! The interface and used standards are the same. But given that most 
fields in simple dublin core are optional, there might be a difference in the 
number of fields for which you'll be able to retrieve metadata.

good luck,

Bram

--
[logo]

Bram Luyten @mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com



On Fri, Sep 21, 2012 at 8:13 AM, Lewatle Phaladi 
mailto:lewatle.phal...@wits.ac.za>> wrote:
Dear Bram

Thanks for sharing with us,
Ok, is it like normal harvesting between two DSpace instances ?

Regards,
Lewatle

From: Bram Luyten [mailto:b...@mire.be]
Sent: 20 September 2012 09:06 PM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] arXiv metadata with DSPace

Hi Lewatle,

given that they have an OAI-PMH Interface, I assume you can use the standard 
DSpace functionality to hook up a collection to an external OAI-PMH Source.

Edit Collection > Content Source

Screenshot attached. Haven't actually tried this for Arxiv but for other 
sources. Would be interesting to see if you run into any specific issues.

rgds

Bram Luyten

--


Bram Luyten @mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  
www.atmire.com


On Thu, Sep 20, 2012 at 3:48 PM, Lewatle Phaladi 
mailto:lewatle.phal...@wits.ac.za>> wrote:
Hi All

Just a question, is there anyone who uploaded arXiv metadata to the Dspace 
repository, I would like to follow same route and have arXiv metadata on our 
DSpace site. Info link http://arxiv.org/help/bulk_data


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




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


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





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 authorized 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, J

Re: [Dspace-tech] incorrect timestamps in DSpace

2012-09-27 Thread Bram Luyten
Hi Darren,

at first sight, this looks like a UI specific problem:

In the back-end, dates are just stored as UTC:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/DCDate.java#L44

JSP UI seems to have a util class that renders the dates according to the
user's locale:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/util/UIUtil.java#L247

In XMLUI however, the dates seem to be retrieved from the metadata without
transformation into something local.

Mirage & other dri2xhtml alt based themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L286

Kubrick, Classic, Reference themes:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L621

best regards,

Bram

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


On Wed, Sep 26, 2012 at 6:16 PM, Darren Arsenault <
arse...@algonquincollege.com> wrote:

> Hi all,
>
> I have just noticed that the timestamps in DSpace are all off by +4 hours.
> The timezone must be set to GMT (I am GMT -4), but I cannot find where to
> correct this. Can anyone point me in the right direction please?
>
> Darren Arsenault
> Programmer
> Algonquin College
> 1385 Woodroffe Avenue
> Ottawa, ON, K2G 1V8
>
>
> --
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech