[dspace-tech] solr errors

2016-02-02 Thread Monika Mevenkamp
now and then I see errors like be below 


there are similar ones for 

solr.log.2016-01-28:2016-01-28 12:43:26,665 ERROR org.apache.solr.core.SolrCore 
@ org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: 
Cannot parse 'author_keyword:': Encountered "" at line 1, column 15.
solr.log.2016-01-28:2016-01-28 12:43:27,052 ERROR org.apache.solr.core.SolrCore 
@ org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: 
Cannot parse 'author_keyword:': Encountered "" at line 1, column 15.


do I need to worry about these ? 


ERROR org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException: 
org.apache.solr.search.SyntaxError: Cannot parse 'title_keyword:': Encountered 
"" at line 1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:205)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:44)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.solr.search.SyntaxError: Cannot parse 'title_keyword:': 
Encountered "" at line 1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:155)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
at org.apache.solr.search.QParser.getQuery(QParser.java:141)
at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:194)
... 27 more
Caused by: org.apache.solr.parser.ParseException: Encountered "" at line 
1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.parser.QueryParser.generateParseException(QueryParser.java:649)
at org.apache.solr.parser.QueryParser.jj_consume_token(QueryParser.java:531)
at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:216)
at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96)
at 
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151)
... 30 more




 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and 

[dspace-tech] Batch Delete Items

2016-02-02 Thread Nushrat Khan
Hi,

I need some advice regarding batch deletion of items. I was trying to 
delete a group of items by a specific author on DSpace 5. For now I was 
able to delete multiple items using DELETE /items/{item id} on Curl by 
specifying the item IDs. But is there any better way to batch delete items 
based on specific condition?

Thank you,
Nushrat

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


Re: [dspace-tech] /rest issue using master branch

2016-02-02 Thread Peter Dietz
Doing some testing, the Jersey 2 update to REST fixes rest on master, so I
have merged that PR. https://github.com/DSpace/DSpace/pull/1102

Onwards and upwards!


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Tue, Feb 2, 2016 at 11:26 AM, Peter Dietz  wrote:

> We have a PR to update master/6x REST API to Jersey 2. Honestly I thought
> we were going to merge that in months ago.
> https://github.com/DSpace/DSpace/pull/1102
>
> I've just verified that REST is broken since the PubMed jersey2 reference
> got added to API. (Mismatch of jersey1 and jersey2 in different places).
> I'll test updating REST API to JERSEY 2, and see what the results of that
> are.
>
> 
> Peter Dietz
> Longsight
> www.longsight.com
> pe...@longsight.com
> p: 740-599-5005 x809
>
> On Tue, Feb 2, 2016 at 10:39 AM, Tim Donohue 
> wrote:
>
>> Digging more deeply, it looks like we do have BOTH Jersey 1 and Jersey 2
>> now in our POMs.
>>
>>
>> https://github.com/DSpace/DSpace/search?l=maven-pom=jersey=%E2%9C%93
>>
>> 1) Jersey-Server v1 is used by REST
>> 2) A reference to Jersey-Client v2 came into the 'dspace-api' via DS-2880
>> (PubMed integration), which was merged in the last week or so:
>> https://jira.duraspace.org/browse/DS-2880
>> Here's the commit:
>> https://github.com/DSpace/DSpace/commit/002b8783bffd15024f9827d5166f1e0cb52a95ce
>>
>> So, I think Bram's guess may be correct. We may have a Jersey version
>> conflict on "master".
>>
>> - Tim
>>
>>
>> On 2/2/2016 7:53 AM, Bram Luyten wrote:
>>
>> Hi Terry,
>>
>> not sure what it is, but the following stackoverflow thread seems to
>> indicate this means that you're trying to load Jersey 1 and 2 at the same
>> time:
>> http://stackoverflow.com/questions/23277429/exception-in-rest-jersey
>>
>> The error only matches on
>>
>> *java.lang.AbstractMethodError:
>> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;*
>> *at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)*
>>
>> So I'm not 100% confident the issues are related.
>>
>> Bram
>>
>> --
>> [image: logo]
>> *Bram Luyten*
>> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>>
>> 
>> www.atmire.com
>>
>> On 2 February 2016 at 00:32, Terry Brady 
>> wrote:
>>
>>> I would like to do some testing with the Enhanced Configurations code.
>>>
>>> I deployed the latest code on the master branch to my test server and I
>>> am seeing the following error when I tried to access /rest.  I can access
>>> /xmlui, /solr, and /oai.
>>>
>>> I believe that I have created a proper local.cfg,
>>>
>>> Can you offer any advice?
>>>
>>> Feb 01, 2016 6:27:38 PM org.apache.catalina.core.StandardWrapperValve
>>> invoke
>>> SEVERE: Servlet.service() for servlet [DSpace REST API] in context with
>>> path [/rest] threw exception [Servlet execution threw an exception] with
>>> root cause
>>> java.lang.AbstractMethodError:
>>> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
>>> at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
>>> at
>>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>> at
>>> org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
>>> at
>>> 

Re: [dspace-tech] /rest issue using master branch

2016-02-02 Thread Terry Brady
One additional small fix is needed.
https://github.com/DSpace/DSpace/pull/1263

On Tue, Feb 2, 2016 at 10:02 AM, Peter Dietz  wrote:

> Doing some testing, the Jersey 2 update to REST fixes rest on master, so I
> have merged that PR. https://github.com/DSpace/DSpace/pull/1102
>
> Onwards and upwards!
>
> 
> Peter Dietz
> Longsight
> www.longsight.com
> pe...@longsight.com
> p: 740-599-5005 x809
>
> On Tue, Feb 2, 2016 at 11:26 AM, Peter Dietz  wrote:
>
>> We have a PR to update master/6x REST API to Jersey 2. Honestly I thought
>> we were going to merge that in months ago.
>> https://github.com/DSpace/DSpace/pull/1102
>>
>> I've just verified that REST is broken since the PubMed jersey2 reference
>> got added to API. (Mismatch of jersey1 and jersey2 in different places).
>> I'll test updating REST API to JERSEY 2, and see what the results of that
>> are.
>>
>> 
>> Peter Dietz
>> Longsight
>> www.longsight.com
>> pe...@longsight.com
>> p: 740-599-5005 x809
>>
>> On Tue, Feb 2, 2016 at 10:39 AM, Tim Donohue 
>> wrote:
>>
>>> Digging more deeply, it looks like we do have BOTH Jersey 1 and Jersey 2
>>> now in our POMs.
>>>
>>>
>>> https://github.com/DSpace/DSpace/search?l=maven-pom=jersey=%E2%9C%93
>>>
>>> 1) Jersey-Server v1 is used by REST
>>> 2) A reference to Jersey-Client v2 came into the 'dspace-api' via
>>> DS-2880 (PubMed integration), which was merged in the last week or so:
>>> https://jira.duraspace.org/browse/DS-2880
>>> Here's the commit:
>>> https://github.com/DSpace/DSpace/commit/002b8783bffd15024f9827d5166f1e0cb52a95ce
>>>
>>> So, I think Bram's guess may be correct. We may have a Jersey version
>>> conflict on "master".
>>>
>>> - Tim
>>>
>>>
>>> On 2/2/2016 7:53 AM, Bram Luyten wrote:
>>>
>>> Hi Terry,
>>>
>>> not sure what it is, but the following stackoverflow thread seems to
>>> indicate this means that you're trying to load Jersey 1 and 2 at the same
>>> time:
>>> http://stackoverflow.com/questions/23277429/exception-in-rest-jersey
>>>
>>> The error only matches on
>>>
>>> *java.lang.AbstractMethodError:
>>> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;*
>>> *at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)*
>>>
>>> So I'm not 100% confident the issues are related.
>>>
>>> Bram
>>>
>>> --
>>> [image: logo]
>>> *Bram Luyten*
>>> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
>>> *Esperantolaan 4, Heverlee 3001, Belgium*
>>>
>>> 
>>> www.atmire.com
>>>
>>> On 2 February 2016 at 00:32, Terry Brady 
>>> wrote:
>>>
 I would like to do some testing with the Enhanced Configurations code.

 I deployed the latest code on the master branch to my test server and I
 am seeing the following error when I tried to access /rest.  I can access
 /xmlui, /solr, and /oai.

 I believe that I have created a proper local.cfg,

 Can you offer any advice?

 Feb 01, 2016 6:27:38 PM org.apache.catalina.core.StandardWrapperValve
 invoke
 SEVERE: Servlet.service() for servlet [DSpace REST API] in context with
 path [/rest] threw exception [Servlet execution threw an exception] with
 root cause
 java.lang.AbstractMethodError:
 javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
 at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
 at
 com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
 at
 

Re: [dspace-tech] Solr vs Google Analytics

2016-02-02 Thread Stuart A. Yeates
For sound business reasons, google analytics invests heavily in a rigorous
separation of human from computer accesses. Google analytics is always
likely to have lower numbers than other methods of counting.

cheers
stuart

--
...let us be heard from red core to black sky

On Wed, Feb 3, 2016 at 9:41 AM, Borda, Susan 
wrote:

> Hi-
> I’m finally getting a handle on this whole Solr business. Why would Solr
> have very different numbers than Google Analytics? For example:
>
> For handle # 1/2237 within March 2015 – Dec 2015:
>
> Within Dspace UI:
> Totals Visits (Views): 172
> File Visits (Views): 18436 – from Solr extracted data I’m getting more
> like 16,966
>
> From Google Analytics:
> All Traffic (Sessions): 95
> File Downloads: 6
>
> Is our instance of Google Analytics configured really incorrectly or what?
>
> Thanks,
> susan
> —
> Susan Borda
> Digital Technologies Development Librarian
> Montana State University Library
> 406-994-1873
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [dspace-tech] Solr vs Google Analytics

2016-02-02 Thread Borda, Susan
Hmmm... well I am filtering as follows:
isBot:false
bundleName: "ORIGINAL"

-
Susan Borda
Digital Technologies Development Librarian
Montana State University Library
406-994-1873



From: > on 
behalf of "Stuart A. Yeates" >
Date: Tuesday, February 2, 2016 at 2:14 PM
To: Susan Borda >
Cc: "dspace-tech@googlegroups.com" 
>
Subject: Re: [dspace-tech] Solr vs Google Analytics

For sound business reasons, google analytics invests heavily in a rigorous 
separation of human from computer accesses. Google analytics is always likely 
to have lower numbers than other methods of counting.

cheers
stuart

--
...let us be heard from red core to black sky

On Wed, Feb 3, 2016 at 9:41 AM, Borda, Susan 
> wrote:
Hi-
I'm finally getting a handle on this whole Solr business. Why would Solr have 
very different numbers than Google Analytics? For example:

For handle # 1/2237 within March 2015 - Dec 2015:

Within Dspace UI:
Totals Visits (Views): 172
File Visits (Views): 18436 - from Solr extracted data I'm getting more like 
16,966

>From Google Analytics:
All Traffic (Sessions): 95
File Downloads: 6

Is our instance of Google Analytics configured really incorrectly or what?

Thanks,
susan
-
Susan Borda
Digital Technologies Development Librarian
Montana State University Library
406-994-1873



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


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

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


[dspace-tech] Build with the Apache Commons Configuration

2016-02-02 Thread Luiz dos Santos
Hi,

Since today afternoon I'm build Maven and run ant targets with the new
local.cfg, dspace-pre-6, but the dspace.cfg doesn't reflect the changes
that I did in the file local.cfg, the maven and ant go through without any
error, so I wonder if anybody else is getting this issue?

Thanks
Luiz

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


[dspace-tech] Submission - Display Only Collection in Select a Collection

2016-02-02 Thread Sean Carte
Is it possible to change the submission: select a collection drop-down to
display only the collection and not the community and sub-communities to
which it belongs?

DSpace 5.4, XMLUI, Mirage 2.

Sean
--

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


[dspace-tech] Re: Export citation question

2016-02-02 Thread George Kozak
David, Bram & Susan:
Thank you for responding.  What my users want is to select something from
the item page.  We had something like this back in DSpace 1.8.2 with code
that we borrowed from (I don't recall from what University), that uploaded
citations to RefWorks, buy that broke when we upgraded.
George Kozak
Cornell University

On Tuesday, February 2, 2016, Schuster, David 
wrote:

> My opinion is the users are “expecting” to be able to cite the item from
> the item page.  When you look at other systems generally that is how they
> do it.  Find the item, yes that is what I am interested in using, now how
> do I cite this thing.
>
>
>
> David Schuster
>
> Texas Woman's University
>
> Director of Library Information Technology & Technical Support
>
> Phone: 940-898-3909
>
> dschus...@twu.edu 
>
> [image: Alma_Certified_Admin_Logo]
>
> Our Library Mission:
>
> *To strengthen a TWU education by connecting our community to information
> and library services that advance scholarly inquiry and academic success*.
>
>
>
>
> *From:* dspace-tech@googlegroups.com
>  [mailto:
> dspace-tech@googlegroups.com
> ] *On
> Behalf Of *Bram Luyten
> *Sent:* Tuesday, February 02, 2016 7:57 AM
> *To:* Borda, Susan
> *Cc:* George Kozak; DSpace Technical Support
> *Subject:* Re: [dspace-tech] Export citation question
>
>
>
> We have done this for a client in the past, on a 3.2 codebase:
>
>
>
> http://www.envia.bl.uk/discover?query=test==false
>
>
>
> The feature essentially hooks into discovery results, where a user can
> choose to export all the results, or a selection of results.
>
>
>
> Does this correspond with your use case, or would you rather have
> something on the item page itself?
>
> Technically, the challenge is not that different, but I'm interested to
> learn whether it might make more sense for users to export from search
> results than from item pages.
>
>
>
> best regards,
>
>
>
> Bram
>
>
> --
>
> [image: logo]
>
> *Bram Luyten*
> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com
> 
>
>
>
>
> On 1 February 2016 at 20:58, Borda, Susan  > wrote:
>
> That would be a nice feature to have.
>
> -s
>
> —
>
> Susan Borda
>
> Digital Technologies Development Librarian
>
> Montana State University Library
>
> 406-994-1873
>
>
>
>
>
>
>
> *From: * > on behalf
> of George Kozak  >
> *Date: *Monday, February 1, 2016 at 12:56 PM
> *To: *DSpace Technical Support  >
> *Subject: *[dspace-tech] Export citation question
>
>
>
> I am using DSpace 5.4, XMLUI, and modified MIrage2 theme.
>
> I was asked if anyone has incorporated an export citation function into
> their install.
>
> What people are looking for, here, is a button that will allow a user to
> export a citation to a citation manager.
>
> Is anyone doing this?
>
>
> --
>
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
>
> g...@cornell.edu 
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com
> 
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com
> 
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace 

[dspace-tech] OAI crosswalk and dc.description.abstract language = xxx

2016-02-02 Thread snemi
Dear list,

i am trying to get a xmetadissplus crosswalk for dspace-oai

I want to access the field:  " dc.description.abstract " . " language=XXX "

doc:metadata/doc:element[@name='dc']/doc:element[@name='description']/doc:element[@name='abstract']


How can i find the property "language" of the element and use it in the 
xsl-crosswalk ?


It should be a result similar to this



  
 
  





Thank you for your help

SNEmi

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


Re: [dspace-tech] OAI crosswalk and dc.description.abstract language = xxx

2016-02-02 Thread Claudia Jürgen

Hello Snemi,

this would be










but note DSpace uses 2 letter lang code whereas you need to transform it
to three letter bibliographic code.

Hope this helps

Claudia Jürgen


Am 02.02.2016 um 15:49 schrieb sn...@buntblock.de:

Dear list,

i am trying to get a xmetadissplus crosswalk for dspace-oai

I want to access the field:  " dc.description.abstract " . " language=XXX "

doc:metadata/doc:element[@name='dc']/doc:element[@name='description']/doc:element[@name='abstract']


How can i find the property "language" of the element and use it in the
xsl-crosswalk ?


It should be a result similar to this



   
  
   





Thank you for your help

SNEmi



--
Claudia Juergen
Eldorado

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

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

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

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

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


[dspace-tech] Re: Export citation question

2016-02-02 Thread Bram Luyten
Ok, that sounds more like a use case where the code needs to hit the
Refworks API at http://www.refworks.com/rwapireference/default.asp, which
is quite different than the example I shared.
Interesting.

Bram

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



On 2 February 2016 at 15:22, George Kozak  wrote:

> David, Bram & Susan:
> Thank you for responding.  What my users want is to select something from
> the item page.  We had something like this back in DSpace 1.8.2 with code
> that we borrowed from (I don't recall from what University), that uploaded
> citations to RefWorks, buy that broke when we upgraded.
> George Kozak
> Cornell University
>
> On Tuesday, February 2, 2016, Schuster, David 
> wrote:
>
>> My opinion is the users are “expecting” to be able to cite the item from
>> the item page.  When you look at other systems generally that is how they
>> do it.  Find the item, yes that is what I am interested in using, now how
>> do I cite this thing.
>>
>>
>>
>> David Schuster
>>
>> Texas Woman's University
>>
>> Director of Library Information Technology & Technical Support
>>
>> Phone: 940-898-3909
>>
>> dschus...@twu.edu
>>
>> [image: Alma_Certified_Admin_Logo]
>>
>> Our Library Mission:
>>
>> *To strengthen a TWU education by connecting our community to information
>> and library services that advance scholarly inquiry and academic success*.
>>
>>
>>
>>
>> *From:* dspace-tech@googlegroups.com [mailto:dspace-tech@googlegroups.com]
>> *On Behalf Of *Bram Luyten
>> *Sent:* Tuesday, February 02, 2016 7:57 AM
>> *To:* Borda, Susan
>> *Cc:* George Kozak; DSpace Technical Support
>> *Subject:* Re: [dspace-tech] Export citation question
>>
>>
>>
>> We have done this for a client in the past, on a 3.2 codebase:
>>
>>
>>
>> http://www.envia.bl.uk/discover?query=test==false
>>
>>
>>
>> The feature essentially hooks into discovery results, where a user can
>> choose to export all the results, or a selection of results.
>>
>>
>>
>> Does this correspond with your use case, or would you rather have
>> something on the item page itself?
>>
>> Technically, the challenge is not that different, but I'm interested to
>> learn whether it might make more sense for users to export from search
>> results than from item pages.
>>
>>
>>
>> best regards,
>>
>>
>>
>> Bram
>>
>>
>> --
>>
>> [image: logo]
>>
>> *Bram Luyten*
>> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>> www.atmire.com
>> 
>>
>>
>>
>>
>> On 1 February 2016 at 20:58, Borda, Susan 
>> wrote:
>>
>> That would be a nice feature to have.
>>
>> -s
>>
>> —
>>
>> Susan Borda
>>
>> Digital Technologies Development Librarian
>>
>> Montana State University Library
>>
>> 406-994-1873
>>
>>
>>
>>
>>
>>
>>
>> *From: * on behalf of George Kozak <
>> gkoz...@gmail.com>
>> *Date: *Monday, February 1, 2016 at 12:56 PM
>> *To: *DSpace Technical Support 
>> *Subject: *[dspace-tech] Export citation question
>>
>>
>>
>> I am using DSpace 5.4, XMLUI, and modified MIrage2 theme.
>>
>> I was asked if anyone has incorporated an export citation function into
>> their install.
>>
>> What people are looking for, here, is a button that will allow a user to
>> export a citation to a citation manager.
>>
>> Is anyone doing this?
>>
>>
>> --
>>
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving 

Re: [dspace-tech] /rest issue using master branch

2016-02-02 Thread Tim Donohue

Hi Terry,

The error stack you posted doesn't look directly related to the Enhanced 
Configuration Scheme stuff (which Bram also noted).  It seems like 
either something else is going on, or perhaps there is a secondary error 
somewhere?


The most significant REST-specific thing that changed in the Enhanced 
Configuration Scheme is the naming of some of the settings in the 
'rest.cfg' file. So, you should also check that all your configs in that 
file are now *prefixed* with "rest.*"  Here's what it should look like: 
https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/rest.cfg


FWIW, I just tried the REST app myself, and I'm seeing the same error on 
"master". I'm not sure of the cause, but I'm also not certain that the 
Enhanced Configuration Scheme is to blame, as this reported error 
doesn't seem like it'd have to do with any configuration files?  I'm 
still digging around, but I'm not sure what the root cause is.


- Tim

On 2/1/2016 5:32 PM, Terry Brady wrote:

I would like to do some testing with the Enhanced Configurations code.

I deployed the latest code on the master branch to my test server and 
I am seeing the following error when I tried to access /rest.  I can 
access /xmlui, /solr, and /oai.


I believe that I have created a proper local.cfg,

Can you offer any advice?

Feb 01, 2016 6:27:38 PM org.apache.catalina.core.StandardWrapperValve 
invoke
SEVERE: Servlet.service() for servlet [DSpace REST API] in context 
with path [/rest] threw exception [Servlet execution threw an 
exception] with root cause
java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;

at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at 
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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




--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

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


--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

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

[dspace-tech] Re: installation error

2016-02-02 Thread dylanmeeus
A possible problem is that you are using a bad version of maven. I suggest 
you verify which version of maven you are using. Some versions of maven 
give rise to certain problems depending on which version of DSpace you are 
using. (judging by your solr version that is giving rise to the problem, 
you should use at least 2.2.x). [Based on 
this 
http://dspace.2283337.n4.nabble.com/Dspace-tech-Dspace-Installation-error-td3280184.html]

If that does not work, you might want to take a look at your maven 
repository (the file might be there but corrupted). Perhaps forcing maven 
to re-download the dependencies might solve the issue. Which you can do by 
running the build in the following way

mvn -U clean package


-- 
 
*Dylan Meeus*
*250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com 

 
On Tuesday, 12 January 2016 06:07:45 UTC+1, new...@gmail.com wrote:
>
> he gays can you help  me  when i install mvn package i get the following 
> error  how to fix it  
>
>
>
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2:22.555s
> [INFO] Finished at: Tue Jan 12 18:59:43 EAT 2016
> [INFO] Final Memory: 12M/30M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project solr: Could not resolve 
> dependencies for project org.dspace.modules:solr:war:1.7.1: Could not find 
> artifact org.carrot2:carrot2-mini:jar:3.1.0 in central (
> http://repo.maven.apache.org/maven2) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn  -rf :solr
>

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


[dspace-tech] Unordered list of collections when moving items.

2016-02-02 Thread Hilton Gibson
Hi All,

See: http://scholar.sun.ac.za, using DSpace 5.4 and Ubuntu 14.04 LTS.
Built according to: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace

When moving an item, a drop down list of destination collections is
presented, however this list is unordered. This unordered list makes it
very difficult to find a destination collection when your collection list
is very big.

Is there a request to make the list ordered, like it was with DSpace <= 4.X

This list is ordered when you using the profile function and selecting a
collection to subscribe to for email alerts. Why is it not ordered when
moving items?

Cheers
*Hilton Gibson*
Stellenbosch University Library
*http://orcid.org/-0002-2992-208X
*

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


Re: [dspace-tech] /rest issue using master branch

2016-02-02 Thread Tim Donohue
Digging more deeply, it looks like we do have BOTH Jersey 1 and Jersey 2 
now in our POMs.


https://github.com/DSpace/DSpace/search?l=maven-pom=jersey=%E2%9C%93

1) Jersey-Server v1 is used by REST
2) A reference to Jersey-Client v2 came into the 'dspace-api' via 
DS-2880 (PubMed integration), which was merged in the last week or so:

https://jira.duraspace.org/browse/DS-2880
Here's the commit: 
https://github.com/DSpace/DSpace/commit/002b8783bffd15024f9827d5166f1e0cb52a95ce


So, I think Bram's guess may be correct. We may have a Jersey version 
conflict on "master".


- Tim

On 2/2/2016 7:53 AM, Bram Luyten wrote:

Hi Terry,

not sure what it is, but the following stackoverflow thread seems to 
indicate this means that you're trying to load Jersey 1 and 2 at the 
same time:

http://stackoverflow.com/questions/23277429/exception-in-rest-jersey

The error only matches on

/java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;/

/at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)/
/
/
So I'm not 100% confident the issues are related.

Bram

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




On 2 February 2016 at 00:32, Terry Brady > wrote:


I would like to do some testing with the Enhanced Configurations code.

I deployed the latest code on the master branch to my test server
and I am seeing the following error when I tried to access /rest. 
I can access /xmlui, /solr, and /oai.


I believe that I have created a proper local.cfg,

Can you offer any advice?

Feb 01, 2016 6:27:38 PM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [DSpace REST API] in context
with path [/rest] threw exception [Servlet execution threw an
exception] with root cause
java.lang.AbstractMethodError:

javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at

com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at

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

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at

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

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

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

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

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

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

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at

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

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

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

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

org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)




-- 
Terry Brady

Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
-- 
You received this message because you are subscribed to the Google

Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to dspace-tech+unsubscr...@googlegroups.com
.

Re: [dspace-tech] /rest issue using master branch

2016-02-02 Thread Peter Dietz
We have a PR to update master/6x REST API to Jersey 2. Honestly I thought
we were going to merge that in months ago.
https://github.com/DSpace/DSpace/pull/1102

I've just verified that REST is broken since the PubMed jersey2 reference
got added to API. (Mismatch of jersey1 and jersey2 in different places).
I'll test updating REST API to JERSEY 2, and see what the results of that
are.


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Tue, Feb 2, 2016 at 10:39 AM, Tim Donohue  wrote:

> Digging more deeply, it looks like we do have BOTH Jersey 1 and Jersey 2
> now in our POMs.
>
> https://github.com/DSpace/DSpace/search?l=maven-pom=jersey=%E2%9C%93
>
> 1) Jersey-Server v1 is used by REST
> 2) A reference to Jersey-Client v2 came into the 'dspace-api' via DS-2880
> (PubMed integration), which was merged in the last week or so:
> https://jira.duraspace.org/browse/DS-2880
> Here's the commit:
> https://github.com/DSpace/DSpace/commit/002b8783bffd15024f9827d5166f1e0cb52a95ce
>
> So, I think Bram's guess may be correct. We may have a Jersey version
> conflict on "master".
>
> - Tim
>
>
> On 2/2/2016 7:53 AM, Bram Luyten wrote:
>
> Hi Terry,
>
> not sure what it is, but the following stackoverflow thread seems to
> indicate this means that you're trying to load Jersey 1 and 2 at the same
> time:
> http://stackoverflow.com/questions/23277429/exception-in-rest-jersey
>
> The error only matches on
>
> *java.lang.AbstractMethodError:
> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;*
> *at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)*
>
> So I'm not 100% confident the issues are related.
>
> Bram
>
> --
> [image: logo]
> *Bram Luyten*
> *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586*
> *Esperantolaan 4, Heverlee 3001, Belgium*
>
> 
> www.atmire.com
>
> On 2 February 2016 at 00:32, Terry Brady 
> wrote:
>
>> I would like to do some testing with the Enhanced Configurations code.
>>
>> I deployed the latest code on the master branch to my test server and I
>> am seeing the following error when I tried to access /rest.  I can access
>> /xmlui, /solr, and /oai.
>>
>> I believe that I have created a proper local.cfg,
>>
>> Can you offer any advice?
>>
>> Feb 01, 2016 6:27:38 PM org.apache.catalina.core.StandardWrapperValve
>> invoke
>> SEVERE: Servlet.service() for servlet [DSpace REST API] in context with
>> path [/rest] threw exception [Servlet execution threw an exception] with
>> root cause
>> java.lang.AbstractMethodError:
>> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
>> at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
>> at
>> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>> at
>> org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
>> at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>> at
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at
>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> at 

Re: [dspace-tech] DSpace UI Prototype Challenge

2016-02-02 Thread Tim Donohue

Hi Luiz,

As mentioned, we're still in the analysis phase of the prototypes. 
However, we have finished the majority of the prototype presentations, 
and video recordings are being posted at:


https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge#DSpaceUIPrototypeChallenge-PrototypePresentationSchedule

(There are still a few prototypes whose video is being processed and 
should be posted in the coming days, but most of the slides are already 
available.)


Discussion and detailed analysis by the DSpace UI Working Group [1] will 
begin soon.


As also mentioned, we will be asking for public feedback on these 
prototypes via the public feedback form (linked off that wiki page). 
That announcement has not yet gone out, as we want to ensure all the 
videos get posted.


The end goal will be to make a recommendation to our DSpace Steering & 
Leadership groups by mid-March.  Over the next month we will be 
analyzing the UI platforms that each of the prototypes was built on (and 
taking feedback from the community), to decide on the platform to 
recommend for the next DSpace UI.  If you have immediate feedback to 
share (on any or all prototypes), you are welcome to add it to the 
public feedback form: 
https://docs.google.com/spreadsheets/d/1XWxEERh0UXCOo7LhocMMaqbY2u4b6oI11oWOjSp_aSQ/edit


Hopefully that gives you an idea of where we are going next. We will be 
asking for more public feedback in the coming weeks as well.


Thanks,

Tim

[1] Members/Charter of the DSpace UI Working Group are listed at: 
https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Working+Group



On 2/2/2016 10:21 AM, Luiz dos Santos wrote:

Dears,

 About UI Challange, a friend of mine just sent me good link about 
the use of Play Framework at Linkedin.


https://www.quora.com/Which-is-better-Play-Framework-or-Spring-MVC-How-should-I-decide-what-to-use/answer/Yevgeniy-Brikman?srid=XPv=3f8ba374

 One question, how the new UI gonna be chosen?

Thanks
Luiz


On Thu, Jan 21, 2016 at 1:50 PM, Luiz dos Santos > wrote:


Thank you for the information.

On Thu, Jan 21, 2016 at 12:58 PM, Tim Donohue
> wrote:

Hi Luiz,

Analysis of the prototypes is still ongoing (the goal is to
have a final decision by sometime in mid-to-late March).

Currently, each of the prototype developers/teams is
presenting their work to our DSpace UI Working Group & DSpace
Committers (in recent weeks and coming weeks).  As each
presentation occurs, we've been recording them and posting
them for public viewing off the challenge wiki page at:

https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge

Specifically they are here:

https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge#DSpaceUIPrototypeChallenge-PrototypePresentationSchedule

We also have a public evaluation form available, where
individuals/institutions can start to add their thoughts on
prototypes. However, we haven't yet advertised this heavily on
lists as the prototype presentations have not all occurred,
and videos are not yet available. Nonetheless, anyone can
start to analyze and add opinions to this form. It's linked from:

https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge#DSpaceUIPrototypeChallenge-PrototypeEvaluationProcess

- Tim


On 1/21/2016 11:53 AM, Luiz dos Santos wrote:

Anybody knows something about the results of this challenge?

Best Regards
Luiz
-- 
You received this message because you are subscribed to the

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


-- 
Tim Donohue

Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org



This email has been sent from a virus-free computer protected
by Avast.
www.avast.com






--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to 

[dspace-tech] Can't get a connection, pool error Timeout waiting for idle object

2016-02-02 Thread Satish Verma
I have *3000*+ users and *50*,*000 *visitors (approx), now i am getting 
this error while in data entry. Please suggest me the strong configuration 
for the same. I am not able to find any kind of solution regarding this, 
for this i have done:
->  *26gb* ram, *i5* processors
-> *10gb heap size,* 15000(ms) connection timeout
-> *350 *connections in pool

please give me a strong stable suggestion for this problem.

hope you are doing well,

thanks and regards;
Satish Verma
 

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


Re: [dspace-tech] Export citation question

2016-02-02 Thread Bram Luyten
We have done this for a client in the past, on a 3.2 codebase:

http://www.envia.bl.uk/discover?query=test==false

The feature essentially hooks into discovery results, where a user can
choose to export all the results, or a selection of results.

Does this correspond with your use case, or would you rather have something
on the item page itself?
Technically, the challenge is not that different, but I'm interested to
learn whether it might make more sense for users to export from search
results than from item pages.

best regards,

Bram

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



On 1 February 2016 at 20:58, Borda, Susan  wrote:

> That would be a nice feature to have.
> -s
> —
> Susan Borda
> Digital Technologies Development Librarian
> Montana State University Library
> 406-994-1873
>
>
>
> From:  on behalf of George Kozak <
> gkoz...@gmail.com>
> Date: Monday, February 1, 2016 at 12:56 PM
> To: DSpace Technical Support 
> Subject: [dspace-tech] Export citation question
>
> I am using DSpace 5.4, XMLUI, and modified MIrage2 theme.
>
> I was asked if anyone has incorporated an export citation function into
> their install.
> What people are looking for, here, is a button that will allow a user to
> export a citation to a citation manager.
>
> Is anyone doing this?
>
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> g...@cornell.edu
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

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


[dspace-tech] Tomcat Optimisation and java.net.ConnectException: Connection refused: connect

2016-02-02 Thread Iltifat Ibrahimov
Hi there,

I have problem with "Browse" search indexes because I get
"java.net.ConnectException:
Connection refused: connect" error for search index such as "By issue
date", "Titles" or "Authors" and would like some tips or recommendations.

In addition, my DSpace is running very slow. What should I do to optimise
Tomcat?

Thanks,
Iltifat

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