Re: [Dspace-tech] Change Solr port from 8080 to 8081

2015-01-12 Thread Olivier Nicole
Alyssa,

> I suspect the error was cause by the port number. 8080 port in my computer
> is already occupied by other systems. So what I did was, change Dspace's
> port from 8080 to 8081. I was wondering how can I change the port of Solr
> from 8080 to 8081. Can anyone help me with this? Any help would be very much
> appreciated.

I think you have to modify [dspace-source]/build.properties, it has
something with solr URL, change the port to 8081 and the
update/re-install and restart Tomcat.

Best regards,

Olivier

>
>
>
> -
> "Quitters Never Win, Winners Never Quit"
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/Change-Solr-port-from-8080-to-8081-tp4676159.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> 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
>

-- 

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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] Change Solr port from 8080 to 8081

2015-01-12 Thread Alyssa Gono
My Dspace is doing fine except when I search something on it. It produced no
search results everytime I search on it but when I view my "Archived
Submissions", all of the encoded and uploaded books where there.

I notice something everytime I click the *Browse All Dspace link*:/By Issue
Date/, /Authors/, /Titles/ and /Subjects /in the right side navigation pane,
It show's this error.

An error has occurred
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://localhost:8080/solr/search returned non ok status:404,
message:Not Found

I suspect the error was cause by the port number. 8080 port in my computer
is already occupied by other systems. So what I did was, change Dspace's
port from 8080 to 8081. I was wondering how can I change the port of Solr
from 8080 to 8081. Can anyone help me with this? Any help would be very much
appreciated.



-
"Quitters Never Win, Winners Never Quit"
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Change-Solr-port-from-8080-to-8081-tp4676159.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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] follow-up to #DS-1481 & DS-1822

2015-01-12 Thread LiYu Lilly
Dear all,
1. A quick question related to Jira #DS-1481, in google-metadata.properties, 
shouldn't "| dc.date.available | dc.date.accessioned" be removed from 
 "# 42  google.citation_date = dc.date.copyright |
dc.date.issued | dc.date.available | dc.date.accessioned"since 
"dc.date.available and dc.date.accessioned" should not be options for 
"google.citation_date" field?
( http://scholar.google.com/intl/en/scholar/inclusion.html#indexing )
2. What's the status of DS-1822  ? Has 
anyone tested Richard's curation task tool? 
Thanks much,Lilly
  --
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] CALL for Proposals: DSpace Interest Group OR2015

2015-01-12 Thread Maureen P. Walsh
*Call for Proposals - DSpace Interest Group at Open Repositories 2015 *
Conference Theme: LOOKING BACK, MOVING FORWARD: OPEN REPOSITORIES AT THE
CROSSROADS
Conference Dates: June 8-11, 2015
Conference Location: Indianapolis, Indiana
Conference Website: http://www.or2015.net/

*Important dates*

30 January 2015: Deadline for proposal submissions
10 April 2015: Submitters notified of acceptance to interest groups
8-11 June 2015: Conference program


 The DSpace Interest Group program committee invites your contributions to
OR2015, whether you’re a developer, researcher, repository manager,
administrator or practitioner. We invite one to two-page proposals that
focus on the use of the DSpace platform and that describe novel experiences
or developments in the construction and use of DSpace repositories.
Presentation formats could include panels, tutorials, facilitated round
table discussions, stories, or presentations of varying length. Please
indicate the preferred format in your proposal.


 *Specific areas of interest for OR2015:*


 · Supporting Open Scholarship, Open Science, and Cultural Heritage
Online

· Managing Research (and Open) Data

· Integrating with External Systems

· Re-using Repository Content

· Exploring Metrics and Assessment

· Managing Rights

· Developing and Training Staff

· Building the Perfect Repository



*Submitting your proposal:*

Visit the Open Repositories 2015 conference website to submit your proposal
online: http://www.or2015.net/

For inquiries, please contact the DSpace Interest Group Chair, Maureen
Walsh at walsh@osu.edu


 We look forward to receiving your proposals!


 Maureen Walsh

Institutional Repository Services Librarian

The Ohio State University Libraries
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] Possible bug in restricted PDFs/ extracted text/ indexing

2015-01-12 Thread Steans, Ryan J
Hi all,

I mailed earlier today, but it doesn't look like the mail went through.  
Apologies if you hear from me twice in one day on this same topic.

Here's our situation -

We have a user placing PDFs into DSpace as part of a complex item with multiple 
files and file types.  She has set some of bitstreams to be hidden, but once 
the text has been extracted, despite the fact the actual PDF and TXT file are 
hidden, a search will turn up the extracted text.

So - If the name "Ryan Steans" was in a PDF, but that PDF was hidden - the PDF 
might be hidden, but my search result in DSpace would turn up "Ryan Steans" and 
about 500 characters of text surround that name.

Some additional details on our use case -

  *   The item itself is public and is set to anonymous READ.
  *   This particular item has 1 Mp4 and 3 PDF's as bitstreams, all except for 
1 PDF are set to anonymous READ.
  *   None of the bitstreams are set as the primary bitstream for the item.
  *   the 1 PDF that is set to restricted READ is the one that the media filter 
is parsing and inserting into the "fulltext" value in solr... the other 2 PDF's 
are not being indexed as fulltext and their contents are not searchable through 
Discovery (or searchable in SOLR).
  *   The generated TXT file from the PDF has the same permissions (restricted) 
as the original source bitstream.
The problem is that if you happen to search for anything in the fulltext of the 
restricted item, it will show up in the results and the first ~500 chars of the 
parsed-restricted-text file are displayed in the search results.

Looking to see if this is something anyone else has seen.

Is this an indexing problem?  Have we found a bug?

thanks


Ryan Steans
Director of Operations
Texas Digital Library
512-495-4403

Web: http://www.tdl.org/
Twitter: @TxDigLibrary
Facebook: http://www.facebook.com/texasdigitallibrary
Join the e-mail list: http://tdl.org/news/newsletters/newsletter-signup/


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com___
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] after upgrade to 4 - no items found when browsing

2015-01-12 Thread Monika C. Mevenkamp

I upgraded to 4.0 (from 1.8), ran dspace index-discovery, can see lots of docs 
in the solar admin ui.

Running a query

/solr/search/select?q=search.resourcetype%3A2+AND+search.resourceid%3A1&wt=javabin&version=2

gives a couple results, yet when I click on browse I get ‘No Entries in Index’ 
in the JSPUI.

The log below suggests otherwise as well.

What might be going wrong ?

Monika



2015-01-12 12:10:08,327 DEBUG org.dspace.app.webui.servlet.DSpaceServlet @ 
anonymous:session_id=B034BADCB247333CEA51924C910AB7DF:ip_addr=0:0:0:0:0:0:0:1:http_request:--
 URL Was\colon; http\colon;//localhost\colon;8080/jspui/browse?type=dateissued
-- Method\colon; GET
-- Parameters were\colon;
-- type\colon; "dateissued"

2015-01-12 12:10:08,331 INFO  
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=B034BADCB247333CEA51924C910AB7DF:ip_addr=0:0:0:0:0:0:0:1:browse:type=dateissued,order=DESC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=2,community=n/a,collection=n/a,level=0,etal=-1
2015-01-12 12:10:08,335 DEBUG org.dspace.browse.BrowseEngine @ 
anonymous:session_id=B034BADCB247333CEA51924C910AB7DF:ip_addr=0:0:0:0:0:0:0:1:browse:
2015-01-12 12:10:08,335 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=B034BADCB247333CEA51924C910AB7DF:ip_addr=0:0:0:0:0:0:0:1:browse_by_item:
2015-01-12 12:10:08,335 DEBUG org.dspace.browse.BrowseEngine @ 
anonymous:session_id=B034BADCB247333CEA51924C910AB7DF:ip_addr=0:0:0:0:0:0:0:1:get_total_results:distinct=false
2015-01-12 12:10:08,342 DEBUG org.dspace.discovery.SolrServiceImpl @ Solr URL: 
http://localhost:8080/solr/search
2015-01-12 12:10:08,469 DEBUG 
org.apache.http.impl.conn.PoolingClientConnectionManager @ Connection request: 
[route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 
32; total allocated: 0 of 128]
2015-01-12 12:10:08,484 DEBUG 
org.apache.http.impl.conn.PoolingClientConnectionManager @ Connection leased: 
[id: 0][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 
1 of 32; total allocated: 1 of 128]
2015-01-12 12:10:08,485 DEBUG 
org.apache.http.impl.conn.DefaultClientConnectionOperator @ Connecting to 
localhost:8080
2015-01-12 12:10:08,511 DEBUG org.apache.http.client.protocol.RequestAddCookies 
@ CookieSpec selected: best-match
2015-01-12 12:10:08,528 DEBUG org.apache.http.client.protocol.RequestAuthCache 
@ Auth cache not set in the context
2015-01-12 12:10:08,528 DEBUG 
org.apache.http.client.protocol.RequestTargetAuthentication @ Target auth 
state: UNCHALLENGED
2015-01-12 12:10:08,529 DEBUG 
org.apache.http.client.protocol.RequestProxyAuthentication @ Proxy auth state: 
UNCHALLENGED
2015-01-12 12:10:08,529 DEBUG 
org.apache.http.impl.client.SystemDefaultHttpClient @ Attempt 1 to execute 
request
2015-01-12 12:10:08,529 DEBUG org.apache.http.impl.conn.DefaultClientConnection 
@ Sending request: GET 
/solr/search/select?q=search.resourcetype%3A2+AND+search.resourceid%3A1&wt=javabin&version=2
 HTTP/1.1
2015-01-12 12:10:08,529 DEBUG org.apache.http.wire @ >> "GET 
/solr/search/select?q=search.resourcetype%3A2+AND+search.resourceid%3A1&wt=javabin&version=2
 HTTP/1.1[\r][\n]"
2015-01-12 12:10:08,530 DEBUG org.apache.http.wire @ >> "User-Agent: 
Solr[org.apache.solr.client.solrj.impl.HttpSolrServer] 1.0[\r][\n]"
2015-01-12 12:10:08,530 DEBUG org.apache.http.wire @ >> "Host: 
localhost:8080[\r][\n]"
2015-01-12 12:10:08,530 DEBUG org.apache.http.wire @ >> "Connection: 
Keep-Alive[\r][\n]"
2015-01-12 12:10:08,531 DEBUG org.apache.http.wire @ >> "[\r][\n]"
2015-01-12 12:10:08,531 DEBUG org.apache.http.headers @ >> GET 
/solr/search/select?q=search.resourcetype%3A2+AND+search.resourceid%3A1&wt=javabin&version=2
 HTTP/1.1
2015-01-12 12:10:08,531 DEBUG org.apache.http.headers @ >> User-Agent: 
Solr[org.apache.solr.client.solrj.impl.HttpSolrServer] 1.0
2015-01-12 12:10:08,531 DEBUG org.apache.http.headers @ >> Host: localhost:8080
2015-01-12 12:10:08,531 DEBUG org.apache.http.headers @ >> Connection: 
Keep-Alive
2015-01-12 12:10:08,580 DEBUG org.apache.http.wire @ << "HTTP/1.1 200 
OK[\r][\n]"
2015-01-12 12:10:08,582 DEBUG org.apache.http.wire @ << "Server: 
Apache-Coyote/1.1[\r][\n]"
2015-01-12 12:10:08,582 DEBUG org.apache.http.wire @ << "Content-Type: 
application/octet-stream[\r][\n]"
2015-01-12 12:10:08,582 DEBUG org.apache.http.wire @ << "Content-Length: 
7493[\r][\n]"
2015-01-12 12:10:08,582 DEBUG org.apache.http.wire @ << "Date: Mon, 12 Jan 2015 
17:10:08 GMT[\r][\n]"
2015-01-12 12:10:08,582 DEBUG org.apache.http.wire @ << "[\r][\n]"
2015-01-12 12:10:08,583 DEBUG org.apache.http.impl.conn.DefaultClientConnection 
@ Receiving response: HTTP/1.1 200 OK
2015-01-12 12:10:08,584 DEBUG org.apache.http.headers @ << HTTP/1.1 200 OK
2015-01-12 12:10:08,584 DEBUG org.apache.http.headers @ << Server: 
Apache-Coyote/1.1
2015-01-12 12:10:08,584 DEBUG org.apache.http.headers @ << Content-Type: 
application/octet-stream
2015-01-12 12:10:08,584 DEBUG org.apache.htt

Re: [Dspace-tech] Thumbnails on browse in Mirage2

2015-01-12 Thread Gabriel Martins
Thank you very much! It worked!



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Thumbnails-on-browse-in-Mirage2-tp4676133p4676149.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
___
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] Pull Requests

2015-01-12 Thread Christian Scheible
Hi Helix,

I think the problem is that I messed up my first branch and merged it 
with the master. Because I am allways doing this:

1. git checkout master
2. git fetch upstream
3. git branch DS-X
4. git checkout DS-X
5. make changes
6. git commit
7. git push origin

or is the problem that I do git fetch upstream instead of git pull 
upstream master?

I am going to include more information about the bugs and what the fixes 
are doing.

Regards
Christian

Am 12.01.2015 um 15:20 schrieb helix84:
> Hi Christian,
>
> I'm looking at your PRs. Don't worry that they're not perfect, the
> important thing is that the code is out there. We can take an
> individual commit (git cherry-pick) from it. I was thinking what might
> have gone wrong on your end and my guess is that you're not starting
> from the master branch. Before you create a new branch, make sure to
> checkout master (git checkout master) and update it (git pull upstream
> master). Then you can create a new branch, which can be used as a
> source for PR that will contain only the relevant commit(s).
>
> I also looked briefly at the bugs. It would help to include more
> detail about the problem so that the fixes can be quickly tested. It
> will help to include detailed steps to reproduce, expected and actual
> behaviour.
>
> Thanks.
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>


-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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-CRIS 4.1.2 - Issue on items display in ResearcherProfile

2015-01-12 Thread Pablo Buenaposada
all redirects should work ok with that fix... it's strange.
I can't understand the problem 1.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-CRIS-4-1-2-Issue-on-items-display-in-ResearcherProfile-tp4676116p4676147.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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] Help on appending files to POST_ITEM requests to REST-API

2015-01-12 Thread Bruno Zanette
anyone?

2015-01-09 12:35 GMT-02:00 Bruno Zanette :
> Hi, I'm trying to upload files via REST-API but it is not working.
>
> In the way i'm doing the requests the items are being successfully
> created but without any file.
>
> To do the tests i'm using Curl with the following options:
>
> curl -v -k -i -4 \
>   -H "Content-Type: application/zip" \
>   -H "rest-dspace-token: " \
>   -X POST https://localhost:8443/rest/collections/1/items \
>   -d...@request.xml
>
> The content of file "request.xml" is the end of the message. I wrote
> it based on the result of a GET_ITEM request of an item submitted via
> XMLUI API.
>
>  I'm using Dspace-master branch (5.0 Rc3), installed of Ubuntu 14.04.
>
> Does anyone knows how to do it?
> Am I doing the request correctly?
> Any tips?
>
> I've already tried to send zip files but it fails with a message of
> "Unsupported media type"...
>
> Thanks!
>
> 
> 
> TITLE
> item
> true
>
> 
> 1
> servicedocument
> bitstream
> ORIGINAL
> 63634883c3cc2b837895c3b8bda9e815
> SERVICE_DOCUMENT
> Unknown
> application/octet-stream
> /bitstreams/1/retrieve
> 1
> 2758
> 
>
> 2015-01-08 14:54:48.816
> dc.contributor.authorULTIMO,
> PRIMEIRO
> dc.date.issued1234-12-12
> dc.identifier.citationpt_BRCITATION
> dc.descriptionpt_BRDESCRICAO
> dc.description.abstractpt_BRABSTRACT
> dc.language.isopt_BRpt_BR
> dc.publisherpt_BRPUBLISHER
> dc.titlept_BRTITULO
> dc.title.alternativept_BROUTROS_TITULOS
> dc.typept_BRDataset
> false
> 
> 
> --
> Bruno Nocera Zanette
> +55 41 9992-2508



-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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] Dspace and IMS LTI

2015-01-12 Thread Benjamin Ryan
Hi,
Has anybody done any work to implement the IMS LTI stuff with 
DSpace?

Regards,
Ben

[Jisc]

Ben Ryan
Jorum Technical Manager

T 0161 275 6032
Skype argaric
Room 5.12 Roscoe Buidling, The University of Manchester, Oxford Road, M13 9PL

jisc.ac.uk

Jisc is a registered charity (number 1149740) and a company limited by 
guarantee which is registered in England under Company No. 5747339, VAT No. GB 
197 0632 86. Jisc's registered office is: One Castlepark, Tower Hill, Bristol, 
BS2 0JA. T 0203 697 5800. jisc.ac.uk




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com___
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-CRIS 4.1.2 - Issue on items display in ResearcherProfile

2015-01-12 Thread Alexander Wong
Dear Pablo,

Thanks a lot - document type switching is working very well now after your
fix.

There are minor things to follow up (I am looking into these right now)
would be:
1. the order numbers after pagination
2. after switching document types or clicking paginations, the page shall
be redirected to the anchor of the tab.

Best Regards,
Alexander Wong

On Fri, Jan 9, 2015 at 8:20 PM, Pablo Buenaposada <
pablo.buenapos...@csuc.cat> wrote:

> you get Authorization errors probably because you have set the visibility
> in
> the layout configuration (administer -> cris module -> researcher pages) to
> something different to "All", check this for all stuff involved in the
> researcher pages layout.
>
> What I found is that they lost the url context when you are not in the
> first
> tab of the researcher profile, so, I suppose you have publications tab not
> the first one.
>
> In order to fix the scope what I've done is change, change in this .jsp the
> line 144:
>
> https://github.com/Cineca/DSpace/blob/dspace-4_x_x-cris/dspace-cris/jspui-webapp/src/main/webapp/dspace-cris/researcherDetailsPage.jsp#L144
> in order to be "selected: ${currTabIdx-1}," , it must be "active:
> ${currTabIdx-1},"
>
> next, in
>
> DSpace/dspace-cris/jspui-webapp/src/main/webapp/dspace-cris/jdyna/custom/dspaceitems.jsp
> I have done some changes, so, I will paste here my dspaceitems.jsp and you
> can compare it with you stock one and see the differences:
> http://pastebin.com/kP8s1v62
>
> This will fix the url context problem in pagination and when you change the
> sort of publication types.
>
> Hope works for you too.
>
> Pablo.
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/DSpace-CRIS-4-1-2-Issue-on-items-display-in-ResearcherProfile-tp4676116p4676122.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> 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
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com___
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] Error optimising statistics core after upgrade from 1.8.3 to 4.2

2015-01-12 Thread Hayles, Steven
This was due to a custom field that had been added to 
dspace/solr/statistics/conf/schema.xml in 1.8.3, but hadn't been carried 
over to 4.2.

Steven

From: Hayles, Steven
Sent: 08 January 2015 15:04
To: 'dspace-tech@lists.sourceforge.net'
Subject: Error optimising statistics core after upgrade from 1.8.3 to 4.2

Hi

I'm upgrading from DSpace 1.8.3. I optimised the Solr cores before 
upgrade, but when I attempt to optimise under 4.2 with

wget http://localhost:8080/solr/statistics/update?optimize=true

the response is

ERROR 500: Internal Server Error

with the following logged

==> catalina7.log <==
Exception in thread "Lucene Merge Thread #0" 
org.apache.lucene.index.MergePolicy$MergeException: 
java.lang.IllegalArgumentException: no such field stats_oai_ok
 at 
org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:545)
 at 
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:518)
Caused by: java.lang.IllegalArgumentException: no such field stats_oai_ok
 at 
org.apache.solr.core.SchemaCodecFactory$1.getPostingsFormatForField(SchemaCodecFactory.java:59)
 at 
org.apache.lucene.codecs.lucene42.Lucene42Codec$1.getPostingsFormatForField(Lucene42Codec.java:59)
 at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.addField(PerFieldPostingsFormat.java:102)
 at 
org.apache.lucene.codecs.FieldsConsumer.merge(FieldsConsumer.java:71)
 at 
org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:365)
 at 
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:98)
 at 
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3772)
 at 
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3376)
 at 
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
 at 
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)

oai and search cores optimised without error.

The environment :

SUSE Linux Enterprise Server 11 (x86_64)
JRE:  Oracle Corporation version 1.7.0_45
Server version: Apache Tomcat/7.0.54
Server built:   May 19 2014 10:26:15

Any pointers gladly received.

Thanks

Steven Hayles
Systems Analyst

IT Services, University of Leicester,
Propsect House, 94 Regent Rd, Leicester, LE1 7DA, UK

T: +44 (0)116 229 7950
E: s...@le.ac.uk

The Queen’s Anniversary Prizes 1994, 2002 & 2013
THE Awards Winners 2007-2013

Elite without being elitist

Follow us on Twitter http://twitter.com/uniofleicester or
visit our Facebook page https://facebook.com/UniofLeicester
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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