Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-11 Thread Mark Ehle
Thanks, guys! That gives me something to chew on. What I need the query for
is to generate a media rss feed from Dspace.

On Wed, Dec 10, 2014 at 5:16 PM, Brown, Jacob  wrote:

> Hi Mark,
>
>
>
> Not sure if what you are using the query for, but if you are using it
> inside a Java application, DSpace provides a [service](
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/service/ItemService.java)
> to get the primary bitstream’s thumbnail for an item. It’s used like, e.g.:
>
>
>
> org.dspace.content.service.ItemService.getThumbnail(context, item.id,
> false)
>
>
>
> If you need it outside Java, try the following (sorry for the CTEs, I’m
> using SQL snippets from helix84 and the ItemService code and didn’t want to
> rewrite everything). It could use some re-writing, but should get you
> started.
>
>
>
> with itemHolder as (
>
>   SELECT item_id as id FROM item, handle
>
>   WHERE handle.resource_id = item.item_id
>
>   AND handle.handle = 'dspace/handle'
>
> ),
>
> primaryBitstream as (
>
>   SELECT bundle.primary_bitstream_id as id FROM item2bundle, bundle
>
>   WHERE item2bundle.item_id in (SELECT id FROM itemHolder) AND
> item2bundle.bundle_id=bundle.bundle_id AND bundle.name='ORIGINAL' LIMIT 1
>
> ),
>
> nameHolder as (
>
>   SELECT name || '.jpg' as name
>
>   FROM bitstream
>
>   WHERE bitstream_id IN (SELECT id FROM PrimaryBitstream)
>
> ),
>
> namedBitstream as (
>
>   SELECT bitstream.bitstream_id as id FROM item2bundle, bundle,
> bundle2bitstream, bitstream
>
>   WHERE item2bundle.item_id IN (SELECT id FROM itemHolder) AND
> item2bundle.bundle_id=bundle.bundle_id AND bundle.name='THUMBNAIL'
>
>   AND bundle.bundle_id=bundle2bitstream.bundle_id AND
> bundle2bitstream.bitstream_id=bitstream.bitstream_id AND bitstream.name
> IN (SELECT name from nameHolder)
>
> ) SELECT id FROM namedBitstream;
>
>
>
> Jacob
>
>
>
> *From:* Mark Ehle [mailto:marke...@gmail.com]
> *Sent:* Wednesday, December 10, 2014 11:12 AM
> *To:* DSpace-tech@lists.sourceforge.net
> *Subject:* [Dspace-tech] Query to get ID of thumbnail of primary bitstream
>
>
>
> Folks -
>
> I am in need of a way to query postgres in Dspace to give me the ID of the
> primary bitstream's thumbnail ID. I am able to get the primary bitstream ID
> from the handle (thanks to helix84
> ,
>
> http://dspace.2283337.n4.nabble.com/Get-item-id-from-bitstream-handle-td4662208.html)
> but I don't know where to match up the thumbnail to it.
>
> Thanks!
>
> Mark Ehle
>
> Computer Support Librarian
>
> Willard Library
>
> Battle Creek, MI
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Enabling SSL

2014-12-11 Thread Olivier Nicole
Hi,

I have DSpace 4.2 running on FreeBSD 9.2.

I am trying to enable SSL, following the official documentation in
DSpace-Manual.pdf

I have defined a conector 8443 in tomcat, I see that the port is
listening, but I cannot get a page (I assume the page should be of the
form https://www.cs.ait.a c.th:8443/xmlui).

The non-SSL part is working fine.

When I keytool -imported the server.pem in tomcat, the file server.pem
contains only the certificate (SSLCertificateFile in Apache), not the
private key (SSLCertificateKeyFile in Apache). Could that be the
reason why?

Where/how can I see logs of what is happening?

Once SSL will be working with tomcat, how to enable it in DSpace? For
the moment, when I login, it all goes through the non-SSL connector?

I am completely new to tomcat, I apologize if my questions are naive.

Best regards,

Olivier
-- 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Enabling SSL

2014-12-11 Thread helix84
On Thu, Dec 11, 2014 at 1:11 PM, Olivier Nicole
 wrote:
> When I keytool -imported the server.pem in tomcat, the file server.pem
> contains only the certificate (SSLCertificateFile in Apache), not the
> private key (SSLCertificateKeyFile in Apache). Could that be the
> reason why?

Please note that there are 2 options for syntax of the SSL Connector
attributes depending on whether you're running with native APR (which
uses OpenSSL) or the default Java SSL implementation (JSSE).

> Where/how can I see logs of what is happening?

Try "tail -f catalina.out". If you don't see anything relevant, it's
possible you may have to tweak tomcat's log level somewhere (I don't
know off the top of my head where).

> Once SSL will be working with tomcat, how to enable it in DSpace? For
> the moment, when I login, it all goes through the non-SSL connector?

For XMLUI, in dspace.cfg use
xmlui.force.ssl = true


For several reasons (most prominently for Shibboleth SP), it is also
common to simply put Apache HTTPD as a front-end for Tomcat. In such a
configuration, typically Apache would proxy requests to Tomcat via the
AJP protocol. This would let you allow Apache handle SSL
configuration, rewrites etc in a (hopefully) familiar way.


Regards,
~~helix84

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Enabling SSL

2014-12-11 Thread helix84
Forgot to include the link for SSL configuration in Tomcat (both options):

http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration


Regards,
~~helix84

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] FW: Questions Demo XMLUI 5: Embargo on bitstreams, Batch import (ZIP) & Private/Withdrawn items

2014-12-11 Thread Cadmus, Mail Account
Dear all,
we have received no feedback on our email regarding DSPace 5 below. Please 
advise if we should send elsewhere.
Many thanks in advance

Paolo and Lotta
From: Cadmus, Mail Account [mailto:cad...@eui.eu]
Sent: lunedì 1 dicembre 2014 11:55
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Questions Demo XMLUI 5: Embargo on bitstreams, Batch 
import (ZIP) & Private/Withdrawn items

Dear all,
Testing DSpace XMLUI 5 on the demo site as 
dspacedemo+ad...@gmail.com we have some 
questions regarding 1) Embargo on bitstreams, 2) Batch import (ZIP), and 3) 
Private/Withdrawn items.


1.   Embargo on bitstreams ( PDF)
After an item submission (both manual submission and csv import) it was 
possible – during the week of 10th November - to add an embargo lift date 
connected to the bitstream, even in the case of having added  the bitstream 
(PDF) after the actual submission. And it seemed to be working fine. Performing 
the same submission and actions on the 19 Nov. 14  it was no longer  possible 
to add an embargo lift date to the PDF (but only to the item record)


2.   Batch import (ZIP)
We performed an ‘export item’ from our repository (DSpace XMLUI 1.8.2) 
http://hdl.handle.net/1814/33473 and imported it into DSpace Test 5 XMLUI using 
Batch import (ZIP).
It resulted successful, but afterwards it was impossible to find the imported 
item record (tried both browse and search).

· Searching by Author “DO PACO” in DSpace 5 it’s not found.

· Searching by Title “Viennese delights” in DSpace 5 it’s not found.

· Pasting the URL  http://demo.dspace.org/xmlui/handle/1814/33473 the 
imported item record is found! (URI remains http://hdl.handle.net/1814/33473 in 
the imported item record)
[cid:image001.jpg@01D00D5D.A475FD60]


3.   Withdrawn and Private items

· It seems impossible to find back a private item as Admin after it’s 
been made private. (what is the scope of using ‘Private’?)

· It seems impossible to find back a withdrawn item as Admin after it’s 
been made withdrawn.


Lotta and Paolo
Cadmus.eui.eu

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination, distribution, forwarding, or other use 
of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited without the express 
permission of the sender. If you received this communication in error, please 
contact the sender and delete the material from any computer.

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination, distribution, forwarding, or other use 
of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited without the express 
permission of the sender. If you received this communication in error, please 
contact the sender and delete the material from any computer.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

2014-12-11 Thread Chris Gray
Have you installed the dspace solr webapp in tomcat?  My experience is 
that jspui won't work without it.


Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca
University of Waterloo

On 14-12-10 05:33 PM, Goran Ivaz wrote:


An internal server error occurred on 
http://Apex4.lib2k.bcit.ca:8080/xmlui 
:


Date:   12/10/14 2:29 PM

Session ID: 235C5819669FA6D8F829149F74A4D345

User:   Anonymous

IP address: 142.232.42.62

-- URL Was: http://142.232.42.56:8080/jspui/internal-error 



-- Method: GET

-- Parameters were:

Exception:

org.apache.jasper.JasperException: An exception occurred processing 
JSP page /index.jsp at line 59


56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) 
PluginManager.getPluginSequence(SiteHomeProcessor.class);


57: for (int i = 0; i < chp.length; i++)

58: {

59: chp[i].process(context, request, response);

60: }

61: }

62: catch (Exception e)

Stacktrace:

at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)


at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)


at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)


at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)


at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)


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


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


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


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


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


at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)


at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)


at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)


at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)


at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)


at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)


at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)


at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)


at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1024)


at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)


at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)


at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)


at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)


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

Caused by: javax.servlet.ServletException: 
org.dspace.plugin.PluginException: 
org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Server at 
http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok 
status:500, message:Internal Server Error


at 
org.apache.jsp.index_jsp._jspService(index_jsp.java:127)


at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)


at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)


at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)


... 22 more

Caused by: org.dspace.plugin.PluginException: 
org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Server at 
http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok 
status:500, message:Internal Server Error


at 
org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:53)


at 
org.apache.jsp.index_jsp._jspService(index_jsp.java:120)


... 25 more

Caused by: org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Server at 
http://Apex4.lib2k.bcit.ca:80

[Dspace-tech] "Malformed stream" error

2014-12-11 Thread Paul Go
I'm not sure why we are getting this error as we've freed space on the
device.  Does anyone have any insight?

Problem in creating the Request

Message: null

Description: No details available.

Sender: org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter

Source: Cocoon Servlet

cause

Malformed stream:
​​
No space left on device

request-uri
/handle/10560/3351/submit/6f1970177c7c560b271b3243267e382f08221b61.continue​



Paul Go

Systems Librarian /
Library Technology Manager /
CS and ITM Liaison
Paul V. Galvin Library
Illinois Institute of Technology
35 West 33rd Street
Chicago, IL  60616
312.567.7997
p...@iit.edu

*Driving Innovation through Knowledge and Scholarship*
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

2014-12-11 Thread Goran Ivaz
I simply copied the solr folder from DSpace/webapps to 
$catalina/webappssame as I did with the xmlui and jspui webapps (method 2). 
What kind of other configuration is required.?

Installation manual mentions no specific solr setup !?


Thanks

From: Chris Gray [mailto:cpg...@uwaterloo.ca]
Sent: Thursday, December 11, 2014 9:33 AM
To: Goran Ivaz; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 3rd installand jspui keeps throwing an error 
(whils xmlui is just fine)

Have you installed the dspace solr webapp in tomcat?  My experience is that 
jspui won't work without it.

Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca
University of Waterloo
On 14-12-10 05:33 PM, Goran Ivaz wrote:

An internal server error occurred on http://Apex4.lib2k.bcit.ca:8080/xmlui:



Date:   12/10/14 2:29 PM

Session ID: 235C5819669FA6D8F829149F74A4D345

User:   Anonymous

IP address: 142.232.42.62



-- URL Was: http://142.232.42.56:8080/jspui/internal-error

-- Method: GET

-- Parameters were:





Exception:

org.apache.jasper.JasperException: An exception occurred processing JSP page 
/index.jsp at line 59



56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) 
PluginManager.getPluginSequence(SiteHomeProcessor.class);

57: for (int i = 0; i < chp.length; i++)

58: {

59: chp[i].process(context, request, response);

60: }

61: }

62: catch (Exception e)





Stacktrace:

at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)

at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)

at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

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

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

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

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

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

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1024)

at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Caused by: javax.servlet.ServletException: org.dspace.plugin.PluginException: 
org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: 
Server at http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok 
status:500, message:Internal Server Error

at org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

... 22 more

Caused by: org.dspace.plugin.PluginException: 
org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: 
Server at http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok 
status:500, message:Internal Server Error

Re: [Dspace-tech] Enabling SSL

2014-12-11 Thread Alan Orth
Also, I realized early on there are many reasons to terminate your SSL with
something other than Tomcat.  We used Apache http for a while, and now I've
switched to nginx.

For reference, here's our nginx vhost config:

https://gist.github.com/alanorth/ddde5e9d6c55b3637513

You'll want the xmlui.force.ssl option as helix84 pointed to, and there are
a few variables in our config that are interpolated from ansible during
deployment of the server... but you get the picture.

Alan

On Thu Dec 11 2014 at 4:02:24 PM helix84  wrote:

> Forgot to include the link for SSL configuration in Tomcat (both options):
>
> http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
> 
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&;
> iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+
> Etiquette
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] "Malformed stream" error

2014-12-11 Thread Stuart Yeates
If you fill up the disk, you need to stop all of the tomcat stack and restart 
the operating system in such a way that it checks all disks when it restarts.


You then need to rebuild your search indexes and check that in-process files 
haven't been damaged.


cheers

stuart


--
I have a new phone number: 04 463 5692

From: Paul Go 
Sent: Friday, 12 December 2014 6:57 a.m.
To: Dspace Tech list
Subject: [Dspace-tech] "Malformed stream" error

I'm not sure why we are getting this error as we've freed space on the device.  
Does anyone have any insight?

Problem in creating the Request

Message: null

Description: No details available.

Sender: org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter

Source: Cocoon Servlet

cause

Malformed stream:
??
No space left on device

request-uri

/handle/10560/3351/submit/6f1970177c7c560b271b3243267e382f08221b61.continue?



Paul Go

Systems Librarian /
Library Technology Manager /
CS and ITM Liaison
Paul V. Galvin Library
Illinois Institute of Technology
35 West 33rd Street
Chicago, IL  60616
312.567.7997
p...@iit.edu

Driving Innovation through Knowledge and Scholarship
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

2014-12-11 Thread Chris Gray
I think it's trying to find solr at 
http://Apex4.lib2k.bcit.ca:8080/solr/search but by default solr is only 
available to the localhost so the URL should be 
http://localhost:8080/solr/search.


Check your build.properties file and ensure that 
solr.server=http://localhost:8080/solr is set and run maven and ant again.


Chris

On 14-12-11 01:06 PM, Goran Ivaz wrote:


I simply copied the solr folder from DSpace/webapps to 
$catalina/webapps….same as I did with the xmlui and jspui webapps 
(method 2). What kind of other configuration is required.?


Installation manual mentions no specific solr setup !?

Thanks

*From:*Chris Gray [mailto:cpg...@uwaterloo.ca]
*Sent:* Thursday, December 11, 2014 9:33 AM
*To:* Goran Ivaz; dspace-tech@lists.sourceforge.net
*Subject:* Re: [Dspace-tech] 3rd installand jspui keeps throwing 
an error (whils xmlui is just fine)


Have you installed the dspace solr webapp in tomcat?  My experience is 
that jspui won't work without it.


Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca 
University of Waterloo

On 14-12-10 05:33 PM, Goran Ivaz wrote:

An internal server error occurred on
http://Apex4.lib2k.bcit.ca:8080/xmlui
:

Date:   12/10/14 2:29 PM

Session ID: 235C5819669FA6D8F829149F74A4D345

User:   Anonymous

IP address: 142.232.42.62

-- URL Was: http://142.232.42.56:8080/jspui/internal-error


-- Method: GET

-- Parameters were:

Exception:

org.apache.jasper.JasperException: An exception occurred
processing JSP page /index.jsp at line 59

56: SiteHomeProcessor[] chp = (SiteHomeProcessor[])
PluginManager.getPluginSequence(SiteHomeProcessor.class);

57: for (int i = 0; i < chp.length; i++)

58: {

59: chp[i].process(context, request, response);

60: }

61: }

62: catch (Exception e)

Stacktrace:

at

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)

at

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)

at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at

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

at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at

org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1024)

at

org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at

org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

at

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Caused by: javax.servlet.ServletException:
org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException:
org.dspace.discovery.SearchServiceException: Server at
http://Apex4.lib2k.bcit.ca:8080/solr/search retu

Re: [Dspace-tech] "Malformed stream" error

2014-12-11 Thread Paul Go
Perfect.  Thank you!

Paul Go

Systems Librarian /
Library Technology Manager /
CS and ITM Liaison
Paul V. Galvin Library
Illinois Institute of Technology
35 West 33rd Street
Chicago, IL  60616
312.567.7997
p...@iit.edu

*Driving Innovation through Knowledge and Scholarship*

On Thu, Dec 11, 2014 at 12:41 PM, Stuart Yeates 
wrote:

>  If you fill up the disk, you need to stop all of the tomcat stack and
> restart the operating system in such a way that it checks all disks when it
> restarts.
>
>
>  You then need to rebuild your search indexes and check that in-process
> files haven't been damaged.
>
>
>  cheers
>
> stuart
>
>
>   --
> I have a new phone number: 04 463 5692
>--
> *From:* Paul Go 
> *Sent:* Friday, 12 December 2014 6:57 a.m.
> *To:* Dspace Tech list
> *Subject:* [Dspace-tech] "Malformed stream" error
>
>   I'm not sure why we are getting this error as we've freed space on the
> device.  Does anyone have any insight?
>
>   Problem in creating the Request
>
> Message: null
>
> Description: No details available.
>
> Sender:
>  org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter
>
> Source: Cocoon Servlet
>
> cause
>
> Malformed stream:
> ​​
> No space left on device
>
>   request-uri
> /handle/10560/3351/submit/6f1970177c7c560b271b3243267e382f08221b61.continue
> ​
>
>
>
>   Paul Go
>
> Systems Librarian /
> Library Technology Manager /
> CS and ITM Liaison
> Paul V. Galvin Library
> Illinois Institute of Technology
> 35 West 33rd Street
> Chicago, IL  60616
> 312.567.7997
> p...@iit.edu
>
>  *Driving Innovation through Knowledge and Scholarship*
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Solr errors in logs

2014-12-11 Thread Anthony Petryk
Hello,

We're seeing a fair number of Solr errors in our DSpace logs, of which we've 
identified 3 distinct types (examples below).  Any explanation or help in 
resolving these would be appreciated.  We're running DSpace 4.0 JSPUI.

Anthony

--

Type 1

2014-11-01 01:07:35,191 ERROR org.dspace.statistics.SolrLogger @ Server at 
http://localhost/solr/statistics returned non ok status:500, message:Internal 
Server Error
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at 
http://localhost/solr/statistics returned non ok status:500, message:Internal 
Server Error
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
at 
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at 
org.dspace.statistics.SolrLogger$ResultProcessor.execute(SolrLogger.java:713)
at 
org.dspace.statistics.SolrLogger.markRobotsByIP(SolrLogger.java:774)
at 
org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

Type 2

2014-11-01 00:00:29,054 ERROR org.dspace.discovery.SolrServiceImpl @ Error 
while writing item to discovery index: 10393/23623 message:Server at 
http://localhost/solr/search returned non ok status:500, message:Internal 
Server Error
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at 
http://localhost/solr/search returned non ok status:500, message:Internal 
Server Error
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at 
org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
at 
org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at 
org.dspace.discovery.SolrServiceImpl.writeDocument(SolrServiceImpl.java:677)
at 
org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:1372)
at 
org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:219)
at 
org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:391)
at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

Type 3

2014-12-11 14:34:15,948 ERROR 
org.dspace.statistics.SolrLoggerUsageEventListener @ (that's it, nothing more)


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Queued Curation Tasks

2014-12-11 Thread Terry Brady
I am starting to experiment with developing Curation System tasks.

I am working on a task that will identify non-standard items within a
collection (withdrawn, private, access restriction, no bitstreams, multiple
bitstreams).

.../dspace/bin/dspace curate -i 10822.1/707103 -t exception -r -


TOTAL ITEMS (25)
PrivateItem (2)
10822.1/707154
10822.1/707139
WithdrawnItem (2)
10822.1/707155
10822.1/707152
RestrictedAccessItem (2)
10822.1/707155
10822.1/707152
RestrictedAccessBitstream (0)
NoOriginalBitstream (4)
10822.1/707157
10822.1/707156
10822.1/707155
10822.1/707154
MultipleOriginalBitstreams (0)
UnusualBitstreamType (0)

For Curation Tasks that are Queued, is there a standard way to make the
curation task output accessible to a user?  I presume that the standard
approach is to e-mail cron output of the queue processes:
.../dspace/bin/dspace curate -q admin_ui -r -

Also, is there a mechanism to generate html rather than text from a
curation task?

Terry

-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

2014-12-11 Thread Goran Ivaz
Gottcha !!

Many thanks

Goran

From: Chris Gray [mailto:cpg...@uwaterloo.ca]
Sent: Thursday, December 11, 2014 11:19 AM
To: Goran Ivaz; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 3rd installand jspui keeps throwing an error 
(whils xmlui is just fine)

I think it's trying to find solr at http://Apex4.lib2k.bcit.ca:8080/solr/search 
but by default solr is only available to the localhost so the URL should be 
http://localhost:8080/solr/search.

Check your build.properties file and ensure that 
solr.server=http://localhost:8080/solr is set and run maven and ant again.

Chris
On 14-12-11 01:06 PM, Goran Ivaz wrote:
I simply copied the solr folder from DSpace/webapps to 
$catalina/webappssame as I did with the xmlui and jspui webapps (method 2). 
What kind of other configuration is required.?

Installation manual mentions no specific solr setup !?


Thanks

From: Chris Gray [mailto:cpg...@uwaterloo.ca]
Sent: Thursday, December 11, 2014 9:33 AM
To: Goran Ivaz; 
dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 3rd installand jspui keeps throwing an error 
(whils xmlui is just fine)

Have you installed the dspace solr webapp in tomcat?  My experience is that 
jspui won't work without it.

Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca
University of Waterloo
On 14-12-10 05:33 PM, Goran Ivaz wrote:

An internal server error occurred on http://Apex4.lib2k.bcit.ca:8080/xmlui:



Date:   12/10/14 2:29 PM

Session ID: 235C5819669FA6D8F829149F74A4D345

User:   Anonymous

IP address: 142.232.42.62



-- URL Was: http://142.232.42.56:8080/jspui/internal-error

-- Method: GET

-- Parameters were:





Exception:

org.apache.jasper.JasperException: An exception occurred processing JSP page 
/index.jsp at line 59



56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) 
PluginManager.getPluginSequence(SiteHomeProcessor.class);

57: for (int i = 0; i < chp.length; i++)

58: {

59: chp[i].process(context, request, response);

60: }

61: }

62: catch (Exception e)





Stacktrace:

at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)

at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)

at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

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

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

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

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

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

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1024)

at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

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

Caused by: javax.servlet.ServletException: org.dspace.plugin.PluginException: 
org.dspace.app.webui.components.RecentSubmissionsException: 
org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: 
Server at http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok 
status:500, message:Internal Server 

Re: [Dspace-tech] Queued Curation Tasks

2014-12-11 Thread Tim Donohue
Hi Terry,

The quick answers to your questions are:

* Unfortunately, Curation Tasks are still very much an Administrator 
tool. There's not currently a way to email the result of queued tasks, 
but that'd make a nice feature (if anyone wanted to volunteer to build 
it out). Currently, the results of queued Curation tasks are logged in 
the DSpace logs, or optionally reported back to the commandline/cron 
output (as you noted)

* Unfortunately, as well, there's currently no option for HTML or 
structured output (XML, JSON, etc) from Curation Tasks. It's merely a 
plain text report. Again, it might be a nice feature/improvement for 
some use cases perhaps. Especially a JSON output might be interesting 
since that'd be easy to transform to HTML (via Javascript) or other formats.

Pull requests or ideas are definitely welcome. Curation Tasks are very 
powerful, but their reporting mechanisms are still rather rudimentary at 
this time.

- Tim

On 12/11/2014 2:16 PM, Terry Brady wrote:
> I am starting to experiment with developing Curation System tasks.
>
> I am working on a task that will identify non-standard items within a
> collection (withdrawn, private, access restriction, no bitstreams,
> multiple bitstreams).
>
> .../dspace/bin/dspace curate -i 10822.1/707103 -t exception -r -
>
>
> TOTAL ITEMS (25)
> PrivateItem (2)
>  10822.1/707154
>  10822.1/707139
> WithdrawnItem (2)
>  10822.1/707155
>  10822.1/707152
> RestrictedAccessItem (2)
>  10822.1/707155
>  10822.1/707152
> RestrictedAccessBitstream (0)
> NoOriginalBitstream (4)
>  10822.1/707157
>  10822.1/707156
>  10822.1/707155
>  10822.1/707154
> MultipleOriginalBitstreams (0)
> UnusualBitstreamType (0)
>
> For Curation Tasks that are Queued, is there a standard way to make the
> curation task output accessible to a user?  I presume that the standard
> approach is to e-mail cron output of the queue processes:
> .../dspace/bin/dspace curate -q admin_ui -r -
>
> Also, is there a mechanism to generate html rather than text from a
> curation task?
>
> Terry
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Recent Submissions Customization

2014-12-11 Thread bender
Hi,

After reading several tutorials on how to customize XMLUI, and making some
research about similar experiences, this is what I've understood until now:

In first place, there are two main files where we've to look:
1- ..\themes\dri2xhtml\DIM-Handler.xsl
2- ..\themes\dri2xhtml\structural.xsl

In second place, we've to create/edit a file to override some parameters:
3- ..\themes\Reference\reference.xsl

As you can see, I'm working with the Reference Theme.

According the instructions of Terry, a way to control the visualization of
the Recent Submissions is to create a new view, overriding some xls
templates:

Looking in the file structural.xsl, I only can assume that the piece of
code that we've to copy and edit is this:






...



cocoon:/



?rightsMDTypes=METSRIGHTS


 External Metadata URL:  




But I'm not sure. I can't go on beyond with the suggestions of Terry. I
don't yet understand what changes should be made.

By the other hand, I've found this example on the Internet:
http://dspace.2283337.n4.nabble.com/How-to-customize-DSpace-3-0-XMLUI-Discovery-Recent-Submissions-display-td4661051.html

According to Helix, we've to modify the xsl file from our theme
(reference.xsl) and override a template:

...
...

Is this approach an alternative to make the changes that I'm looking for?

Thanks for your help!!

Bender

2014-12-09 10:04 GMT-03:00 bender :

> Thanks Hilton!!
>
> I didn't know this tutorial.
>
> Bender
>
> 2014-12-09 9:56 GMT-03:00 Hilton Gibson :
>
> Hi Bender
>>
>> Please read about the XMLUI theory.
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/Tutorial
>>
>> Cheers
>>
>> hg
>>
>> *Hilton Gibson*
>> Ubuntu Linux Systems Administrator
>> JS Gericke Library
>> Room 1025C
>> Stellenbosch University
>> Private Bag X5036
>> Stellenbosch
>> 7599
>> South Africa
>>
>> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>>
>> On 9 December 2014 at 14:42, bender 
>> wrote:
>>
>>> Hi Terry:
>>>
>>> Thank you very much for your reply.
>>>
>>> I will try to understand the way this works,and see if I can make the
>>> changes I need. It's very clear that I need to study the Manakin theming
>>> system.
>>>
>>> In any case, I will appreciate any further help, and any other specific
>>> detail, on how to achieve this objective.
>>>
>>> Thanks again!!
>>>
>>> Bender
>>>
>>> 2014-12-05 18:14 GMT-03:00 Terry Brady :
>>>
 Assuming you are using XMLUI, this might help.

 Look at dspace-xmlui/src/main/webapp/theses/dri2xhtml/structural.xsl
 for the handling of dri:referenceSet.  You will want to clone templates
 from this file into your theme xsl.

 If you want to apply this change to search results AND to recent items,
 you can clone the template with a mode of "summaryView" and apply your
 changes.

 If your override will apply only to recent items, you will need to
 create a custom version of the template with a mode of "summaryViewRecent"
 to apply only to your recent items.

 You will then need to write a custom template match to catch the
 referenceSet of recent items recent items:
 dri:referenceSet[@rend='recent-submissions']

 Terry

 On Fri, Dec 5, 2014 at 7:31 AM, bender 
 wrote:

> Hi.
>
> We're using Dspace 3.2 and the theme is "Reference" . We want to
> change the way the recent submissions are displayed at the front page.
> As an example, change the document thumbnail to the left side:
>
> [image: Imágenes integradas 1]
>
> Does anyone know which files should I edit to do this little change?
>
> Thanks in advance,
>
> Bender
>
>
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and
> Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration &
> more
> Get technology previously reserved for billion-dollar corporations,
> FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 f

[Dspace-tech] OAI 2.0 localhost/bitstream issue

2014-12-11 Thread Tim Au Yeung
Hi all,

We’ve been doing an upgrade and left the canonical URL as localhost while in 
development on our test server. We’re testing the other functions now and set 
the canonical URL to the machine’s IP address. Everything seems to work (DSpace 
sends e-mails with the correct URL and the correct persistent URL shows up in 
the item listing) but the bitstream URL for the OAI server continues to display 
localhost:8080 for the bitstream URL field. We cleared the OAI Solr index and 
re-imported the items as well as clearing the cache. Any suggestions on what 
else to try?

Thanks,
Tim
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette