Re: [dspace-tech] Can't get statistics to work after upgrading from 1.8.x to 5.x

2015-12-17 Thread Andrea Schweer

  
  
Hi,

On 18/12/15 04:39, Tiago Delboni wrote:


  Hi!

I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was
able to put everything working but the statistics. Everytime I
click the Statistics menu, in JSPUI, DSpace come out with a
Internal Server Error.
Bellow is the relevant part gattered from dspace.log.
Any ideas how to fix it? 

Also, I would like to know if I can keep the historical
statistics I have on 1.8.x. What I did, trying to achieve this,
was to copy the contents from [dspace1.8]/log and [dspace1.8]/solr/statistics/data
to [dspace5.4]
and ran [dspace5.4]/bin/dspace
solr-reindex-statistics.
  


The statistics page you're referring to (compare
http://demo.dspace.org/jspui/statistics) is not related to the
Solr-based usage statistics at all. Instead, this page is showing
the legacy statistics populated from the log files and the .dat /
.html files generated from the log files via the stat-* commands
listed in the "Legacy statistics" section here:
https://wiki.duraspace.org/display/DSDOC5x/Command+Line+Operations#CommandLineOperations-Legacystatistics

My guess is that you didn't copy over the contents of the report
directory (that holds these .dat and .html files); looking at the
code at the line below supports that. The location of the report
directory is configured in dspace.cfg:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/dspace.cfg#L1741

So you might like to check what you have yours set to and copy the
directory across from your 1.8 [dspace] directory tree to your 5.x
directory tree.


  2015-12-17
  13:15:12,864 WARN 
  org.dspace.app.webui.servlet.InternalErrorServlet @
  :session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:--
  URL Was: https://dspace-novo.almg.gov.br/jspui/statistics
  -- Method: GET
  -- Parameters were:
  
  java.lang.NullPointerException
      at
org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121)
  


https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/StatisticsServlet.java#L121

cheers,
Andrea
-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120
  




-- 
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Can't get statistics to work after upgrading from 1.8.x to 5.x

2015-12-17 Thread Monika Mevenkamp
I am getting ready to do the same uproar - and I pieced together some notes
based on
wiki-doc: https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace


you can test whether your solr version is outdated (probably you are ok
there since you say  everything but stats works)

# test that index is outdated   anything smaller than 3.5
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index

but if your versions are off do the following - get yourself an uptodate
lucene-core-3.5.0.jar

# upgrade statistics index
# in home directory we have the jar parked
java -cp lucene-core-3.5.0.jar org.apache.lucene.index.IndexUpgrader
/dspace/solr/statistics/data/index/

# expect to see 3.5
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index

#update index
ant update_solr_indexes
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index


...
Monika Mevenkamp
http://tinyurl.com/mevenkamp

On Thu, Dec 17, 2015 at 10:39 AM, Tiago Delboni  wrote:

> Hi!
>
> I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was able to put
> everything working but the statistics. Everytime I click the Statistics
> menu, in JSPUI, DSpace come out with a Internal Server Error.
> Bellow is the relevant part gattered from dspace.log. Any ideas how to
> fix it?
>
> Also, I would like to know if I can keep the historical statistics I have
> on 1.8.x. What I did, trying to achieve this, was to copy the contents from
> [dspace1.8]/log and [dspace1.8]/solr/statistics/data to [dspace5.4] and
> ran [dspace5.4]/bin/dspace solr-reindex-statistics.
>
> 2015-12-17 13:15:12,864 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:-- URL Was:
> https://dspace-novo.almg.gov.br/jspui/statistics
> -- Method: GET
> -- Parameters were:
>
> java.lang.NullPointerException
> at
> org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)
> 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:622)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> 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:239)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
> at
> org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
> 2015-12-17 13:15:12,865 WARN  org.dspace.app.webui.util.U

Re: [dspace-tech] Can't get statistics to work after upgrading from 1.8.x to 5.x

2015-12-17 Thread Tiago Delboni
Hi Monika!

Index version looks good:

dspace@dspace-novo:/opt/dspace/deploy/bin> ./dspace dsrun
org.dspace.app.util.IndexVersion
/opt/dspace/deploy/solr/statistics/data/index
4.10.2


2015-12-17 13:53 GMT-02:00 Monika C. Mevenkamp :

> You need to upgrade your statistics and solr index ?
>
> I am getting ready to do the same uproar - and I pieced together some
> notes based on
> wiki-doc: https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace
> 
>
>
> you can test whether your solr version is outdated (probably you are ok
> there since you say  everything but stats works)
>
> # test that index is outdated   anything smaller than 3.5
> /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
> /dspace/solr/statistics/data/index
>
> but if your versions are off do the following - get yourself an uptodate
> lucene-core-3.5.0.jar
>
> # upgrade statistics index
> # in home directory we have the jar parked
> java -cp lucene-core-3.5.0.jar org.apache.lucene.index.IndexUpgrader
>  /dspace/solr/statistics/data/index/
>
> # expect to see 3.5
> /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
> /dspace/solr/statistics/data/index
>
> #update index
> ant update_solr_indexes
> /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
> /dspace/solr/statistics/data/index
>
>
>
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
>
> On Dec 17, 2015, at 10:39 AM, Tiago Delboni  wrote:
>
> Hi!
>
> I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was able to put
> everything working but the statistics. Everytime I click the Statistics
> menu, in JSPUI, DSpace come out with a Internal Server Error.
> Bellow is the relevant part gattered from dspace.log. Any ideas how to
> fix it?
>
> Also, I would like to know if I can keep the historical statistics I have
> on 1.8.x. What I did, trying to achieve this, was to copy the contents from
> [dspace1.8]/log and [dspace1.8]/solr/statistics/data to [dspace5.4] and
> ran [dspace5.4]/bin/dspace solr-reindex-statistics.
>
> 2015-12-17 13:15:12,864 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:-- URL Was:
> https://dspace-novo.almg.gov.br/jspui/statistics
> -- Method: GET
> -- Parameters were:
>
> java.lang.NullPointerException
> at
> org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)
> 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:622)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> 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:239)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
> at
> org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
>  

Re: [dspace-tech] Re: how to get to an item in a workflow after originator retires?

2015-12-17 Thread Bram Luyten
There are different Use Cases on the wiki that are related to this, and
which would benefit from your input/suggestions, notably:
https://wiki.duraspace.org/display/DSPACE/Admin+UI+-+Detect+and+re-assign+stalled+workflow+tasks

But there are many different workflow related suggestions in here as well:
https://wiki.duraspace.org/display/DSPACE/Use+Cases

As soon as we align on the use case / functionality, we can create the JIRA
ticket and start building these improvements.

-- 
[image: logo]
*Bram Luyten*
*250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com



On 17 December 2015 at 16:22, Anthony Petryk 
wrote:

> Hi,
>
>
>
> I think this use case, and many others, would be addressed if
> administrators were able to manage all submissions (in workflow AND
> workspace) via the admin UI.  As an admin, it feels strange to have to
> “Login As” someone in order to do something.
>
>
>
> We’re on DSpace 4.3 – my apologies if this has already been implemented in
> later versions.
>
>
>
> Best,
>
>
>
> Anthony
>
>
>
> *From:* dspace-tech@googlegroups.com [mailto:dspace-tech@googlegroups.com]
> *On Behalf Of *Bram Luyten
> *Sent:* Thursday, December 17, 2015 8:54 AM
> *To:* Jonathan Blood 
> *Cc:* DSpace Technical Support 
> *Subject:* Re: [dspace-tech] Re: how to get to an item in a workflow
> after originator retires?
>
>
>
> Hello,
>
>
>
> I'm not confident I fully understand the use case, but it sounds to me
> that this could be addressed with enabling the "login-as" feature, that
> allows an admin to login as a user.
>
>
>
>
> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-Loginasfeature
>
>
>
> I would be interested to learn how the admin "login-as" feature interacts
> with the "can-login" checkbox. If the can-login feature prevents an admin
> from using "login-as" as that user, I think it should be filed as a bug,
> because if admins decide they want to login as a de-activated account, I
> think they should be able to do this.
>
>
>
> rgds
>
>
>
> Bram
>
>
> --
>
> [image: logo]
>
> *Bram Luyten*
> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com
> 
>
>
>
>
> On 16 December 2015 at 15:51, Jonathan Blood 
> wrote:
>
> Hi,
>
> I couldn't find a great solution for this out of the box. I achieved this
> through customisations.
> I created a customisation which would email administrators if items are
> not actioned upon over a certain period of time (the time period was
> configurable per collection).
> This would send the administrator a link to the workflow in question.
>
> To compliment this I made a change to workflow authorisations so that an
> administrator would be able to access all workflows.
>
> Regards,
> Jonathan
>
> On Friday, December 11, 2015 at 10:11:55 PM UTC, Catherine Cronin wrote:
>
> Here is our scenario:
>
>
>
> A researcher has submitted an Item in Dspace 3.3 (JSPUI) which goes
> through an approval process using the standard workflow (not customized).
>
> The Item has not been fully approved through all the steps yet.
>
> The researcher is going to retire on Dec 31st, and his account will be
> "removed" from the system.  (Actually, the "can login" switch will be
> turned off and his single sign-on account will be removed from a
> centralized DB)
>
> Once his account is removed, we are not sure what will happen to the Item
> if one of the steps in the workflow doesn't approve and sends it back to
> him.
>
> He won't have an email account, and he won't be able to login to the
> Dspace website.
>
>
>
> Is there a way for an Admin to take control of the Item in the workflow?
>
>
>
> We tried to emulate this in our development system, however because of the
> single sign-on setup (we are configured for shibboleth), even when I
> uncheck the "Can Login" checkbox, the researcher can still login.  I think
> his single sign-on account would have to be disabled in order for him to
> have access.
>
>
>
> Has this happened to anyone else and how did you handle the Items that may
> not have been through the approval workflow prior to the originator leaving?
>
>
>
> Cathy Cronin
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Su

[dspace-tech] Can't get statistics to work after upgrading from 1.8.x to 5.x

2015-12-17 Thread Tiago Delboni
Hi!

I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was able to put 
everything working but the statistics. Everytime I click the Statistics 
menu, in JSPUI, DSpace come out with a Internal Server Error.
Bellow is the relevant part gattered from dspace.log. Any ideas how to fix 
it? 

Also, I would like to know if I can keep the historical statistics I have 
on 1.8.x. What I did, trying to achieve this, was to copy the contents from 
[dspace1.8]/log and [dspace1.8]/solr/statistics/data to [dspace5.4] and ran 
[dspace5.4]/bin/dspace 
solr-reindex-statistics.

2015-12-17 13:15:12,864 WARN  
org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:-- URL Was: 
https://dspace-novo.almg.gov.br/jspui/statistics
-- Method: GET
-- Parameters were:

java.lang.NullPointerException
at 
org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121)
at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)
at 
org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)
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:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
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:239)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at 
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2015-12-17 13:15:12,865 WARN  org.dspace.app.webui.util.UIUtil @ Unable to 
send email alert
java.lang.NullPointerException
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:230)
at 
org.dspace.content.DSpaceObject$MetadataCache.retrieveMetadata(DSpaceObject.java:1330)
at 
org.dspace.content.DSpaceObject$MetadataCache.get(DSpaceObject.java:1265)
at 
org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:676)
at 
org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:585)
at 
org.dspace.content.DSpaceObject.getMetadataFirstValue(DSpaceObject.java:653)
at org.dspace.eperson.EPerson.getFirstName(EPerson.java:772)
at org.dspace.eperson.EPerson.getFullName(EPerson.java:748)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:419)
at 
org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina

Re: [dspace-tech] [xmlui2] show logo in community-list

2015-12-17 Thread Franziska Ackermann

Hi,

In which path did you make these modifications?

Best regards,
Franziska Ackermann

Am 17.12.2015 um 16:30 schrieb Michael Wagner:

Dear all,

I'm using DSpace 5.3 with xmlui2 and want to show the community logos 
not only in the community view but also in the list of communities 
(e.g. the front page).


I already tried to modify

xsl/preprocess/communitylist.xsl
xsl/aspect/artifactbrowser/community-list.xsl

by adding select="./mets:fileSec/mets:fileGrp[@USE='LOGO']"/> but this doesn't 
work for me :(


Any hints how to do this?

Thanks and best regards,
Michael
--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] [xmlui2] show logo in community-list

2015-12-17 Thread Michael Wagner
Dear all,

I'm using DSpace 5.3 with xmlui2 and want to show the community logos not 
only in the community view but also in the list of communities (e.g. the 
front page).

I already tried to modify

xsl/preprocess/communitylist.xsl
xsl/aspect/artifactbrowser/community-list.xsl

by adding  but this doesn't work 
for me :( 

Any hints how to do this? 

Thanks and best regards,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] oai and access restricted items

2015-12-17 Thread helix84
On Tue, Dec 15, 2015 at 5:10 PM, Jose Blanco  wrote:

> harvest.includerestricted.oai = false
>
> I can't find where in the code it's used.
>

I couldn't find any uses, either.
We'll probably have to do a review of configuration properties for DSpace
6, so I expect we'll deal with it there.


> Is there any documentation on how to have oai not provide restricted items?
>

Since DSpace 5.0, that should be the case by default (DS-1856). If it isn't
so, please, reopen that bug or file a new one.

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

Slightly related:

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


Regards,
~~helix84

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

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 5 Oracle database_schema.sql

2015-12-17 Thread helix84
Once again, there is no need to do anything manually, only to create the
database and user. DSpace will create the database when you first start it.

Follow the instructions here:
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace

The sqlmigration scripts are used internally and you should not run them
manually (I shouldn't have suggested that in my previous email).

The xmlworkflow script should be only run if you inted to use the
optional XmlWorkflow
feature:
https://wiki.duraspace.org/display/DSDOC5x/Configurable+Workflow


Regards,
~~helix84

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

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: oai and access restricted items

2015-12-17 Thread Jose Blanco
I wonder if someone could give me some information about this.

On Tue, Dec 15, 2015 at 11:10 AM, Jose Blanco  wrote:

> Does this config actually work in versions 5 or 4
>
> harvest.includerestricted.oai = false
>
> I can't find where in the code it's used.
>
> Is there any documentation on how to have oai not provide restricted items?
>
> Thank you!
> Jose
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 5 Oracle database_schema.sql

2015-12-17 Thread Francisco Monreal
In dspace-api-5.2.jar there are several packages:

org.dspace.storage.bitstore
org.dspace.storage.rdbms

In org.dspace.storage.rdbms also are several packages and several scripts 
in sqlmigration and xmlworkflow. Should I run them all?
If the scripts are manually run, classes not running. Are tables created 
correctly only with scripts?

Thanks in advance.

El martes, 10 de noviembre de 2015, 13:34:02 (UTC+1), helix84 escribió:
>
> You can use "ant fresh_install" (or just the "ant migrate_database" step) 
> to create a fresh database.
>
> If you want to do it manually, you can run the scripts 
> from dspace-api.jar in sequence, but this is the same what Flyway does when 
> you run migrate_database. In addition to that, Flyway creates and maintans 
> the schema_version table to keep track of migrations it did. Without this 
> table, you won't be able to upgrade to DSpace 6 or later.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: how to get to an item in a workflow after originator retires?

2015-12-17 Thread Bram Luyten
Hello,

I'm not confident I fully understand the use case, but it sounds to me that
this could be addressed with enabling the "login-as" feature, that allows
an admin to login as a user.

https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-Loginasfeature

I would be interested to learn how the admin "login-as" feature interacts
with the "can-login" checkbox. If the can-login feature prevents an admin
from using "login-as" as that user, I think it should be filed as a bug,
because if admins decide they want to login as a de-activated account, I
think they should be able to do this.

rgds

Bram

-- 
[image: logo]
*Bram Luyten*
*250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com



On 16 December 2015 at 15:51, Jonathan Blood 
wrote:

> Hi,
>
> I couldn't find a great solution for this out of the box. I achieved this
> through customisations.
> I created a customisation which would email administrators if items are
> not actioned upon over a certain period of time (the time period was
> configurable per collection).
> This would send the administrator a link to the workflow in question.
>
> To compliment this I made a change to workflow authorisations so that an
> administrator would be able to access all workflows.
>
> Regards,
> Jonathan
>
> On Friday, December 11, 2015 at 10:11:55 PM UTC, Catherine Cronin wrote:
>>
>> Here is our scenario:
>>
>> A researcher has submitted an Item in Dspace 3.3 (JSPUI) which goes
>> through an approval process using the standard workflow (not customized).
>> The Item has not been fully approved through all the steps yet.
>> The researcher is going to retire on Dec 31st, and his account will be
>> "removed" from the system.  (Actually, the "can login" switch will be
>> turned off and his single sign-on account will be removed from a
>> centralized DB)
>> Once his account is removed, we are not sure what will happen to the Item
>> if one of the steps in the workflow doesn't approve and sends it back to
>> him.
>> He won't have an email account, and he won't be able to login to the
>> Dspace website.
>>
>> Is there a way for an Admin to take control of the Item in the workflow?
>>
>> We tried to emulate this in our development system, however because of
>> the single sign-on setup (we are configured for shibboleth), even when I
>> uncheck the "Can Login" checkbox, the researcher can still login.  I think
>> his single sign-on account would have to be disabled in order for him to
>> have access.
>>
>> Has this happened to anyone else and how did you handle the Items that
>> may not have been through the approval workflow prior to the originator
>> leaving?
>>
>> Cathy Cronin
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Multilingual xmlui submision interface

2015-12-17 Thread Xaquin Lores
Hi,

we need a multilingual submision interface in dspace 5.4 (xmlui), and
reading the manual it seems that it's not posible to use input-forms_xx.xml
as we are using in jspui.
Anyone have a solution?

Thanks in advance

Xaquín Lores

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Words with an accent in file input-forms.xsl

2015-12-17 Thread Claudia Jürgen

Hola,

just add the proper encoding to the input-forms.xml
e.g. : 

Hope this helps

Claudia Jürgen


Am 17.12.2015 um 09:35 schrieb Mariangels:

Hola,

We are working with DSpace 5.3.
We have problems with the visualization of the words with an accent in the
file input-forms.xsl.

For example:
We have this in input-forms.xsl:

Títol

and we can see this in the navigator:

T??tol

All the characters with an accent displays like the example.

I don't have any problem with the visualization of this kind of characters
in other sections in DSpace. It is just in this file: input-forms.xsl.

How can I fix this problem?

Thanks in advance.



--
Claudia Juergen
Eldorado

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

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

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

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

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Words with an accent in file input-forms.xsl

2015-12-17 Thread Mariangels
Hola,

We are working with DSpace 5.3.
We have problems with the visualization of the words with an accent in the 
file input-forms.xsl.

For example:
We have this in input-forms.xsl:

Títol

and we can see this in the navigator:

T??tol

All the characters with an accent displays like the example.

I don't have any problem with the visualization of this kind of characters 
in other sections in DSpace. It is just in this file: input-forms.xsl.

How can I fix this problem?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.