Re: [Dspace-tech] moving to new machine.

2012-05-04 Thread helix84
Your steps look like exactly what I would do, so unless I'm forgetting
something, it's correct.

Try considering one more time if you can ask for an export of the
whole database + the assetstore, it's much easier and much faster to
restore this than to recreate the community/collection structure and
import the items. It's like glueing together fragments when you could
just ask for the whole vase.

Should you need it, here's DSpace database schema (never mind its
version, there have been only minor changes since):
https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

Since AFAIK there are no interface controls in the UIs to do it,
should you need to update community/subcommunity or
community/collection relationship, here's how you move collection with
internal ID 139 (his is not handle) to community 85:
UPDATE community2collection SET
id = '139',
community_id = '85',
collection_id = '139'
WHERE id = '139';

If you prefer to create the whole structure by hand, here's how:
INSERT INTO community2community (id, parent_comm_id,
child_comm_id) VALUES ((SELECT max(id)+1 FROM
community2community), '139', '85');

Remember that only top-level communities don't have a row in the
community2community table.

Here's how you get the internal resource ID from its handle:
SELECT * FROM handle WHERE handle LIKE '%/18574';

I think that should be enough to get you started. If you run into any
problems, just ask.

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] (no subject)

2012-05-04 Thread paras jain
where should item is stored in dspace directory structure in archieve
format after item-submission
--
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] Need help on modifying tag libraries

2012-05-04 Thread Masha Watts
Dear All,

Can anyone explain me the way of modifying DSpace tag libraries such as,

1. dspace:itemlist
2. dspace:item

I need to change the appearance. (Eg:- Styles, etc).

Thanks,
Masha.
--
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] XMLWorkflow problem with claimaction

2012-05-04 Thread van Hoek, Wilko
Hello again,

thanx to Helix84 for the ideas. I really checked all the config-files, it's 
definitely the same in test- and server-version (despite a difference due to 
the other drirectory path...). I even tried setting all user all permission to 
all dspace-realted folders. Nothing kept working. I even tried fresh installing 
with anew build. The only thing left is to start with a new clean 
vanilla-version and I really don't want to do that. Isn't there anybody who 
might have an idea why dspace is unable to retrieve the Service for claimaction 
or any other UserSelectionMethod 
Maybe some of the XMLWorkflow-Developers?!?

Von: van Hoek, Wilko [mailto:wilko.vanh...@gesis.org]
Gesendet: Mittwoch, 2. Mai 2012 11:36
An: dspace-tech@lists.sourceforge.net
Betreff: [Dspace-tech] XMLWorkflow problem with claimaction

Hello everyone,

I'm having a some problem with my configurable workflow in dspace (1.8.3). I 
configured it under my test-instance, which runs under windows 7, and ported it 
to our server running Ubuntu. The workflow works perfect in the test-instance. 
Testing it on the server I get a 
org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. 
The Exception is thrown by the Step.java but resides to a fault in the 
WorflowManager.java. I was able to narrow the problem down to the following 
point.
The first Step in my workflow involves the userSelectionMethod claimaction. The 
id can be extracted out of the workflow file but somehow the system is not able 
to instantiate the UserSelectionActionConfig:

UserSelectionActionConfig userSelection = 
createUserAssignmentActionConfig(userSelectionActionID);

After this line, userSelection is null and the setStep-Method in Step.java 
throws the nullpointerException:

java.lang.NullPointerException at 
org.dspace.xmlworkflow.state.Step.init(Step.java:51)
(line 51 in Step.java:  userSelectionMethod.setStep(this);)

I tried changing the userSelectionMethod to claimAction, noUserSelectionAction 
and autoassignAction, but I still ended up with the same behavior.
I have absolutely no idea why this is happening. I hope there is someone who 
can help me with this.
Thanks in advance,
Wilko

workflow.xml:

wf-config
workflow-map
name-map collection=default workflow=default/
/workflow-map

workflow start=finaleditstep id=default
roles
role id=editor name=editors scope=repository 
description=The people responsible for this step are able to edit the metadata 
of incoming submissions, and then accept or reject them./
/roles

step id=finaleditstep role=editor 
userSelectionMethod=claimaction
actions
action id=finaleditaction/
/actions
/step
/workflow
/wf-config

Stacktrace



Wilko van Hoek | A418 | tel. 526

--
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] XMLWorkflow problem with claimaction

2012-05-04 Thread Claudia Jürgen
Hello Wilko,

looking at your workflow.xml as you defined the scope as repository 
the corresponding group must be defined on repository level. Do you got 
a group named editors see page 243 of the current documentation 
section roles.


Hope that helps

Claudia Jürgen


Am 04.05.2012 15:19, schrieb van Hoek, Wilko:
 Hello again,

 thanx to Helix84 for the ideas. I really checked all the config-files, it's 
 definitely the same in test- and server-version (despite a difference due to 
 the other drirectory path...). I even tried setting all user all permission 
 to all dspace-realted folders. Nothing kept working. I even tried fresh 
 installing with anew build. The only thing left is to start with a new clean 
 vanilla-version and I really don't want to do that. Isn't there anybody who 
 might have an idea why dspace is unable to retrieve the Service for 
 claimaction or any other UserSelectionMethod 
 Maybe some of the XMLWorkflow-Developers?!?

 Von: van Hoek, Wilko [mailto:wilko.vanh...@gesis.org]
 Gesendet: Mittwoch, 2. Mai 2012 11:36
 An: dspace-tech@lists.sourceforge.net
 Betreff: [Dspace-tech] XMLWorkflow problem with claimaction

 Hello everyone,

 I'm having a some problem with my configurable workflow in dspace (1.8.3). I 
 configured it under my test-instance, which runs under windows 7, and ported 
 it to our server running Ubuntu. The workflow works perfect in the 
 test-instance. Testing it on the server I get a 
 org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. 
 The Exception is thrown by the Step.java but resides to a fault in the 
 WorflowManager.java. I was able to narrow the problem down to the following 
 point.
 The first Step in my workflow involves the userSelectionMethod claimaction. 
 The id can be extracted out of the workflow file but somehow the system is 
 not able to instantiate the UserSelectionActionConfig:

 UserSelectionActionConfig userSelection = 
 createUserAssignmentActionConfig(userSelectionActionID);

 After this line, userSelection is null and the setStep-Method in Step.java 
 throws the nullpointerException:

 java.lang.NullPointerException at 
 org.dspace.xmlworkflow.state.Step.init(Step.java:51)
 (line 51 in Step.java:  userSelectionMethod.setStep(this);)

 I tried changing the userSelectionMethod to claimAction, 
 noUserSelectionAction and autoassignAction, but I still ended up with the 
 same behavior.
 I have absolutely no idea why this is happening. I hope there is someone who 
 can help me with this.
 Thanks in advance,
 Wilko

 workflow.xml:

 wf-config
  workflow-map
  name-map collection=default workflow=default/
  /workflow-map

  workflow start=finaleditstep id=default
  roles
  role id=editor name=editors scope=repository 
 description=The people responsible for this step are able to edit the 
 metadata of incoming submissions, and then accept or reject them./
  /roles

  step id=finaleditstep role=editor 
 userSelectionMethod=claimaction
  actions
  action id=finaleditaction/
  /actions
  /step
  /workflow
 /wf-config

 Stacktrace


 
 Wilko van Hoek | A418 | tel. 526





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

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
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] Archive Item Store

2012-05-04 Thread Hardik Mishra
Hi Paras


Archived items are stored in bitstream format under your /dspace/assetstore 
directory.


Hardik Mishra
Software Developer (JAVA, JEE)





Message: 6
Date: Fri, 4 May 2012 14:24:39 +0530
From: paras jain rachit@gmail.com
Subject: [Dspace-tech] (no subject)
To: dspace-tech@lists.sourceforge.net
Message-ID:
CAPGXq1+QUx6c6tppHQ5tJraTtrbgd-4=aP=0nxkp4k6i_z_...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

--
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] http://projects.dspace.org/8/apidocs/ is asking for password

2012-05-04 Thread Sandoval, Álvaro
Hello DSpace community:

I haven't been able to access DSpace API documentation since yesterday 
afternoon, because the site is asking for user and password.
Should I have to register? Where?

Regards,

-- 
Álvaro Sandoval Pizarro

BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/


--
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] http://projects.dspace.org/8/apidocs/ is asking for password

2012-05-04 Thread Tim Donohue
Hi Álvaro,

It seems that someone (one of the Committers?) posted DSpace API Docs at 
a place that I was unaware of. I didn't realize that 
http://projects.dspace.org/8/apidocs/; page even existed.

That URL is no longer working as the 'projects.dspace.org' server itself 
has been decommissioned as of yesterday. That server was only formally 
being used for our old DSpace SVN repository, and we've now migrated 
DSpace development to GitHub.

I'll look into posting these public API docs somewhere more appropriate 
 sending out an updated URL (or setting up a redirect).

In the meantime, you can generate a local copy of the API docs by 
running the follow from your commandline in the [dspace-src] directory:

mvn javadoc:javadoc

Sorry for the inconvenience!

- Tim

On 5/4/2012 10:26 AM, Sandoval, Álvaro wrote:
 Hello DSpace community:

 I haven't been able to access DSpace API documentation since yesterday
 afternoon, because the site is asking for user and password.
 Should I have to register? Where?

 Regards,


--
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] Don't send mail

2012-05-04 Thread Shanthi Elumalai
please don't send mail
-- 
Friendly
*Arul Nidhi **Mrs P.Shanthi, *

*Vazhga Valamudan!!!
Vazhga Valamudan!!!
Vazhga Valamudan!!!*
--
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


Re: [Dspace-tech] http://projects.dspace.org/8/apidocs/ is asking for password

2012-05-04 Thread Tim Donohue
Hi Álvaro  All,

These Javadocs have now been moved to the demo.dspace.org server:
http://demo.dspace.org/javadocs/

DSpace 1.8 javadocs are at:
http://demo.dspace.org/javadocs/1.8/apidocs/

Please update your bookmarks.

- Tim

On 5/4/2012 10:52 AM, Tim Donohue wrote:
 Hi Álvaro,

 It seems that someone (one of the Committers?) posted DSpace API Docs at
 a place that I was unaware of. I didn't realize that
 http://projects.dspace.org/8/apidocs/; page even existed.

 That URL is no longer working as the 'projects.dspace.org' server itself
 has been decommissioned as of yesterday. That server was only formally
 being used for our old DSpace SVN repository, and we've now migrated
 DSpace development to GitHub.

 I'll look into posting these public API docs somewhere more appropriate
  sending out an updated URL (or setting up a redirect).

 In the meantime, you can generate a local copy of the API docs by
 running the follow from your commandline in the [dspace-src] directory:

 mvn javadoc:javadoc

 Sorry for the inconvenience!

 - Tim

 On 5/4/2012 10:26 AM, Sandoval, Álvaro wrote:
 Hello DSpace community:

 I haven't been able to access DSpace API documentation since yesterday
 afternoon, because the site is asking for user and password.
 Should I have to register? Where?

 Regards,


--
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] Adobe Flash files

2012-05-04 Thread Shixing Wen
I'd like to add some Adobe Flash files in DSpace to provide online
streaming but the format (swf) seems not supported. Even after I've added a
new format for Adobe SWF, it still shows that the format is unsupported.
Any advice?

Thanks,

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

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

--
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 1.8.2 -- solr index

2012-05-04 Thread Poulter, Dale
All,

We are upgrading to 1.8.2 and continue to get the error below when we run the 
./dspace update-discovery-index.  I have confirmed that the schema is correct 
in the solr/search/conf directory and that the other conf files seem to be 
current.  If I attempt to access the index from the server directly 
http://localhost:8080/solr/search/select?q=*.* ,  I get a 500 error.  Has 
anyone encountered this issue?




bash-3.00# ./dspace update-discovery-index
Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:376)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing 
query
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at 
org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:101)
at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:349)
... 6 more
Caused by: org.apache.solr.common.SolrException: Internal Server Error

Internal Server Error

request: http://localhost:8080/solr/search/select?q=search.resourcetype:2 AND 
search.resourceid:1wt=javabinversion=2
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
... 9 more

--Dale

---
Dale Poulter
Coordinator, Search and Core Services
Library Digital Services
Vanderbilt University
419 21st Avenue South, Room 812
Nashville, TN  37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu

--
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 1.8.2 -- solr index

2012-05-04 Thread helix84
Hi Dale,

try to look if this helps:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg16107.html

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] moving to new machine.

2012-05-04 Thread genetitus
Hey helix84,

Thanks for the great info.

When I delete items, collections, communities, it leaves entries behind in
the handle table. Is it ok to clean up the handle table and delete all
entries where the resource_id is null? 

Thanks,
Gene

--
View this message in context: 
http://dspace.2283337.n4.nabble.com/moving-to-new-machine-tp4606063p4609561.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

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