[Dspace-tech] Error message when trying to import items

2015-02-11 Thread Alain Tschanz
I'm running DSpace 5.0 on Windows Server 2008 R2 with the Mirage theme. When I 
run the command /dspace/bin/dspace import -help I get the following error 
message:


C:\dspace\bindspace import  -h
Using DSpace installation in: C:\dspace
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/dspace/lib/slf4j-log4j12-1.6.1.jar!/org/sl
f4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/dspace/lib/slf4j-log4j12-1.7.6.jar!/org/sl
f4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

Failed to startup the DSpace Service Manager: failure starting up spring service
manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' de
fined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspa
ce-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bea
n class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nest
ed exception is java.lang.NoSuchFieldError: INSTANCE
Failure during filter init: Failed to startup the DSpace Service Manager: failur
e starting up spring service manager: Error creating bean with name 'org.dspace.
app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0
-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean
failed; nested exception is org.springframework.beans.BeanInstantiationExceptio
n: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Const
ructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANCE
:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failu
re starting up spring service manager: Error creating bean with name 'org.dspace
.app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.
0-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bea
n failed; nested exception is org.springframework.beans.BeanInstantiationExcepti
on: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Cons
tructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANC
E
Exception in thread main java.lang.IllegalStateException: Failure during filte
r init: Failed to startup the DSpace Service Manager: failure starting up spring
service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPASer
vice' defined in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spr
ing-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exce
ption is org.springframework.beans.BeanInstantiationException: Could not instant
iate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw excepti
on; nested exception is java.lang.NoSuchFieldError: INSTANCE
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:72)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Mana
ger: failure starting up spring service manager: Error creating bean with name '
org.dspace.app.sherpa.SHERPAService' defined in URL [jar:file:/C:/dspace/lib/dsp
ace-api-5.0-rc3.jar!/spring/spring-dspace-addon-sherpa-services.xml]: Instantiat
ion of bean failed; nested exception is org.springframework.beans.BeanInstantiat
ionException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAServ
ice]: Constructor threw exception; nested exception is java.lang.NoSuchFieldErro
r: INSTANCE
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceM
anager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.jav
a:150)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:57)
Caused by: java.lang.IllegalStateException: failure starting up spring service m
anager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defi
ned in URL [jar:file:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspace
-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is o
rg.springframework.beans.BeanInstantiationException: Could not instantiate bean
class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested
exception is java.lang.NoSuchFieldError: INSTANCE
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceM
anager.java:208)
... 2 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.dspace.app.sherpa.SHERPAService' defined in URL [jar:file
:/C:/dspace/lib/dspace-api-5.0-rc3.jar!/spring/spring-dspace-addon-sherpa-servic
es.xml]: Instantiation of bean failed; nested exception is org.springframework.b
eans.BeanInstantiationException: Could not instantiate bean class [org.dspace.ap
p.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.l
ang.NoSuchFieldError: INSTANCE
   

[Dspace-tech] DUB126-W3707B8BFD429BAC801DE7DB04D0--how to mirror two DSpace instances

2015-01-26 Thread Alain Tschanz
I have a home-grown solution. Set up two identical servers (server1 and 2) and 
install DSpace on both of them. Server 1 is the main DSpace instance, server 2 
the secondary. 
Make sure that both servers can talk to each without having to log in. Once 
that's working, do the following.  Enter data on server 1 only. At the end of 
the day (or whenever) run a script that does this:
1.  On server 1, make a database dump of the Postgres database and store it in 
a directory called backups. Add something like this code to your cron job:
 /usr/bin/pg_dump --host localhost --port 5432 --username postgres 
 --role postgres --no-password dspace | gzip  /home/user/backups/$(date 
 +%Y%m%d)_dspace.sql.gz

2. From server 2 run rsync to copy the backed up database and all new 
bitstreams from server 1 to 2.
 rsync -av server1:/home/user/backups /dspace (database)
 rsync -av server1:/dspace/assetstore /dspace/assetstore/ (bitstreams)

3. Uncompress the backed up database.
 gunzip $(date +%Y%m%d)_dspace.sql.gz

4. Stop the current dspace database on server 2.
 psql -U postgres --no-password -c select 
 pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where 
 datname='dspace'

5. Delete the dspace database.
 dropdb -U postgres dspace

7. Create a new dspace database.
 createdb -U postgres --owner=dspace --encoding=UNICODE dspace

8. Import the database into the database server running on server 2.
psql -U postgres --no-password dspace  $(date +%Y%m%d)_dspace.sql


-Original Message-
From: dspace-tech-requ...@lists.sourceforge.net 
[mailto:dspace-tech-requ...@lists.sourceforge.net] 
Sent: Monday, January 19, 2015 4:20 AM
To: dspace-tech@lists.sourceforge.net
Subject: DSpace-tech Digest, Vol 105, Issue 41

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than Re: 
Contents of DSpace-tech digest...


Today's Topics:

   1. DSpace crashes during the file upload process (Shixing Wen)
   2. Dspace mirroring (Sila Too)
   3. Problem faced in bitstream description section (Iyer M)
   4. XMLUI theme matching problem (Hilton Gibson)


--

Message: 1
Date: Fri, 16 Jan 2015 14:32:31 -0600
From: Shixing Wen s...@d.umn.edu
Subject: [Dspace-tech] DSpace crashes during the file upload process
To: dspace-tech@lists.sourceforge.net
Message-ID:
cabf-cs7672r9slcngjm65c5nh15dhqptt-mgxz6zeti0_yb...@mail.gmail.com
Content-Type: text/plain; charset=utf-8

DSpace 4.1 jspui

Our DSpace instance crashes quite often during the file upload process. It 
happens most at the stage of file upload but it also occurs at the stage of I 
grant the license.

Any clue to resolve this issue?

Thanks,

Shixing
---
Shixing Wen
Head of Technical Services
Kathryn A. Martin Library
University of Minnesota Duluth
416 Library Drive
Duluth, MN 55812

218-726-8498
s...@d.umn.edu

-- next part --
An HTML attachment was scrubbed...

--

Message: 2
Date: Sun, 18 Jan 2015 11:30:06 +0300
From: Sila Too sk...@outlook.com
Subject: [Dspace-tech] Dspace mirroring
To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Message-ID: dub126-w3707b8bfd429bac801de7db0...@phx.gbl
Content-Type: text/plain; charset=iso-8859-1

Hello AllI would like to mirror more than two Dspace servers together. Any idea 
on how to go about it?S. Too  
-- next part --
An HTML attachment was scrubbed...

--

Message: 3
Date: Mon, 19 Jan 2015 12:55:20 +0530
From: Iyer M rajiyer...@gmail.com
Subject: [Dspace-tech] Problem faced in bitstream description section
To: dspace-tech dspace-tech@lists.sourceforge.net,
dspace-tech-requ...@lists.sourceforge.net
dspace-tech-requ...@lists.sourceforge.net
Message-ID:
CAKsvMRJaCDDZzXQKzGh9G6gHNgNMaKozCCZDJ=xg_drqjy4...@mail.gmail.com
Content-Type: text/plain; charset=utf-8

Dear Community,

We are using DSpace 4.2 JSPUI. Our server got shutdown due to un anticipated 
power cut and backup failure in an abrupt mode.

Now we are not able to see following at bottom of Item page (File in this 
Item section):

File
Description
Size
Format
View/Open Button

Except for View/Open Button rest of labels are appearing but value for each 
of parameter along with View/Open Button is not appearing.

You are requested to suggest, what corrections should be done for restoring the 

[Dspace-tech] Can't create administrator account after successful install of DSpace 5 RC 3

2014-12-26 Thread Alain Tschanz
I successfully installed DSpace 5 RC 3 on CentOS 6.5 (x64) when I try to create 
an administrator account I get the following error message:

./dspace create-administrator
Creating an initial administrator account
E-mail address: john...@library.org
First name: John
Last name: Doe
Password will not display on screen.
Password:
Again to confirm:
Is the above data correct? (y or n): y
Exception: Error, no admin group (group 1) found
java.lang.IllegalStateException: Error, no admin group (group 1) found
at 
org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:238)
at 
org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:206)
at 
org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)


Alain Tschanz

--
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 RC 3:

2014-12-24 Thread Alain Tschanz
Hello,
I managed to install DSpace 5 RC 3 but when I try to create an administrator 
account I get the following error:


bash: ./dspace: /bin/sh^M: bad interpreter: No such file or directory

Any idea why this is happening?

I installed DSpace 5 RC3 on CentOS 7 x64 with the Mirage theme.

Thank you.

Alain Tschanz
--
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] Error when running ant update DSpace version 5 rc3

2014-12-23 Thread Alain Tschanz
When I run ant update I receive the following error:

BUILD FAILED
C: \dspace-5.0-rc3-src-release\dspace-5.0-rc3-src-release
\dspace\target\dspace-installer\build.xml:88: Property dspace.url was circularly
 defined.

I'm running DSpace 5 RC3 on Windows Server 2008 R2 with the Mirage theme.

Thank you.


Alain Tschanz
--
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 Statistics--Bitstream Views question

2014-12-12 Thread Alain Tschanz
Hello,
Can somebody explain to me what exactly bitstream views are? What does it 
count? I need to know how many files (bitstreams) were downloaded (click on 
view/open) per month.

Any help would be appreciated.

Thank you.

We're running DSpace 4.2 on CentOS 7 with the Mirage theme.


Alain Tschanz


Alain Tschanz
Project Specialist
New Jersey State Library
609-278-2640 ext. 125
atsch...@njstatelib.org

--
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=164703151iu=/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

[Dspace-tech] Change Mirage theme

2014-07-29 Thread Alain Tschanz
Hello,
I'm running DSpace 4.2 with the Mirage theme. I would like the thumbnails and 
titles (recently added, recent submissions, etc.) to point to the bitstream and 
not the medata page. How do I accomplish that?

Thanks for your help.

Alain Tschanz
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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

Re: [Dspace-tech] Change Mirage theme

2014-07-29 Thread Alain Tschanz
That setting didn’t change anything for me.

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: Tuesday, July 29, 2014 3:00 PM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Change Mirage theme

Hi Alain

Have you checked: 
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L907
I think this is controlled by the theme itself, I could be wrong.

Cheers

hg

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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson

On 29 July 2014 20:42, Alain Tschanz 
atsch...@njstatelib.orgmailto:atsch...@njstatelib.org wrote:
Hello,
I’m running DSpace 4.2 with the Mirage theme. I would like the thumbnails and 
titles (recently added, recent submissions, etc.) to point to the bitstream and 
not the medata page. How do I accomplish that?

Thanks for your help.

Alain Tschanz

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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

[Dspace-tech] Replication Task Suite problem

2014-07-08 Thread Alain Tschanz
)
at 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:85)
at 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at 
org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
at 
org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at 
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:756)
at 
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:854)
... 8 more
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:230)
at sun.security.validator.Validator.validate(Validator.java:260)
at 
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
... 27 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target
at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
... 33 more
[ERROR]
[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 goals -rf :additions


Alain Tschanz
Project Specialist
New Jersey State Library
IT Department
609-278-2640 x125

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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] database import error

2014-07-01 Thread Alain Tschanz
Hello,
I made a database dump of the dspace database (running on CentOS with 
PostgreSQL 9.1 and DSpace version 3.2) and am trying to import the dump into 
PostgreSQL 9.1 running on Windows Server 2008 R2 (with DSpace 4.1) but for some 
reason I get the following error message:

--
-- Data for Name: bi_2_dis; Type: TABLE DATA; Schema: public; Owner: dspace
--

COPY bi_2_dis (id, authority, value, sort_value) FROM stdin;
1  \N   Kean, Thomas H.  kean, thomas h.


ERROR:  syntax error at or near 1
LINE 1851: 1 \N Kean, Thomas H. kean, thomas h.
   ^

** Error **

ERROR: syntax error at or near 1
SQL state: 42601
Character: 38687

Alain Tschanz

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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] field query

2014-06-09 Thread Alain Tschanz
I came across this code. It runs a query against everything. However, I'm 
interested in querying two fields such as author and title only. How would I 
have to change the code to accomplish that?


div id=aspect.discovery.SiteViewer.div.front-page-search-custom
interactive=yes rend=primary action=/discover n=front-page-search 
method=get
headSearch DSpace/head
pEnter some text in the box below to search DSpace./p
p field id=aspect.discovery.SiteViewer.field.query n=query type=text
params/
/field

field id=aspect.discovery.SiteViewer.field.submit n=submit type=button
params/
value
type=rawGo/value /field /p /div


Alain Tschanz

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
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] type of the search filter

2014-06-03 Thread Alain Tschanz
DSpace: 4.1
Theme: Mirage

Is there a way to add a new type called number? Right now, there's date and 
text types but no number type.


https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-CustomizingtheRecentSubmissionsdisplay
type (optional): the type of the search filter. It can either be date or text, 
if none is defined text will be used.

Alain Tschanz

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] HOw to display Show Advanced Filters by default?

2014-06-02 Thread Alain Tschanz
Dspace version: 4.1
Theme: Mirage2_precompiled

How can I display the advanced search filters with two parameters pre-selected? 
Please see attached screenshot for further clarification.

Thanks.


Alain Tschanz
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] upgrading from DSpace 3.1 to 4.1: POM and maven error

2014-03-10 Thread Alain Tschanz
mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
Maven home: /usr/local/apache-maven-3.0.4
Java version: 1.7.0_10, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_10/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 2.6.32-431.5.1.el6.x86_64, arch: amd64, family: 
unix





-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, March 10, 2014 9:24 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] upgrading from DSpace 3.1 to 4.1: POM and maven error

Output of mvn -version?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] ingestion

2014-03-05 Thread Alain Tschanz
I found a great tool that makes batch importing items a snap. It's at 
https://github.com/peterdietz/SAFBuilder
Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, March 04, 2014 5:03 PM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] ingestion

On Tue, Mar 4, 2014 at 10:32 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Is it possible to import metadata first and then use the packager to 
 add PDF files that go along with the metadata?  DSpace seems to want 
 to create a new item every time I run the packager, but is it possible 
 to specify the handle and have the PDF imported?

Hi Alain,

no, in general there is no easy way to just batch-add bitstreams to existing 
items.

 I saw this command in the documentation but I can’t specify the handle 
 of the item.

 wget -O - http://alum.mit.edu/jarandom/my-thesis.pdf | 
 [dspace]/bin/dspace packager -e ad...@myu.edu -p 4321/10  -t PDF –

This won't work with existing items. What you see here is a special importer 
that extracts metadata from the PDF file - and creates a new item with this 
metadata.


What you want to look at instead is some form of export of existing items, then 
batch-adding the bitstreams and then reimporting them. An easy way might be to 
use SAFbuilder:

https://wiki.duraspace.org/display/DSPACE/Simple+Archive+Format+Packager

Or, alternatively, you would write your own piece of code, be that a curation 
task or a class using the dspace API (or the REST API in the future when it has 
write capabilities).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/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

[Dspace-tech] ingestion

2014-03-04 Thread Alain Tschanz
Hello,

Is it possible to import metadata first and then use the packager to add PDF 
files that go along with the metadata?  DSpace seems to want to create a new 
item every time I run the packager, but is it possible to specify the handle 
and have the PDF imported?

I saw this command in the documentation but I can't specify the handle of the 
item.
wget -O - http://alum.mit.edu/jarandom/my-thesis.pdf | [dspace]/bin/dspace 
packager -e ad...@myu.edu -p 4321/10  -t PDF -

We running DSpace 4.0 on Ubuntu 64-bit. Our gui is XMLUI.

Thanks.

Alain
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/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

[Dspace-tech] Postgresql 9.3

2014-02-04 Thread Alain Tschanz
Hello,

Is DSpace 4.0 compatible with Postgresql version 9.3? If so, would there be an 
advantage to upgrading to the latest Postgresql version?

Currently, we're running DSpace 4.0 with Postgresql 9.1 on CentOS 6.5 platform 
(64-bit).



Thank you.

Alain

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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

Re: [Dspace-tech] registered user has no search results

2014-01-27 Thread Alain Tschanz
 Of helix84
Sent: Monday, January 27, 2014 8:13 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] registered user has no search results

On Fri, Jan 24, 2014 at 2:53 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I have a registered user—he’s also an administrator—who doesn’t get 
 any search results when logged in as himself, however, the search 
 works for everybody else whether logged in or not. Why would that be? 
 Permissions?

Hi Alain,

did you try clearing the Cocoon cache? [1] Do you see anything in dspace.log 
while making such request? What about in catalina.out?

[1] 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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

Re: [Dspace-tech] registered user has no search results

2014-01-27 Thread Alain Tschanz
+OR+g673+OR+g672+OR+g702+OR+g703+OR+g700+OR+g701+OR+g698+OR+g699+OR+g696+OR+g694+OR+g695+OR+g692+OR+g693+OR+g690+OR+g691+OR+g688+OR+g689+OR+g653+OR+g649+OR+g651+OR+g650+OR+g645+OR+g647+OR+g641+OR+g643+OR+g669+OR+g670+
 
OR+g671+OR+g664+OR+g665+OR+g666+OR+g667+OR+g660+OR+g661+OR+g662+OR+g663+OR+g656+OR+g657+OR+g658+OR+g747+OR+g744+OR+g751+OR+g750+OR+g749+OR+g748+OR+g739+OR+g737+OR+g736+OR+g743+OR+g741+OR+g762+OR+g763+OR+g760+OR+g766+OR+g767+OR+g764+OR+g765+OR+g754+OR+g755+OR+g752+OR+g753+OR+g758+OR+g759+OR+g756+OR+g757+OR+g713+OR+g715+OR+g717+OR+g719+OR+g705+OR+g704+OR+g706+OR+g709+OR+g708+OR+g711+OR+g729+OR+g730+OR+g731+OR+g732+OR+g733+OR+g734+OR+g735+OR+g721+OR+g723+OR+g725+OR+g727+OR+g821+OR+g820+OR+g823+OR+g817+OR+g816+OR+g818+OR+g828+OR+g831+OR+g830+OR+g825+OR+g824+OR+g826+OR+g804+OR+g805+OR+g806+OR+g800+OR+g801+OR+g803+OR+g812+OR+g813+OR+g814+OR+g808+OR+g809+OR+g811+OR+g789+OR+g788+OR+g787+OR+g786+OR+g785+OR+g784+OR+g799+OR+g798+OR+g797+OR+g796+OR+g795+OR+g794+OR+g793+OR+g792+OR+g774+OR+g775+OR+g772+OR+g773+OR+g770+OR+g771+OR+g769+OR+g782+OR+g783+OR+g780+OR+g781+OR+g778+OR+g779+OR+g776+OR+g777+OR+g881+OR+g880+OR+g883+OR+g882+OR+g885+OR+g887+OR+g888+OR+g894+OR+g864+OR+g865+OR+g866+OR+g868+OR+g8
 
70+OR+g872+OR+g873+OR+g874+OR+g875+OR+g876+OR+g877+OR+g878+OR+g879+OR+g851+OR+g850+OR+g849+OR+g848+OR+g854+OR+g853+OR+g852+OR+g858+OR+g857+OR+g856+OR+g862+OR+g861+OR+g834+OR+g835+OR+g832+OR+g839+OR+g837+OR+g842+OR+g843+OR+g840+OR+g841+OR+g846+OR+g847+OR+g844+OR+g956+OR+g957+OR+g958+OR+g959+OR+g952+OR+g953+OR+g954+OR+g955+OR+g950+OR+g951+OR+g944+OR+g945+OR+g946+OR+g941+OR+g940+OR+g943+OR+g942+OR+g937+OR+g936+OR+g939+OR+g938+OR+g932+OR+g935+OR+g934+OR+g929+OR+g928+OR+g931+OR+g930+OR+g926+OR+g927+OR+g924+OR+g925+OR+g922+OR+g920+OR+g921+OR+g918+OR+g919+OR+g916+OR+g917+OR+g914+OR+g915+OR+g912+OR+g913+OR+g911+OR+g910+OR+g909+OR+g908+OR+g907+OR+g906+OR+g905+OR+g904+OR+g902+OR+g901+OR+g900+OR+g899+OR+g898+OR+g897+OR+g896+OR+g1016+OR+g1017+OR+g1018+OR+g1019+OR+g1020+OR+g1022+OR+g1023+OR+g1008+OR+g1009+OR+g1010+OR+g1011+OR+g1012+OR+g1013+OR+g1014+OR+g1015+OR+g1001+OR+g1000+OR+g1003+OR+g1005+OR+g1004+OR+g1007+OR+g1006+OR+g993+OR+g995+OR+g994+OR+g997+OR+g996+OR+g999+OR+g998+OR+g986+OR+g987+OR+g
 
984+OR+g985+OR+g988+OR+g989+OR+g978+OR+g979+OR+g976+OR+g977+OR+g982+OR+g983+OR+g980+OR+g981+OR+g971+OR+g970+OR+g969+OR+g968+OR+g975+OR+g974+OR+g973+OR+g972+OR+g963+OR+g962+OR+g961+OR+g966+OR+g965+OR+g964+OR+g1100+OR+g1101+OR+g1102+OR+g1103+OR+g1096+OR+g1097+OR+g1098+OR+g1099+OR+g1092+OR+g1093+OR+g1094+OR+g1088+OR+g1089+OR+g1090+OR+g1091+OR+g1117+OR+g1116+OR+g1119+OR+g1118+OR+g1113+OR+g1112+OR+g1115+OR+g1114+OR+g1109+OR+g+OR+g1110+OR+g1105+OR+g1104+OR+g1107+OR+g1106+OR+g1135+OR+g1132+OR+g1133+OR+g1130+OR+g1131+OR+g1128+OR+g1129+OR+g1126+OR+g1127+OR+g1124+OR+g1125+OR+g1122+OR+g1123+OR+g1120+OR+g1151+OR+g1149+OR+g1148+OR+g1147+OR+g1145+OR+g1144+OR+g1143+OR+g1142+OR+g1141+OR+g1140+OR+g1139+OR+g1138+OR+g1137+OR+g1136+OR+g1032+OR+g1033+OR+g1034+OR+g1035+OR+g1036+OR+g1037+OR+g1038+OR+g1039+OR+g1024+OR+g1025+OR+g1026+OR+g1027+OR+g1028+OR+g1029+OR+g1030+OR+g1031+OR+g1049+OR+g1048+OR+g1051+OR+g1050+OR+g1053+OR+g1052+OR+g1055+OR+g1054+OR+g1041+OR+g1040+OR+g1043+OR+g1042+OR+g1045+OR+g1044+O
 
R+g1047+OR+g1046+OR+g1066+OR+g1067+OR+g1064+OR+g1065+OR+g1070+OR+g1068+OR+g1069+OR+g1059+OR+g1056+OR+g1057+OR+g1063+OR+g1061+OR+g1083+OR+g1082+OR+g1081+OR+g1087+OR+g1086+OR+g1085+OR+g1084+OR+g1075+OR+g1074+OR+g1073+OR+g1072+OR+g1079+OR+g1077+OR+g1076+OR+g1221+OR+g1223+OR+g1217+OR+g1219+OR+g1228+OR+g1230+OR+g1225+OR+g1226+OR+g1236+OR+g1237+OR+g1239+OR+g1232+OR+g1234+OR+g1235+OR+g1244+OR+g1240+OR+g1242+OR+g1243+OR+g1153+OR+g1152+OR+g1155+OR+g1154+OR+g1157+OR+g1156+OR+g1159+OR+g1158+OR+g1161+OR+g1163+OR+g1162+OR+g1165+OR+g1164+OR+g1167+OR+g1166+OR+g1168+OR+g1169+OR+g1171+OR+g1173+OR+g1174+OR+g1176+OR+g1178+OR+g1180+OR+g1182+OR+g1183+OR+g1187+OR+g1185+OR+g1184+OR+g1191+OR+g1189+OR+g1188+OR+g1195+OR+g1193+OR+g1199+OR+g1197+OR+g1196+OR+g1202+OR+g1201+OR+g1207+OR+g1204+OR+g1205+OR+g1210+OR+g1211+OR+g1208+OR+g1209+OR+g1215+OR+g1213)+OR+(!read[*+TO+*])}
 hits=104 status=0 QTime=3



-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, January 27, 2014 8:50 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] registered user has no search results

On Mon, Jan 27, 2014 at 2:47 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Here's what I found in dspace.log

Yea, that's it, but that's the generic message from DSpace. There should be a 
more specific message in catalina.out from Solr with the actual Solr query from 
the same time.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud

Re: [Dspace-tech] registered user has no search results

2014-01-27 Thread Alain Tschanz
I had the maxHttpHeaderSize set to 8000 but per your suggestion I increased it 
to 1. The search works now again for the administrator. 

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, January 27, 2014 10:34 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] registered user has no search results

On Mon, Jan 27, 2014 at 4:07 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I tried to increase the maxHttpHeaderSize in the connector configuration in 
 Tomcat, but the search for that particular user still doesn't work.

How much did you increase it? Try bumping it ridiculously high (e.g.
10) just as a test to eliminate this as the cause.

But in case we eliminate this as the cause, I can't think of any other cause 
right now if Solr doesn't give a more detailed error message.
Perhaps you could then try to increase the Solr log level.

 He's an administrator and has admin permission to 933 collections and 
 communities.

Just noting that it's the Administrators group that should have these 
permissions, not the particular eperson, but that doesn't change anything 
regarding the number and, presumably, query size.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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


Re: [Dspace-tech] registered user has no search results

2014-01-27 Thread Alain Tschanz
I tried to increase the maxHttpHeaderSize in the connector configuration in 
Tomcat, but the search for that particular user still doesn't work. He's an 
administrator and has admin permission to 933 collections and communities.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, January 27, 2014 9:26 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] registered user has no search results

Your number of permissions (that DSpace asks Solr about behind the
scenes) might actually be triggering the same problem that Hilton asked about 
just today:

http://dspace.2283337.n4.nabble.com/SOLR-Browse-Error-after-upgrade-to-3-2-from-1-8-2-td4670623.html

Your Solr query URL is about 7800 characters long (perhaps even over the 
default limit of 8192). There are 2 solutions:
1) increase the URL length limit in Tomcat
2) decrease the number of permissions (I'm not exactly sure which ones this 
entails; I could probably find out from the stacktrace but it will be faster if 
you just try to remember where you have a large number of users in a group or 
permissions on an object).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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


[Dspace-tech] registered user has no search results

2014-01-24 Thread Alain Tschanz

Hello,
I have a registered user-he's also an administrator-who doesn't get any search 
results when logged in as himself, however, the search works for everybody else 
whether logged in or not. Why would that be? Permissions?

Thank you.

DSpace version: 3.2
Theme: Reference
Interface: xmlui


Alain

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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

[Dspace-tech] OAI harvest problem

2013-12-17 Thread Alain Tschanz
Hello,
We're running DSpace 3.2, xmlui and a modified Reference theme.

When I harvest items from our main DSpace repository to a second DSpace 
repository, the forward slash (/) in the bitstream URL is encoded as %2F.

http://dspace:8080/xmlui/bitstream/123456789%2F29438/1/bitstreamhttp://%3cdspace%3e:8080/xmlui/bitstream/123456789%2F29438/1/bitstream

Can anybody tell me how to fix this?

Thank you.

Alain
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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

[Dspace-tech] problem with viewing bitstream after harvesting

2013-06-03 Thread Alain Tschanz
Hello,
Afer harvesting a collection--metadata and references of bitstreams--I'm having 
a problem when trying to view the bitstreams themselves. It seems that the 
forward slash between the Dspace handle and item number is mistranslated to %2F 
when clicking on the hyperlink that points to the bitstream on the origin 
server.

For example, 
http://[dspace_address]:8080/xmlui/bitstream/10929/26869/1/bitstream is 
translated into 
http://[dspace_address]:8080/xmlui/bitstream/10929%2F26869/1/bitstream in the 
browser address bar.

How can I fix this problem?


We're running DSpace 3.1 on CentOS 6.4 and we're using XMLUI interface.

Thank you.

Alain Tschanz
Project Specialist
New Jersey State Library
IT Department
609-278-2640 x125

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-28 Thread Alain Tschanz
I finally figured out the problem. The owner of the versionhistory and 
versionitem tables and versionhistory_seq and versionitem_seq sequences was 
changed from dspace to postgres, effectively preventing us from adding any new 
items to DSpace or from backing up the database.

Does anybody have any suggestions as to how to harden DSpace?

Thank you for all your help.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, March 27, 2013 12:25 PM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

On Wed, Mar 27, 2013 at 5:20 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 None of the 104 items have a resource_id, but they do have a handle_id, 
 handle and resource_typ_id. To remove those items from our database do I just 
 delete the handles from the handle table?

Ah, in that case, yes. It is safe to delete handles without resource_id. I 
thought you had resource_ids with NULL handles. IIRC, your situation happens 
when you remove an item that has a handle assigned.

Anyway, before you do any change in the database, first do a backup.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-28 Thread Alain Tschanz
I have implement the HTTP over SSL protocol on our DSpace computer. My question 
is this: how can I set up a read-only public DSpace server and an internal 
login-only server without anonymous read access? What's the best way to 
automatically push data from an internal DSpace server to a public, read-only 
server?

Thanks.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, March 28, 2013 9:38 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

On Thu, Mar 28, 2013 at 2:32 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I finally figured out the problem. The owner of the versionhistory and 
 versionitem tables and versionhistory_seq and versionitem_seq sequences was 
 changed from dspace to postgres, effectively preventing us from adding any 
 new items to DSpace or from backing up the database.

Hi Alain,

I'm glad you were able to figure out the problem.


 Does anybody have any suggestions as to how to harden DSpace?

Do you mean in terms of security? Here's an overview:

https://wiki.duraspace.org/display/DSPACE/SecuringDspace

If you need something more specific, please provide details.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-28 Thread Alain Tschanz
I would like to set up two instances of DSpace. Currently we have close to 
11,000 items in DSpace and spent thousands of hours scanning and importing 
them. At this point DSpace is an investment for us and we can't afford to have 
the repository compromised.

As always, thank you very much for your help.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, March 28, 2013 10:05 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

On Thu, Mar 28, 2013 at 2:55 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I have implement the HTTP over SSL protocol on our DSpace computer. My 
 question is this: how can I set up a read-only public DSpace server and an 
 internal login-only server without anonymous read access?

Do you want to have one instance or two?

DSpace 3.0 adds the option to make an item private, which means it won't show 
up in the web interface (in contrast to removing Anonymous READ access, this 
hides even the metadata), but this is a new feature that is not yet implemented 
by all interfaces (e.g. the metadata would still be accessible via OAI-PMH).

Assuming you also want to hide access to metadata, I'd recommend two separate 
instances, where access from the outside to the internal instance is 
restricted by firewall. If it's enough for you just to remove anonymous 
bitstream access, a single instance will do perfectly. Can you please clarify?

 What's the best way to automatically push data from an internal DSpace server 
 to a public, read-only server?

I'd say in case of two instances OAI-PMH would be the best, because you set one 
up for automatic harvesting from the other.
The other option is AIP, which would require either some scripting or manual 
work by the administrator.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-27 Thread Alain Tschanz
I found that all of a sudden 104 items that do not have our handle in our 
database. Can I delete those?

Alain

From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, March 27, 2013 11:44 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

So, please provide the missing information.

Meanwhile, if I had to take a guess what's wrong, it might be a missing or 
incorrect handle that got into your database by some custom code or manual 
intervention. Try running this select and see if it returns anything (replace 
123456789 with your actual handle prefix):



SELECT * FROM handle WHERE handle NOT LIKE '123456789/%'

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-26 Thread Alain Tschanz
)
at 
org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter.doFilter(DSpaceMultipartFilter.java:119)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, March 25, 2013 10:17 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

Hi Alain,

click on each [show] link and paste or attach the full listing of the error.

Did you run the database upgrade script?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
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] Cannot create items after upgrading to DSpace 3.0

2013-03-25 Thread Alain Tschanz
Hello,

Users cannot create items after I upgraded to DSpace 3.0. Here's the error 
message:



Problem Description:



An error has occurred



Go to DSpace home



java.lang.RuntimeException: Error while attempting to create identifier for 
Item id: 26380



Cocoon stacktrace [show]



Java stacktrace [show]



Java full stacktrace [show]



The Manakin interface of the DSpace digital repository software.

DSpace version: 3.0
Interface: XMLUI
OS: linux, CentOS 6.4



Alain Tschanz
Project Specialist
New Jersey State Library
IT Department
609-278-2640 x125

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
Hello,
I upgraded DSpace from version 1.8.2 to DSpace 3.0. but now I cannot add any 
new items to collections. I thought that installing DSpace Replication Suite 
3.0 would solve the problem, but I still receive an error message when I click 
on Submit a new item to this collection.

Error message (see Java trace in attached file):
java.lang.ClassNotFoundException: org.dspace.ctask.replicate.ReplicateConsumer

DSpace version: DSpace 3.0 with XMLUI
Theme: based on Reference

Any help would be appreciated.

Alain Tschanz
Project Specialist
New Jersey State Library
IT Department
609-278-2640 x125

Java full stacktrace [hide]

org.apache.cocoon.ProcessingException: Error calling function doSubmission
at submissionControl - resource://aspects/Submission/submission.js:286
at doSubmission - resource://aspects/Submission/submission.js:190
at map:call - resource://aspects/Submission/sitemap.xmap:86:47
at map:match - resource://aspects/Submission/sitemap.xmap:85:50
at map:select type=AuthenticatedSelector - 
resource://aspects/Submission/sitemap.xmap:60:48
at map:mount - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:89:72
at map:select type=parameter - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:79:34
at map:match type=AspectMatcher - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:78:36
at map:mount - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:485:100
at map:match - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:484:49
at map:serialize type=xml - 
resource://aspects/Statistics/sitemap.xmap:285:31
at map:generate - resource://aspects/Statistics/sitemap.xmap:37:19
at map:serialize type=xml - 
resource://aspects/Workflow/sitemap.xmap:139:38
at map:generate - resource://aspects/Workflow/sitemap.xmap:76:26
at map:serialize type=xml - 
resource://aspects/Discovery/sitemap.xmap:195:40
at map:transform type=Navigation - 
resource://aspects/Discovery/sitemap.xmap:76:47
at map:generate - resource://aspects/Discovery/sitemap.xmap:64:28
at map:serialize type=xml - 
resource://aspects/SwordClient/sitemap.xmap:132:40
at map:transform type=Navigation - 
resource://aspects/SwordClient/sitemap.xmap:66:47
at map:generate - resource://aspects/SwordClient/sitemap.xmap:63:28
at map:serialize type=xml - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:85:34
at map:transform type=PageNotFound - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:84:43
at map:generate - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:83:22
at map:serialize type=xhtml - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:158:62
at map:transform type=NamespaceFilter - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:155:112
at map:transform type=NamespaceFilter - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:154:106
at map:transform type=i18n - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:148:68
at map:transform - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:143:51
at map:transform type=IncludePageMeta - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:126:87
at map:generate type=file - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:101:83
at map:match - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:98:49
at map:mount - 
jndi:/dspace.njstatelib.org/xmlui/themes/themes.xmap:33:45
at map:match type=ThemeMatcher - 
jndi:/dspace.njstatelib.org/xmlui/themes/themes.xmap:32:35
at map:mount - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:652:94
at 
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:143)
at 
org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger.getException(LocationTrackingDebugger.java:111)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:626)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143

Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
According to the install instructions at 
https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version of 
dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
[dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, February 26, 2013 8:58 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

Hi Alain,

when installing the curation task and you copied the jar to [dspace]/lib, did 
you also copy the .jar to [dspace]/webapps/xmlui/WEB-INF/lib/ ? If not, XMLUI 
won't be able to load the class.

Anyway, your emails sounds like you installed Replication Suite only because of 
this error. If you don't actually want Replication Suite, it might help to just 
remove the related task classes from the list of curation tasks in 
[dspace]/config/modules/curate.cfg.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
I changed the entry in the pom.xml files to this:
!-- Adding this dependency will install the Replication Task Suite Addon --
dependency
groupIdorg.dspace/groupId
artifactIddspace-replicate/artifactId
version3.0-20130103.183052-1/version
/dependency

After I ran mvn clean package and ant update commands, I still have the same 
problem. DSpace displays the same error: java.lang.ClassNotFoundException: 
org.dspace.ctask.replicate.ReplicateConsumer

Alain
-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, February 26, 2013 9:15 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

On Tue, Feb 26, 2013 at 3:12 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 According to the install instructions at 
 https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version of 
 dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
 [dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
 dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?

Does your pom.xml contain the same version as the actual jar file name?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] ORE error

2013-01-15 Thread Alain Tschanz
I'm running DSpace 3 with XMLUI and am trying to use OAI-ORE harvester to 
create a mirror copy of the production server, but I receive the following 
error when I run this command:
http://[full-URL-to-OAI-PMH]/request?verb=ListRecordsmetadataPrefix=ore

Any ideas why that is?

[Fatal Error] ore.xsl:22:134: The prefix xsi for attribute xsi:schemaLocation
 associated with an element type atom:entry is not bound.
file:/c:/dspace/config/crosswalks/oai/metadataFormats/ore.xsl; Line #22; Column
#134; org.xml.sax.SAXParseException; systemId: file:/c:/dspace/config/crosswalks
/oai/metadataFormats/ore.xsl; lineNumber: 22; columnNumber: 134; The prefix xsi
 for attribute xsi:schemaLocation associated with an element type atom:entry
 is not bound.
Jan 15, 2013 10:24:04 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [oai] in context with path [/oai] threw ex
ception
java.lang.NullPointerException
at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:1178)
at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:1060)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1279)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1262)
at com.lyncode.xoai.dataprovider.util.XSLTUtils.transform(XSLTUtils.java
:137)
at com.lyncode.xoai.dataprovider.OAIDataProvider.createRecord(OAIDataPro
vider.java:696)
at com.lyncode.xoai.dataprovider.OAIDataProvider.build(OAIDataProvider.j
ava:657)
at com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.
java:195)
at org.dspace.xoai.util.XOAICacheManager.handle(XOAICacheManager.java:21
9)
at org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.jav
a:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:589)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
t.java:1822)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)


Alain Tschanz

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512___
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] XOAI patch fail

2012-11-23 Thread Alain Tschanz
Thank you for the patch. I finally managed to install XOAI, but now when I try 
to access it through the browser at http://localhost:8080/xoai/request I get 
this error message:

HTTP Status 500 - OAI 2.0 wasn't correctly initialized, please check the log 
for previous errors
type Exception report
message OAI 2.0 wasn't correctly initialized, please check the log for previous 
errors
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
javax.servlet.ServletException: OAI 2.0 wasn't correctly initialized, please 
check the log for previous errors

org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache
Tomcat/7.0.32 logs.


dspace.log.2012-11-23
2012-11-23 11:05:30,380 WARN  org.dspace.core.ConfigurationManager @ Requested 
configuration module: xoai not found

Tomcat:
Nov 23, 2012 11:05:35 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [oai] in context with path [/xoai] threw 
exception [OAI 2.0 wasn't correctly initialized, please check the log for 
previous errors] with root cause
javax.servlet.ServletException: OAI 2.0 wasn't correctly initialized, please 
check the log for previous errors
at 
org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)


DSpace doesn't recognize the command [dspace]/bin/dspace xoai import. It seems 
that the xoai import switch isn't recognized.


Alain
-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, November 22, 2012 8:11 PM
To: Alain Tschanz; João Melo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] XOAI patch fail

It's failing because of difference in EOL in solr.xml. I fixed the xoai.diff 
file to account for that, find it attached. The rest patches successfully.

Regards,
~~helix84


On Fri, Nov 23, 2012 at 1:52 AM, Alain Tschanz atsch...@njstatelib.org wrote:
 I’m trying to add the XOAI add-on 
 (lyncode-XOAI-DSpace-Addon-1.8.2-7b462ba)
 to my 1.8.2 DSpace install, but keep getting an error message when I 
 run the patch script:





 ./install.sh ../dspace-1.8.2-src-release

 patching file dspace/config/launcher.xml

 patching file dspace/modules/pom.xml

 patching file dspace/pom.xml

 patching file dspace/solr/solr.xml

 Hunk #1 FAILED at 31.

 1 out of 1 hunk FAILED -- saving rejects to file 
 dspace/solr/solr.xml.rej

 patching file dspace/src/main/config/build.xml

 patching file pom.xml





 dspace/solr/solr.xml.rej



 --- dspace/solr/solr.xml

 +++ dspace/solr/solr.xml

 @@ -31,6 +31,7 @@

cores adminPath=/admin/cores

  core name=search instanceDir=search /

  core name=statistics instanceDir=statistics /

 + core name=xoai instanceDir=xoai /

/cores



 /solr




 --
  Monitor your physical, virtual and cloud infrastructure from 
 a single web console. Get in-depth insight into apps, servers, 
 databases, vmware, SAP, cloud infrastructure, etc. Download 30-day 
 Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu

[Dspace-tech] XOAI patch fail

2012-11-22 Thread Alain Tschanz
I'm trying to add the XOAI add-on (lyncode-XOAI-DSpace-Addon-1.8.2-7b462ba) to 
my 1.8.2 DSpace install, but keep getting an error message when I run the patch 
script:




./install.sh ../dspace-1.8.2-src-release

patching file dspace/config/launcher.xml

patching file dspace/modules/pom.xml

patching file dspace/pom.xml

patching file dspace/solr/solr.xml

Hunk #1 FAILED at 31.

1 out of 1 hunk FAILED -- saving rejects to file dspace/solr/solr.xml.rej

patching file dspace/src/main/config/build.xml

patching file pom.xml





dspace/solr/solr.xml.rej



--- dspace/solr/solr.xml

+++ dspace/solr/solr.xml

@@ -31,6 +31,7 @@

   cores adminPath=/admin/cores

 core name=search instanceDir=search /

 core name=statistics instanceDir=statistics /

+ core name=xoai instanceDir=xoai /

   /cores



/solr

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI-ORE harvesting

2012-11-20 Thread Alain Tschanz
I set up a test box with DSpace 3.0 and the OAI 2.0 add-on.  How do I go about 
implementing your solution (rewriting the METS metadata format XSL stylesheet)?

Thank you for your response.

Alain Tschanz



-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, November 14, 2012 3:28 PM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] OAI-ORE harvesting

On Wed, Nov 14, 2012 at 9:20 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Of course, you're right. Your solution is exactly what I need.

Are you going to do that with 3.0, 1.8 with the OAI 2.0 addon or 1.8 old oai 
webapp?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] OAI-ORE harvesting

2012-11-14 Thread Alain Tschanz
Hello,

Can I prevent another DSpace repository from harvesting metadata and 
bitstreams? Or put another way, can I limit harvesting of collections to 
metadata and references to bitstreams only?

Alain Tschanz
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI-ORE harvesting

2012-11-14 Thread Alain Tschanz
Thank you for your quick response. An obvious solution just occurred to me. 
What if I set up a second, public DSpace instance that mirrors the first 
private, DSpace instance, but the second DSpace site harvests from the first, 
private instance only metadata and references to bitstreams and not the 
bitstreams themselves?

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, November 14, 2012 1:47 PM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI-ORE harvesting

On Wed, Nov 14, 2012 at 7:38 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Can I prevent another DSpace repository from harvesting metadata and 
 bitstreams? Or put another way, can I limit harvesting of collections 
 to metadata and references to bitstreams only?

Hi Alain,

certainly, by removing READ access for the Anonymous to a bitstream, there's no 
way how you can download it without authenticating.

If you want to keep READ Anonymous access though, there's nothing DSpace can 
do. But you could configure the firewall to block sites that you don't want to 
harvest you. It's hard to imagine another practical way how you would 
distinguish between humans and spiders downloading the bitstreams (detecting 
User Agent string, perhaps, but that can be easily faked).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI-ORE harvesting

2012-11-14 Thread Alain Tschanz
Of course, you're right. Your solution is exactly what I need.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, November 14, 2012 2:21 PM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] OAI-ORE harvesting

On Wed, Nov 14, 2012 at 8:07 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I want everybody (anonymous users) be able to search, browse and read all 
 documents on DSpace, but I want to prevent institutions such as universities, 
 libraries and search services from downloading the bitstreams of whole 
 collections via the OAI-ORE harvesting function. I would like to limit 
 harvesting to metadata and references to bitstreams only. Is there a way to 
 implement that scenario?


In that case setting up two instances would help, assuming one instance would 
be there for browsing for humans and the other one for harvesting, without 
bitstreams. So why not simplify it and just change the OAI interface the way it 
would work in the mirroring instance?

It all boils down to defining how you distinguish between a human and a robot. 
It's surprisingly hard to do it right if you think about it.

Let's assume humans are those using the web interface and robots are those 
using OAI-PMH.

Let's define what you expect from the OAI interface. You said you don't want it 
to show bitstreams, only references. But those references can be followed to 
get the bitstreams, which might be a problem. But we can just assume that if 
bitstreams are only available as references, nobody will bother to rewrite the 
harvesters to follow the references. Here's an example METS file (yes, there 
may be other formats available via OAI-PMH):

http://demo.dspace.org/xmlui/metadata/handle/10673/171/mets.xml

Here we basically want to remove the whole fileSec section and add the 
referencess to metadata. I think this can be done using a crosswalk.
It should be easier to do in OAI 2.0 (in DSpace 3.0) by just rewriting the METS 
metadata format XSL stylesheet than in the old OAI where the crosswalk is a 
Java class.

How does that sound? Did I get any assumptions wrong for your case?

P.S. Always CC dspace-tech (Reply All).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] batch import

2012-11-09 Thread Alain Tschanz
Hello,
I need to upload thousands of records, but not all items belong to the same 
collection id. I created a csv spreadsheet with all the metadata info in it and 
added the collection id for each item. I have a program to generate packages to 
upload based on the info in the spreadsheet. Is there a way to import all items 
at once into the proper collection id or do I have to create groups of items 
with the same collection id and then import them separately?

I run DSpace 1.8.2 with a modified Reference theme (xmlui).

Thank you.

Alain Tschanz


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] checksums

2012-10-26 Thread Alain Tschanz
Hello,
How do I display the checksum of a bitstream in the item record? Patrons would 
like to have a way to compare the checksum on DSpace with the checksum 
generated on their own computer once they download a DSpace document.

I run DSpace 1.8.2 with a customized XMLUI Reference theme.

Thank you.

Alain Tschanz
--
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Statistics

2012-10-03 Thread Alain Tschanz
Hello,
The statistics goes only 6 months back, but I would like to increase it to 18 
months. Can anybody tell me how to do that?

I run DSpace 1.8.2 on a Fedora 16 server. The interface is a modified version 
of the REFERENCE theme in XMLUI.

Thank you for your time.

Alain Tschanz

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Statistics

2012-10-03 Thread Alain Tschanz
Thank you for your response. I changed the number from -6 to -18 and 
recompiled the code but the statistics page still only displays 6 months of 
data. Any ideas why?

Alain

From: bluy...@gmail.com [mailto:bluy...@gmail.com] On Behalf Of Bram Luyten
Sent: Wednesday, October 3, 2012 12:55 PM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Statistics

Hi Alain,

I hope this works for you:

https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-WebUIStatisticsModification(XMLUIOnly)

Or in short, change -6 in this line to whatever you want:
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java#L178

best regards,

Bram

--
[logo]

Bram Luyten @mire
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 http://www.atmire.com/ 
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml



On Wed, Oct 3, 2012 at 3:32 PM, Alain Tschanz 
atsch...@njstatelib.orgmailto:atsch...@njstatelib.org wrote:
Hello,
The statistics goes only 6 months back, but I would like to increase it to 18 
months. Can anybody tell me how to do that?

I run DSpace 1.8.2 on a Fedora 16 server. The interface is a modified version 
of the REFERENCE theme in XMLUI.

Thank you for your time.

Alain Tschanz


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Metadata

2012-09-05 Thread Alain Tschanz
Hello,
I would like to add another metadata descriptor (dc.identifier.govdoc) to the 
simple item record view in DSpace. How do I do that?

Simple item record: Title, Author, URI
Full item record: .

Thank you for your response.

Alain Tschanz


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Metadata

2012-09-05 Thread Alain Tschanz
DSpace version: 1.8.2
Inteface: XMLUI
Theme: Reference

Thank you.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, September 5, 2012 8:33 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Metadata

On Wed, Sep 5, 2012 at 2:28 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I would like to add another metadata descriptor (dc.identifier.govdoc) 
 to the simple item record view in DSpace. How do I do that?

Hi Alain,
what is your DSpace version, interface and XMLUI theme?

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Statistics

2012-08-09 Thread Alain Tschanz
Hello,
I'm trying to write a statistics report that aggregates the numbers of a 
community X and all its sub-communities and that shows the numbers for each 
sub-community. Like this:

Community X: 2000 views
Sub-communityA of community X: 500 views
Sub-communityB of community X: 500 views
Sub-communityC of community X: 500 views
Sub-communityD of community X: 500 views


Thank you.

Alain Tschanz

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle-assetstore

2012-07-31 Thread Alain Tschanz
Hello,

How/where can I look up what handle corresponds to what directory/file in the 
assetstore? For example, I tried to export a collection, but I received the 
following error message:

The task exited unexpectedly or failed. For more information, please contact 
the site administrator or check your system logs.
STATUS: Failure, RESULT: 
/media/ext1/assetstore/30/83/71/30837199014132132506155472754588837323 (No such 
file or directory)

Thank you.

Alain Tschanz


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace and BagIt

2012-07-19 Thread Alain Tschanz
Hello,
Can DSpace import/ingest bags (BagIt AIP formatted items)? If not, is support 
for BagIt in development? I know that the DSpace Replication Task Suite 
supports the BagIt AIP format.

Does Fedora Commons support the BagIt AIP format?

Thank you for your response.

Alain Tschanz


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Export items from DSpace and import them into Fedora Commons

2012-07-05 Thread Alain Tschanz
Hello,
Can anybody tell me how to export items (what format?) from DSpace so that they 
are compatible with Fedora Commons?


Alain Tschanz

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] epub

2012-06-20 Thread Alain Tschanz
Hello,
Is there any way to display .epub documents in DSpace? I added the mimetype to 
DSpace and uploaded a sample book. I can download it to my laptop and view it 
in Adobe Digital Editions, but I'm wondering if it's possible to read a .epub 
document in DSpace like I can view YouTube videos in DSpace.

Thank you for your help.

Alain

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Slideshow

2012-06-20 Thread Alain Tschanz
Hello,
I'm looking for a way to display a slideshow in DSpace.  I know that you can 
integrate Nivo Slider into DSpace, but you have to hard code the URIs of the 
images in an html file. Has anybody developed a template that can grab a 
handle, automatically resize the image and display it using Nivo Slider?

We're running DSpace ver. 1.8.2 with the XMLUI interface. The theme is based on 
REFERENCE.

Thank you for your help.


Alain
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dc.date.issued

2012-06-20 Thread Alain Tschanz
Thanks for the code. It worked, but the date is still displaying in Recent 
Submissions. How can I suppress it?

Thank you.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, June 20, 2012 11:38 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] dc.date.issued

On Wed, Jun 20, 2012 at 5:12 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 We're running DSpace 1.8.2 and use the XMLUI interface.  We've developed our 
 own theme but it is strongly based on REFERENCE. As for the postcards, we use 
 dc.format=POSTCARDS to identify an item as such.

OK, it's easy. From dri2xhtml/DIM-Handler.xsl, copy the 
itemSummaryView-DIM-fields template to your theme's XSL. Find this
line:
xsl:when test=$clause = 6 and (dim:field[@element='date' and 
@qualifier='issued']) and change it to this xsl:when test=$clause = 6 and 
(dim:field[@element='date' and
@qualifier='issued']) and (dim:field[@element='format'] != 'POSTCARD')

That's all that's needed.

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Assetstore

2012-05-29 Thread Alain Tschanz
Hello,

I run DSpace 1.8.2 on a virtual machine (Fedora 15). I allocated 50GB for the 
VM, but the assetstore increased dramatically (35GB) and I had to extend the 
current disk to 100GB. Is there a way to split up the current assetstore into 
two assetstores on two different disks?

Thank you.

Alain
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SWORD implementation

2012-05-04 Thread Alain Tschanz
Hello,
I'm trying to upload MS Word documents (Office 2010; .docx)  to DSpace with the 
Microsoft Authoring add-in and  SWORD, but I keep getting the same error no 
matter how I configure the sword-server.cfg file:

2012-05-04 11:22:39,434 ERROR org.dspace.sword.CollectionDepositor @ 
Unacceptable content type detected: 
application/vnd.openxmlformats-officedocument.wordprocessingml.document for 
collection 5
2012-05-04 11:22:39,435 ERROR org.purl.sword.server.DepositServlet @ 
org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit 
request: application/vnd.openxmlformats-officedocument.wordprocessingml.document


I can successfully download the service document.

Here are my sword-server configuration settings:

plugin.named.org.dspace.content.packager.PackageIngester = \
org.dspace.content.packager.PDFPackager  = Adobe PDF, PDF, \
org.dspace.content.packager.DSpaceMETSIngester = METS, \
org.dspace.content.packager.DSpaceDocxIngester = DOCX

plugin.named.org.dspace.sword.SWORDIngester = \
org.dspace.sword.SWORDMETSIngester = 
http://purl.org/net/sword-types/METSDSpaceSIP \
org.dspace.sword.SimpleFileIngester = SimpleFileIngester \
org.dspace.sword.DocxIngester = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document

accept-packaging.Docx.identifier = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document
accept-packaging.Docx.q = 1.0

Any help would be appreciated.

Alain Tschanz

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace upgrade problem

2012-04-25 Thread Alain Tschanz
Hello,
I upgraded DSpace from version 1.8.0 to 1.8.2 following the instructions at 
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.8+to+1.8.x, but 
after the upgrade the DSpace version in control panel-DSpace configuration is 
still at 1.8.0. I ran mvn with the clean option and rebuilt DSpace. Still no 
change.

Thank you for your help.

Alain Tschanz
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace upgrade problem

2012-04-25 Thread Alain Tschanz
As always, I'm much obliged. I thought I had Tomcat point to the webapps 
directory of Dspace--I have it set up this way on my test server--but the 
production server still looked for the webapps directory in Tomcat. After 
changing the configuration, the correct version number is displaying now in 
control panel-dspace configuration.

Thank you for your quick response. And please pardon my ignorance. 

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, April 25, 2012 10:35 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace upgrade problem

On Wed, Apr 25, 2012 at 16:23, Alain Tschanz atsch...@njstatelib.org wrote:
 I upgraded DSpace from version 1.8.0 to 1.8.2 following the 
 instructions at 
 https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.8+to+1.8.x
 , but after the upgrade the DSpace version in control panel-DSpace 
 configuration is still at 1.8.0. I ran mvn with the clean option and rebuilt 
 DSpace. Still no change.

1) Did you run ant update?
2) Did you replace the [dspace] placeholder with the actual installation 
directory?
3a) Did you copy over the webapps to the tomcat webapps directory, or, 
alternatively
3b) did you define a context pointing to the webapps in dspace directory?
5) Did you restart tomcat at the end?

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-19 Thread Alain Tschanz
Thank you for your help. The new code works, but it doesn't add the Advanced 
Search link underneath the search input box.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, April 18, 2012 4:21 PM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] Remove Communities in DSpace and add advanced search 
option on home page in xmlui/Manakin

On Wed, Apr 18, 2012 at 20:50, Alain Tschanz atsch...@njstatelib.org wrote:
 1. I disabled the frontpage browse block, but when I try to browse 
 communities  collections etc. (hyperlink menu in div id=options/div; 
 see below) the body block of the front page is now empty and no items to 
 browse are listed at all.

This additional condition tests whether we're at the front page and restores 
the original behavior for any other page.

xsl:template name=disable_frontpage_browse
match=dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']
xsl:if test=not(//dri:body/dri:div[@id='file.news.div.news'])
xsl:apply-templates/
/xsl:if
/xsl:template


 2. After inserting the Advanced Search link underneath the front page 
 search (body section) the GO button stops working. As soon as I remove the 
 link, the search works fine.

I see, I didn't notice that the element I replaced actually gets transformed to 
the form element. This should work:

xsl:template name=add_frontpage_advancedsearch
match=dri:div[@id='aspect.discovery.SiteViewer.div.front-page-search']/dri:p[2]
xsl:apply-templates /
a 
href=/advanced-searchi18n:textxmlui.dri2xhtml.structural.search-advanced/i18n:text/a
/xsl:template

Regards,
~~helix84
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread Alain Tschanz
Got it! Thank you very much. I think I got the hang of it now. 

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, April 18, 2012 12:40 PM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] Remove Communities in DSpace and add advanced search 
option on home page in xmlui/Manakin

On Wed, Apr 18, 2012 at 18:28, Alain Tschanz atsch...@njstatelib.org wrote:
 Thank you for your response. I believe the code below removes browsing 
 capability from the sidebar (div id=ds-options/div, not the body 
 content block (div id=body/div).
    xsl:template name=disable_frontpage_browse
 match=dri:list[@id='aspect.viewArtifacts.Navigation.list.browse']
    /xsl:template

 What I really need to change is the CommunityBrowser section. How do I 
 disable the community-browser section?

OK. That would be

   xsl:template name=disable_frontpage_browse
match=dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']
   /xsl:template

It's easy to figure out for any element, just look at the DRI document (works 
with any page):
http://yourdspace.org/DRI/

Regards,
~~helix84
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-18 Thread Alain Tschanz
Now I have two new problems. 1. I disabled the frontpage browse block, but when 
I try to browse communities  collections etc. (hyperlink menu in div 
id=options/div; see below) the body block of the front page is now empty 
and no items to browse are listed at all. 2. After inserting the Advanced 
Search link underneath the front page search (body section) the GO button 
stops working. As soon as I remove the link, the search works fine. 

Sidebar:

Browse
All of DSpace
Communities  Collections
By Issue Date
Authors
Titles
Subjects


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, April 18, 2012 12:40 PM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] Remove Communities in DSpace and add advanced search 
option on home page in xmlui/Manakin

On Wed, Apr 18, 2012 at 18:28, Alain Tschanz atsch...@njstatelib.org wrote:
 Thank you for your response. I believe the code below removes browsing 
 capability from the sidebar (div id=ds-options/div, not the body 
 content block (div id=body/div).
    xsl:template name=disable_frontpage_browse
 match=dri:list[@id='aspect.viewArtifacts.Navigation.list.browse']
    /xsl:template

 What I really need to change is the CommunityBrowser section. How do I 
 disable the community-browser section?

OK. That would be

   xsl:template name=disable_frontpage_browse
match=dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']
   /xsl:template

It's easy to figure out for any element, just look at the DRI document (works 
with any page):
http://yourdspace.org/DRI/

Regards,
~~helix84
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Remove Communities in DSpace and add advanced search option on home page in xmlui/Manakin

2012-04-17 Thread Alain Tschanz
Hello,

I need to change the look of the DSpace front page (version 1.8.1; Manakin). I 
would like to remove Communities in DSpace block and add Advanced Search  
underneath Search DSpace block.Can anybody tell me how to 
accomplish those two things?

Thank you.

Alain

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech