Re: [Dspace-tech] ERROR OAI/request

2015-02-25 Thread . .

Hello again, I have looked if there is an item without submitter, with sql 
query:
select * from item where submitter_id not in (select eperson_id from eperson) 
or submitter_id is null
But there is no record.
I have run the [dspace] / bin / dspace oai import -o -c -v command
and was executed successfully.
restart tomcat, and entering the address (http://localhost/oai/request), it 
displays a blank page and the catalina.out file shows the following error
org.apache.solr.client.solrj.impl.HttpClientUtil createClientINFO: Creating new 
http client, 
config:maxConnections=128maxConnectionsPerHost=32followRedirects=false[OAI 
2.0] Initializedjava.lang.NullPointerExceptionat 
java.io.File.init(File.java:277)at 
org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)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:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)   
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
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:315)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
   at java.lang.Thread.run(Thread.java:745)
Any suggestions please, and do not know what else to look or what options I 
have to fix this error.
thanks in advance





Hello, We have migrated from version 1.6 to version 4.2 DSpace, DSpace runs 
oracle, the jspui context and solr working properly. But when starting the OAI 
context, it displays the following error when accessing the URL:
http://direccion.com/oai/request
org.apache.solr.client.solrj.impl.HttpClientUtil createClientINFO: Creating new 
http client, 
config:maxConnections=128maxConnectionsPerHost=32followRedirects=false[OAI 
2.0] Initializedjava.lang.NullPointerExceptionat 
java.io.File.init(File.java:277)at 
org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)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:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)   
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
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 

[Dspace-tech] Search Issue after 1.7.1 to 1.8.3 Upgrade on Windows

2015-02-25 Thread Cameron, Jacob
Hello Everyone,

I'm at a loss as to why our search dspace search has started defaulting to 
www.uleth.ca/searchhttp://www.uleth.ca/search instead of 
http://www.uleth.ca/dspace/discover after upgrading from 1.7.1 to 1.83 last 
week.  It used to go to the right place but since upgrading, I've had to bypass 
the localhost for solr as we have two IPs on the server now.   Our Mirage theme 
is working properly and all other searches go to the proper place.

I've tried editing the box to force it to go to dspace/search but it still 
won't do it even after restarting tomcat.

Our XMLUI directory has been renamed to dspace, not sure if that is the issue 
or not.

Any help would be appreciated.

Thanks,

Jake


--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail.  Thank you.

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

[Dspace-tech] swordv2 multipart tittle metadata

2015-02-25 Thread Leandro Pujol
Hello, sorry for my english, im trying to submitting items with files
through Swordv2.
I can send the item in a multipart request(from java), but in the dspace
item metadata it saves the title field twice. One with the title i sended,
and another with the title Untitled [filename].
I have to send a lot of items with this method, so they should be perfect.
This is the body of my request:

 --xpH6_Jfb-AqWQoaIOHm5FMoNKmMJ93j080d0x91

 Content-Disposition: attachment; name=atom
 Content-Type: application/atom+xml; charset=utf-8
 Content-Transfer-Encoding: binary

 entry xmlns=http://www.w3.org/2005/Atom;
 title xmlns=http://purl.org/dc/terms/;Test enviar a repositorio
SWORD./title
  ... more metadata ..
 /entry

 -- xpH6_Jfb-AqWQoaIOHm5FMoNKmMJ93j080d0x91
 Content-Disposition: form-data; name= payload; filename=file.pdf
 Content-Type: application/pdf; charset=ISO-8859-1
 Content-Transfer-Encoding: binary


(...Binary data...)
--
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

[Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Chris Gray
I've been able to find /etc/init.d scripts for tomcat 7, but they run 
tomcat as root and dspace needs tomcat to run as the dspace user.

Is the necessary script documented somewhere?  If it is, I'm not finding it.

Thanks,
Chris

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


[Dspace-tech] dspace filter-media -n does not seem to work - bug?

2015-02-25 Thread Mark Ehle
When I run dspace filter-media -n  (so as not to reindex per
https://wiki.duraspace.org/display/DSDOC5x/Mediafilters+for+Transforming+DSpace+Content)
I get this:

Exception: Unrecognized option: -n
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -n
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)


I'm on 5.0-rc2. That's a bug, right? Has that been fixed yet?

LibraryMark
--
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

Re: [Dspace-tech] DSpace 5 application not showing

2015-02-25 Thread Lewatle Phaladi
Hi Euler,

Thanks I am trying it now.

Regards,
Lewatle 

-Original Message-
From: euler [mailto:esne...@seafdec.org.ph] 
Sent: 23 February 2015 04:20 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 5 application not showing

Hello Lewatle,

Have you tried running mvn clean -U package -Dmirage2.on=true? During the 
rebuild, monitor the logs when it comes to DSpace XML-UI Mirage2 Theme ::
Local Customisations part. I noticed that it will still result in BUILD 
SUCCESS even though some tasks failed to execute.

Regards,
euler



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-5-application-not-showing-tp4676744p4676745.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration  more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table


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


[Dspace-tech] Enable Thumbnail Preview in Recently Added

2015-02-25 Thread Bobby
Hi Guys.. I have thumbnail preview working for items.. using the xpdf 
way.. I was wondering if there is a way I could make recently added item 
list on dspace to also display thumbnails like we have on this page 
https://atmire.com/preview/ .. could anyone please direct me on how to 
make this so?

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


[Dspace-tech] DSpace 5 - Embargo lift date - message to administrator

2015-02-25 Thread Cadmus, Mail Account
Hello

A question regarding the Embargo lift date of DSPace 5 (XMLUI) – even if we are 
still on 1.8.2 (XMLUI) .

When the lifter discovers an item whose lift date is in the past, it removes 
(lifts) the embargo.
I read in available DSpace 5 manual that you will be able ” to send an email to 
an administrator or other interested parties when an embargoed item becomes 
available.”

Is there further information on how to set this alert / mailing  up somewhere?

Many thanks

Lotta


Lotta Svantesson
EUI Repository Manager
Library
European University Institute (EUI)
Via dei Roccettini, 9
50014 San Domenico di Fiesole (Florence) – Italy
Office phone: +39 055 4685 368 - Fax: +39 055 4685 283
e-mail: lotta.svantes...@eui.eu - cad...@eui.eu
web: www.eui.euhttp://www.eui.eu/ - cadmus.eui.eu
Please don’t print this e-mail unless you really need to


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

[Dspace-tech] Full Text Searching in DSpace 3.3

2015-02-25 Thread Brett Arno
Hello,

We recently upgraded from DSpace 1.7.2 to DSpace 3.3 and now our search
function no longer is searching full text where it was before. I can't seem
to find any configuration differences between the two versions in our setup
that should be affecting this.

We have Discovery enabled and using XMLUI. We have an Oracle backend and on
Redhat. I've refiltered all of our media and have completely reindexed the
system several times to no avail. We are also using the XPDF filters if
that makes any difference.

Any thoughts or ideas to what I could be missing?

Thanks,
Brett
--
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

[Dspace-tech] Solr and IP authentication

2015-02-25 Thread Stefanie Behnke
Dear all,

 

I am using Dspace 3.1 with XMLUI.

 

I have inserted the patch, described at

https://github.com/DSpace/DSpace/pull/632/files

 

but got the ERROR message in dspace.log:

ERROR org.dspace.statistics.SolrLogger @ Failed DNS Lookup for IP: hidden

And although the IP address (here: hidden) is listed in the
authentication-ip.cfg file,

there is no further check, with the result that the IP address is not
authenticated.

 

Any help is appreciated.

Best regards

Stefanie

 

 

Von: Stefanie Behnke [mailto:dsp...@eurographics-office-goslar.de] 
Gesendet: Montag, 9. Februar 2015 17:39
An: 'Riese Wolfgang'; dspace-tech@lists.sourceforge.net
Betreff: Re: [Dspace-tech] IP Authentification Problems

 

Dear Wolfgang,

 

I did already uses this patch, you mentioned

dspace-api/src/main/java/org/dspace/authenticate/IPMatcher.java 

 

rebuilt Maven, ant and started Tomcat.

 

This does not work for me.

 

Best regards

Stefanie

 

 

 

 

 

Von: Riese Wolfgang [mailto:w.ri...@zbw.eu] 
Gesendet: Montag, 9. Februar 2015 17:24
An: 'Stefanie Behnke';  mailto:dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Betreff: AW: [Dspace-tech] IP Authentification Problems

 

Hi,

 

for me on Dspace 3.2 XMLUI, Patch DS-1235 does the trick.

https://jira.duraspace.org/browse/DS-1235

 

 

Hope it helps,

Wolfgang

 

 

--

WOLFGANG RIESE

IIPT

 

HH, Raum 414

T:  +49-40-42834-240

http://www.zbw.eu

 

ZBW - Deutsche Zentralbibliothek für Wirtschaftswissenschaften
Leibniz-Informationszentrum Wirtschaft

- Standort Hamburg -

Neuer Jungfernstieg 21

 

20354 Hamburg

 

Von: Stefanie Behnke [mailto:dsp...@eurographics-office-goslar.de] 
Gesendet: Montag, 9. Februar 2015 15:54
An:  mailto:dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Betreff: [Dspace-tech] IP Authentification Problems

 

Dear all,

 

we are using Dspace 3.1 with the XMLUI (Mirage).

 

I have set the IP configuration:

In authentification.cfg:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \

org.dspace.authenticate.IPAuthentication, \

org.dspace.authenticate.LDAPAuthentication, \

org.dspace.authenticate.PasswordAuthentication

 

I have visit  https://github.com/DSpace/DSpace/pull/632/files
https://github.com/DSpace/DSpace/pull/632/files and added the patch to my
system.

Also I added the patch from https://github.com/DSpace/DSpace/pull/255/files

 

In our repository all items are visible to all users, but the bitsteams are
only accessible with read right group 

“eg-member”.

 

So I have configured 

authentication-ip.cfg (see attachment)

 

Full IPs, partial IPs are working,

but using network/netmask or network/CIDR then only one entry works.

 

For example:

….

129.27, \

139.174, \

…. Is working

But

….

129.27.0.0/16, \

139.174.0.0/16, \

….

does not work.

 

As you can see I have a lot of IP ranges where I have to use network/netmask
or network/CIDR,

I tried both, with same result: If the CIDR is not 32 or the netmask not
255.255.255.255,

it only works for one IP range.

 

I hope you can help me, thanking you in advance

Stefanie

 

 

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

Re: [Dspace-tech] ERROR OAI/request

2015-02-25 Thread Hilton Gibson
Hi

Just a hunch, if you are using a Linux server. Check the file permissions
of the folders housing the OAI data.
I believe they are: $HOME/var/oai and $HOME/solr/oai

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 February 2015 at 15:12, . . alsap...@hotmail.es wrote:


 Hello again, I have looked if there is an item without submitter, with sql
 query:

 select * from item where submitter_id not in (select eperson_id from
 eperson) or submitter_id is null

 But there is no record.

 I have run the [dspace] / bin / dspace oai import -o -c -v command

 and was executed successfully.

 restart tomcat, and entering the address (http://localhost/oai/request),
 it displays a blank page and the catalina.out file shows the following error

 org.apache.solr.client.solrj.impl.HttpClientUtil createClient
 INFO: Creating new http client,
 config:maxConnections=128maxConnectionsPerHost=32followRedirects=false
 [OAI 2.0] Initialized
 java.lang.NullPointerException
 at java.io.File.init(File.java:277)
 at org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
 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:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 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:315)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

 Any suggestions please, and do not know what else to look or what options
 I have to fix this error.

 thanks in advance






 Hello, We have migrated from version 1.6 to version 4.2 DSpace, DSpace
 runs oracle, the jspui context and solr working properly. But when starting
 the OAI context, it displays the following error when accessing the URL:

 http://direccion.com/oai/request

 org.apache.solr.client.solrj.impl.HttpClientUtil createClient
 INFO: Creating new http client,
 config:maxConnections=128maxConnectionsPerHost=32followRedirects=false
 [OAI 2.0] Initialized
 java.lang.NullPointerException
 at java.io.File.init(File.java:277)
 at org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
 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:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 

Re: [Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Hilton Gibson
Hi Chris

With an Ubuntu server, check: /etc/default/tomcat7

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 February 2015 at 17:46, Chris Gray cpg...@uwaterloo.ca wrote:

 I've been able to find /etc/init.d scripts for tomcat 7, but they run
 tomcat as root and dspace needs tomcat to run as the dspace user.

 Is the necessary script documented somewhere?  If it is, I'm not finding
 it.

 Thanks,
 Chris


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

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

Re: [Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Chris Gray
Since there was a problem with the mail list server at sourceforge I got 
impatient and went to the IRC channel.


I'll report here how I got up and running on Ubuntu 14.04 LTS thanks to 
tdonohue with help from mhwood.


I had done a tomcat7 install from tarball, but I'm now using the Ubuntu 
package for tomcat7.  The steps are:


1. sudo apt-get install tomcat7
2. sudo service tomcat7 stop
3. Edit /etc/default/tomcat7 and set TOMCAT7_USER=dspace
4. sudo chown -RL dspace /var/lib/tomcat7
5. sudo service tomcat7 start

Chris


On 15-02-25 03:15 PM, Hilton Gibson wrote:

Hi Chris

With an Ubuntu server, check: /etc/default/tomcat7

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 February 2015 at 17:46, Chris Gray cpg...@uwaterloo.ca 
mailto:cpg...@uwaterloo.ca wrote:


I've been able to find /etc/init.d scripts for tomcat 7, but they run
tomcat as root and dspace needs tomcat to run as the dspace user.

Is the necessary script documented somewhere?  If it is, I'm not
finding it.

Thanks,
Chris


--
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
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




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

[Dspace-tech] Statistics missing in dspace 4.2

2015-02-25 Thread RICARDO EITO BRUN
Hi,
I am having a problem with the Solr statistics. I moved the
statistics/data/index files from one dspace instance to another. Now it is
not possible to see any data, even when I recover the original
statistics/data/index files.

Is there any choice to import statistics from one dspace to another (of
course, both having the same content)

Is there any way to regenerate or merge the statistics indexes from two
dspace installations?

thanks in advance,

Ricardo


-- 
RICARDO EITO BRUN
Universidad Carlos III de Madrid
--
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

Re: [Dspace-tech] Statistics missing in dspace 4.2

2015-02-25 Thread emilio lorenzo

Hi,
some remarks:

The copy of SOLR indexes must be made with Tomcat stopped
the version of SOLR cores must be compatible  (near versions are OK)
Moving SOLR statistics from one instance to another is the same 
procedure that the one described to migrate dspace versions (except that 
you actually don´t convert them)
Yes, you can merge SOLR statistics. Try some tools as LUKE to merge, 
convert and operate indexes


Best luck
Emilio




El 25/02/2015 a las 21:59, RICARDO EITO BRUN escribió:

Hi,
I am having a problem with the Solr statistics. I moved the 
statistics/data/index files from one dspace instance to another. Now 
it is not possible to see any data, even when I recover the original 
statistics/data/index files.


Is there any choice to import statistics from one dspace to another 
(of course, both having the same content)


Is there any way to regenerate or merge the statistics indexes from 
two dspace installations?


thanks in advance,

Ricardo


--
RICARDO EITO BRUN
Universidad Carlos III de Madrid


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


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

[Dspace-tech] 5.1 source tarball has DOS line ends in some files

2015-02-25 Thread Chris Gray
In the source tarball for 5.1, the script file dspace/bin/dspace has DOS 
line ends so it can't run on Linux.  Instead you get an error to the 
effect that the application /bin/sh^M can't be found.

Chris

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


[Dspace-tech] DSpace migration from 1.6.2 to 3 or 5 in new setup (due to harddisk crash)

2015-02-25 Thread इन्‍दु भूषण Indu Bhushan
Apache Maven *3.0.5* , Java version: 1.8.0_31, Apache Ant(TM) version 1.8.2
,  postgres (PostgreSQL) 9.0.3, Linux RHEL 5, backup of sql database and
assetstore. assetstore is some days older then database.  I had added some
bibliographic field and thumbnail creation.I have no backup of dspace.cfg.

 Dear Sir

After many efforts i am unable to up dspace 5 with above condition now i am
planning to setup with Dspace 3. Please let us know right procedure
specially:-

1. database restore from which login
2. database schema update from which login
3 The fields (advisor, conf name, place date , apge etc) and thumnail
creation, media filter will be displayed automatically after import or
before import i will have to add these field and rebuild the Dspace.

Please provide your suggestion as soon as possible.

Regards

Indu Bhushan
SIRC,RRCAT-Indore
--
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

Re: [Dspace-tech] Enable Thumbnail Preview in Recently Added

2015-02-25 Thread euler
Hi Bobby,

In your dspace.cfg, look for the line
xmlui.theme.mirage.item-list.emphasis. The default value for this is
metadata, so change it to file and make sure to uncomment it. Save
dspace.cfg and restart your tomcat.

Regards,
euler



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Enable-Thumbnail-Preview-in-Recently-Added-tp4676748p4676767.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