[Dspace-tech] filter-media exception ArrayIndexOutOfBounds

2014-05-07 Thread X ch
Hi!

We're having some issues with the filter-media command, there seems to be
one document that makes the command throw an exception like the following:

# ./dspace filter-media -fv
The following MediaFilters are enabled:
Full Filter Name: org.dspace.app.mediafilter.HTMLFilter
org.dspace.app.mediafilter.HTMLFilter
Full Filter Name: org.dspace.app.mediafilter.WordFilter
org.dspace.app.mediafilter.WordFilter
Full Filter Name: org.dspace.app.mediafilter.JPEGFilter
org.dspace.app.mediafilter.JPEGFilter
Full Filter Name: org.dspace.app.mediafilter.PDFFilter
org.dspace.app.mediafilter.PDFFilter
Full Filter Name: org.dspace.app.mediafilter.PowerPointFilter
org.dspace.app.mediafilter.PowerPointFilter
FILTERED: bitstream 86 (item: 915/41) and created 'doc1.pdf.txt'
FILTERED: bitstream 87 (item: 915/42) and created 'doc2.pdf.txt'
FILTERED: bitstream 89 (item: 915/44) and created 'doc4.pdf.txt'
FILTERED: bitstream 90 (item: 915/45) and created 'doc5.pdf.txt'
ERROR filtering, skipping bitstream:

Item Handle: 915/43
Bundle Name: ORIGINAL
File Size: 26304565
Checksum: 9bf51eba3438de3d70d5e8243240e2b3 (MD5)
Asset Store: 0
java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.fontbox.cmap.CMapParser.compare(CMapParser.java:584)
at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:193)
at org.apache.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:548)
at
org.apache.pdfbox.pdmodel.font.PDSimpleFont.extractToUnicodeEncoding(PDSimpleFont.java:420)
at
org.apache.pdfbox.pdmodel.font.PDSimpleFont.determineEncoding(PDSimpleFont.java:390)
at org.apache.pdfbox.pdmodel.font.PDFont.init(PDFont.java:181)
at
org.apache.pdfbox.pdmodel.font.PDSimpleFont.init(PDSimpleFont.java:83)
at
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.init(PDTrueTypeFont.java:113)
at
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:116)
at
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:75)
at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:115)
at
org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:243)
at
org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:225)
at
org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:442)
at
org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:366)
at
org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:322)
at
org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:101)
at
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
at
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
at
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:414)
at
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:333)
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)
Updating search index:

All of these files have the same structure and have been uploaded via the
'dspace import' command, it's just this one that fails. However, the
document opens up without any kind of issues in the front-end (I mean, the
document exists and has no errors).

Does anyone know what could be making throw that exception and how to solve
it?

Thanks.
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace 4.1, JSPUI and IE 9 menu display issue

2014-05-07 Thread Michael White
Hi Jacob,

 You'll need to comment out the filter rule on the navbar-inverse class as well
 (which is the filter actually applied to the navbar).

Fantastic, that did the trick - many thanks for the pointer :-)

 If you want to preserve the header gradient, and don't care about supporting
 IE8, you can just add the following rule to .navbar-inverse (after commenting
 out the filters):

That worked wonderfully too - cheers!

Many, many thanks for this - getting past this has made my day (and it is still 
only 9 in the morning!) - your help is very much appreciated! :-)

Cheers,

Mike

Michael White 
eLearning Liaison and Development (eLD)
Information Services
S8, Library
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 
Email: michael.wh...@stir.ac.uk 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880
http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld

 -Original Message-
 From: Brown, Jacob [mailto:j.h.br...@tcu.edu]
 Sent: 06 May 2014 22:22
 To: Michael White
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: DSpace 4.1, JSPUI and IE 9 menu display issue
 
 Hi Mike,
 
 You'll need to comment out the filter rule on the navbar-inverse class as well
 (which is the filter actually applied to the navbar).
 
 If you want to preserve the header gradient, and don't care about supporting
 IE8, you can just add the following rule to .navbar-inverse (after commenting
 out the filters):
 
 background-
 image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy5
 3My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZ
 XdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGl
 uZWFyR3JhZGllbnQgaWQ9ImcyNjciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZ
 U9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b
 3AtY29sb3I9IiMzQzNDM0MiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9Ii
 MyMjIyMjIiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4
 PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2cyNjcpIiA
 vPgo8L3N2Zz4=);
 
 This rule (generated from
 http://ie.microsoft.com/TESTDRIVE/Graphics/SVGGradientBackgroundMaker/
 Default.html) does pretty much the same thing as the vendor-prefixed
 background-image gradients.
 
 Jacob
 
 -Original Message-
 From: Michael White [mailto:michael.wh...@stir.ac.uk]
 Sent: Tuesday, May 06, 2014 6:00 AM
 To: Brown, Jacob
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: DSpace 4.1, JSPUI and IE 9 menu display issue
 
 Hi Jacob,
 
 Thanks for the pointers.
 
  I can confirm that removing the CSS filter property for the navbar fixes 
  the
 issue on the JSPUI demo (of course, doing so will also remove the gradient).
 
 Could you possibly provide some more details on how you achieved this as
 I've just been trying but have been unable to get it to work :-(
 
 I tried commenting out the filter property of the navbar in both bootstrap-
 theme.css and in bootstrap-theme.min.css, so I had:
 
 .navbar {
   background-image:-webkit-gradient(linear,left 0,left
 100%,from(#fff),to(#f8f8f8));
   background-image:-webkit-linear-gradient(top,#fff,0%,#f8f8f8,100%);
   background-image:-moz-linear-gradient(top,#fff 0,#f8f8f8 100%);
   background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
   background-repeat:repeat-x;
   border-radius:4px;
 
 /*filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#',e
 ndColorstr='#fff8f8f8',GradientType=0);*/
   -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075);
   box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075) }
 
 - but this didn't seem to make any difference. Looking at the source, it
 appears that it is (on the homepage at least!) bootstrap-theme.min.css that 
 is
 being used and I did manage to make some progress by adding
 position:static; to the navbar definition in that file (against the
 recommendations on the pages you pointed to!) - so I had:
 
 .navbar {
   position: static;
   background-image:-webkit-gradient(linear,left 0,left
 100%,from(#fff),to(#f8f8f8));
   background-image:-webkit-linear-gradient(top,#fff,0%,#f8f8f8,100%);
   background-image:-moz-linear-gradient(top,#fff 0,#f8f8f8 100%);
   background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
   background-repeat:repeat-x;
   border-radius:4px;
 
 /*filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#',e
 ndColorstr='#fff8f8f8',GradientType=0);*/
   -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075);
   box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075) }
 
 - after doing this, the pop-up menus worked fine in IE v9 (hooray!) but the 
 top
 of the page had been pushed down with a load of white space above which is
 no good (boo!) - also tried position:relative and position:fixed but the
 menus just went back to being broken again with these values (boo hoo!)  . . 
 . .
 
 I'm definitely no css aficionado (I probably know just about enough to be very
 dangerous) so 

[Dspace-tech] Problem in Dspace search

2014-05-07 Thread Teo Tokis
Hello,
I am using Dspace 4.0.
I notice that when i search a query like --test  i get an internal error.
The same happens and in the online JSPUI Demo.

I tried a solution like this: i included the following code just before
dspace sidebar.

% if (qResults != null) { %
dspace:sidebar
 
 
 /dspace:sidebar
% } %
/dspace:layout

and it seems to working fine. I get as a result the message key
jsp.search.error.discovery.
I do not know if this is a possible solution but it's working.

The error stacktrace was:

An internal server error occurred on http://localhost:8080/jspui:

Date:   7/5/2014 12:22 μμ
Session ID: 69423C8A36A29FFD21015852D7074D32
IP address: 0:0:0:0:0:0:0:1

-- URL Was:
http://localhost:8080/jspui/simple-search?location=%2Fquery=--testrpp=10sort_by=scoreorder=desc
-- Method: GET
-- Parameters were:
-- order: desc
-- rpp: 10
-- sort_by: score
-- location: /
-- query: --test


Exception:
org.apache.jasper.JasperException: An exception occurred processing JSP
page /search/discovery.jsp at line 635

632: for (DiscoverySearchFilterFacet facetConf : facetsConf)
633: {
634: String f = facetConf.getIndexFieldName();
635: ListFacetResult facet = qResults.getFacetResult(f);
636: if (facet.size() == 0)
637: {
638: facet = qResults.getFacetResult(f+.year);


Stacktrace:
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:439)
at
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:63)
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:621)
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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at

[Dspace-tech] Archived Submissions

2014-05-07 Thread Stephano John
Dear all,

i want to change the layout of the Submissions and Workflow tasks page.
By default the archived submissions are listed at the top of the
submitters page and followed by Workflow tasks. I want to change
Workflow tasks should be listed at the top and archived submissions be
listed down. The way it is now is very boring scrolling the whole page
looking for workflow tasks.

Thank you


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace 4.1, JSPUI and IE 9 menu display issue

2014-05-07 Thread Tim Donohue
Hi Mike and Jacob,

If one of you would be willing to share a patch or Pull Request with us, 
we'd be glad to get the fix into DSpace itself. This would avoid others 
having to dig through this thread to understand what the fix may look 
like, and it'd ensure you don't have to manage/maintain this fix in your 
local codebase.

Again, we've got a ticket open at: 
https://jira.duraspace.org/browse/DS-1995  Feel free to attach a patch 
to it, or send us a GitHub Pull Request (if you are so inclined).

Thanks!

- Tim


On 5/7/2014 3:15 AM, Michael White wrote:
 Hi Jacob,

 You'll need to comment out the filter rule on the navbar-inverse class as 
 well
 (which is the filter actually applied to the navbar).

 Fantastic, that did the trick - many thanks for the pointer :-)

 If you want to preserve the header gradient, and don't care about supporting
 IE8, you can just add the following rule to .navbar-inverse (after commenting
 out the filters):

 That worked wonderfully too - cheers!

 Many, many thanks for this - getting past this has made my day (and it is 
 still only 9 in the morning!) - your help is very much appreciated! :-)

 Cheers,

 Mike

 Michael White
 eLearning Liaison and Development (eLD)
 Information Services
 S8, Library
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld

 -Original Message-
 From: Brown, Jacob [mailto:j.h.br...@tcu.edu]
 Sent: 06 May 2014 22:22
 To: Michael White
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: DSpace 4.1, JSPUI and IE 9 menu display issue

 Hi Mike,

 You'll need to comment out the filter rule on the navbar-inverse class as 
 well
 (which is the filter actually applied to the navbar).

 If you want to preserve the header gradient, and don't care about supporting
 IE8, you can just add the following rule to .navbar-inverse (after commenting
 out the filters):

 background-
 image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy5
 3My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZ
 XdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGl
 uZWFyR3JhZGllbnQgaWQ9ImcyNjciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZ
 U9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b
 3AtY29sb3I9IiMzQzNDM0MiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9Ii
 MyMjIyMjIiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4
 PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2cyNjcpIiA
 vPgo8L3N2Zz4=);

 This rule (generated from
 http://ie.microsoft.com/TESTDRIVE/Graphics/SVGGradientBackgroundMaker/
 Default.html) does pretty much the same thing as the vendor-prefixed
 background-image gradients.

 Jacob

 -Original Message-
 From: Michael White [mailto:michael.wh...@stir.ac.uk]
 Sent: Tuesday, May 06, 2014 6:00 AM
 To: Brown, Jacob
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: DSpace 4.1, JSPUI and IE 9 menu display issue

 Hi Jacob,

 Thanks for the pointers.

 I can confirm that removing the CSS filter property for the navbar fixes 
 the
 issue on the JSPUI demo (of course, doing so will also remove the gradient).

 Could you possibly provide some more details on how you achieved this as
 I've just been trying but have been unable to get it to work :-(

 I tried commenting out the filter property of the navbar in both 
 bootstrap-
 theme.css and in bootstrap-theme.min.css, so I had:

 .navbar {
background-image:-webkit-gradient(linear,left 0,left
 100%,from(#fff),to(#f8f8f8));
background-image:-webkit-linear-gradient(top,#fff,0%,#f8f8f8,100%);
background-image:-moz-linear-gradient(top,#fff 0,#f8f8f8 100%);
background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
background-repeat:repeat-x;
border-radius:4px;

 /*filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#',e
 ndColorstr='#fff8f8f8',GradientType=0);*/
-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075);
box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px
 rgba(0,0,0,0.075) }

 - but this didn't seem to make any difference. Looking at the source, it
 appears that it is (on the homepage at least!) bootstrap-theme.min.css 
 that is
 being used and I did manage to make some progress by adding
 position:static; to the navbar definition in that file (against the
 recommendations on the pages you pointed to!) - so I had:

 .navbar {
position: static;
background-image:-webkit-gradient(linear,left 0,left
 100%,from(#fff),to(#f8f8f8));
background-image:-webkit-linear-gradient(top,#fff,0%,#f8f8f8,100%);
background-image:-moz-linear-gradient(top,#fff 0,#f8f8f8 100%);
background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
background-repeat:repeat-x;
border-radius:4px;

 /*filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#',e
 ndColorstr='#fff8f8f8',GradientType=0);*/

[Dspace-tech] FW: dspace discovery configuration error

2014-05-07 Thread Peter Sichilyango Tutu
 

 

From: Peter Sichilyango Tutu [mailto:petertu...@gmail.com] 
Sent: Friday, May 02, 2014 1:18 PM
To: 'DSpace-tech@lists.sourceforge.net'
Subject: dspace discovery configuration error

 

Dear all,

Somebody please help me.I am trying to enable discovery on Dspace 3.x xmlui
using the following procedure found at
https://wiki.duraspace.org/display/DSDOC3x/Discovery but, whenever  run
dspace  update-discovery-index ,I get the following error. Is there a way of
going around this error?

 

 

dspace update-discovery-index

INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=cd0b7057-b77d-4799-9bbd-0727d4fcd4f6,type=DSpac
eKernel:lastLoad=null:loadTime=0:running=false:kernel=null

INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/dspace/config/dspace.cfg

INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)

INFO [main] (ConfigurationManager.java:1224) - Loading:
/dspace/config/log4j.properties

Exception: Error executing query

org.dspace.discovery.SearchServiceException: Error executing query

at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)

at
org.dspace.discovery.IndexClient.main(IndexClient.java:119)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing
query

at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:
95)

at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)

at
org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106)

at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)

... 6 more

Caused by: org.apache.solr.common.SolrException: Not Found

 

Not Found

 

request: http://localhost:8080/solr/search/select?q=search.resourcetype:2
AND search.resourceid:1wt=javabinversion=2

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:435)

at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:244)

at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:
89)

... 9 more

 

Regards,

 

Peter Sichilyango Tutu

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
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] Select epeople buttons not working

2014-05-07 Thread Gary Browne
Hi all,

I've just setup an instance of DSpace 4.1 to look at. My system is:

Tomcat 7
RHEL 6.5 (64-bit)
Ant 1.8.2
Maven 3.2.1
Java - OpenJDK 1.7.0_55

I have setup just one account, myself, using the create-administrator command 
line tool. Now when I try to add a submitter or administrator to a collection, 
the Select ePeople button does nothing.

Any ideas?

Thanks,
Gary


GARY BROWNE | Development Programmer 
Library IT Services | Fisher Library F03    

THE UNIVERSITY OF SYDNEY

T +61 2 9351 5946  | M +61 405 647 868  
E gary.bro...@sydney.edu.au  | W http://sydney.edu.au 
Sent from my plain old desktop computer.

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. If you receive this email in error, please delete it and 
any attachments.
Please think of our environment and only print this e-mail if necessary.



--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
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