Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1

2015-03-13 Thread Tim Donohue
Assuming your tomcat user can read this directory: 
/usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/
AND also write to "/var/dspace", then yes, running "ant update" as the tomcat 
user should work properly.

Essentially, that "ant update" command needs to be able to *read* from the 
[dspace-src]/dspace/target/dspace-installer/ folder, and *write* to your 
[dspace.dir] (as configured in dspace.cfg).  So, based on that, it needs to be 
run as a user who has both of those access rights.

Hopefully that helps!

- Tim

On 3/13/2015 2:17 PM, Chelsea Lobdell wrote:
> Hi Tim,
>
> Our setup is such that all dspace files are owned by tomcat and group
> owned by a group called tomcat. I belong to the tomcat group. Should the
> update be run as the tomcat user? Or should I be able to run it under my
> own username? Or should I try running it as root?
>
> Thank,
> Chelsea
>
>
> /---/
> /Chelsea Lobdell/
> /Library Applications Programmer / Swarthmore College/
> /clobd...@swarthmore.edu / (610)690-6818/
>
> 
> *From: *"Tim Donohue" 
> *To: *"Chelsea Lobdell" 
> *Cc: *dspace-tech@lists.sourceforge.net
> *Sent: *Friday, March 13, 2015 3:04:08 PM
> *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
>
> Hi Chelsea,
>
> This sounds like a possible file permissions issue. It sounds like the
> user which is running "ant update" may not have access to create
> files/directories under your "/var/dspace/solr/" directory.
>
> So, you may want to check the permissions on "/var/dspace/" (and
> everything under that), to see if your user account has proper access
> rights to read/write files.
>
> - Tim
>
>
> On 3/13/2015 1:38 PM, Chelsea Lobdell wrote:
>  > Hi,
>  >
>  > I've gotten to step 6 (Update Dspace Installation**) of the upgrade
>  > process and my build failed. Here is the output I saw:
>  >
>  > BUILD FAILED
>  >
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371:
>  > Failed to copy
>  >
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/solr-config-temp/authority/conf/admin-extra.html
>  > to /var/dspace/solr/authority/conf/admin-extra.html due to failed to
>  > create the parent directory for
>  > /var/dspace/solr/authority/conf/admin-extra.html
>  >
>  > Does this mean I need to manually upgrade the solr indexes? Or can I
>  > just copy of the file that failed to copy? Forgive me if this is a
>  > simple question, I am new to supporting this application.
>  >
>  > Thanks,
>  > Chelsea
>  >
>  >
>  > /---/
>  > /Chelsea Lobdell/
>  > /Library Applications Programmer / Swarthmore College/
>  > /clobd...@swarthmore.edu / (610)690-6818/
>  >
>  > 
>  > *From: *"Tim Donohue" 
>  > *To: *"Chelsea Lobdell" ,
>  > dspace-tech@lists.sourceforge.net
>  > *Sent: *Monday, March 9, 2015 2:44:51 PM
>  > *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
>  >
>  > Chelsea,
>  >
>  > Correct, you can upgrade directly from 3.x to 5.x per the DSpace 5
>  > upgrade instructions:
>  > https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace
>  >
>  > - Tim
>  >
>  > On 3/9/2015 12:46 PM, Chelsea Lobdell wrote:
>  >  > Hi,
>  >  >
>  >  > We will soon be upgrading our development instance of DSpace and I
> just
>  >  > wanted to confirm that we can upgrade directly from version 3.1 to
>  >  > version 5.1? Or is there an intermediate step of upgrading to version
>  >  > 4.x first?
>  >  >
>  >  > Thanks,
>  >  > Chelsea
>  >  >
>  >  > /---/
>  >  > /Chelsea Lobdell/
>  >  > /Library Applications Programmer / Swarthmore College/
>  >  > /clobd...@swarthmore.edu / (610)690-6818/
>  >  >
>  >  >
>  >  >
>  >  >
>  >
> --
>  >  > Dive into the World of Parallel Programming The Go Parallel Website,
>  > sponsored
>  >  > by Intel and developed in partnership with Slashdot Media, is your
>  > hub for all
>  >  > things parallel software development, from weekly thought leadership
>  > blogs to
>  >  > news, videos, case studies, tutorials and more. Take a look and
> join the
>  >  > conversation now. http://goparallel.sourceforge.net/
>  >  >
>  >  >
>  >  >
>  >  > ___
>  >  > DSpace-tech mailing list
>  >  > DSpace-tech@lists.sourceforge.net
>  >  > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>  >  > List Etiquette:
>  > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>  >  >
>  >
>


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, 

Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1

2015-03-13 Thread Chelsea Lobdell
Hi Tim, 

Our setup is such that all dspace files are owned by tomcat and group owned by 
a group called tomcat. I belong to the tomcat group. Should the update be run 
as the tomcat user? Or should I be able to run it under my own username? Or 
should I try running it as root? 

Thank, 
Chelsea 


--- 
Chelsea Lobdell 
Library Applications Programmer / Swarthmore College 
clobd...@swarthmore.edu / (610)690-6818 

- Original Message -

From: "Tim Donohue"  
To: "Chelsea Lobdell"  
Cc: dspace-tech@lists.sourceforge.net 
Sent: Friday, March 13, 2015 3:04:08 PM 
Subject: Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1 

Hi Chelsea, 

This sounds like a possible file permissions issue. It sounds like the 
user which is running "ant update" may not have access to create 
files/directories under your "/var/dspace/solr/" directory. 

So, you may want to check the permissions on "/var/dspace/" (and 
everything under that), to see if your user account has proper access 
rights to read/write files. 

- Tim 


On 3/13/2015 1:38 PM, Chelsea Lobdell wrote: 
> Hi, 
> 
> I've gotten to step 6 (Update Dspace Installation**) of the upgrade 
> process and my build failed. Here is the output I saw: 
> 
> BUILD FAILED 
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371:
>  
> Failed to copy 
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/solr-config-temp/authority/conf/admin-extra.html
>  
> to /var/dspace/solr/authority/conf/admin-extra.html due to failed to 
> create the parent directory for 
> /var/dspace/solr/authority/conf/admin-extra.html 
> 
> Does this mean I need to manually upgrade the solr indexes? Or can I 
> just copy of the file that failed to copy? Forgive me if this is a 
> simple question, I am new to supporting this application. 
> 
> Thanks, 
> Chelsea 
> 
> 
> /---/ 
> /Chelsea Lobdell/ 
> /Library Applications Programmer / Swarthmore College/ 
> /clobd...@swarthmore.edu / (610)690-6818/ 
> 
>  
> *From: *"Tim Donohue"  
> *To: *"Chelsea Lobdell" , 
> dspace-tech@lists.sourceforge.net 
> *Sent: *Monday, March 9, 2015 2:44:51 PM 
> *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1 
> 
> Chelsea, 
> 
> Correct, you can upgrade directly from 3.x to 5.x per the DSpace 5 
> upgrade instructions: 
> https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace 
> 
> - Tim 
> 
> On 3/9/2015 12:46 PM, Chelsea Lobdell wrote: 
> > Hi, 
> > 
> > We will soon be upgrading our development instance of DSpace and I just 
> > wanted to confirm that we can upgrade directly from version 3.1 to 
> > version 5.1? Or is there an intermediate step of upgrading to version 
> > 4.x first? 
> > 
> > Thanks, 
> > Chelsea 
> > 
> > /---/ 
> > /Chelsea Lobdell/ 
> > /Library Applications Programmer / Swarthmore College/ 
> > /clobd...@swarthmore.edu / (610)690-6818/ 
> > 
> > 
> > 
> > 
> --
>  
> > Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored 
> > by Intel and developed in partnership with Slashdot Media, is your 
> hub for all 
> > things parallel software development, from weekly thought leadership 
> blogs to 
> > news, videos, case studies, tutorials and more. Take a look and join the 
> > conversation now. http://goparallel.sourceforge.net/ 
> > 
> > 
> > 
> > ___ 
> > DSpace-tech mailing list 
> > DSpace-tech@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech 
> > List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 
> > 
> 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1

2015-03-13 Thread Tim Donohue
Hi Chelsea,

This sounds like a possible file permissions issue. It sounds like the 
user which is running "ant update" may not have access to create 
files/directories under your "/var/dspace/solr/" directory.

So, you may want to check the permissions on "/var/dspace/" (and 
everything under that), to see if your user account has proper access 
rights to read/write files.

- Tim


On 3/13/2015 1:38 PM, Chelsea Lobdell wrote:
> Hi,
>
> I've gotten to step 6 (Update Dspace Installation**) of the upgrade
> process and my build failed. Here is the output I saw:
>
> BUILD FAILED
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371:
> Failed to copy
> /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/solr-config-temp/authority/conf/admin-extra.html
> to /var/dspace/solr/authority/conf/admin-extra.html due to failed to
> create the parent directory for
> /var/dspace/solr/authority/conf/admin-extra.html
>
> Does this mean I need to manually upgrade the solr indexes? Or can I
> just copy of the file that failed to copy? Forgive me if this is a
> simple question, I am new to supporting this application.
>
> Thanks,
> Chelsea
>
>
> /---/
> /Chelsea Lobdell/
> /Library Applications Programmer / Swarthmore College/
> /clobd...@swarthmore.edu / (610)690-6818/
>
> 
> *From: *"Tim Donohue" 
> *To: *"Chelsea Lobdell" ,
> dspace-tech@lists.sourceforge.net
> *Sent: *Monday, March 9, 2015 2:44:51 PM
> *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1
>
> Chelsea,
>
> Correct, you can upgrade directly from 3.x to 5.x per the DSpace 5
> upgrade instructions:
> https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace
>
> - Tim
>
> On 3/9/2015 12:46 PM, Chelsea Lobdell wrote:
>  > Hi,
>  >
>  > We will soon be upgrading our development instance of DSpace and I just
>  > wanted to confirm that we can upgrade directly from version 3.1 to
>  > version 5.1? Or is there an intermediate step of upgrading to version
>  > 4.x first?
>  >
>  > Thanks,
>  > Chelsea
>  >
>  > /---/
>  > /Chelsea Lobdell/
>  > /Library Applications Programmer / Swarthmore College/
>  > /clobd...@swarthmore.edu / (610)690-6818/
>  >
>  >
>  >
>  >
> --
>  > Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
>  > by Intel and developed in partnership with Slashdot Media, is your
> hub for all
>  > things parallel software development, from weekly thought leadership
> blogs to
>  > news, videos, case studies, tutorials and more. Take a look and join the
>  > conversation now. http://goparallel.sourceforge.net/
>  >
>  >
>  >
>  > ___
>  > DSpace-tech mailing list
>  > DSpace-tech@lists.sourceforge.net
>  > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>  > List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>  >
>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1

2015-03-13 Thread Chelsea Lobdell
Hi, 

I've gotten to step 6 (Update Dspace Installation ) of the upgrade process and 
my build failed. Here is the output I saw: 

BUILD FAILED 
/usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371:
 Failed to copy 
/usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/solr-config-temp/authority/conf/admin-extra.html
 to /var/dspace/solr/authority/conf/admin-extra.html due to failed to create 
the parent directory for /var/dspace/solr/authority/conf/admin-extra.html 

Does this mean I need to manually upgrade the solr indexes? Or can I just copy 
of the file that failed to copy? Forgive me if this is a simple question, I am 
new to supporting this application. 

Thanks, 
Chelsea 


--- 
Chelsea Lobdell 
Library Applications Programmer / Swarthmore College 
clobd...@swarthmore.edu / (610)690-6818 

- Original Message -

From: "Tim Donohue"  
To: "Chelsea Lobdell" , 
dspace-tech@lists.sourceforge.net 
Sent: Monday, March 9, 2015 2:44:51 PM 
Subject: Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1 

Chelsea, 

Correct, you can upgrade directly from 3.x to 5.x per the DSpace 5 
upgrade instructions: 
https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace 

- Tim 

On 3/9/2015 12:46 PM, Chelsea Lobdell wrote: 
> Hi, 
> 
> We will soon be upgrading our development instance of DSpace and I just 
> wanted to confirm that we can upgrade directly from version 3.1 to 
> version 5.1? Or is there an intermediate step of upgrading to version 
> 4.x first? 
> 
> Thanks, 
> Chelsea 
> 
> /---/ 
> /Chelsea Lobdell/ 
> /Library Applications Programmer / Swarthmore College/ 
> /clobd...@swarthmore.edu / (610)690-6818/ 
> 
> 
> 
> --
>  
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored 
> by Intel and developed in partnership with Slashdot Media, is your hub for 
> all 
> things parallel software development, from weekly thought leadership blogs to 
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/ 
> 
> 
> 
> ___ 
> DSpace-tech mailing list 
> DSpace-tech@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech 
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 
> 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] BTE OAI import - NullPointerException

2015-03-13 Thread Kostas Stamatis
Hi Jan,

can you please send as the base URL for the OAI-PMH server you are using?


Thanks,

Kostas



On Mar 13, 2015, at 4:29 PM, helix84  wrote:

> Sending link to the source, hope it helps:
> 
> https://github.com/EKT/Biblio-Transformation-Engine/blob/version-0.9.4/bte-io/src/main/java/gr/ekt/bteio/loaders/OAIPMHDataLoader.java#L179
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] OAI ListRecords fails with until parameter without from parameter

2015-03-13 Thread Tim Donohue
Hi Chris,

While I'm not 100% certain, this behavior sounds similar to this 
reported bug (which was fixed in DSpace 4.1):
https://jira.duraspace.org/browse/DS-1445

- Tim

On 3/12/2015 12:26 PM, Chris Gray wrote:
> Our instance of DSpace 3.1 seems to have an OAI bug.  The following
> request works fine:
>
> 
> https://uwspace.uwaterloo.ca/oai/request?verb=ListRecords&from=2000-01-01T01:00:00Z&until=2015-03-12T17:13:03Z&set=col_10012_5254&metadataPrefix=oai_dc
>
>
> But the same request without the "from" parameter, as constructed by our
> 5.1 instance's ORE client, gives a noRecordsMatch error.
>
> 
> https://uwspace.uwaterloo.ca/oai/request?verb=ListRecords&until=2015-03-12T17:13:03Z&set=col_10012_5254&metadataPrefix=oai_dc
>
>
> Has anyone encountered this before?  Is there a workaround?
>
> BTW, the "from" without the "until" works fine, too.
>
> Thanks,
> Chris
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] BTE OAI import - NullPointerException

2015-03-13 Thread helix84
Sending link to the source, hope it helps:

https://github.com/EKT/Biblio-Transformation-Engine/blob/version-0.9.4/bte-io/src/main/java/gr/ekt/bteio/loaders/OAIPMHDataLoader.java#L179


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] BTE OAI import - NullPointerException

2015-03-13 Thread Jan Kenter
Dear all,

we'd like to import metadata via the Biblio-Transformation-Engine (BTE) 
from an OAI-PMH interface to DSpace as it is described here: 
https://wiki.duraspace.org/pages/viewpage.action?pageId=34640934 .

After running the command

bin/dspace import -b -m mapFile -e mailadr...@ulb.uni-bonn.de -c 
123456789/19  -i oai -s [OAI base_URL]

we get a java.lang.NullPointerException (see below). We tried different 
public OAI-PMH interfaces, also one from a DSpace system. The used 
OAI-PMH service is valid according to http://validator.oaipmh.com/
In dspace/config/spring/api/bte.xml the setting for the OAI prefix were 
not changed (it is oai_dc).

We are working on DSpace 4.2 with XMLUI.

Thanks in advance for your help.

Best,
Jan


System output:

-

Destination collections:
Owning  Collection: Sonstige
http://oai.xx.de/dspace-oai/request
INFO: Dataloader will load data from the address specified in the 
command prompt (and not from the Spring XML configuration file)
INFO: Dataloader gr.ekt.bteio.loaders.OAIPMHDataLoader@4a11c066 will be 
used for the import!
Exception
java.lang.NullPointerException
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.oai2bte(OAIPMHDataLoader.java:179)
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.getRecords(OAIPMHDataLoader.java:111)
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.getRecords(OAIPMHDataLoader.java:141)
 at 
gr.ekt.bte.core.TransformationEngine.transform(TransformationEngine.java:87)
 at 
org.dspace.app.itemimport.ItemImport.addBTEItems(ItemImport.java:712)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:579)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
 at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
java.lang.NullPointerException
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.oai2bte(OAIPMHDataLoader.java:179)
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.getRecords(OAIPMHDataLoader.java:111)
 at 
gr.ekt.bteio.loaders.OAIPMHDataLoader.getRecords(OAIPMHDataLoader.java:141)
 at 
gr.ekt.bte.core.TransformationEngine.transform(TransformationEngine.java:87)
 at 
org.dspace.app.itemimport.ItemImport.addBTEItems(ItemImport.java:712)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:579)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
 at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

-

-- 
Jan Kenter
Digitale Dienste
Universitäts- und Landesbibliothek Bonn
Postfach 2460, D-53014 Bonn
Tel. 0228 / 73 9524
eMail:jan.ken...@ulb.uni-bonn.de
Internet:http://www.ulb.uni-bonn.de
Twitter:http://twitter.com/ulbbonn
Facebook:http://facebook.com/ulbbonn


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Split up input-forms.xml?

2015-03-13 Thread Hilton Gibson
Hi Alan

Glad to help. When you get it working can you put it into a PDF and post on
the list so that we can also learn.
Capture of metadata using the input forms is a very dear topic for the
librarians and information specialists!
So are the indexes by the way ;-))

Cheers

hg



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

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

On 13 March 2015 at 10:53, Alan Orth  wrote:

> Hey, Hilton and Claudia. That's great, so we can just use pure XML
> semantics to do this... good idea.
>
> Also, Bram Luyten pointed out to me that I could use hierarchical
> Discovery facets:
>
>
> https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-Hierarchical%28taxonomiesbased%29sidebarfacets
>
> Thanks for the advice, I'll play around and see what I can come up with.
>
> Cheers,
>
> Alan
>
> On Thu, Mar 12, 2015 at 5:18 PM, Claudia Jürgen <
> claudia.juer...@ub.tu-dortmund.de> wrote:
>
>> Hey Alan,
>>
>> we did split the input forms up into different forms - using quite a
>> variety and both in English and German, the form map etc.
>>
>> Here ist how you can do it
>> input-forms.xml
>> 
>> > 
>> 
>> ...
>> ]>
>>
>> 
>> ↦
>> 
>> &basic;
>> 
>> 
>> ...
>> 
>>
>> We are using 4.2.
>>
>> Hope this helps
>>
>> Claudia Jürgen
>>
>>
>> Am 12.03.2015 um 14:07 schrieb Alan Orth:
>> > Hey, all.
>> >
>> > Our institution has many groups collaborating on one DSpace repository
>> and
>> > we have many sets of metadata terms. In the beginning we thought it was
>> > clever to add them to input-forms.xml, but now this file is nearly 6,000
>> > lines, which is a pain to manage and causes problems when we rebase on
>> top
>> > of new upstream DSpace releases in git. :)
>> >
>> > I had a look at the "controlled vocabulary" functionality, which allows
>> you
>> > to break out terms to separate XML files, but this has the unfortunate
>> side
>> > effect of then storing the values as a hierarchy, for example,
>> > "Organization A::Subjects::Subject A", as opposed to just "Subject A".
>> This
>> > breaks basically everything that relies on metadata aggregation or
>> > searching (not to mention it is ugly).
>> >
>> > Is there some way to split up input-forms.xml? What are other DSpace
>> users
>> > at large institutions doing? For the record, we're using DSpace 4.3.
>> >
>> > Thanks,
>> >
>> > Alan
>> >
>> >
>> >
>> >
>> --
>> > Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> > by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> > things parallel software development, from weekly thought leadership
>> blogs to
>> > news, videos, case studies, tutorials and more. Take a look and join the
>> > conversation now. http://goparallel.sourceforge.net/
>> >
>> >
>> >
>> > ___
>> > DSpace-tech mailing list
>> > DSpace-tech@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> > List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>> >
>>
>>
>>
>> --
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> Alan Orth
> alan.o...@gmail.com
> https://alaninkenya.org
> https://mjanja.ch
> "In heaven all the interesting people are missing." -Friedrich Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
>
> --
> 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+Li

Re: [Dspace-tech] Split up input-forms.xml?

2015-03-13 Thread Alan Orth
Hey, Hilton and Claudia. That's great, so we can just use pure XML
semantics to do this... good idea.

Also, Bram Luyten pointed out to me that I could use hierarchical Discovery
facets:

https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-Hierarchical%28taxonomiesbased%29sidebarfacets

Thanks for the advice, I'll play around and see what I can come up with.

Cheers,

Alan

On Thu, Mar 12, 2015 at 5:18 PM, Claudia Jürgen <
claudia.juer...@ub.tu-dortmund.de> wrote:

> Hey Alan,
>
> we did split the input forms up into different forms - using quite a
> variety and both in English and German, the form map etc.
>
> Here ist how you can do it
> input-forms.xml
> 
>  
> 
> ...
> ]>
>
> 
> ↦
> 
> &basic;
> 
> 
> ...
> 
>
> We are using 4.2.
>
> Hope this helps
>
> Claudia Jürgen
>
>
> Am 12.03.2015 um 14:07 schrieb Alan Orth:
> > Hey, all.
> >
> > Our institution has many groups collaborating on one DSpace repository
> and
> > we have many sets of metadata terms. In the beginning we thought it was
> > clever to add them to input-forms.xml, but now this file is nearly 6,000
> > lines, which is a pain to manage and causes problems when we rebase on
> top
> > of new upstream DSpace releases in git. :)
> >
> > I had a look at the "controlled vocabulary" functionality, which allows
> you
> > to break out terms to separate XML files, but this has the unfortunate
> side
> > effect of then storing the values as a hierarchy, for example,
> > "Organization A::Subjects::Subject A", as opposed to just "Subject A".
> This
> > breaks basically everything that relies on metadata aggregation or
> > searching (not to mention it is ugly).
> >
> > Is there some way to split up input-forms.xml? What are other DSpace
> users
> > at large institutions doing? For the record, we're using DSpace 4.3.
> >
> > Thanks,
> >
> > Alan
> >
> >
> >
> >
> --
> > Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for all
> > things parallel software development, from weekly thought leadership
> blogs to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> >
> >
> >
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >
>
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Alan Orth
alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Bug or config issue?

2015-03-13 Thread Mikhail Titov
Hi, all!

I know this is an extremely old post. But I landed on it with Google. I
bumped into a similar problem with DSpace 6.x. Old browse index showing
up in spite of the fact it was deleted from the dspace.cfg .

What helped me was cleaning of Cocoon cache in Tomcat as described at
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache
. I just ditched entire folder with

sudo rm -rf /var/lib/tomcat7/work/Catalina/localhost/

. As a side effect I noticed that author name became visible instead of
generated uid as OP faced.

If you are facing similar problem, it might worth trying to purge Cocoon cache.

On Tue, Sep 13, 2011 at  6:42 PM, David Chandek-Stark 
 wrote:
> I see that I had missed some config options -- the idea is to create a
> separate browse index for the authority-verified names:
>
> webui.browse.index.6 =
> dukeAuthor:metadataAuthority:dc.contributor.author:authority
>
> I've got that working now, although for some reason the page is not
> finding the message keys in i18n/messages ...
>
>  key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.dukeAuthor">Br
> owsing {0} by Duke Author {1}
>key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.dukeAuthor">Br
> owsing {0} by Duke Author
>
>
> --David
>
>
> On 9/13/11 11:49 AM, "David Chandek-Stark" 
> wrote:
>
>>Thanks to an assist from the list, I have followed the trail down the
>>rabbit hole and discovered, I think, why the author browse pages for an
>>author having an authority key is not displaying properly.
>>
>>First, my setup is DSpace 1.7.1, XMLUI, Mirage theme.  I have configured
>>dc.contributor.author as authority-controlled (but not required) -- that
>>is working.  The config for the browse index is:
>>
>>webui.browse.index.2 = author:metadata:dc.contributor.author:text
>>
>>which is, I believe, the default config.
>>
>>Now, in the author browse index pages, names having authority keys are
>>linked to the URL:
>>
>>browse?authority=&type=author
>>
>>which goes to page having the title:
>>
>>Browsing by Author ""
>>
>>AFAICT what is *supposed* to happen is that the choice authority's
>>getLabel() method is supposed to be called so that the page title shows
>>the label, not the authority key.  It appears that this is not happening
>>b/c the BrowseIndex bound method isAuthorityIndex() returns true only when
>>the displayType equals "metadataAuthority".  I tried changing the index
>>config to:
>>
>>webui.browse.index.2 =
>>author:metadataAuthority:dc.contributor.author:text
>>
>>but to no effect.  What *does* work is to add a query parameter,
>>"display=metadataAuthority" to the URL!
>>
>>So the question is: Is this a bug, or am I missing something in the
>>config?
>>
>>Thanks,
>>David
>>
>>On 9/12/11 6:03 PM, "David Chandek-Stark" 
>>wrote:
>>
>>>After implementing authority control on dc.contributor.author I
>>>discovered that the browse link for an author having an authority key
>>>value generates a page with a title like:
>>>
>>>Browsing by Author "01234567"
>>>
>>>I assume this title is controlled by i18n/messages:
>>>
>key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.author">Brow
>>>s
>>>ing {0} by Author {1}
>>>
>>>I can't figure out where (or if) this is actually being used so I can
>>>look at how it might be changed (to display the author's name instead of
>>>a number that means nothing to the user).
>>>
>>>DSpace 1.7.1, XMLUI/Mirage theme.
>>>
>>>Thanks,
>>>David
>>>
>>>-
>>>-
>>>
>>>Doing More with Less: The Next Generation Virtual Desktop
>>>What are the key obstacles that have prevented many mid-market businesses
>>>from deploying virtual desktops?   How do next-generation virtual
>>>desktops
>>>provide companies an easier-to-deploy, easier-to-manage and more
>>>affordable
>>>virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>>>___
>>>DSpace-tech mailing list
>>>DSpace-tech@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>>--
>>
>>BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>>Learn about the latest advances in developing for the
>>BlackBerry® mobile platform with sessions, labs & more.
>>See new tools and technologies. Register for BlackBerry® DevCon today!
>>http://p.sf.net/sfu/rim-devcon-copy1
>>___
>>DSpace-tech mailing list
>>DSpace-tech@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> --
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the 
> BlackBerry® mobile platform with sessions, labs & more.
> See new tools and technologies. Re