[Dspace-tech] xpdf installation error

2014-03-27 Thread Amruta Patil
Dear all

I am getting error
 Failed to execute goal on project additions: Could not resolve
dependencies for project org.dspace.modules:additions:jar:4.1: The
following artifacts could not be resolved:
com.sun.media:jai_imageio:jar:1.0_01, javax.media:jai_core:jar:1.1.2_01:
Failure to find com.sun.media:jai_imageio:jar:1.0_01 in
http://oss.sonatype.org/content/repositories/releases/ was cached in the
local repository, resolution will not be reattempted until the update
interval of sonatype-releases has elapsed or updates are forced - [Help 1]

when i run #mvn -Pxpdf-mediafilter-support package

i installed two 3rd party jar in my dspace and also give entry in pom.xml
file.

Thanks  Regards
Amu
--
___
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] OAI import crashing

2014-03-27 Thread X ch
Hi,

We're running DSpace 4.1 and we're having an issue importing OAI via the
dspace command.

/opt/dspace/bin# ./dspace oai import
Exception: Server at http://ourserver.com/solr/search returned non ok
status:411, message:Length Required
org.dspace.discovery.SearchServiceException: Server at
http://ourserver.com/solr/search returned non ok status:411, message:Length
Required
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:484)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
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:622)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://ourserver.com/solr/search returned non ok status:411,
message:Length Required
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at
org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
at
org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:450)
... 7 more

Anyone knows what might be happening? It's a fresh install and we've
created a community and uploaded 2-3 documents. However, those documents
don't display at the community listing which is also strange... Neither
they appear on searches (so basically, right not it doesn't appear any
document at all). I don't know if this might have something to do with the
OAI issue.

Any help appreciated.

Thanks!
--
___
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] xpdf installation error

2014-03-27 Thread Bill Tantzen
Amu,
Did you install the two .jars in your maven repository?

Cheers!
Bill

On Thu, Mar 27, 2014 at 1:51 AM, Amruta Patil
amrutapatil198...@gmail.com wrote:
 Dear all

 I am getting error
  Failed to execute goal on project additions: Could not resolve dependencies
 for project org.dspace.modules:additions:jar:4.1: The following artifacts
 could not be resolved: com.sun.media:jai_imageio:jar:1.0_01,
 javax.media:jai_core:jar:1.1.2_01: Failure to find
 com.sun.media:jai_imageio:jar:1.0_01 in
 http://oss.sonatype.org/content/repositories/releases/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of sonatype-releases has elapsed or updates are forced - [Help 1]

 when i run #mvn -Pxpdf-mediafilter-support package

 i installed two 3rd party jar in my dspace and also give entry in pom.xml
 file.

 Thanks  Regards
 Amu

 --

 ___
 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 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] curious link behavior on search result page in dspace 3 / JSPUI

2014-03-27 Thread Monika C. Mevenkamp

the result of a search looks like this
Item hits:
Issue Date  Title   Author(s)
25-Mar-2014 Open 
Accesshttp://asdspace300l.princeton.edu/jspui/handle/88435/62369 O, Pen






when I click on the link:
I get an error page - document does not exist
When I open in new tab the page display just fine

This is due to the javascript in   
dspace-jspui/src/main/webapp/static/js/search-results.js doctoring the links in 
the table:

urls.click(function(){
var $this = $(this);
//Instead of redirecting us to the page, first send us to the 
statistics logger
//By doing this we ensure that we register the query to the result
var form = $('form#dso-display');
form.find('input[name=redirectUrl]').val($this.attr('href'));
form.submit();
return false;
});


unfortunately for me  redirectUrl is empty in the form

form id=dso-display action=/jspui/dso-display method=post
input type=hidden name=query value=open/
input type=hidden name=rpp value=10/
input type=hidden name=page value=1/
input type=hidden name=sort_by value=0/
input type=hidden name=order value=DESC/
input type=hidden name=scope value=88435/dsp01qv33rw79v/
input type=hidden name=redirectUrl value=/
/form


for now I ‘fixed’ this by getting rid of the urls.click code
there are several other javascript functions that refer to redirectUrl
the particular instance I am running has  the solr  UI enabled (aka it is in 
the web apps directory) BUT it is accessible via localhost:8080/solr  only

any advise ?

Monika


Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 
08544


--
___
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 import

2014-03-27 Thread Webshet, Sisay (ILRI)
Hi All

For dsapce 3.2 xmlui version I was importing this item 
http://ciat-library.ciat.cgiar.org:8080/jspui/handle/123456789/4156
via Simple Archive Format in to another dsapce site i.e. 
http://dspacetest.cgiar.org/handle/10568/44287

And as you see on the destination  the URI have 2 links and the handle doesn't 
work,

Does anyone a hint to solve this problem

Thanks

Sisay

--
___
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] [SPAM] dspace 4.1 OpenSearch is showing results out of scope

2014-03-27 Thread damanzano
Hi everyone,

I am using the jspui open-search servlet in order to do show some dspace
content on an external service. The open search works very well when you
need results from all the repository. However, when you want to restrict the
search for a communty or collecction (using the scope parameter) then it
gives you result out of the selected scope. I find it weird because it was
working fine with dspace 1.7.2 version

This is an example of the way i'm querying the open-search servlet:
http://myrepository.com/open-search?format=atomscope=10906/5698query=calistart=0rpp=10sort_by=0order=DESC

Is there something i'm missing or another way to do this kind of search?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/dspace-4-1-OpenSearch-is-showing-results-out-of-scope-tp4672372.html
Sent from the DSpace - Tech mailing list archive at Nabble.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] [SPAM] Re: dspace 4.1 OpenSearch is showing results out of scope

2014-03-27 Thread damanzano
reviewing and following the new OpenSearchServlet code i find out that now
besides the scope parameter it is expecting for the location parameter. I
set and send location = scope from my external service and it is working
fine now

I hope it could be userful for someone else. 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/dspace-4-1-OpenSearch-is-showing-results-out-of-scope-tp4672372p4672373.html
Sent from the DSpace - Tech mailing list archive at Nabble.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] Question about SAFBuilder and multiple bitstreams

2014-03-27 Thread Schuster, David
http://sourceforge.net/p/dspace/mailman/message/28289097/

From this I understand you can load multiple bitstreams packaged by 
SAFBuilder.  So in the filename column of the spreadsheet you put each of 
these bitstream names?

image.tiff\tbundle:PRESERVATION
image.png
something.txt

The tiff goes to preservation, and the .png, and .txt go to ORIGINAL?
--
___
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