Re: [Dspace-tech] Nested Metadata

2015-07-29 Thread Mark Diggory
Peter,

Just some brief feedback, this sounds very much like a DCMI Encoding
Scheme. The goal of which is to express the structure and/or source of the
value of a DC metadata field without needing to create extensive nesting.

http://wiki.dublincore.org/index.php/Glossary/Encoding_Scheme

Cheers,
Mark


On Wed, Jul 29, 2015 at 4:06 PM, Peter Dietz  wrote:

> Hi All,
>
> Has anyone stored nested / rich metadata in DSpace?
>
> An example I'm thinking of is for storing richer amounts of metadata for
> an object. For example:
>
>- Author
>   - first-name: Peter
>   - last-name: Dietz
>   - name-as-it-appears: Peter Dietz
>   - institution: Longsight
>   - date-of-birth: ...
>   - ...
>- Author
>   - first-name: Sam
>   - last-name: Ottenhoff
>   - ...
>
> The Authority Control system of DSpace looks like it approaches this, but
> the documentation isn't clear, and I'm not sure if it requires that your
> data values reside in some Library of Congress registry.
>
> The hack-job I have in mind would be to serialize the information... to
> json... and then store that into a metadata field.
>
> So.
> schema.author.serialized = {first-name: "Peter", last-name: "Dietz",
> "name-as-it-appears" : "Peter Dietz", "institution": "Longsight", ... }
>
> However, I'm tempted to think that DSpace should either have the ability
> to plug into any registry (hopefully there are registries you can populate
> and maintain with your own local data), or to extend DSpace's metadata data
> model to support nested/rich data.
>
> Thoughts?
>
> 
> Peter Dietz
> Longsight
> www.longsight.com
> pe...@longsight.com
> p: 740-599-5005 x809
>
>
> --
>
> ___
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace, OJS and SWORD

2015-07-02 Thread Mark Diggory
Rose and Karl,

Just to followup here in the DSpace forum as well.

We have encountered this issue before. The problem is that OJS is not
setting the correct headers that are needed for the DSpace SWORD deposit.

Content-Disposition "filename=deposit.zip"
X-Packaging "http://purl.org/net/sword-types/METSDSpaceSIP";

We resolved this by hacking Apache HTTPD to add the missing headers into
request before its sent to SWORD.

   
   RequestHeader set Content-Disposition "filename=deposit.zip"
   RequestHeader set X-Packaging "
http://purl.org/net/sword-types/METSDSpaceSIP";
   RequestHeader set X-Verbose "true"
   

It would be great to pass this detail onto PKP to see if they can correct
the issue.

Cheers,
Mark

On Thu, Jul 2, 2015 at 3:00 PM, Fredrick, Rose L. <
rosefredr...@creighton.edu> wrote:

> Hello,
>
> We are having a problem exporting from OJS 2.4.4.1 into D-Space 3.2 xmlui
> using SWORDv1.
>
> After some trial and error we have managed to enable SWORD on both D-Space
> and OJS, but are having some problems with depositing from OJS into
> D-Space. When we try and export from OJS to deposit into D-Space we get a
> message that "The item(s) selected have been deposited." However, the item
> never appears in the selected D-Space collection. When we check the D-Space
> logs we get the following warning and error:
>
> Cannot find named plugin for interface=org.dspace.sword.SWORDIngester,
> name="null"
> org.purl.sword.base.SWORDErrorException: No ingester configured for this
> package type
>
> Calling [dspaceurl]/sword/servicedocument works properly and we are using
> the "Optional; Flexible" setting for the deposit point in the OJS SWORD
> plugin.
>
> We are looking to see if anyone else has had this problem and how they
> resolved it.
>
> Cross posted from PKP Support forum.
>
> Karl Wirth
> Digital Repository Librarian
> Creighton University
> Health Sciences Library
> (402) 280-5130
>

-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace 5 RC 3:

2014-12-26 Thread Mark Diggory
Mark and Alain,

A quick check, the line hasn't been altered since 2009

https://github.com/DSpace/DSpace/blame/master/dspace/bin/dspace

If your using git to get the release, check that your working with the
correct configuration for line ending translation.

https://help.github.com/articles/dealing-with-line-endings/#global-settings-for-line-endings

Regards,
Mark

On Wed, Dec 24, 2014 at 3:20 PM, Mark Ehle  wrote:

> Sounds like the file spent some time on a windows box and has screwed up
> line endings. Run dos2unix dspace and that ought to make it executable.
>
> Sent from my iPhone
>
> On Dec 24, 2014, at 11:02 AM, Alain Tschanz 
> wrote:
>
>  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
>
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-15 Thread Mark Diggory
Nada,

Looks reasonable, If you add the type facet/filter to your
defaultConfiguration, does it show after reindexing?

Regards,
Mark


On Mon, Dec 15, 2014 at 9:50 AM, Nada Abo-Eita  wrote:
>
> Hi Mark,
>
> Kindly find the attached file for discovery.xml
>
> Regarding (a) I tried to run the command using -f option but nothing
> changed, and (b) I checked that too.
>
>
>
>
>
> On Mon, Dec 15, 2014 at 8:37 PM, Mark Diggory  wrote:
>>
>> Hello Nada,
>>
>> Setting up different facets is part of Discovery. As pointed out earlier
>> in the thread, your original posting looks like your getting most of the
>> config correct. If you post your discovery.xml, we can take a look and
>> advise on where the error may lie.
>>
>> a.) note, in regards to (5) in your original email, you might also try: 
>> *./dspace
>> index-discovery -f*
>>
>> b.) also note, do your Items already have the metadata field dc.type
>> populated? The facet will not show  in navigation unless there is data.
>>
>> https://wiki.duraspace.org/display/DSDOC4x/Discovery
>>
>> Best,
>> Mark
>>
>>
>> On Mon, Dec 15, 2014 at 8:57 AM, Hilton Gibson 
>> wrote:
>>>
>>> Hi Nada
>>>
>>> I cannot help beyond providing the wiki page link. Sorry.
>>>
>>> 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 15 December 2014 at 18:00, Nada Abo Eita 
>>> wrote:
>>>>
>>>>
>>>> Thank you Hilton for your reply,  I added search.index.13=type:dc.type
>>>> to dspace.cfg, And do reindexing using index-discovery command, but nothing
>>>> worked
>>>> Any assist please?
>>>> It's very important to add TYPE as a facet in my dspace.
>>>>
>>>> Note that I'm using dspace version 4.2
>>>>
>>>>
>>>>
>>>> On 14 Dec,2014, at 9:47 PM, Hilton Gibson 
>>>> wrote:
>>>>
>>>> Yes, see:
>>>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes
>>>>
>>>> *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 14 December 2014 at 19:59, Nada Abo-Eita 
>>>> wrote:
>>>>>
>>>>>
>>>>> Do I need to add "search.index. = type:dc.type " to dspace.cfg ?
>>>>>
>>>>> On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita 
>>>>> wrote:
>>>>>>
>>>>>> Thank you all for your reply.
>>>>>>
>>>>>> I did exactly what you mentioned (add Advanced search message [ >>>>> key="xmlui.ArtifactBrowser.AdvancedSearch.type_type">Type
>>>>>> ], and then clear cache and restart tomcat ], But still no result.
>>>>>>
>>>>>> I check my dspace log, and I noticed that it seems dspace can't see
>>>>>> the messages I added:
>>>>>>
>>>>>> >>>>> key="xmlui.ArtifactBrowser.SimpleSearch.filter.type">Type
>>>>>> >>>>> key="xmlui.ArtifactBrowser.SimpleSearch.filter.type_filter">Type
>>>>>> >>>>> key="xmlui.ArtifactBrowser.AdvancedSearch.type_type">Type
>>>>>>
>>>>>> On the other hand, I checked this link http: //
>>>>>> wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
>>>>>> And just noticed that I forget to add this message :
>>>>>>
>>>>>> >>>>> key="xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*">Type
>>>>>>
>>>>>> Does someone know if missing this message cause the problem?
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Dec 10, 2014 at 2:2

Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-15 Thread Mark Diggory
d
>>>>> 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=164703151&iu=/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
>>>>>
>>>>
>
> --
> 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=164703151&iu=/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
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/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] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-15 Thread Mark Diggory
Nada,

Disregard that last request, yes it is present there already.

1.) Please confirm this file is consistent with what is in your deployment
[dspace.dir]/config/spring/api/discovery.xml file and make sure there are
no other copies of the file with an xml extension present in that folder.

2.) try commenting out the homepageConfiguration in your mapping and see if
the defaultConfiguration shows a type facet after rebuilding.

Mark

On Mon, Dec 15, 2014 at 10:06 AM, Nada Abo-Eita 
wrote:
>
> That's already done in the xml I sent
>
>   added to both search filter sidebar
> facets under defaultConfiguration.
>
> Is that what you mean?
>
>
> On Mon, Dec 15, 2014 at 9:02 PM, Mark Diggory  wrote:
>>
>> Nada,
>>
>> Looks reasonable, If you add the type facet/filter to your
>> defaultConfiguration, does it show after reindexing?
>>
>> Regards,
>> Mark
>>
>>
>> On Mon, Dec 15, 2014 at 9:50 AM, Nada Abo-Eita 
>> wrote:
>>>
>>> Hi Mark,
>>>
>>> Kindly find the attached file for discovery.xml
>>>
>>> Regarding (a) I tried to run the command using -f option but nothing
>>> changed, and (b) I checked that too.
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Dec 15, 2014 at 8:37 PM, Mark Diggory 
>>> wrote:
>>>>
>>>> Hello Nada,
>>>>
>>>> Setting up different facets is part of Discovery. As pointed out
>>>> earlier in the thread, your original posting looks like your getting most
>>>> of the config correct. If you post your discovery.xml, we can take a look
>>>> and advise on where the error may lie.
>>>>
>>>> a.) note, in regards to (5) in your original email, you might also try: 
>>>> *./dspace
>>>> index-discovery -f*
>>>>
>>>> b.) also note, do your Items already have the metadata field dc.type
>>>> populated? The facet will not show  in navigation unless there is data.
>>>>
>>>> https://wiki.duraspace.org/display/DSDOC4x/Discovery
>>>>
>>>> Best,
>>>> Mark
>>>>
>>>>
>>>> On Mon, Dec 15, 2014 at 8:57 AM, Hilton Gibson >>> > wrote:
>>>>>
>>>>> Hi Nada
>>>>>
>>>>> I cannot help beyond providing the wiki page link. Sorry.
>>>>>
>>>>> 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 15 December 2014 at 18:00, Nada Abo Eita 
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Thank you Hilton for your reply,  I added
>>>>>> search.index.13=type:dc.type to dspace.cfg, And do reindexing using
>>>>>> index-discovery command, but nothing worked
>>>>>> Any assist please?
>>>>>> It's very important to add TYPE as a facet in my dspace.
>>>>>>
>>>>>> Note that I'm using dspace version 4.2
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 14 Dec,2014, at 9:47 PM, Hilton Gibson 
>>>>>> wrote:
>>>>>>
>>>>>> Yes, see:
>>>>>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes
>>>>>>
>>>>>> *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 14 December 2014 at 19:59, Nada Abo-Eita 
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Do I need to add "search.index. = type:dc.type " to dspace.cfg
>>>>>>> ?
>>>>>>>
>>>>>&

Re: [Dspace-tech] Supported SWORD version

2014-12-08 Thread Mark Diggory
Hello Steven,

4.2 supports both versions of the protocol as separate web applications.

Regards,
Mark

On Monday, December 8, 2014, Stephen Abrams  wrote:

> We’re interested in building generic tools that can interact with a
> variety of repositories.  Can someone tell us which version of the SWORD
> protocol, 1.3 or 2.0, is supported in the current DSpace 4.2 release?
>
>
> Thanks,
>
>
> --sla
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/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] Inconsistent text_lang on metadatavalue fields

2014-12-03 Thread Mark Diggory
Peter and Terry,

On Wednesday, December 3, 2014, Peter Dietz  wrote:
>
> Also, I've attempted to clean up MetadataExport to CSV to not include as
> much junk, dc.date.submitted vs dc.date.submitted[], but I didn't tackle
> cleaning up the import, so have to close that PR.
> https://github.com/DSpace/DSpace/pull/674
>

That's a much needed improvement.


> And Kostas, would like ItemImport to not apply a default language, if your
> metadata doesn't specify.
> https://github.com/DSpace/DSpace/pull/772
>

I would agree, dates/ids need to not have a lang forced on them when one is
not set. Also, using the aystem default for other fields is also a
huge assumption that the value is in that actual language.

Regards,
Mark


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/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] Inconsistent text_lang on metadatavalue fields

2014-12-03 Thread Mark Diggory
Terry,

I've provided some insights via SO.

Regards,
Mark


On Wed, Dec 3, 2014 at 9:12 AM, Terry Brady 
wrote:

> I am still looking for insight on this question.  I have posted this
> question to Stack Overflow.
>
>
> https://stackoverflow.com/questions/27277594/dspace-how-does-text-lang-get-set-during-item-submission
>
> I appreciate any insight you can offer.
>
> Terry
>
> On Fri, Nov 21, 2014 at 7:31 PM, Terry Brady 
> wrote:
>
>> Over time, we have noticed that the text_lang column of the
>> metadatavalues table has become inconsistent.
>>
>> We have entries with each of the following values for data entered in
>> english.
>>
>>- en_US
>>- en
>>- blank
>>- null
>>
>> These inconsistencies become problematic when we perform batch metadata
>> edits.
>>
>> I am working on an effort to normalize these values.
>>
>> As a test, I created a new submission and populated a value into every
>> field on the item submission screen.  When the submission was completed, I
>> ended up with the following results.
>>
>>- Most entries had a lang of "en"
>>- dc.date.* entries had a null value
>>   - This applied to user-generated and system-generated dates
>>- most dc.identifer.uri entries had a null value
>>- dc.identifier.bibliographicCitation was set to "en"
>>- dc.relation.ispartofseries had a null value
>>   - dc.relation.uri was set to "en"
>>
>> Is there a property in one of the item submission workflows that controls
>> how the text_lang column is set?
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> https://www.library.georgetown.edu/lit/code
>> 425-298-5498
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498
>
>
> --
> 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=164703151&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/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] : Auto. item mapping!

2014-11-30 Thread Mark Diggory
Nada,

There could be a few different strategies to enforce this:

1.) Write a Consumer that would map the item to the other collection when
it is archived after workflow.
2.) Use Configurable Workflow and write a non-interactive step that would
map the item to the collection
3.) Write a CurationTask that would automatically map the Item to the
collection, associate it with a legacy workflow step for the collection.

In all three cases, you'll need create a class in java and write the code
to complete the mapping.

The basic code for mapping would look something like:

*Context context = ...;*
*int itemID = ...;*
*int collectionID = ...;*
*Collection toCollection = Collection.find(context,collectionID);*
*Item item = Item.find(context, itemID);*
*if (!Arrays.asList(item.getCollections()).contains(toCollection))*
*{*
*toCollection.addItem(item);*
*}*
*context.commit();*

Regards,
Mark


On Sun, Nov 30, 2014 at 3:36 AM, Nada Abo-Eita  wrote:

>
>
> Hi all,
>
> Is it possible to map items in DSpace automatically. What I mean, If a
> user submit item into collection A, can dspace map this item into another
> collection (B) automatically, without the need to do that manually?
>
> Regards,
> Nada Abo-Eita
>
>
>
>
> --
> 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=157005751&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/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] Experience using external handle and/or use cases

2014-11-14 Thread Mark Diggory
> ranges to each application.
> i.e. DSpaceA = 0-(1M-1), DSpaceB = 1M-(2M-1)
> I suppose another route, would be to just use a UUID, and not worry about
> colliding. And then, another thing that I think would be possible, but I
> would need clarification is: handle prefixes with dots. Such as 1234.1 or
> 1234.thesis or 1234.dspace1. Are you allowed to claim an additional prefix
> with a dot, or do you have to ($) register that with the handle authority?
>
> Another thing I was just thinking, that instead of allocating million
> record chunks to each application, what if you prefixed your suffix, with
> the application that will be doing the minting? i.e. 1234/thesis-678,
> 1234/thesis-679, or 1234/a-678, or 1234/dspace1-678
>
> Another trick that I've just seen, not related to how handles will resolve
> inside your institution, but it appears that the CNRI handle authority now
> has an API to look at resolutions:
> http://hdl.handle.net/api/handles/10827/16924
>
> {"responseCode":1,"handle":"10827/16924","values":[{"index":100,"type":"URL","data":{"format":"string","value":"http://dc.statelibrary.sc.gov/handle/10827/16924"},"permissions":"1010","ttl":100,"timestamp":"1970-01-01T00:01:40Z"}]}
>
>
> So yes, apologies if this was lots of questions, but I'm thinking that
> since handles have been in use for so long, that people might be needing
> additional tools to help keep these identifiers persistent.
>
>
> 
> Peter Dietz
> Longsight
> www.longsight.com
> pe...@longsight.com
> p: 740-599-5005 x809
>
>
> ------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/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] DSpace authorization policies

2014-11-11 Thread Mark Diggory
nvestigate the dozen or so users with permissions.
>>
>>
>>
>> Good luck! If you end up creating any interesting java code (such as a
>> query tool to look at all of this information), or just a series of SQL
>> queries it might be helpful to share back your eventual findings.
>>
>>
>> 
>> Peter Dietz
>> Longsight
>> www.longsight.com
>> pe...@longsight.com
>> p: 740-599-5005 x809
>>
>>
>>
>> On Mon, Nov 10, 2014 at 12:44 PM, Paul Go  wrote:
>>
>> Is there a way to export the entirety of the authorization policies so
>> that we can audit them in bulk rather than one by one?
>>
>>
>>
>>
>>
>> Paul Go
>>
>>
>> Systems Librarian /
>> Library Technology Manager /
>>
>> CS and ITM Liaison
>> Paul V. Galvin Library
>>
>> Illinois Institute of Technology
>> 35 West 33rd Street
>> Chicago, IL  60616
>> 312.567.7997
>> p...@iit.edu
>>
>>
>>
>> *Driving Innovation through Knowledge and Scholarship*
>>
>>
>>
>>
>> --
>>
>> ___
>> 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
>>
>>
>>
>>
>>
>
>
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/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] Bitstream list ordered by date

2014-10-07 Thread Mark Diggory
Hernan,

If ordering is of interest, that is certainly an acceptable solution.

Cheers,
Mark

On Tue, Oct 7, 2014 at 10:20 AM, Hernan Carvajal Briceño <
hernan.hcarva...@gmail.com> wrote:

> Hi all.
>
> First of all, thanks for your help and advice.
>
> As Mark said, it would be helpful, in some cases, know the creation/update
> data of a bitstream.
>
> In our case, the goal was to know the order in which the bitstreams were
> uploaded to the database.
> To know the exact date of creation was not an imperative. So we used the
> following SQL query:
>
> SELECT bitstream_id, name, size_bytes, source FROM bitstream ORDER BY
> bitstream_id ASC
>
>
>
>
> Saludos cordiales,
>
> Hernán Carvajal
> Director de Tecnología, Prodigio Consultores
> Oficina: 02-5549849 / Celular: 88370295
> www.prodigioconsultores.com
>
>
> 2014-10-01 3:54 GMT-03:00 Hilton Gibson :
>
> Hi Bender
>>
>> Perhaps this will help:
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/SQL_Tips
>>
>> 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 30 September 2014 23:33, Keir Vaughan-Taylor 
>> wrote:
>>
>>> If by bitstream you mean the actual data files e.g. "publication.pdf"
>>> You can just use the Unix command find on the assetstore
>>>
>>> find ./assetstore -type f |xargs ls -ls
>>>
>>> Although the asset store has the actual files and the date of creation
>>> the file name is an internal ID. Did you want filenames as well?
>>>
>>>
>>>
>>>
>>> On Tue, 2014-09-30 at 10:17 -0300, bender wrote:
>>> > Hi.
>>> >
>>> >
>>> > We need to obtain a list of all bitstreams ordered by the date the
>>> > were uploaded.
>>> >
>>> >
>>> > Is it possible? Can anyone help me with the query?
>>> >
>>> >
>>> > Thanks in advance
>>> >
>>> >
>>> > bender
>>> >
>>> >
>>> >
>>> >
>>> >
>>> --
>>> > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>>> > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
>>> Reports
>>> > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>>> > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>> >
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/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
>>>
>>>
>>>
>>>
>>> --
>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/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
>>>
>>
>>
>>
>> --
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sou

Re: [Dspace-tech] Bitstream list ordered by date

2014-09-30 Thread Mark Diggory
Bender and Keir,

The hope is that you have preserved the timestamps accurately on your
assetstore filesystem (if at all). A feature overlooked in the original
DSpace requirements was date created and updated (technical metadata) on
the bitstreams. If you can live with the Item dc.date.accessioned metadata
field as the timestamp for the upload of the bitstream, there would be a
way through database sql joins or a little JAVA to get bitstreams ordered
by the date the item was archived.

Regards,
Mark

On Tue, Sep 30, 2014 at 2:33 PM, Keir Vaughan-Taylor  wrote:

> If by bitstream you mean the actual data files e.g. "publication.pdf"
> You can just use the Unix command find on the assetstore
>
> find ./assetstore -type f |xargs ls -ls
>
> Although the asset store has the actual files and the date of creation
> the file name is an internal ID. Did you want filenames as well?
>
>
>
>
> On Tue, 2014-09-30 at 10:17 -0300, bender wrote:
> > Hi.
> >
> >
> > We need to obtain a list of all bitstreams ordered by the date the
> > were uploaded.
> >
> >
> > Is it possible? Can anyone help me with the query?
> >
> >
> > Thanks in advance
> >
> >
> > bender
> >
> >
> >
> >
> >
> --
> > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/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
>
>
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/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] Missing items in collection

2014-09-09 Thread Mark Diggory
Hello,

I am glad to hear that there was a resolvable solution to the issue. I am
curious if you ran your update with the following? "ant -Doverwrite=false"?
This would have lead to your solr configuration not getting properly
overwritten. The default when not doing this is to overwrite the
configuration.

https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/src/main/config/build.xml#L365
https://github.com/DSpace/DSpace/blob/master/dspace/src/main/config/build.xml#L365

Executing a build update with overwrite=false means you will need to
manually adjust your build and solr configuration.

Regards,
Mark

On Tue, Sep 9, 2014 at 8:26 AM, Hilton Gibson 
wrote:

> Hi Bill
>
> Can you submit a bug report?
> Or is it futile after the release?
> Will others have the same problem?
>
> 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 9 September 2014 17:06, Bill Tantzen  wrote:
>
>> SOLVED!!
>>
>> Aha!  Make sure to update solrconfig.xml to the version supplied by
>> DSpace v4.2.  There, the default param lowernames is commented out;  I
>> suspect the default value must be false.  I think (although I can't
>> find any documentation that says so specifically), that  lowernames
>> substitutes underscore for dot transforming search.uniqueid to
>> search_uniqueid -- thus generating the exception.  (The documentation
>> states as much for the example: Content-Type becomes content_type).
>>
>> At the very least, configure the ExtractingRequestHandler according to
>> the DS v4.2 solrconfig!
>>
>> Anyway, this took care of the problem for me!
>> Cheers,
>> Bill
>>
>> On Tue, Sep 9, 2014 at 2:52 AM, helix84  wrote:
>> > On Mon, Sep 8, 2014 at 10:35 PM, Bill Tantzen 
>> wrote:
>> >> This is an addition since v4.1, and again, I'm not sure what is
>> >> supposed to be accomplished here but it doesn't seem to be working
>> >> quite right.
>> >
>> > Not an explanation, just more context - that change in 4.2 [1] is a
>> > bug fix for [2]. You might try commenting there or filing a new issue
>> > (since it was already confirmed by 2 people).
>> >
>> > [1]
>> https://github.com/DSpace/DSpace/blame/dspace-4.2/dspace-api/src/main/java/org/dspace/discovery/SolrServiceImpl.java#L692
>> > [2] https://jira.duraspace.org/browse/DS-1958
>> >
>> >
>> > Regards,
>> > ~~helix84
>> >
>> > Compulsory reading: DSpace Mailing List Etiquette
>> > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce.
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/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] Fwd: Discovery + Restricted Content + IPAuthentication

2014-09-04 Thread Mark Diggory
Hey Peter,

I believe you are correct, the following method needs to have special
groups added into listing

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/SolrServiceResourceRestrictionPlugin.java#L61

I will note this is an error does not introduce any security flaw because
its only excluding results that the user IP should have been able to see.
The correction is to get the special groups off the Context and add them to
the query in the above method.

Cheers,
Mark


On Thu, Sep 4, 2014 at 1:30 PM, Kim Shepherd  wrote:

> Hi Peter, we use IPAUTH (in addition to Shibboleth special groups) so that
> our on-campus users can access restricted resources without logging in,
> too..
> I haven't noticed this particular issue -- Discovery has appeared to be
> working from what I've seen but I've mostly been testing access to the
> items/bitstreams themselves, so I'll take a look at our logs, too.
> From my quick testing so far it's looking like I can reproduce the issue
> you're talking about -- as an Anonymous user with only IPAUTH granting me
> an extra special group, I can access all the resources I need to, but
> Discovery is ignoring my special group and hiding recent submissions /
> search results from me.
>
> The assumption that (currentUser == null) always means "Anonymous only" is
> definitely an assumption that's going to break special groups like IPAUTH..
> so I think you're onto something there. Which classes are you looking at?
>
> Cheers
>
> Kim
>
> On 5 September 2014 07:04, Peter Dietz  wrote:
>
>> Hi All,
>>
>> I was wondering if anyone is using the IPAuthentication mechanism, where
>> you can have anonymous users who happen to be on a certain IP address range
>> (i.e. campus / regional campus), and should be able to view that restricted
>> content without having to log in.
>>
>> However, I'm having some issues, as I don't think that Discovery is
>> actually checking the current user (anonymous user that could have "special
>> groups"). I've noticed some difference in behavior when I'm visiting the
>> site as anonymous user (not logged in), and also while logged in as a user
>> who has no credentials (member of anonymous group though).
>> i.e. some of the authentication / context logic goes
>> if(currentUser != null) {...
>>
>> I've checked that Discovery has indexed the content correctly, which
>> appears to be correct. i.e. ?q=handle:123456789/3456
>> And that item has read:"g7"
>>
>> My config/modules/authentication-ip.cfg has something like:
>> (Production it is different values).
>>
>> ip.CAMPUS = 127.0.0.1
>>
>> And group CAMPUS, groupID: 7.
>>
>>
>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPMatcher @ ipIn:
>> 127.0.0.1
>>
>> 2014-09-04 14:50:17,145 DEBUG org.dspace.authenticate.IPAuthentication @
>> anonymous:session_id=23AB7F7C2C8DA06BE556148B855E1D01:authenticated:special_groups=7
>>
>> 2014-09-04 14:50:17,146 DEBUG org.dspace.app.xmlui.utils.ContextUtil @
>> Adding Special Group id=7
>>
>>
>> When Discovery makes the check, I appears to have discarded the special
>> group, and the query (I've added some debug)
>>
>> 2014-09-04 14:50:17,282 DEBUG
>> org.dspace.discovery.SolrServiceResourceRestrictionPlugin @ ResourceQuery:
>> read:(g0)
>>
>> Where g0 is anonymous group. It should have been "g0 OR g7".
>>
>>
>> So, if anyone has run across this issue, or would like to look into it,
>> please let me know.
>>
>> 
>> Peter Dietz
>> Longsight
>> www.longsight.com
>> pe...@longsight.com
>> p: 740-599-5005 x809
>>
>>
>> --
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> ___
>> 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
>>
>
>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] Embargo description in resource policy.

2014-07-29 Thread Mark Diggory
Hello David,

As I was active in design of these changes, I'll chime in here. There was
not a specific reason on limiting the size of this field. Making a change
here and in future dspace versions would be welcome. Feel free to open a
ticket.

Best Regards,
Mark


On Tue, Jul 29, 2014 at 12:39 PM, Robbins, Seth David  wrote:

>  Hi all,
>
> We’re on version 3.2 using the xmlui with a postgres database.
>
>
>
> We recently migrated from 5.2, and had done some work to alter our legacy
> custom embargo system to be more-or-less compatible with the newer
> policy-based embargo system (described in DS-108). We had some issues
> stemming from the fact that the description attribute in the resourcepolicy
> table is a varchar(100) while our legacy system stored the reason in an
> unlimited text field. While we rarely need more, limiting the reason to one
> hundred characters has caused some workflow issues for some of our users.
> Also, as it comes out of the box, the dspace master throws an uncaught
> PSQLException when a reason longer than 100 characters is entered during
> the submission access step (we’ve been avoiding the exception through form
> validation). We were considering logging a ticket to ask that the fields
> type be changed to ‘text’ or expanded to a wider varchar. As a preliminary
> to logging said ticket, I wanted to ask a few questions here:
>
>
>
> Does anyone know why the resourcepolicy.rpdescription field is limited to
> 100 characters?
>
> Are there any other bugs on the Jira that might be related to this?
>
> Thanks,
>
> Seth Robbins
>
>
> --
> 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=153845071&iu=/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
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
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=153845071&iu=/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] create xml & metadata

2012-10-23 Thread Mark Diggory
Priya,

This is also a good topic for the dryad community list, but I can also
repost my response to you here for continuity.

For Dryad, NESCent actually abandoned direct delivery of xml to Datacite in
favor of using the CDL EZID service, which also enabled pushing metadata to
Datacite through their service.  This is the implementation you see in
place in Dryad today:

https://github.com/datadryad/dryad-repo/blob/dryad-master/dspace/modules/doi/dspace-doi-api/src/main/java/org/dspace/doi/CDLDataCiteService.java

This uses the a DisseminationCrosswalk to generate the xml needed for
delivery to EZID

https://github.com/datadryad/dryad-repo/blob/dryad-master/dspace/modules/doi/dspace-doi-api/src/main/java/org/dspace/doi/CDLDataCiteService.java#L406

Regards,
Mark

On Tue, Oct 23, 2012 at 7:00 AM, Priya S  wrote:

> Hi,
>
> I would like to generate an XML file from the metadata.  I would need it
> as I have to manually upload the metadata.xml to datacite.
>
> Could anyone please tell me how to do it?
>
> I am using dryad version.
>
> Thanks in advance.
>
> Regards
> Priya
>
>
>
> --
> 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_sfd2d_oct
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <http://doodle.com/mdiggory>)
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
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_sfd2d_oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Connection error

2012-07-24 Thread Mark Diggory
Ben,

Are you trying to use the "cocoon://" prefix in those document calls?  This
should carry over the existing request with authentication/session details.

See for instance:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/common.xsl#L153

It might also be that a "Generator" for XML based bitstreams is needed
rather than using the Reader. The difference being the Generator would
parse into sax events for the pipeline rather than using Cocoons XSLT
document URL Handler as a default.

Mark




On Tue, Jul 24, 2012 at 9:29 AM, Benjamin Ryan <
benjamin.r...@manchester.ac.uk> wrote:

>  Mark (plus list),
>
>I have used the XSLT document() function from the XSLT
> stylesheets (to get the METS file and a bitstream file [the IMS CP
> imsmanifest.xml file]) in the theme and this seems to be causing the
> anonymous sessions to be created and then I hit the connection limit.
>
>I have tried adding username/password to the URL when
> calling the document() function but no change in behaviour. 
>
>I assume I am hitting some authentication/authorization
> stuff when accessing bitstreams in this way, if so I would like some ideas
> if it is possible to get a workaround for this as it looks like an easy way
> to customise the theme without having to resort to Java programming at the
> aspect level to get what I need in the DRI.
>
>I appreciate that this is a “hack” J
>
> ** **
>
> ** **
>
> Regards,
>
>Ben 
>
> ** **
>
> --
> Dr Ben Ryan
> Jorum Technical Coordinator (Services)
>
> 5.12 Roscoe Building
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL
> Tel: 0160 275 6039
> E-mail: 
> benjamin.r...@manchester.ac.uk<https://outlook.manchester.ac.uk/owa/redir.aspx?C=b28b5bdd1a91425abf8e32748c93f487&URL=mailto%3abenjamin.ryan%40manchester.ac.uk>
> ------
>
> ** **
>
> *From:* mdigg...@gmail.com [mailto:mdigg...@gmail.com] *On Behalf Of *Mark
> Diggory
> *Sent:* 24 July 2012 14:55
> *To:* Benjamin Ryan
> *Cc:* Dspace-Tech
> *Subject:* Re: [Dspace-tech] Connection error
>
> ** **
>
> Ben,
>
> ** **
>
> This is is being caused within the Discovery configuration.  Perhaps you
> might post it and we can take a look at the setting you've changed there.*
> ***
>
> ** **
>
> Best,
>
> Mark
>
> On Monday, July 23, 2012, Benjamin Ryan wrote:
>
> Hi,
>
>I have been doing some development with the XMLUI and
> everything seemed to be fine but now I am getting the following error in
> the Dspace log:
>
>  
>
> 2012-07-24 05:51:57,010 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=80A63E7D8AE793D764E99698F6674C50:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:51:57,808 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:51:58,131 INFO  org.dspace.content.MetadataField @ Loading
> MetadataField elements into cache.
>
> 2012-07-24 05:51:58,139 INFO  org.dspace.content.MetadataSchema @ Loading
> schema cache for fast finds
>
> 2012-07-24 05:51:58,225 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=6E289FB17265C95622CDF09577DEEAFF:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:51:58,258 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:51:58,389 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=ED8BBE68C518B8061DE5D8C94ADD8A5B:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:51:58,413 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:51:58,535 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=030C06D0CDFC16980D4AF72BC48EE2D5:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:51:58,557 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:51:58,677 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=C8BBD214A00D5F68FED21852362846AF:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-2

Re: [Dspace-tech] Connection error

2012-07-24 Thread Mark Diggory
dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:03,582 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=B0B0C13AC08FE1184EE7D85C41744724:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:03,617 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:03,717 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=3BA4A75808D281AFA9F83098FACF841E:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:03,732 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:03,848 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=206C98B38410F6F4966BE5F6A017BE0A:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:03,868 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:03,970 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=B7E8DEB5B2C54D07B8D4B6213ECC93A7:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:03,988 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:04,082 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=7C0EE204B7FF51B02AD47798F950A5F7:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:04,307 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:04,400 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=DF6C96B14D6906A73A8EB3BFF5136891:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:04,419 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:04,524 INFO
> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
> anonymous:session_id=FA056F7B89EC8C7953FBECE30F499672:ip_addr=127.0.0.1:
> view_community_list:
>
> 2012-07-24 05:52:04,548 INFO
> org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
> scope, null: 3
>
> 2012-07-24 05:52:04,667 INFO  org.dspace.app.xmlui.aspect.artifactbrowser.
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] question about a div and a class

2012-07-20 Thread Mark Diggory
Ben is correct,

if (showFullItem(objectModel))
{
Para showfullPara = parentDiv*.addPara("name",
"rendering-hint");*
String link = contextPath + "/handle/" + item.getHandle();
showfullPara.addXref(link).addContent(T_show_simple);

}
else
{
Para showfullPara = parentDiv*.addPara("name",
"some-other-rendering-hint");*
String link = contextPath + "/handle/" + item.getHandle()
+ "?show=full";
showfullPara.addXref(link).addContent(T_show_full);
}


On Fri, Jul 20, 2012 at 1:44 PM, Benjamin Ryan <
benjamin.r...@manchester.ac.uk> wrote:

> DRI does have a "rend" attribute for "p" elements that is " A rendering
> hint used to override the default display of the element" and this is used
> in CSS files to link a style to a class attribute.
>
> Hope this helps.
>
> Ben
>
> --
> Dr Ben Ryan
> Jorum Technical Coordinator (Services)
>
> 5.12 Roscoe Building
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL
> Tel: 0160 275 6039
> E-mail: benjamin.r...@manchester.ac.uk
> --
>
>
> -Original Message-
> From: helix84 [mailto:heli...@centrum.sk]
> Sent: 20 July 2012 20:24
> To: Jose Blanco
> Cc: Dspace-Tech
> Subject: Re: [Dspace-tech] question about a div and a class
>
> I'm not sure if it's possible from Java. Certainly it's not designed that
> way, DRI shouldn't have the concept of classes - it's not HTML.
> I'd just do that from XSL.
>
> If you really want to do that from Java, maybe I overlooked something, you
> can look at:
>
> http://grepcode.com/file/repo1.maven.org/maven2/org.dspace/dspace-xmlui-wing/1.7.1/org/dspace/app/xmlui/wing/element/Para.java
> and at sample code in
>
> dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/xmltest/
>
> 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
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] DOIs Integration with DSpace

2012-07-18 Thread Mark Diggory
Lighton,

These are all very strong points as well. I was being more specific to the
resolving technology for handles and DOI being the same foundation made by
CNRI. The points about DOI continuing to evolve more accurately reflect the
services for registration and management that are being layered on top of
the platform by the DOI stakeholders. Ultimately your choice of technology
is dependent on ease of use and tractability.  The trade offs with DOI
integration for DSpace just not getting into the next release will force
you to wiegh that which is currently achievable against that which will be
ideal once Identifier Services are released into DSpace.

Best,
Mark

On Sunday, July 15, 2012, Ryan Scherle wrote:

> Lighton,
>
> Here are a few more things to consider. First a few brief words about
> cost, and then my technology rant
>
> == About Cost  ==
>
> Yes, DOIs cost more than handles. The actual cost structure depends on
> which RA you choose, so it's hard to say how much it will cost you, but
> DOIs will definitely cost more. See EZID fees at
> http://n2t.net/ezid/home/pricing and CrossRef fees at
> http://www.crossref.org/02publishers/20pub_fees.html
>
> Mark mentioned several benefits that you receive for the cost of DOIs -- I
> agree with all of those. Essentially, DOIs and the metadata associated with
> the DOIs are visible/usable by a broader audience than Handles. There are
> many external services that read data from the DOI system. There are many
> tools that know how to use DOIs. New tools created in the future are likely
> to support DOIs. They are somewhat less likely to support Handles.
>
> Personally, I think you should consider the "cost" of starting out with
> Handles and then later switching to DOIs. Or vice versa. Once your
> identifiers are publicly available, you'll need to support them forever. It
> is better if you make the right decision up front. Otherwise, you may end
> up supporting both systems.
>
> == About Technology ==
>
> Here, I completely disagree with Mark. Yes, DOIs *are* technically
> superior to Handles. Although the core technologies were the same, the DOI
> system has evolved and is still getting better, while the Handle system has
> stayed nearly the same for many years. A few issues to consider:
>
> 1) In my experience, new users of DSpace always require a full day to
> register an Handle prefix and properly configure a Handle server -- hardly
> "out of the box". The process for registering a Handle server involves
> generating a binary file and sending this binary file to a human, who will
> then decode the binary file and configure the central Handle system. Why
> can't the DSpace administrator do this configuration directly with an
> online tool? Simply because the Handle system hasn't been updated in a very
> long time. Contrast this with DOIs: Assuming the DSpace code supports your
> RA, the only setup required will be editing a few fields in a configuration
> file.
>
> 2) The Handle system requires you to run a "Handle server" on your DSpace
> machine. The Handle server is a separate process, which is one more piece
> of technology to manage. It requires the sysadmin to open a separate port
> to the outside world. It requires maintenance like any other process:
> ensuring the process starts correctly when a machine is rebooted,
> monitoring the process to ensure it is working correctly, managing log
> files, etc. Although all of these are small issues, they add just a little
> more to the hidden cost of running the system. DOIs don't require an extra
> process running on your server; they can use the existing DSpace processes.
>
> 3) The Handle system only recognizes machines by IP address, not by DNS
> name. Our production server moved a few weeks ago, and a change of IP
> address was required. The DOIs continued to work correctly, because they
> followed the DNS name to the new machine. The Handles "broke", because I
> forgot to send the new IP address to CNRI. And due to the poor
> implementation discussed above, even though I "know" what I'm doing and I
> have good documentation, fixing this problem took about 2 hours.
>
> Some of these problems are documented by CNRI:
> http://www.handle.net/support.html
>
> I think many people in the DSpace community have come to accept the pain
> of the Handle technology as part of the "cost" of running a repository,
> which is sad.
>
> --- Ryan Scherle
> --- Data Repository Architect
> --- Dryad Digital Repository
>
> On Jul 15, 2012, at 8:32 PM, Mark Diggory wrote:
>
> Lighton,
>
> We are working on a contribution to DSpace 3.0 that includes functionality
> to assign external identifiers 

Re: [Dspace-tech] Search Options - Browse By, Advanced Search& Discovery Module

2012-07-15 Thread Mark Diggory
The spring discovery configuration is available here:

https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-ModifyingtheDiscoveryUserInterface%28config%2Fspring%2Fspringdspaceaddondiscoveryconfigurationservices.xml%29

Mark

On Sunday, July 15, 2012, Lighton Phiri wrote:

> Sorry I missed out the version... I am working with Dspace 1.8.2  and of
> course using Manakin.
>
> Lighton Phiri
> http://lightonphiri.org
>
> On 15 July 2012 21:39, Mark Diggory  'cvml', 'mdigg...@atmire.com');>
> > wrote:
>
>> Lighton,
>>
>> Which version are you working with.  The configuration resides in
>> dspace/config/spring/discovery for DSpace 1.8, but in
>> DSpace/config/modules/discovery.cfg in earlier versions.
>>
>> Mark
>>
>>
>> On Sunday, July 15, 2012, Lighton Phiri wrote:
>>
>>> I've been trying to find a section in the documentation that specifies
>>> how to control search result items for the default 'Browse By',
>>> 'Advanced Search'  and 'Discovery Module' features without any luck. I
>>> am particularly interested in the sort options for the pagination and
>>> item ordering.
>>> How do I go about controlling the default options below
>>>
>>> Browse By
>>> Order: ascending
>>> Results Pages: 20
>>>
>>> Advanced Search
>>> Order: ascending
>>> Results Pages: 10
>>>
>>> Discovery Module
>>> Order: descending
>>> Results Pages: 10
>>> Sort Items By:  Relevance
>>>
>>> Lighton Phiri
>>> http://lightonphiri.org
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>> --
>>  [image: @mire Inc.]
>> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
>> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>> http://www.atmire.com
>>
>>
>>
>

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Search Options - Browse By, Advanced Search& Discovery Module

2012-07-15 Thread Mark Diggory
Lighton,

Which version are you working with.  The configuration resides in
dspace/config/spring/discovery for DSpace 1.8, but in
DSpace/config/modules/discovery.cfg in earlier versions.

Mark

On Sunday, July 15, 2012, Lighton Phiri wrote:

> I've been trying to find a section in the documentation that specifies
> how to control search result items for the default 'Browse By',
> 'Advanced Search'  and 'Discovery Module' features without any luck. I
> am particularly interested in the sort options for the pagination and
> item ordering.
> How do I go about controlling the default options below
>
> Browse By
> Order: ascending
> Results Pages: 20
>
> Advanced Search
> Order: ascending
> Results Pages: 10
>
> Discovery Module
> Order: descending
> Results Pages: 10
> Sort Items By:  Relevance
>
> Lighton Phiri
> http://lightonphiri.org
>
>
> --
> 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
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


[Dspace-tech] DOIs Integration with DSpace

2012-07-15 Thread Mark Diggory
Lighton,

We are working on a contribution to DSpace 3.0 that includes functionality
to assign external identifiers such as DOI in DSpace.  This is based on
work at @mire did with NESCent on Dryad,  but also on some funded
contribution work that is also happening this summer with WHOI to improve
the contribution.  Our current situation with DOI integration is that you
will need to be registered with an RA.  For Dryad, that provider was
originally Datacite, but now is EZID. The API used in this situation is
novel and unstandardized, each situation we've encountered required custom
coding in DSpace, thus what is being contributed is specifically designed
to support customizable ID providers on the backend.

You will find that the Handle RA is significantly more cost effective than
any of the existing DOI RA, this is one of the original intents of using
the Handle platform for repositories, where costs are a significant
concern.  What you are getting with those additional DOI costs are
additional services being matketed by those various RA providers, 1.
someone else's guarantee for the resolution records in a centralized
registry rather than their resolution being dependent on internal calls
back to your DSpace server, 2. Metadata/citation registration, linked data
exposure, 3. Automatic indexing of your items into aggregated catologs, and
so on.  Unless you have a really critical need to integrate based on
policies or decisions that were made in your organization, I would wiegh
the overall cost benefits before getting yourselves vested in having to
maintain DOI on your repository items.  Consider that Handles are not only
the more cost effective route, they are supported "out of the box" on your
current DSpace release.

So there are important management questions independent of implementing DOI
that you will need to answer first. We don't necessarily perceive DOI as
being technically any better than Handles or other identifier systems at
this moment, just much more marketed by SaaS providers.  Thus our intent
for future DSpace PID support is that it be extensible and plural in
nature.  I would start with Handles given the low cost of entry, then
consider adding DOI after a longer "needs analysis" on what benefits DOI
will bring to your repository.

Mark



On Sunday, July 15, 2012, Lighton Phiri wrote:

> We are at a stage where we would like to integrate a DSpace instance
> with persistent identifiers and would want to make use of DOIs. I
> would like to find out if there is anyone who has had luck doing this,
> just so we know if going the Handle System route may be the only
> viable option.
>
> I should mention here that other than this relatively old forum post
> [1], I haven't found anything comprehensive on the wiki pages or
> online.
>
> [1] https://sourceforge.net/mailarchive/message.php?msg_id=28698555
>
> Lighton Phiri
> http://lightonphiri.org
>
>
> --
> 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
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] [Dspace-devel] DSpace REST API

2012-07-10 Thread Mark Diggory
ative 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:616)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.InvalidProjectModelException:
> Failed to validate POM for project org.dspace.modules:rest at
> /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
> at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
> at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
> at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
> at 
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
> ... 12 more
>
> which I fixed by adding 1.0 to
> /home/dspace/svn/DSpace/dspace/modules/rest/pom.xml
>
> 3) Then I get a build error like Gary described in dspace-tech, but
> [dspace-src]/dspace-rest/target/dspace-rest-1.8.1.war is present, so
> when I copy it manually to the webapps directory and set up a context
> for it, it works.
>
> 4) I see references to DSpace 1.8.1 during the build, but it works
> fine with 1.8.2 and HEAD.
>
> 5) When deploying as a module, location of dspace.cfg in
> src/main/webapp/WEB-INF/web.xml also has to be edited (otherwise it
> defaults to /deve/dspace/config.dspace.cfg), but this is not mentioned
> in the documentation
>
> 6) /rest/users.xml without authentication lists user information which
> could be considered sensitive.
>
> My environment:
>
> $ java -version
> java version "1.6.0_18"
> OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>
> $ mvn --version
> Apache Maven 2.2.1 (rdebian-4)
> Java version: 1.6.0_18
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-5-amd64" arch: "amd64" Family: "unix"
>
> --
> 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-devel mailing list
> dspace-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-devel



-- 

Mark Diggory (Schedule a Meeting)
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.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


Re: [Dspace-tech] DSpace REST API

2012-07-10 Thread Mark Diggory
Hayden,

Its excellent that your bringing this forward now. Can you itemize the
enhancements you've made over the original REST interface? Or
alternatively, it would be part of the contribution process to
complete the following:

For contribution, it would be ideal if you were to

1.) fork the original repository

https://github.com/DSpace/dspace-rest

2.) layer your changes on top of it in a working branch

and

3.) Provide a Pull Request back to the dspace rest repository master branch

Then we can discuss the new features in context of codebase directly.
Switch over to the dev list or JIRA issues if you want to advisement
during this process.

Best Regards,
Mark

On Tue, Jul 10, 2012 at 2:55 AM, Gary Browne  wrote:
>
> Hi Hayden,
>
> I'm keen to try this out, however I am unable to install it - should it run 
> ok on 1.8.2?
>
> On building (mvn package), I get the following error:
>
> [INFO] Unable to find resource 'org.dspace:dspace-rest:war:1.0' in repository 
> central (http://repo1.maven.org/maven2)
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.dspace:dspace-rest:war:1.0
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-rest 
> -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>   mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-rest 
> -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
>
>   Path to dependency:
> 1) org.dspace.modules:rest:war:1.8.1
> 2) org.dspace:dspace-rest:war:1.0
>
> --
> 1 required artifact is missing.
>
> for artifact:
>   org.dspace.modules:rest:war:1.8.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   sonatype-nexus-snapshots 
> (https://oss.sonatype.org/content/repositories/snapshots)
>
> I'm not clear on what I should do next, are you able to help please?
>
> Thanks a lot,
> Gary
>
> > -Original Message-
> > From: Hayden Young [mailto:haydenyo...@wijiti.com]
> > Sent: Tuesday, 10 July 2012 5:32 AM
> > To: dspace-tech@lists.sourceforge.net; DSpace Developer List
> > Subject: [Dspace-tech] DSpace REST API
> >
> > After several months of development, Wijiti is pleased to contribute this
> > reworked version of the REST API for DSpace 1.8.x.
> >
> > Details and documentation are available at https://jspace.atlassian.net/ and
> > all code is freely available via Github, the link of which is in the
> > documentation.
> >
> > Enjoy.
> >
> > --
> > Hayden Young
> > Managing Director
> > Wijiti Pty Ltd
> > p. +61 (0) 8 6398 5010
> > e. haydenyo...@wijiti.com
> > w. www.wijiti.com
> > vcard. www.wijiti.com/vcard/haydenyoung.vcf
> >
> > NOTICE
> > This e-mail and any attachments are intended for the addressee(s) only and
> > may be confidential. They may contain legally privileged or copyright
> > material. You should not read, copy, use or disclose them without
> > authorization. If you are not the intended recipient please contact the
> > sender as soon as possible by return e-mail and then please delete both
> > messages. This notice should not be removed.
> >
> >
> > --
> > 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
>
> --
> 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/501222

Re: [Dspace-tech] Building on Windows deploying to Linux

2012-07-03 Thread Mark Diggory
As long as it is a compatible JVM version, in theory, yes.

On Tue, Jul 3, 2012 at 1:40 PM, Benjamin Ryan <
benjamin.r...@manchester.ac.uk> wrote:

>  Hi,
>
>Is it possible to build DSpace on a Windows system and then
> deploy to a Linux system?
>
> ** **
>
> Regards,
>
>Ben
>
> ** **
>
> --
> Dr Ben Ryan
> Jorum Technical Coordinator (Services)
>
> 5.12 Roscoe Building
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL
> Tel: 0160 275 6039
> E-mail: 
> benjamin.r...@manchester.ac.uk<https://outlook.manchester.ac.uk/owa/redir.aspx?C=b28b5bdd1a91425abf8e32748c93f487&URL=mailto%3abenjamin.ryan%40manchester.ac.uk>
> --
>
> ** **
>
>
> --
> 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
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] epub

2012-06-20 Thread Mark Diggory
Alain,

Please excuse the shameless plug, but its relevant to the topic.  @mire's
Document Streaming module for DSpace is based on Scribd, which supports
page turning of many document and presentation formats, including epub.

http://atmire.com/website/?q=modules/ds

Cheers,
Mark
On Jun 20, 2012 6:51 PM, "Panyarak Ngamsritragul" 
wrote:

>
> Hi,
>
> For Firefox, ePub can be view if epubreader extension is installed.
> https://addons.mozilla.org/**firefox/downloads/latest/**
> 45281/addon-45281-latest.xpi?**src=dp-btn-primary
>
> Panyarak
>
> On Wed, 20 Jun 2012, helix84 wrote:
>
>  On Wed, Jun 20, 2012 at 4:45 PM, Alain Tschanz 
>> wrote:
>>
>>> 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.
>>>
>>
>> Hi Alain,
>>
>> DSpace currently doesn't "understand" the ePub format and cannot render
>> it.
>> However, with some work, it should be possible to implement an online
>> ePub renderer and integrate it into your DSpace.
>>
>> Example:
>>
>> http://www.magicscroll.net
>>
>> 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
>>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>
> --
> 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
>
>
--
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 in DSpace 1.8.x

2012-06-20 Thread Mark Diggory
Jason,

It looks like the docs didn't emphasize that enough,  I altered tehm to
imporve the importance of those settings.

Thanks,
Mark

On Wed, Jun 20, 2012 at 1:52 PM, Jason Stirnaman wrote:

>  So, turns out the one change I didn't make was to
> config/modules/workflow.cfg :)
>
> ... and then run the java migration.
>
>  Mark, thanks for the help.
>
>  Jason
>
>
> >>> On 6/20/2012 at 09:01 AM, in message <
> cama9da4jftww7tjenpns0sxsfebqkfjhjvukyacx9+mn6q+...@mail.gmail.com>, Mark
> Diggory  wrote:
>
>Jason,
>
>
>   The default configuration has steps and roles similar to the original
> workflow. The data migration scripting should migrate your existing roles
> to the new workflow tables, the UI will not look very different at first.
> Did you run the java portion of the migration?
>
>
>
> https://wiki.duraspace.org/display/DSDOC18/Configurable+Workflow#ConfigurableWorkflow-DataMigration%28Backwardscompatibility%29
>
>
>   To further test if your have it properly configured:
>
>
>   1. you might post the contents of the cws_ database tables so we can
> review the state if the migration.
>
> 2. Try enabling one of the custom steps that are provided in a test
> collection and see if you can set roles on it in the administrative
> interface.
>
>
>   Mark
>
> On Tuesday, June 19, 2012, Jason Stirnaman wrote:
>
>>  After thinking I had fully made the switch to XMLWorkflow after
>> upgrading to 1.8, I discovered that I hadn't made all the necessary config
>> changes. Now, after updating to 1.8.2 and making the changes (see below), I
>> no longer see any artifacts of OriginalWorkflow on the "Submissions"
>> screen, but I still don't think the assignment of roles is working
>> properly. I'm not entirely sure what it's supposed to look like in the UI,
>> but I'm not seeing the features for assigning roles that I've seen in
>> screenshots and videos out on the web. If I "Edit Collection", the options
>> under the "Assign Roles" tab haven't changed at all from the
>> OriginalWorkflow. I don't see options anywhere for assigning users to Roles
>> defined in xmlworkflow config.
>>
>> Here's a short screencast of me clicking through the Admin UI: *
>> http://screencast.com/t/CrD0Gz2LIWq1*
>>
>> What should I be checking for?
>>
>>
>>  I'm using the Mirage theme. I've upgraded my test site to 1.8.2, run
>> the db migrations for workflow, disabled OriginalWorkflow, enabled
>> XMLWorfklow in xmlui.xconf. I checked the xmlworkflow configuration to make
>> sure there are some workflows and roles in there, but I didn't make any
>> changes there.
>>
>>
>>  Thanks,
>>
>> Jason
>>
>>
>> Jason Stirnaman
>> Biomedical Librarian, Digital Projects
>> A.R. Dykes Library, University of Kansas Medical Center
>> jstirna...@kumc.edu
>> 913-588-7319
>>
>>
>>
>>
>
> --
>
> [image: @mire Inc.]
>
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] XMLWorkflow in DSpace 1.8.x

2012-06-20 Thread Mark Diggory
Jason,

The default configuration has steps and roles similar to the original
workflow.  The data migration scripting should migrate your existing roles
to the new workflow tables, the UI will not look very different at first.
Did you run the java portion of the migration?

https://wiki.duraspace.org/display/DSDOC18/Configurable+Workflow#ConfigurableWorkflow-DataMigration%28Backwardscompatibility%29

To further test if your have it properly configured:

1. you might post the contents of the cws_ database tables so we can review
the state if the migration.
2. Try enabling one of the custom steps that are provided in a test
collection and see if you can set roles on it in the administrative
interface.

Mark

On Tuesday, June 19, 2012, Jason Stirnaman wrote:

>  After thinking I had fully made the switch to XMLWorkflow after
> upgrading to 1.8, I discovered that I hadn't made all the necessary config
> changes. Now, after updating to 1.8.2 and making the changes (see below), I
> no longer see any artifacts of OriginalWorkflow on the "Submissions"
> screen, but I still don't think the assignment of roles is working
> properly. I'm not entirely sure what it's supposed to look like in the UI,
> but I'm not seeing the features for assigning roles that I've seen in
> screenshots and videos out on the web. If I "Edit Collection", the options
> under the "Assign Roles" tab haven't changed at all from the
> OriginalWorkflow. I don't see options anywhere for assigning users to Roles
> defined in xmlworkflow config.
>
> Here's a short screencast of me clicking through the Admin UI: *
> http://screencast.com/t/CrD0Gz2LIWq1*
>
> What should I be checking for?
>
>  I'm using the Mirage theme. I've upgraded my test site to 1.8.2, run the
> db migrations for workflow, disabled OriginalWorkflow, enabled XMLWorfklow
> in xmlui.xconf. I checked the xmlworkflow configuration to make sure there
> are some workflows and roles in there, but I didn't make any changes there.
>
>  Thanks,
>
> Jason
>
> Jason Stirnaman
> Biomedical Librarian, Digital Projects
> A.R. Dykes Library, University of Kansas Medical Center
> jstirna...@kumc.edu 
> 913-588-7319
>
>
>
>

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Using Maven Overlays to customize Submission Process

2012-06-12 Thread Mark Diggory
On Tue, Jun 12, 2012 at 6:38 AM, helix84  wrote:

> On Tue, Jun 12, 2012 at 3:19 PM, César Sabater 
> wrote:
> > I was trying to create a new item-submission step but a concern came to
> me
> > about were should I place the API processing class of the step. Since
> > there's no folder inside [ds-src]/dspace/modules that corresponds to
> > dspace-api changes. Should I create a class in
> > [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile
> > dspace entirely?
>
> I think it should go to [dspace-src]/dspace/modules/additions/ but
> don't take my word for it, you'll have to try it.
>

This will be the new place to put such classes for dspace 3.0

for code that should be associated with dspace-api (submission step)
https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java

for code that should be associated with the dspace-xmlui (view) you'll need
to add the /java directory on the end
https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java

for code that should be associated with the dspace-jspui (view) you'll need
to add the /java directory on the end
https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src

Cheers,
Mark
-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Blog/Comments in Dspace

2012-06-07 Thread Mark Diggory
Cool, Looks pretty easy...

http://docs.disqus.com/developers/universal/

Mark

On Thu, Jun 7, 2012 at 11:10 PM, revskill  wrote:

> You can use Disqus system for commenting.
>
> 2012/6/8 thimmappa naik 
>
>> Hi,
>>
>> I have implemented & worked on DSpace from the last three years, i have
>> compared many IR on DSpace. At present many IR's are developed Comment
>> Options and RSS. At my present company, we need to Blog on Hosted documents
>> at IR ( its R&D center) where we want to host all our records. I know some
>> bulletin board softwares, but if DSpace has an option, its better or Can we
>> combine those Blog/BB software's with Space, Lets discuss.
>>
>> regards
>> Thimmappa
>>
>> On Thu, Jun 7, 2012 at 9:29 PM, Hardik Mishra wrote:
>>
>>>  Hi   Thimmappa
>>>
>>>  This is HardikMishra. I am writing this with reference to your queries
>>> regarding Blog/Comments in Dspace.
>>>
>>>  Dspace doesn't have such functionality out-of -the-box.
>>>
>>>  However, Dspace is very customizable and can be extended to create
>>> such feature.
>>>
>>> We can discuss if  its of your interest.
>>>
>>> Awaiting your reply
>>>
>>> *Hardik Mishra*
>>> *Linked In*: in.*linkedin*.com/in/*hardikmishra*
>>>
>>>
>>>  Message: 6
>>> Date: Wed, 6 Jun 2012 15:30:33 +0530
>>> From: thimmappa naik 
>>> Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 74, Issue 11
>>> To: dspace-tech@lists.sourceforge.net
>>> Message-ID:
>>>  
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>>  Dear All,
>>>
>>>  We are planning to Install Current release of DSpace windows version
>>> soon.
>>> We want to know, is there any options to create Blog/Comment pages in
>>> DSpace?... Please guide us.
>>>
>>>  regards
>>> Thimmappa
>>> Librarian, PRDC Bangalore
>>>
>>
>>
>>
>> --
>>
>> ಪ್ರೀತಿ ಒಂದು ಉಡುಗೊರೆ. ಅದು ಎಲ್ಲಿ೦ದಲೂ, ಯಾರಿ೦ದಲೂ ಬೆಲೆ ಕೊಟ್ಟು ಖರೀದಿಸಲಾಗದು.
>> Thimmappa N
>> softey...@gmail.com/thimmapp...@yahoo.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
>>
>>
>
>
> --
> TRUONG HOANG DUNG*
> **Librarian Researcher
> **Information and Library Centre
> Mobile: 0121.411.5322
> Email: dun...@hpu.edu.vn*
> *Hai Phong Private University* <http://lib.hpu.vn>
>
>
> --
> 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
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Blog/Comments in Dspace

2012-06-07 Thread Mark Diggory
Thimmappa,

With XMLUI Aspects and REST API combined with Atom feeds, it should not be
difficult to associate a Blog with specific Items based either on a
precalculated slug and provide simple forms for leaving comments.

https://developers.google.com/blogger/docs/2.0/developers_guide_protocol

However, even easier, if someone has a JSON/Javascript based include into a
page that would generate a comments section and form... it could call out
to a backing blog fairly easily just from the theming level of xmlui.

http://www.linktohow.com/2011/10/how-to-simple-embed-code-to-add.html

For instance the following, however, I'm not too impressed with having a
fairly unknown 3rd party as a storage point for comments associated with a
repository.

A more archival approach might store the comments in Atom format in a
bitstream associated with the Item, update and render accordingly.

Mark

On Thu, Jun 7, 2012 at 9:21 PM, thimmappa naik  wrote:

> Hi,
>
> I have implemented & worked on DSpace from the last three years, i have
> compared many IR on DSpace. At present many IR's are developed Comment
> Options and RSS. At my present company, we need to Blog on Hosted documents
> at IR ( its R&D center) where we want to host all our records. I know some
> bulletin board softwares, but if DSpace has an option, its better or Can we
> combine those Blog/BB software's with Space, Lets discuss.
>
> regards
> Thimmappa
>
> On Thu, Jun 7, 2012 at 9:29 PM, Hardik Mishra wrote:
>
>>  Hi   Thimmappa
>>
>>  This is HardikMishra. I am writing this with reference to your queries
>> regarding Blog/Comments in Dspace.
>>
>>  Dspace doesn't have such functionality out-of -the-box.
>>
>>  However, Dspace is very customizable and can be extended to create such
>> feature.
>>
>> We can discuss if  its of your interest.
>>
>> Awaiting your reply
>>
>> *Hardik Mishra*
>> *Linked In*: in.*linkedin*.com/in/*hardikmishra*
>>
>>
>>  Message: 6
>> Date: Wed, 6 Jun 2012 15:30:33 +0530
>> From: thimmappa naik 
>> Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 74, Issue 11
>> To: dspace-tech@lists.sourceforge.net
>> Message-ID:
>>  
>> Content-Type: text/plain; charset="utf-8"
>>
>>  Dear All,
>>
>>  We are planning to Install Current release of DSpace windows version
>> soon.
>> We want to know, is there any options to create Blog/Comment pages in
>> DSpace?... Please guide us.
>>
>>  regards
>> Thimmappa
>> Librarian, PRDC Bangalore
>>
>
>
>
> --
>
> ಪ್ರೀತಿ ಒಂದು ಉಡುಗೊರೆ. ಅದು ಎಲ್ಲಿ೦ದಲೂ, ಯಾರಿ೦ದಲೂ ಬೆಲೆ ಕೊಟ್ಟು ಖರೀದಿಸಲಾಗದು.
> Thimmappa N
> softey...@gmail.com/thimmapp...@yahoo.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
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-07 Thread Mark Diggory
It's more the code in general, cocoon puts the files in an upload
directory, the code above determines if that already happened and if not
(ie in the JSPUI) then it creates the files.

Best,
Mark

On Tuesday, June 5, 2012, César Sabater wrote:

> Thanks Mark,
>
> I wasn't so confident about that line becouse earlier on that file there
> are some comments about cocoon handling the uploaded files independently.
>
> Cheers,
> César
>
>
>
>
> 2012/5/31 Mark Diggory 
>
>> César,
>>
>> you are on track, the first file you mention has the logic within it to
>> process the uploaded file and attach it to the Item as a Bitstream.
>>
>> Look specifically around the following line
>>
>> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/submit/step/UploadStep.java#L500
>>
>> Best,
>> Mark
>>
>> On Thu, May 31, 2012 at 2:03 PM, César Sabater wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to customize the submission steps of the standard item
>>> submission in DSpace 1.8 . The customization consists on reordering the
>>> steps such that the bitstream upload step appears before the describe step,
>>> modifying the upload step to gather some information of the uploaded
>>> bitstreams, such as keywords (using some keyword extractor for known
>>> formats), abstract, etc., and then use this information to complete/suggest
>>> values for the description of the item in the describe step. The
>>> customization will be done mainly for XMLUI and JSPUI.
>>>
>>> I've been looking the Java code that implements the Upload Step
>>> (org.dspace.submit.step.UploadStep) and the XMLUI binding for that step
>>> (org.dspace.app.xmlui.aspect.submission.submit.UploadStep) and It wasn't so
>>> clear for me step when (or where) can I access the uploaded bitstream so I
>>> can wire there some java classes to process the bitstreams and extract
>>> useful information for the describe step.
>>>
>>> I'm asking if there are learning resources that can be useful, specially
>>> for the XMLUI binding and JSPUI binding so I can speed up my learning for
>>> those topics. Also if someone has done something like this before, would be
>>> good to hear some approaches.
>>>
>>> Thanks!
>>>
>>>
>>> --
>>> 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-devel mailing list
>>> dspace-de...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>>>
>>>
>>
>>
>> --
>>  [image: @mire Inc.]
>> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
>> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>> http://www.atmire.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


Re: [Dspace-tech] bitstream access rights in DRI?

2012-06-06 Thread Mark Diggory
On Wed, Jun 6, 2012 at 11:19 AM, Tim Donohue  wrote:

>
>
> On 6/6/2012 12:36 PM, Mark Diggory wrote:
>
>> Personally, I never thought it good to expose the DRI or METS used in
>> rendering the ui publically outside the ui. It...
>> A) forces us to worry about questions like securing access to the
>> content used in rendering decisions that should not be shared with the
>> world.
>>
>> B) conflates the content generation phase of the UI as a Public API...
>> Which it really shouldn't be. We do not guarantee any of these exposed
>> renderings as an API.
>> Generally, it's rather insecure to expose the write permissions on
>> resources, your going to be telling any attackers the names of accounts
>> or groups of accounts to try to hack depending on those policies.  Since
>> they have access to the code, they can work to find a vulnerability.
>>  There's being open, then there's being foolhardy.
>>
>
> Admittedly though, it goes both ways.
>
> Not exposing this information in DRI/METS via the UI makes it more complex
> to develop complex Themes in XSLT. So, it is an extremely powerful tool for
> developers as they work to build new cool themes.
>

I agree, we need to be able to render the detail, at this time we are using
our own transformers to get the rights rendered in the administrative UI. A
general strategy for use in the Item or other views will be necessary to
present that the Item or Bitstream is embargoed to the enduser.


> However, I do agree that once you go into "Production" mode, there should
> be some way to turn this off publicly if you want to (e.g. limit DRI/METS
> access to localhost / certain trusted IPs).

It may not always be desirable for the general public to be able to play
> around with any of your enabled DSpace Crosswalks to see what they can find.
>
> - Tim
>

This is different from what we are discussing above, for XSLT rendering,
the application should always be able to interrogate the permissions to
control access to content being transformed to html.  Its exposing
it publicly to the browser without rendering that is detrimental.

I recommend a dspace.cfg setting to enable a "debug" or "development" mode
and either a Cocoon selector or matcher that will properly secure the DRI
and /metadata/... pipelines from public view.  We will also need to discuss
mediating any ability to expose this detail via OAI, SWORD, LNI. But I
think the XMLUI is the only place you can selectively call what crosswalks
should be rendered inside the METS output.

Mark

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] bitstream access rights in DRI?

2012-06-06 Thread Mark Diggory
On Wednesday, June 6, 2012, Mark Diggory wrote:

>
>
> On Wednesday, June 6, 2012, helix84 wrote:
>
>
>> On Wed, Jun 6, 2012 at 5:31 PM, Mark Diggory  wrote:
>> > Now, the only important thing is that we want to be careful about
>> exposing
>> > policies that probably should not be known to the world in
>> > OAI, Public Exports and DRI for unauthenticated users.  Here we go, now
>> we
>> > have a good example of the need for Expressing "Access Controls" on
>> > "Metadata Sections" in the metadata for all dialog.
>
>
>
>> Hmm, so there would be effectively "permission on access to list of
>> permissions"? What would be the use case for hiding access to access
>> policies?
>
>
> Personally, I never thought it good to expose the DRI or METS used in
> rendering the ui publically outside the ui. It...
>
> A) forces us to worry about questions like securing access to the content
> used in rendering decisions that should not be shared with the world.
>
> B) conflates the content generation phase of the UI as a Public API...
> Which it really shouldn't be. We do not guarantee any of these exposed
> renderings as an API.
>
> Generally, it's rather insecure to expose the write permissions on
> resources, your going to be telling any attackers the names of accounts or
> groups of accounts to try to hack depending on those policies.  Since they
> have access to the code, they can work to find a vulnerability.  There's
> being open, then there's being foolhardy.
>

If we do not put resource policies on resource policies, then the
permissions need to be hardcoded into the app ( like we have for admin and
collection managers ) access administrative options and interfaces. The
later is probibly easier than the former.

Also... We might consider that with METS, theres the possibility that the
rights description can reside external of the METS document itself in a
separate request, it's this request that can be access controlled and/or
filtered based on user rights at the XMLUI generation phase, the relative
path to this generator can be traversed in the same manner that the METS
representation is gotten out of the DRI "Resource" URI using a document()
call in xslt.Meaning we don't shoehorn all this into ItemAdapter, but
instead create separate pipelines for rendering different parts of the METS
object model to XML for use in transformations.

Mark



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] bitstream access rights in DRI?

2012-06-06 Thread Mark Diggory
On Wednesday, June 6, 2012, helix84 wrote:


> On Wed, Jun 6, 2012 at 5:31 PM, Mark Diggory 
> >
> wrote:
> > Now, the only important thing is that we want to be careful about
> exposing
> > policies that probably should not be known to the world in
> > OAI, Public Exports and DRI for unauthenticated users.  Here we go, now
> we
> > have a good example of the need for Expressing "Access Controls" on
> > "Metadata Sections" in the metadata for all dialog.



> Hmm, so there would be effectively "permission on access to list of
> permissions"? What would be the use case for hiding access to access
> policies?


Personally, I never thought it good to expose the DRI or METS used in
rendering the ui publically outside the ui. It...

A) forces us to worry about questions like securing access to the content
used in rendering decisions that should not be shared with the world.

B) conflates the content generation phase of the UI as a Public API...
Which it really shouldn't be. We do not guarantee any of these exposed
renderings as an API.

Generally, it's rather insecure to expose the write permissions on
resources, your going to be telling any attackers the names of accounts or
groups of accounts to try to hack depending on those policies.  Since they
have access to the code, they can work to find a vulnerability.  There's
being open, then there's being foolhardy.


> As Tim found out, these policies are currently publicly accessible
> (although nobody knew about it).


We should be careful about this, note, the crosswalk was designed for the
internal AIP backup, not for public exposure.  This is another example of
the limitations  of shoveling everything through an static Manager god
object that is configured by default for every use case,  rather than
organizing separately configured, separately instantiated and separately
callable OO services that may be tuned for specific use cases within the
application.

Mark


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] bitstream access rights in DRI?

2012-06-06 Thread Mark Diggory
This all sounds like good feedback for the Advanced Embargo Support
project.  Exposing the Embargo Policies in this manner was already ar
requirements there.
We already had a dialog in the community about how to encode such
ResourcePolicies in DSpace METS AIP rights sections. This should apply for
other rights as well.

Now, the only important thing is that we want to be careful about exposing
policies that probably should not be known to the world in
OAI, Public Exports and DRI for unauthenticated users.  Here we go, now we
have a good example of the need for Expressing "Access Controls" on
"Metadata Sections" in the metadata for all dialog.

Mark

On Wed, Jun 6, 2012 at 8:07 AM, Tim Donohue  wrote:

> Hi helix84,
>
> I'd be in support of a patch that actually enabled things like a "lock
> icon" in the UI next to items/bitstreams which require a login or
> special access rights. That seems like something that should obviously
> be part of DSpace out-of-the-box, but unfortunately it isn't yet.
>
> So, yea, I think this sounds like a good addition to DSpace. I'd
> encourage you to submit a Jira ticket & pull request so that we can get
> the discussion started & see if it could be part of 3.0 in the Fall.
>
> - Tim
>
>
> On 6/6/2012 10:00 AM, helix84 wrote:
> > Thanks a lot Tim, I looked at the XML and it has all the information I
> need.
> >
> > I was thinking of modifying XMLUI themes to include the information
> > about bitstream availability right in the bitstream list - so that you
> > won't have to try to access the bitstream before you find out you
> > don't have the privilege. Do you think such patch would be accepted to
> > DSpace? IOW, can I rely on that this functionality will not disappear?
> >
> > 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] advice on breaking contents of one dspace installation into two

2012-06-04 Thread Mark Diggory
Hi Sandy,

I'll respond inline on some of your questions

On Mon, Jun 4, 2012 at 11:04 AM, Sandy De Groote  wrote:

>  We do have handles so that does seem as though this makes this process
> inadvisable.  One of our primary reasons for splitting into different
> instances is so that they are two different repositories.   There are over
> 7000 records of the archival content  that interferes with searching the
> retrieval of the smaller scholarly content.  The archives in the IR was
> only supposed to be temporary
>

Do you anticipate that the archives content you describe was intended to be
citable?  Certainly if you have no interest in sustaining any citations to
those archive collection contents, then you could take down and restore
that content into another service entirely, abandoning the assigned handles.

Alternatively, if improving the discovery experience of your users is the
primary concern, and you do ned to maintain the archive for citation
purposes, I concur with Bram, and  I extend his recommendation that you
might also consider reorganizing the current communities under two separate
top level communities and refining your themeing so that you only show two
search options on your repository landing page. One to search the archival
content, the other to search the smaller community of scholarly content.
 Then you are only enhancing the presentation and organization of your
items rather than working to restructure the actual storage location and
identification of the content.


>
> Would there be a way to split the two repositories if we only maintain the
> handles for one of the instances?  In other words, the research side would
> maintain the handles but the archives would be assigned all new handles.
> Is that possible?   (I realize the suggestion throws aside the whole
> purpose of having life long handles assigned to an item.)
>

I notice my last post only went to you and not the community at large,  I
am reposting it to the community for the benefit of this dialog as it
presents an alternative to splitting the repository contents and
establishment of an external handle server to support persistence of handle
identification and resolution outside of DSpace itself.

On Fri, Jun 1, 2012 at 8:14 PM, Mark Diggory  wrote:

> I suspect this is going to be a difficult task, the real question is
> addressing what to do with the handle resolution services.  Your going to
> be trying to split the handle resolution such that it resolves to content
> stored on more than one system.



DSpace does not currently support an external handle server, but patches
> are out there experimenting with the concept and @mire and some of our
> partners are working together to create more flexibility for this in future
> versions of DSpace.



There is a rather old patch that Robert Tansley had put into the old
> sourceforge issue tracker, I resurrected it and placed it here to
> revitalize that option because there were past requests on the solution.
> https://jira.duraspace.org/browse/DS-1171.  It does need some work to
> make compatible with new versions of DSpace.
>


> I believe your approach would be to:


> 1.) Migrate to use an external handler server to publish and resolve your
> handles.
> 2.) Replicate all your existing handles against the current
> DSpace instance into this server, registering it with CNRI to become the
> default handle resolver for any services you need to support handles on.
> 3.) Migrate copies of your content you wish to place on the second server.
> 4.) Update the standalone Handle server handles to point at the new server
> instead of the original one.
> 5.) Remove the items from the original server once you've determined those
> moved Items still resolve properly.
> 6.) Modify both dspace instances HandleManager such that it can register
> their handles in the external handle server rather than the
> existing embedded DSpace Handle Server.


> Note, while working with various clients, we realized that there was a
> great need for greater external identifier support in DSpace.  We started
> the the "IdentifierService" subproject to provide such capabilities within
> the "Item Level Versioning" contribution we are planning for DSpace 3.0.
>  It takes the above patch and extends DSpace to support more identifier
> services than just handles (arks, purls, doi, so on).
>
> https://wiki.duraspace.org/display/DSPACE/Item+Versioning+Support#ItemVersioningSupport-IdentifierService


The take home message is that future enhancements to Identifier support in
DSpace will set the stage for the type of separation of Persistent
Identification from  resolution and publication of resources you are
originally proposing.  However, if you do not have any other strong
requirement for this separation other than impro

Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-05-31 Thread Mark Diggory
César,

you are on track, the first file you mention has the logic within it to
process the uploaded file and attach it to the Item as a Bitstream.

Look specifically around the following line
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/submit/step/UploadStep.java#L500

Best,
Mark

On Thu, May 31, 2012 at 2:03 PM, César Sabater  wrote:

> Hi All,
>
> I'm trying to customize the submission steps of the standard item
> submission in DSpace 1.8 . The customization consists on reordering the
> steps such that the bitstream upload step appears before the describe step,
> modifying the upload step to gather some information of the uploaded
> bitstreams, such as keywords (using some keyword extractor for known
> formats), abstract, etc., and then use this information to complete/suggest
> values for the description of the item in the describe step. The
> customization will be done mainly for XMLUI and JSPUI.
>
> I've been looking the Java code that implements the Upload Step
> (org.dspace.submit.step.UploadStep) and the XMLUI binding for that step
> (org.dspace.app.xmlui.aspect.submission.submit.UploadStep) and It wasn't so
> clear for me step when (or where) can I access the uploaded bitstream so I
> can wire there some java classes to process the bitstreams and extract
> useful information for the describe step.
>
> I'm asking if there are learning resources that can be useful, specially
> for the XMLUI binding and JSPUI binding so I can speed up my learning for
> those topics. Also if someone has done something like this before, would be
> good to hear some approaches.
>
> Thanks!
>
>
> --
> 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-devel mailing list
> dspace-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


[Dspace-tech] xmlui & i18n different style sheet with different locale

2012-05-25 Thread Mark Diggory
Yes, you are correct that the "exact" locale used is difficult to determine
in the dri generation stage.  The actual locale selection employed is
currently in the i18n transformer that is using fail-safes to select the
available language. This transformation stage is long after DRI or even
theming has completed.

I thought about this a bit... It really should have been a feature of the
I18NTransformer in Cocoon.  In light of this, another quick/theme based
alternative may be to add an xhtml to xhtml XSLT Identity transformer that
would be executed after the i18n stage in the theme pipeline, using it to
catch the applied locale with some sort of message key added specifically
to designate ltr or rtl...

It would come after this point in the pipeline:

https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/sitemap.xmap#L157

Then you could render the xhtml:html/xhtml:head/xhtml:link css choice
and/or xhtml:body tag settings via the presence of the ltr or rtl message

Mark

On Fri, May 25, 2012 at 4:56 PM, helix84
>
wrote:

> On Sat, May 26, 2012 at 1:49 AM, Mark Diggory 
> >
> wrote:
> > It will be available in the userMeta
> >
> > 
> > 
> > /login
> > en_US
> > en
> > 
>
> As you can see even in this case, all locales that were requested via
> Accept-Language (even if such message catalog is not available) are
> listed here, not just the one that Cocoon decides to use for l10n. Try
> adding some more languages in your browser settings.
>
> Regards,
> ~~helix84
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com




-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] xmlui & i18n different style sheet with different locale

2012-05-25 Thread Mark Diggory
On Fri, May 25, 2012 at 2:50 PM, helix84  wrote:

> On Fri, May 25, 2012 at 11:34 PM, Mark Diggory 
> wrote:
> > You might first try to work with setting ltr and rtl attributes in the
> > generated html based on selected language.  Likewise, you may add
> additional
> > conditional language support in the xslt templates that generate the
> header.
>
> Hi Mark,
>
> how do you detect the selected language? I haven't found it in DRI.
>
> Regards,
> ~~helix84
>

It will be available in the userMeta



/login
en_US
en



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] xmlui & i18n different style sheet with different locale

2012-05-25 Thread Mark Diggory
You might first try to work with setting ltr and rtl attributes in the 
generated html based on selected language.  Likewise, you may add 
additional conditional language support in the xslt templates that generate 
the header.

Mark

On Fri, May 25, 2012 at 1:52 AM, Ahmed Maher  wrote:

> hello ,
> i use xmlui with two locale english and arabic 
>
> i have problem :
> the Arabic language is right to left and English is left to right
>
> can i use different  css style with each language ?
> i use the mirage theme .
>
>
> --
> 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
>
>


-- 
[image: @mire Inc.] 
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Changing the search Boolean operator

2012-05-25 Thread Mark Diggory
Is this the navigation search form or the frontpage search form?

Mark

On Fri, May 25, 2012 at 12:13 PM, Isaak, David C wrote:

>  Hi Mark,
>
> ** **
>
> In dspace.cfg I have had the dspace.baseURl set to http://hostname/xmluithe 
> whole time. (This is just a test instance so I did not bother having
> XMLUI resolve to root “/”.) 
>
> ** **
>
> I think the problem has something to do with my custom theme. The simple
> search box works with Mirage/Kubrick/Reference/Classic with the Boolean set
> to AND or OR. The simple search box with the custom theme does not work
> regardless of how the Boolean is set.  
>
> ** **
>
> A search for colon cancer on the advanced search page resolves to
> hostname/xmlui/discover?scope=%2F&query=colon+cancer
>
> A search for colon cancer in the simple search box resolves to
> hostname/discover 
>
> ** **
>
> Any idea on where to troubleshoot from here?
>
> ** **
>
> David  ****
>
> ** **
>
> *From:* mdigg...@gmail.com [mailto:mdigg...@gmail.com] *On Behalf Of *Mark
> Diggory
> *Sent:* Friday, May 25, 2012 10:08 AM
> *To:* Isaak, David C
> *Cc:* Nemiz, Elvi S.; dspace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] Changing the search Boolean operator
>
> ** **
>
> Hello David,
>
> ** **
>
> You might look at your dspace.cfg and determine if you are setting your
> dspace.baseUrl to be http://hostmane/ <http://hostmane/discover> and not
> http://hostname/xmlui <http://hostname/xmlui/discover>
>
> ** **
>
> In a production environment, we almost always shift xmlui to be the
> resolved at the root "/"
>
> ** **
>
> Mark
>
> ** **
>
> On Fri, May 25, 2012 at 9:48 AM, Isaak, David C 
> wrote:
>
> Elvi,
>
>  
>
> Thanks for the tip. I made the change and the Boolean operator is
> successfully switched. Discovery search works fine on the advanced search
> screen, but the simple search box no longer works. Instead of going to
> http://hostname/xmlui/discover, it is trying to go to
> http://hostmane/discover and getting a 404 error. Any idea what could
> have caused the change?
>
>  
>
> David
>
>  
>
> *From:* Nemiz, Elvi S. [mailto:esne...@seafdec.org.ph]
> *Sent:* Thursday, May 24, 2012 6:24 PM
> *To:* Isaak, David C
> *Cc:* dspace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] Changing the search boolean operator
>
>  
>
> Hello David,
>
>  
>
> In your schema.xml inside the dspace/solr/search/conf/ directory, look for
> the line , change OR to AND and then
> restart tomcat.
>
>  
>
> Regards, 
>
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
> Access and download SEAFDEC/AQD publications for FREE
>
> http://repository.seafdec.org.ph
>
> [SEAFDEC/AQD Institutional Repository (SAIR)]
>
> - the official digital repository of scholarly and research information of
> the department
>
>  
>
> Search our library collection
>
> http://opac.seafdec.org.ph<http://opac.seafdec.org.ph/common/welcome.jsp?site=100>
> 
>
> [SEAFDEC/AQD Library Online Public Access Catalog]
>
>  
>
> Questions? Ask a Librarian!
>
> Email:   libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com|
> seafdecaqdlibr...@gmail.com
>
> Chat:[Google Talk] seafdecaqdlibrary |
> libr...@seafdec.org.ph
>
> [Yahoo Messenger]seafdecaqdlibrary 
>
> Call:  63 33 5119170, 63 33 5119171 local 409 and 413
>
> Visit: Library, SEAFDEC Aquaculture Department, Tigbauan,
> Iloilo, Philippines
>
>  
>
> Like us on Facebook  
> facebook.com/seafdecaqdlib<http://www.facebook.com/seafdecaqdlib>
> Follow us on Twitter:  
> twitter.com/seafdecaqdlib<http://ww.twitter.com/seafdecaqdlib>
> Follow us on Google +:   
> gplus.to/seafdecaqdlibrary<http://gplus.to/seafdecaqdlib>
> 
>
>  
>
>
>
> --
> 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/

Re: [Dspace-tech] [Dspace-general] DSpace 1.8.2 war file

2012-05-25 Thread Mark Diggory
KC,

I'd caution against it at this time, its feasible but very untested, it
would require a significant amount of work merging web.xml configurations
and dependency hierarchies,  some dependencies in SWORD and LNI may not
be compatible with XMLUI.

Mark



On Fri, May 25, 2012 at 2:20 AM, इन्‍दु भूषण Indu Bhushan <
indubhus...@gmail.com> wrote:

>
>
> Dear K C Rao,
>
> Dspace includes following directories.
>
> jspui  lni  oai  solr  sword  xmlui all these folders can be combined in
> single  Web application ARchive that is called JAR but I am not 100% sure.
>
> With regards
>
> Indu Bhushan
> Library, RRCAT
> Indore
> www.rrcat.gov.in
>
>
>
>
> On Fri, May 25, 2012 at 1:25 PM, KC Roa  wrote:
>
>> Can DSpace be contained in only one war file, with only one folder
>> containing everything in the currents webapps directory?
>>
>>
>> --
>> 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-general mailing list
>> dspace-gene...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-general
>>
>
>
>
> --
> 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-general mailing list
> dspace-gene...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-general
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] (no subject)

2012-05-25 Thread Mark Diggory
My assumption is that 3.0 may have just gone mainstream in some of the
jpackage or other linux distribution channels, I suspect we may see more
questions like this if that is the case.

Mark

On Fri, May 25, 2012 at 8:38 AM, helix84  wrote:

> This is the third time this question was asked in 2 days, is this some
> school assignment?
> Here's the solution offered:
>
> > Using Maven 3 is not currently supported. Please use version 2.2.1.
>
> But noone came back so far to confirm whether it works.
>
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] (no subject)

2012-05-25 Thread Mark Diggory
 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
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Changing the search Boolean operator

2012-05-25 Thread Mark Diggory
Hello David,

You might look at your dspace.cfg and determine if you are setting your
dspace.baseUrl to be http://hostmane/ <http://hostmane/discover> and not
http://hostname/xmlui <http://hostname/xmlui/discover>

In a production environment, we almost always shift xmlui to be the
resolved at the root "/"

Mark

On Fri, May 25, 2012 at 9:48 AM, Isaak, David C wrote:

>  Elvi,
>
> ** **
>
> Thanks for the tip. I made the change and the Boolean operator is
> successfully switched. Discovery search works fine on the advanced search
> screen, but the simple search box no longer works. Instead of going to
> http://hostname/xmlui/discover, it is trying to go to
> http://hostmane/discover and getting a 404 error. Any idea what could
> have caused the change?
>
> ** **
>
> David
>
> ** **
>
> *From:* Nemiz, Elvi S. [mailto:esne...@seafdec.org.ph]
> *Sent:* Thursday, May 24, 2012 6:24 PM
> *To:* Isaak, David C
> *Cc:* dspace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] Changing the search boolean operator
>
> ** **
>
> Hello David,
>
> ** **
>
> In your schema.xml inside the dspace/solr/search/conf/ directory, look for
> the line , change OR to AND and then
> restart tomcat.
>
> ** **
>
> Regards, 
>
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
> Access and download SEAFDEC/AQD publications for FREE
>
> http://repository.seafdec.org.ph
>
> [SEAFDEC/AQD Institutional Repository (SAIR)]
>
> - the official digital repository of scholarly and research information of
> the department
>
>  
>
> Search our library collection
>
> http://opac.seafdec.org.ph<http://opac.seafdec.org.ph/common/welcome.jsp?site=100>
> 
>
> [SEAFDEC/AQD Library Online Public Access Catalog]
>
>  
>
> Questions? Ask a Librarian!
>
> Email:   libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com|
> seafdecaqdlibr...@gmail.com
>
> Chat:[Google Talk] seafdecaqdlibrary |
> libr...@seafdec.org.ph
>
> [Yahoo Messenger]seafdecaqdlibrary 
>
> Call:  63 33 5119170, 63 33 5119171 local 409 and 413
>
> Visit: Library, SEAFDEC Aquaculture Department, Tigbauan,
> Iloilo, Philippines
>
>  
>
> Like us on Facebook  
> facebook.com/seafdecaqdlib<http://www.facebook.com/seafdecaqdlib>
> Follow us on Twitter:  
> twitter.com/seafdecaqdlib<http://ww.twitter.com/seafdecaqdlib>
> Follow us on Google +:   
> gplus.to/seafdecaqdlibrary<http://gplus.to/seafdecaqdlib>
> 
>
> ** **
>
>
> --
> 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
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Execute Java Class Problem

2012-05-21 Thread Mark Diggory
Daniel,

Classes placed in the dspace-xmlui or other webapplication projects are not
available from the commandline.  I would recommend you just move it to
dspace-api/src/main/java/  so you can get to it from the commandline as
well.

Mark


On Mon, May 21, 2012 at 8:37 AM, Daniel Shin wrote:

> Hi Mark,
>
> My Test class  was created in the
> [dspace-src]/dspace/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser.
>
> The Java class is working now.
> The problem was with Maven build project.
>
>
> Thanks for reply.
>
> Daniel
>
> Message: 1
> Date: Mon, 7 May 2012 13:12:50 -0300
> From: Daniel Shin 
> Subject: [Dspace-tech] Execute Java Class Problem
> To: dspace-tech@lists.sourceforge.net
> Message-ID:
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I created a simple Java Class for test in
> [dspace-src]/dspace-api/src/main/java/org/dspace/test that print "test".
> I typed the command in [dspace]/bin: "./dspace dsrun
> org.dspace.test.TestPrint"
>
> Follow the message error: " Error in launcher.xml: Invalid class name:
> org.dspace.test.TestPrint".
>
> I executed the maven to compile the class before.
>
> Any suggestion?
>
>
> Thanks,
>
> Daniel
> -- next part --
> An HTML attachment was scrubbed...
>
> --
>
> Message: 2
> Date: Mon, 07 May 2012 18:32:05 +0200
> From: Claudia J?rgen  
> Subject: Re: [Dspace-tech] Execute Java Class Problem
> To: dspace-tech@lists.sourceforge.net
> Message-ID: <4fa7f905.4080...@ub.tu-dortmund.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello Daniel,
>
> since 1.6 the DSpace Command Launcher is used.
>
> You got to add the class to the configuration file
> [dspace]/config/launcher.xml
>
>
> Then you can execute it using
> [dspace]/bin/dspace [Name as configured in launcher.xml]
>
> For Details see the Documentation
>
> https://wiki.duraspace.org/display/DSDOC18/Application+Layer#ApplicationLayer-DSpaceCommandLauncher
>
> Hope this helps
>
> Claudia J?rgen
>
>
> Date: Mon, 7 May 2012 14:42:58 -0700
> From: Mark Diggory 
> Subject: Re: [Dspace-tech] Execute Java Class Problem
> To: "claudia.juer...@ub.tu-dortmund.de"
>    
> Cc: "dspace-tech@lists.sourceforge.net"
>
> Message-ID:
> >
> Content-Type: text/plain; charset="utf-8"
>
> His command should still be reasonable.  Where are you placing the
> customized java class you are trying to add?
>
> Regards,
> Mark
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Regarding the remote handle server patch (1272731)

2012-05-09 Thread Mark Diggory
How ironic, I had just gone in to take a look at this patch earlier today.
 I'm opening a JIRA task with it attached for consideration in the
IdentifierService support work that is being planned.

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

Best Regards,
Mark

On Wed, May 9, 2012 at 10:10 PM, Thomas Abraham wrote:

>
> Dear All,
> We want set up our DSPACE instance using a remote handle server. Can any
> of you is having the remote handle server patch (1272731) that is being
> made for the China Digital Museum Project.
> Robert Tansley and the China Digital Museum Project released a patch on
> SourceForge (Enable Use Of Remote Handle Server):
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1272731&group_id=19984&atid=319984
> But this link is not working.
> Please help us in this regard.
>
> Looking forward to hear from you all
>
> With regards
>
> Thomas Abraham
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Current Postgres JDBC Driver

2012-05-08 Thread Mark Diggory
Christian,

You may change the version number in the dependencyManagerment section of
the dspace parent pom.

https://github.com/DSpace/DSpace/blob/dspace-1.8.2/pom.xml#L755

Best
Mark

On Tue, May 8, 2012 at 5:20 PM, Christian Völker  wrote:

> Hello,
>
> in the DSpace source tree, there is a rather old build of the Postgres
> JDBC driver included. It is build number 408, where even the legacy version
> for Postgres 8.1 offered on postgresql.org is build number 415. Even this
> is an unsupported, archived version.
>
> DSpace requires Postgres 8.2 though and thist implies that it does not
> make sense to stick with a Driver version that strives to support older
> versions of Postgres. The current build for Postgres 8.2 is 512 which is
> the oldest version still in support. The current version is build 703 to
> get an impression of what we are talking about.
>
> That said I would like to use a more recent version of the driver. However
> I cant figure out, where to put it. Do I really have to put separately in
> each and every [dsapce-source]/*/*/target/*/WEB-INF/lib/ directory for each
> module? What happens if I update only some of them? Will they be
> overwritten next time I run mvn package? Or will I end up with two JDBC
> drivers for each module? Will these two JDBC Drivers interact in
> unpredictable ways?
>
> I could not find any hints on this in the Docs. They generally just say
> dont worry. Well, I do. So please…
>
> Thanks, Christian
>
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Error during maven build. [Missing header]

2012-05-08 Thread Mark Diggory
Masha and Tim,

Another thought. The license goal shouldn't be getting executed during the
package phase of our regular build process.  Are you executing some other
mvn goal or phase such as install or deploy?

Mark

On Tue, May 8, 2012 at 7:12 AM, Tim Donohue  wrote:

> Hi Masha,
>
> Maven usually will also report the exact files which it found to not
> have a proper header. Was there any additional information provided when
> you ran Maven?
>
> If you scroll up in your Maven response, you should find some
> information similar to this reported:
>
> [INFO] --- maven-license-plugin:1.9.0:check (check-headers) @ dspace-api
> ---
> [INFO] Checking licenses...
> [INFO] Missing header in:
> C:\DSpace-src\dspace-api\src\main\java\org\dspace\administer\DCType.java
>
> Note the last line which should tell you the exact class that is missing
> the header. So, search your Maven results to find a line that starts
> with "Missing header in:" to determine which file it's reporting issues
> with.
>
> Finally, I should note that DSpace should only check headers when you
> run a "mvn install". If you instead run "mvn package" then the 'check
> headers' step should be skipped over.
>
> - Tim
>
> On 5/8/2012 4:34 AM, Masha Watts wrote:
> > Dear All,
> >
> > I'm getting following error during the maven build. It says *[Missing
> > header]*. But when I go to individual java files, those contains the
> > default license text.
> >
> > Failed to execute goal
> > com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:check
> > (check-headers) on project dspace-jspui-api: Some files do not have the
> > expected license header -> [Help 1]
> >
> > To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> > Re-run Maven using the -X switch to enable full debug logging.
> >
> > For more information about the errors and possible solutions, please
> > read the following articles:
> > [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> >
> >
> > Can somebody help me on this.
> >
> > 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
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Execute Java Class Problem

2012-05-07 Thread Mark Diggory
His command should still be reasonable.  Where are you placing the
customized java class you are trying to add?

Regards,
Mark

On Monday, May 7, 2012, Claudia Jürgen wrote:

> Hello Daniel,
>
> since 1.6 the DSpace Command Launcher is used.
>
> You got to add the class to the configuration file
> [dspace]/config/launcher.xml
>
>
> Then you can execute it using
> [dspace]/bin/dspace [Name as configured in launcher.xml]
>
> For Details see the Documentation
>
> https://wiki.duraspace.org/display/DSDOC18/Application+Layer#ApplicationLayer-DSpaceCommandLauncher
>
> Hope this helps
>
> Claudia Jürgen
>
>
> Am 07.05.2012 18:12, schrieb Daniel Shin:
> > Hi,
> >
> > I created a simple Java Class for test in
> > [dspace-src]/dspace-api/src/main/java/org/dspace/test that print "test".
> > I typed the command in [dspace]/bin: "./dspace dsrun
> > org.dspace.test.TestPrint"
> >
> > Follow the message error: " Error in launcher.xml: Invalid class name:
> > org.dspace.test.TestPrint".
> >
> > I executed the maven to compile the class before.
> >
> > Any suggestion?
> >
> >
> > Thanks,
> >
> > Daniel
> >
> >
> >
> >
> >
> --
> > 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
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Dspace 1.8.2 -- solr index

2012-05-06 Thread Mark Diggory
It sounds like there is a problem with your configuration inside solr. If
you can get into the tomcat Catalina out logs we may see an error there we
can debug.

Mark

On Sunday, May 6, 2012, Poulter, Dale wrote:

> I believe I have walked through all of the suggestions and linked to
> suggestions without success.
>
> -Original Message-
> From: ivan.ma...@gmail.com  
> [mailto:ivan.ma...@gmail.com]
> On Behalf Of helix84
> Sent: Friday, May 04, 2012 2:19 PM
> To: Poulter, Dale
> Cc: dspace-tech@lists.sourceforge.net 
> Subject: Re: [Dspace-tech] Dspace 1.8.2 -- solr index
>
> 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
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] Sending an embargoed item via sword

2012-05-03 Thread Mark Diggory
Certainly,

I believe, in previous dialogs with Tim, he suggested it would as long as
the metadata fields mapped appropriately to the existing configuration.
 The questions sounds like its important to determine if AIP Restore, like
SWORD is using InstallItem or not.

Case 2 (fails) - SWORD goes straight in (no workflow) - this uses some code
> in the METsPackager to create and install the item, not InstallItem (I
> think, have to check the code), so it misses the embargo checking.


I'd say that having SWORD "not" do this and use InstallItem more
appropriately would be an important consideration. Many other
considerations come into play when the standard mechanism for installing
items is circumvented.

Mark

On Thu, May 3, 2012 at 1:01 PM, Richard Rodgers  wrote:

>  Hi Mark:
>
>  We may, but we should first determine whether the METsPackager is
> functioning correctly now. Tim D did the METSPackager work in support of
> the AIP backup/restore,
>  and I'm pretty sure restoring embargo state was a use-case. As least, it
> *should* be.
>
>  Richard
>
>
>  On May 3, 2012, at 3:55 PM, Mark Diggory wrote:
>
> I'm determining if we would want to add some of these details to our
> Advanced Embargo Support business/technical requirements for DSpace 3.0.
>
>  https://wiki.duraspace.org/display/DSPACE/Advanced+Embargo+Support
>
>  Best,
> Mark
>
> On Tue, Apr 3, 2012 at 2:52 PM, Richard Rodgers  wrote:
>
>> Ignasi:
>>
>> A little more detail on Tim's point: the code paths are a little
>> different when submissions go through workflow:
>>
>> Case 1 (which works) - SWORD deposit goes into workflow. When it exits
>> workflow, 'InstallItem.installItem()' gets called, which in turn calls
>> EmbargoManager to set embargo if necessary.
>>
>> Case 2 (fails) - SWORD goes straight in (no workflow) - this uses some
>> code in the METsPackager to create and install the item, not InstallItem (I
>> think, have to check the code), so it misses the embargo checking.
>>
>> A lot of work has been done on packager code since 1.6, and I'm guessing
>> it would work OK on later releases, at least 1.8
>>
>> So it does appear that it's a 1.6 (packager) bug. Your options are to
>> patch 1.6 (possible, but will take some analysis and testing), or live with
>> putting SWORD deposits through workflow until you upgrade...
>>
>> Richard R.
>>
>>
>> On Apr 3, 2012, at 5:01 PM, Tim Donohue wrote:
>>
>> > My apologies, Ignasi,
>> >
>> > It was pointed out to me that this *should* be possible, as per our
>> > DSpace 1.8 Documentation:
>> >
>> >
>> https://wiki.duraspace.org/display/DSDOC18/Embargo#Embargo-Termsassignment
>> >
>> > It explicitly states:
>> > "The first step in placing an embargo on an item is to attach (assign)
>> > 'terms' to it. If these terms are missing, no embargo will be imposed.
>> > As we will see below, terms are carried in a configurable DSpace
>> > metadata field, so assigning terms just means assigning a value to a
>> > metadata field. This can be done in a web submission user interface
>> > form, in a SWORD deposit package, a batch import, etc. - anywhere
>> > metadata is passed to DSpace."
>> >
>> > My previous message was incorrect.  I forgot that DSpace Embargo can be
>> > set by merely passing in a DC metadata field.  So, it *should* be
>> > possible to set an embargo via the DSpace SWORD field (assuming you just
>> > pass in the embargo terms as the configured metadata field).
>> >
>> > I now wonder if this is a bug in DSpace 1.6.x.  I'm not sure if anyone
>> > has tried this in more recent versions of DSpace?
>> >
>> > - Tim
>> >
>> > On 4/3/2012 3:10 PM, Tim Donohue wrote:
>> >> Hi Ignasi,
>> >>
>> >> Unfortunately, I don't believe this is possible, as SWORD doesn't
>> >> support the idea of an "item-level embargo". The Item Embargo feature
>> >> you are talking about is specific to DSpace.
>> >>
>> >> The only way I can think of doing this is to submit the item via SWORD
>> >> into a collection that has a workflow approval process setup (with the
>> >> edit metadata step). Then you'd have to have someone manually go into
>> >> the edit metadata step and manually add in the embargo. I've never
>> tried
>> >> this myself, but I think it may work.
>> >>
>> >> - Tim
>> >&g

Re: [Dspace-tech] Sending an embargoed item via sword

2012-05-03 Thread Mark Diggory
> http://p.sf.net/sfu/sfd2d-msazure
> >>> ___
> >>> DSpace-tech mailing list
> >>> DSpace-tech@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> --
> > 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
>
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.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


Re: [Dspace-tech] dspace kernel java segfault error 6

2012-04-21 Thread Mark Diggory
Evelio,

This is tough to diagnose. Its the JVM and the OS itself segfaulting, this
may or may not have anything to with DSpace itself.

2012/4/15 Evelio Martínez 

> Apr 15 13:24:47 dspace kernel: java[24630]: segfault at 43962788
> rip 2aaab2750360 rsp 43962780 error 6


Best I can give you is to read this thread and research if theres anything
unique about your settings in tomcat that may be impacting the system. It
couldn't hurt to download a separate version of Tomcat and run DSpace from
within it and see if you get the same behavior.

https://forums.oracle.com/forums/thread.jspa?threadID=2177113

Recommendations:

Apache MPM Worker 2.2.21
mod_jk

Maybe try switching to a simpler situation where you have a more basic
apache installation and only communicates with tomcat via mod_proxy, I've
not uses MPM and I'm not a big fan of mod_jk when generic mod_proxy_http
support for forwarding is sufficient.

another interesting article.

http://www.tomcatexpert.com/blog/2010/06/16/deciding-between-modjk-modproxyhttp-and-modproxyajp

Mark

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
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] creating a new page in Mirage

2012-04-21 Thread Mark Diggory
Yes, try to add some body content (a div, and maybe some text of some
sort). Then see if it returns correctly.

Mark

On Fri, Apr 20, 2012 at 8:50 AM, Blanco, Jose  wrote:

>  Mark,  I realize now that I can’t count on the dso object to have item
> in it, so I will use the parameters passed in. Hopefully soon I will have a
> page show up.  Thanks again for your help!
>
> ** **
>
> *From:* Blanco, Jose [mailto:blan...@umich.edu]
> *Sent:* Friday, April 20, 2012 11:18 AM
> *To:* Mark Diggory
>
> *Cc:* DSpace Tech
> *Subject:* Re: [Dspace-tech] creating a new page in Mirage
>
>  ** **
>
> Thanks Mark,  This is exactly what is happening – when I go addBody, this
> check is done:
>
> ** **
>
>DSpaceObject dso = HandleUtil.obtainHandle(objectModel);
>
> if (!(dso instanceof Item))
>
> {
>
> return;
>
> }
>
> ** **
>
> ** **
>
> And the return is executed.
>
> ** **
>
> But how do I get the objectModel to get the dso object.  I’m trying to
> implement the request copy functionality in xmlui so what I’m doing is in
> BitstreamReader.java, I’m checking if the item is one where a request-copy
> page needs to be generated.  This is the code I created:
>
> ** **
>
> else if ( requestcopy )
>
> {
>
>
> ///request-item?handle=TEMP-BOGUS/200308&bitstream-id=487539 "
>
> ** **
>
> String redictURL =
> request.getContextPath() + "/request-item?handle=";
>
> if (item!=null){
>
> redictURL += item.getHandle();
>
> }
>
> else if(dso!=null){
>
> redictURL += dso.getHandle();
>
> }
>
> redictURL += "&bitstream-id=" +
> bitstream.getID();
>
> ** **
>
> HttpServletResponse httpResponse =
> (HttpServletResponse)
>
>
> objectModel.get(HttpEnvironment.HTTP_RESPONSE_OBJECT);
>
> httpResponse.sendRedirect(redictURL);
>
> return;
>
> } 
>
> ** **
>
> *From:* mdigg...@gmail.com [mailto:mdigg...@gmail.com] *On Behalf Of *Mark
> Diggory
> *Sent:* Thursday, April 19, 2012 7:47 PM
> *To:* Blanco, Jose
> *Cc:* DSpace Tech
> *Subject:* Re: [Dspace-tech] creating a new page in Mirage
>
> ** **
>
> Jose,
>
> ** **
>
> Lately my pile of DSpace list emails has built up to the point I can't
> deal with it...
>
> ** **
>
> The question is what are in these transformers you are adding?  You might
> try testing with a very basic transformer from the xmltest aspect to make
> sure its not that the transformer is "not adding any body content" to the
> pipeline. if the dri body tag remains empty for the entire pipeline of
> transforms, then you will get a page not found.
>
> ** **
>
> Mark
>
> ** **
>
> ** **
>
> On Thu, Apr 19, 2012 at 11:10 AM, Blanco, Jose  wrote:*
> ***
>
> I'm still stuck on this.  I changed
>
> From:
> ArtifactBrowser/sitemap.xmap:
> To:
> ArtifactBrowser/sitemap.xmap: pattern="statisticsABC">
>
> And /statistics works the way it should, and I get PageNotFound for
> /statisticsABC
>
> I was expecting /statisticsABC to work, and /statistics to not work.
>
> What am I missing?
>
> -Jose
>
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
>
> Sent: Thursday, April 19, 2012 11:43 AM
> To: dspace-tech@lists.sourceforge.net
>
> Subject: Re: [Dspace-tech] creating a new page in Mirage
>
> I have no idea why I'm not getting a page with this request.
>
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
> Sent: Wednesday, April 18, 2012 1:50 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] creating a new page in Mirage
>
> I have added this link from one of the pages:
>
>
> http://x.lib.umich.edu/request-item?handle=TEMP-BOGUS/200308&bitstream-id=487539
>
>
> and I added a transform by the name RequestItem.java  and I added the
> following
>
>
>
> 
> 
>
>
> To the sitemap.xmap file in aspects/ArtifactBrowser ar

Re: [Dspace-tech] creating a new page in Mirage

2012-04-19 Thread Mark Diggory
Jose,

Lately my pile of DSpace list emails has built up to the point I can't deal
with it...

The question is what are in these transformers you are adding?  You might
try testing with a very basic transformer from the xmltest aspect to make
sure its not that the transformer is "not adding any body content" to the
pipeline. if the dri body tag remains empty for the entire pipeline of
transforms, then you will get a page not found.

Mark



On Thu, Apr 19, 2012 at 11:10 AM, Blanco, Jose  wrote:

> I'm still stuck on this.  I changed
>
> From:
> ArtifactBrowser/sitemap.xmap:
> To:
> ArtifactBrowser/sitemap.xmap: pattern="statisticsABC">
>
> And /statistics works the way it should, and I get PageNotFound for
> /statisticsABC
>
> I was expecting /statisticsABC to work, and /statistics to not work.
>
> What am I missing?
>
> -Jose
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
> Sent: Thursday, April 19, 2012 11:43 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] creating a new page in Mirage
>
> I have no idea why I'm not getting a page with this request.
>
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
> Sent: Wednesday, April 18, 2012 1:50 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] creating a new page in Mirage
>
> I have added this link from one of the pages:
>
>
> http://x.lib.umich.edu/request-item?handle=TEMP-BOGUS/200308&bitstream-id=487539
>
>
> and I added a transform by the name RequestItem.java  and I added the
> following
>
>
>
> 
> 
>
>
> To the sitemap.xmap file in aspects/ArtifactBrowser area.
>
> But when I try to go to the link I get a PageNotFound error.  I have not
> yet changed the Mirage files to handle this, but was actually expecting
> some sort of badly displayed page since there is no xsl to handle my
> request.  Is there anything obvious that I'm forgetting or doing wrong.
>
> Thank you!
> Jose
>
>
> --
> 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
>
>
> --
> 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
>
>
> --
> 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
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
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] Embargo on separate bitstreams

2012-04-10 Thread Mark Diggory
Ian,

I wanted to comment that University of MIchigan and @Mire (and a few other
members of the community) do have a project now planned for DSpace 3.0
to enhance Embargo Support with more advanced features. Which includes
individual bitstream embargo controls on the "File Upload" submission
page and support for Dark embargo,  I would recommend looking here for
details.

https://wiki.duraspace.org/display/DSPACE/Advanced+Embargo+Support

We welcome feedback on any of your current requirements in the wiki page or
as notes.

Best,
Mark


On Fri, Mar 30, 2012 at 3:54 AM, helix84  wrote:

> On Fri, Mar 30, 2012 at 12:40, Wellaway, Ian 
> wrote:
> > Is it possible to embargo individual bitstreams on a single item?
>
> Yes, it is. Here's an example for embargo lifter. Setter is the same thing.
>
>public void liftEmbargo(Context context, Item item) throws
> SQLException, AuthorizeException, IOException {
>...
>Bundle[] bundles = item.getBundles("ORIGINAL");
>if(bundles.length != 1) {
>return;
>}
>Bundle originalBundle = bundles[0];
>Bitstream[] bitstreams = originalBundle.getBitstreams();
>for (int i = 0; i < bitstreams.length; i++) {
>Bitstream bitstream = bitstreams[i];
>ResourcePolicy policy = ResourcePolicy.create(context);
>policy.setAction(Constants.READ);
>policy.setEPerson(context.getCurrentUser());
>policy.setGroup(Group.findByName(context, "mygroup"));
>policy.setResource(bitstream);
>policy.update();
>}
>...
>}
>
> But remember that metadata is per-item, not per-bitstream.
>
> Regards,
> ~~helix84
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
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] Localization inside config files?

2012-04-09 Thread Mark Diggory
Absolutely, likewise, we need to watch out we don't end up creating a Rube
Goldberg machine as a dependency, just to make the translators be able to
work with one giant file instead of 4 or 5.

Theres three reasons there is not just one file

1.) So that i18n can be locally customized without needing to merge back
the differences every-time you upgrade.
2.) We have different technologies for each webapp, email, controlled
vocabularies/taxonomies, etc.
3.) Addon i18n  (especially XMLUI Addons) are maintained separately for
addon so that you do not need to merge files to upgrade.

We have the following areas resources that conain some for of i18n.

a. one file for api / jspui (ResourceBundle)
b. one or more files for xmlui and addons (Cocoon Messages)
d. individual separate files for emails (Custom DSpace wackiness)
e. individual taxonomies and controlled vocabs (Custom DSpace wackiness)

We need to address requirements for a common design guideline:

1.) A common i18n format would be beneficial
2.) Easily Overriding keys in that format via the Database would be
beneficial
3.) Relying on a more common/ubiquitous technology would be beneficial

Because of the following, my recommendation for a technical projects
roadmap is (and these can be in stages), but a common design
and agreement is essential from the beginning. So a/b/c are critical.

a.) Implement a Standard JAVA ResourceBundle based i18nTransformer in
Cocoon rather than the current format.
b.) Decide if we want to use Properties or XML based resource bundles (or
allow both) since Java 1.6 or greater is now required.
c.) Write JDBC ResourceBundle implementation that can be chained such that
above RB are used as defaults and key/values can be overridden.
d.) Re-implement Email and taxonomies in the future to use a
more ubiquitous templating language that provides support for using
ResourceBundles
e.) Write user interfaces in xmlui to support overriding i18n keys/values
in database.

I would look closely at how other projects that leverage Spring WebMVC
(and/or other frameworks) approach i18n. I expect in most cases, they all
use ResourceBundles.

Finally, I will add that the current i18n projects, do not really provide
benefit given our yearly release cycle.  It would be better to consolidate
these back into the DSpace/DSpace master and having i18n maintained in one
of these services with additional Release Manager responsibilities for
updating files during maintenance releases.  I know this is contrary to my
past position, my current goal in doing so is to reflect that though we
want to addons, it would be better assuring addons carried their own i18n
resources instead of multiplying the number of projects necessary to manage
an addon and conversely the complexity of DSpace itself.

Mark

On Tue, Apr 3, 2012 at 1:51 AM, helix84  wrote:

> Pretty please, don't reinvent the wheel poorly, just give us translators
> .po files (preferably one). Then there are existing tools like Pootle and a
> bazillion others for things like online translation and reusing old
> translations.
>
> That's all I have to say, but I can't stress it enough.
>
> Regards,
> ~~helix84
>
>
> On Tue, Apr 3, 2012 at 05:53, Mark Diggory  wrote:
>
>> I agree that it shouldn't be exclusively in the UI layer.
>>
>> I do support the idea of, if not a centralized catalog where all values
>> reside, then at least the ability to define a catalog that allows
>> Repository Admins to easily override the existing values found in the files
>> from the UI.  In fact, IMO, it should really be in the database in a manner
>> that, similar to configuration modularization would be separated up into
>> contexts based on context.
>>
>> localization_catalog
>> {
>> context
>> key
>> value
>> lang
>> }
>>
>> Individual email templates (which are glorified parameterized messages),
>> messages.xml and messages.properties all residing within one database table
>> would shift the design of internationalization away from a developer
>> activity.
>>
>> Simple tooling can be written to to dump/restore the database from
>> properties files (xml or properties formats) as needed.
>>
>> Simple interfaces can be crafted in the admin area of the user interface
>> to introduce simple editing of the field values and
>>
>> Caching can be employed in the XMLUI to optimize performance and reduce
>> db queries for i18n tags.
>>
>>
>> [image: @mire Inc.]
>> *Mark Diggory (Schedule a Meeting <http://bit.ly/xNePTl>)*
>> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>> http://www.atmire.com
>>
>>  On Monday, April 2, 2012 at 11:02 AM, Richard Rodgers wrote:
>>
>> 

Re: [Dspace-tech] Localization inside config files?

2012-04-02 Thread Mark Diggory
I agree that it shouldn't be exclusively in the UI layer.  

I do support the idea of, if not a centralized catalog where all values reside, 
then at least the ability to define a catalog that allows Repository Admins to 
easily override the existing values found in the files from the UI.  In fact, 
IMO, it should really be in the database in a manner that, similar to 
configuration modularization would be separated up into contexts based on 
context.

localization_catalog
{
context
key
value
lang
}

Individual email templates (which are glorified parameterized messages), 
messages.xml and messages.properties all residing within one database table 
would shift the design of internationalization away from a developer activity.

Simple tooling can be written to to dump/restore the database from properties 
files (xml or properties formats) as needed.

Simple interfaces can be crafted in the admin area of the user interface to 
introduce simple editing of the field values and  

Caching can be employed in the XMLUI to optimize performance and reduce db 
queries for i18n tags.  


  
Mark Diggory (Schedule a Meeting (http://bit.ly/xNePTl))
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com (http://www.atmire.com/)


On Monday, April 2, 2012 at 11:02 AM, Richard Rodgers wrote:

> I think Mark makes a number of good points here - esp. regarding modularity - 
> and it's worth emphasizing that the net effect should be *less* localization 
> effort, even if there are potentially more files, since one would only need 
> to worry about the locally deployed modules - but I'm a bit puzzled about the 
> 'single catalog scheme' as a desired future state.
>  
> Without much thought, I can come up with 4-5 quite distinct sites (places, 
> files, ways) where localization occurs in DSpace:
>  
> * in email templates (config/email)
> * in dspace,cfg and many other config files (starting with the 'dspace.name 
> (http://dspace.name)' property)
> * in input_forms.xml
> * messages.xml and that ilk
>  
> and I'm sure there are others; the curation stuff does not introduce a new 
> locus of localization: localizability permeates the application already.
> It's also worth noting that localized strings occur not just in the UI proper 
> - they can appear in RSS feeds, OAI-PMH harvests, etc
> So I'd be leery of a plan to shoehorn all localization into any single 
> 'catalog scheme' , esp. one that is explicitly tied to a UI presentation 
> layer.
>  
> Having said all this, I sympathize with Christian's plight, and affirm with 
> Mark that we can do a better job of managing it.
>  
> Richard R.
>  
> On Apr 2, 2012, at 9:21 AM, Mark H. Wood wrote:
>  
> > On Sat, Mar 31, 2012 at 02:05:34PM +0200, Christian Völker wrote:
> > [snip]
> > > Now I just found a new flavour of localization in the 
> > > dspace/config/modules/curate.cfg file:
> > >  
> > > #ui.tasknames = \
> > > # profileformats = Profile Bitstream Formats, \
> > > # requiredmetadata = Check for Required Metadata, \
> > > # checklinks = Check Links in Metadata
> > > ui.tasknames = \
> > >  profileformats = Dateityp angehängter Dateien untersuchen, \
> > >  requiredmetadata = Pflichtfelder auf Inhalt überprüfen, \
> > >  checklinks = Links in Metadaten überprüfen
> > >  
> > > # general = General Purpose Tasks,
> > > general = Allgemeine Aufgaben,
> > >  
> > > #ui.statusmessages = \
> > > # -3 = Unknown Task, \
> > > # -2 = No Status Set, \
> > > # -1 = Error, \
> > > # 0 = Success, \
> > > # 1 = Fail, \
> > > # 2 = Skip, \
> > > # other = Invalid Status
> > > ui.statusmessages = \
> > >  -3 = Unbekannte Aufgabe, \
> > >  -2 = Kein Zustand definiert, \
> > >  -1 = Fehlerhaft, \
> > >  0 = Erfolgreich, \
> > >  1 = Fehlgeschlagen, \
> > >  2 = Übersprungen, \
> > >  other = Ungültiger Zustand
> > >  
> > > Honestly, is this the way to go?
> >  
> > Clearly not. We already have two different message catalog schemes,
> > which IMHO is one too many. Configurable message texts should at
> > least be confined to those two. It would be good to get every
> > component to use a single scheme.
> >  
> > > Bedides the monsterous messages.xml file in 
> > > modules/xmlui/src/main/webapp/i18n/
> > > with more than 2.100 meanwhile, we already have numerous other places 
> > > now,  
> > > where to keep messages.xml files updated, in places such as  
> > >  
> > > dspace

Re: [Dspace-tech] XMLUI serving JSP

2012-03-17 Thread Mark Diggory
Well, its probibly not the best approach to developing in the XMLUI, But
you can add it as a reader in the default sitemap.xmap in the xmlui
directory. Follow the instructions here:

http://cocoon.apache.org/2.1/userdocs/optional/jsp-reader.html

This will not give you any theming capability associated with the generated
output.

Mark

On Mon, Mar 12, 2012 at 8:25 AM, Robert Ruiz  wrote:

> Hi everyone,
>
> I'm using DSpace 1.7.1 with XMLUI.
>
> is there any way to serve JSP pages from within the interface XMLUI?
>
> I tried to put a test.jsp in XMLUI / static / test.jsp, but only shows
> me the contents of the JSP as plain text in the browser. I googled a bit
> and I read something about JSPReader in COCOON, but I'm not sure how can
> I do that.
>
> Any ideas?
>
> Thanks in advance.
>
> Robert Ruiz
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding a new action to xmlworkflow-action

2012-03-16 Thread Mark Diggory
Wilko,

In which module are you making the new class? it's not getting onto the
CLASSPATH for your build.

Best,
Mark

On Thursday, March 15, 2012, van Hoek, Wilko 
wrote:
> Hello everyone,
>
>
>
> I am trying to add an own Step to our xmlworkflow. I defined the new step
in the workflow.xml and added two new beans to the workflow-action.xml that
point to the new actionclass I’ve implemented. It resides in the package
org.dspace.xmlworkflow.state.actions.processingaction To create said new
class I duplicated an existing class and modified it. After cleaning and
rebuilding my DSpace I’m getting the following nested error:
>
>
>
> … Cannot find class
[org.dspace.xmlworkflow.state.actions.processingaction.NewAction] for bean
with name 'newactionAPI' defined in file
[c:\DSpace\config\spring\api\workflow-actions.xml]; …
>
>
>
> I checked the dspace-api-1.8.1.jar (in every Folder I could find it in)
and was always able to find the “missing class” in the processingaction
package. So it is there and I can’t understand why my Tomcat insist on
being unable to find it.
>
>
>
> I hope someone can help me with that, thanks in advance!
>
> Wilko
>
>
>
> 
>
> Wilko van Hoek / GESIS - Leibniz Institut für Sozialwissenschaften /
http://www.gesis.org
>
>
>
>

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] REST query Syntax

2012-03-16 Thread Mark Diggory
It's more than likely going to be lucene syntax for the moment in the query
field. This going to either be free text, Boolean operators or fielded
searches like title:foo AND author:bar

This is old legacy search, not discovery, you'd get actuall metadata field
search and facetting out of discovery if we ever create an API for it,
which has come up a couple times in dialog.

query=query&community=id or collection=I'd

Best,
Mark

On Friday, March 16, 2012, Milne, Mary  wrote:
> Hello
>
>
>
> I am working on a project using the REST API to enable some search
interoperability with Drupal. I’ve had no problems installing and setting
up the webapp and issuing requests such as:
>
>
>
> /dspace-rest-1.8.1/collections.xml
>
> /dspace-rest-1.8.1/items/60.xml
>
>
>
> However what I need is to run the search query and I don’t know whether I
can’t crack the syntax or whether my expectation that I should see
something in the browser is misplaced or if I’m somehow not referencing the
field names correctly. If I run the above with the .xml I see nothing but
adding .xml to any of my attempts seems to do nothing either. I have tried
every combination of brackets, slashes, ? and & but none have worked
although only a few seem to have actively failed. So could someone please
put me out of my misery and how me how to do a search something like:
>
>
>
> dc.title = flood and water
>
> text = climate
>
>
>
>
>
> Many Thanks
>
> Mary
>
>
>
>
>
>
>
> Mary Milne BSc
>
> Solutions Architect
>
> British Library
>
>

-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Query about Dspace

2012-03-16 Thread Mark Diggory
Rahul,

1.) The big question is if you want to have them individually searchable as
separate records, then you want one Item per PDF. In this case your going
to need to massage the content some and create some import packages for
DSpace, either via the commandline using the ItemImport and the Simple
Archive Format or via SWORD or LNI as SIP Packages.

2.) No, DSpace does not support this functionality at this time.

Best,
Mark

On Fri, Mar 16, 2012 at 1:11 PM, Rahul Soni  wrote:

> I have two queries about the feature of DSpace:
>
> 1. I have a large set of pdf files that are accommodated in tree like
> folder arrangement (one folder inside one and so on). Number of files are
> very large and each pdf file is titled by some numeric codes only. Is it
> possible to upload of them through single folder only, as individually
> uploading them will be very tedious? If yes then how someone will be able
> to search them. Searching by their numeric title is important.
>
> 2. I have some communities and collections that are for institute
> administrative and internal communication purpose only. Is it possible to
> set them like they won't be visual for outsider (outside the institute
> campus) on public Dspace url?
>
>
> Thanking you
>
> Sincerely yours
>
> Rahul Kumar Soni <http://sites.google.com/site/ismrahulsoni>
> Senior UG Student
> Indian School of Mines
>
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Standards for Date and Language?

2012-02-17 Thread Mark Diggory
David,

I've responded to your email in general.

Cheers,
Mark

On Monday, February 13, 2012, Isaak, David C wrote:

>  Hello,
>
> I did not receive any responses on DSpace-Gen, so I thought I would repeat
> my two metadata questions here:
>
> First, for dc.language.iso, is it better to use ISO 639-1 or ISO 636-2?
> The vast majority of the documents I am describing are in English with
> other languages represented rarely.
>
> Second, for dc.date.issued, is there a best practice for formatting dates?
> As I have been harvesting most of my metadata from PubMed records, I had
> been using the MEDLINE format (4-digit year, a 3-character abbreviated
> month, and a 1 or 2-digit day). Is there an advantage to using ISO 8601
> (-MM-DD)? Will the format affect using the date as a facet in Discovery?
>
> Sincerely,
> David
>
> **
> *David Isaak, MSLIS*
> Digital Projects Librarian
> Kaiser Permanente Center for Health Research
> 3800 N. Interstate Ave. Portland, OR 97227
> 503.335.2437 (tie-line 60-2437)
>
>
>


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Make task pool visible to Administrator group?

2012-01-19 Thread Mark Diggory
On Tue, Jan 17, 2012 at 9:05 AM, Zafrin, Vika  wrote:

> Mark, thanks for that perspective. I certainly agree that it would be a
> nightmare to implement every feature in XMLUI *and* JSPUI. For various
> good reasons, we never implemented JSPUI at all, and don't have access to
> it now. I do wonder how many DSpace users are in a similar position to
> ours.
>
> As for documentation, the fact that development of JSPUI features has
> essentially slowed down to a crawl should be *more* of an incentive, and
> make it *easier*, to create better documentation for the project, no?


Theres a differential effect there, less developer focus on JSPUI means
less resources to complete documentation for what features are in JSPUI.

Ok, herres a challenge for the community, fill out the features you know
exist or do not exist in both UI here, be liberal about it, cleanup can
happen later:

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

Eventually, we will reach a point where theres documentation on the topic...

Mark


-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>
)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Make task pool visible to Administrator group?

2012-01-16 Thread Mark Diggory
>> >> Vika Zafrin
>> >> Institutional Repository Librarian
>> >> Boston University
>> >> +1 617.358.6370 | http://dcommon.bu.edu/
>> >>
>> >>
>> >>
>> >>
>> >>
>>
>> >>-
>> >>-
>> >> RSA(R) Conference 2012
>> >> Mar 27 - Feb 2
>> >> Save $400 by Jan. 27
>> >> Register now!
>> >> http://p.sf.net/sfu/rsa-sfdev2dev2
>> >> ___
>> >> 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/
>> >
>>
>> >--
>> >
>> >RSA(R) Conference 2012
>> >Mar 27 - Feb 2
>> >Save $400 by Jan. 27
>> >Register now!
>> >http://p.sf.net/sfu/rsa-sfdev2dev2
>> >___
>> >DSpace-tech mailing list
>> >DSpace-tech@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>>
>> --
>> RSA(R) Conference 2012
>> Mar 27 - Feb 2
>> Save $400 by Jan. 27
>> Register now!
>> http://p.sf.net/sfu/rsa-sfdev2dev2
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
>
> --
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] Removing Collection References from DSpace Search Results Pages

2012-01-13 Thread Mark Diggory
t; this issue, it'd be greatly appreciated.
>
> Many Thanks,
>
>  - Patrick E.
>
> As a sidenote, I've been attempting to integrate my development DSpace
> instance(s) into my IDE (Eclipse in my case). My hope was that I could
> enable tomcat debugging and... attach source code to execution code so that
> I could create break points and step through the code. I wanted to
> accomplish this so that I could provide more detail when emailing the list,
> but I've not yet been able to accomplish this with the DSpace software. But
> that integration is something that I've been unable to accomplish for a
> couple years now, so that's really a different subject. Point being I was
> making the effort to provide as much detail for this issue as possible.
>
> Patrick K. Etienne
> Systems Analyst
> Georgia Institute of Technology
> Library & Information Center
> (404) 385-8121
>
>
>
>
> --
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> ___
> Dspace-devel mailing list
> dspace-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] using a servlet in xmlui

2011-12-23 Thread Mark Diggory
Jose,

You may try reversing their order to see if that helps. If you have
ServletFilter version, you may try that.  Cocoon 2.2 also supports blocks
(nested servlet mapping expressions in its configuration), but that will be
a more extensive deployment

On Thu, Dec 22, 2011 at 12:07 PM, Blanco, Jose  wrote:

> I would like to use a sevlet in the xmlui interface.  I have these two
> servlet mappings in the web.xml file:
>
>  
>webiso-login
>/webiso-login
>  
>
>
>Cocoon
>/*
>
>
> But it seems to not go to my webiso-login servlet ( I have log statements
> there that never get written ).  Is this not possible in Manakin?  I guess
> my other option is to use the sitemaps, but I was hopping I could use the
> web.xml file - it's easier to read/understand.
>
> Thank you!
> Jose
>
>
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SEVERE: Exception unloading sessions to persistent storage

2011-12-14 Thread Mark Diggory
Disable session persistence in tomcat? It's not really ever needed. But I
suspect that either there's a leak in some code leaving files open or you
don't have enough I nodes for your file system...

Mark

On Wednesday, December 14, 2011, helix84  wrote:
> Hello,
>
> my DSpace repository is 1.8.0 with XMLUI and Discovery enabled.
>
> I've been having a problem with it every few days - DSpace stops
> responding and Tomcat has to be restarted. The following error is
> logged many times:
>
> SEVERE: Exception unloading sessions to persistent storage
> java.io.FileNotFoundException:
> /var/lib/tomcat6/work/Catalina/localhost/_/SESSIONS.ser (Too many open
> files)
>at java.io.FileOutputStream.open(Native Method)
>at java.io.FileOutputStream.(FileOutputStream.java:209)
>at java.io.FileOutputStream.(FileOutputStream.java:99)
>at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:495)
>at
org.apache.catalina.session.StandardManager$PrivilegedDoUnload.run(StandardManager.java:89)
>at java.security.AccessController.doPrivileged(Native Method)
>at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:458)
>at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:673)
>at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4774)
>at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3385)
>at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
>at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
>at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
>at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
>at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
>at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
>at java.lang.Thread.run(Thread.java:636)
>
>
> I tried to google for the error and found much about "Too many open
> files" in Tomcat and even DSpace, but this particular error "Exception
> unloading sessions to persistent storage" seems to be unique.
>
> cat /proc/sys/fs/file-max
> 101728
>
> Is there someone who can help me debug this issue? Thanks.
>
> Regards,
> ~~helix84
>
>
--
> Cloud Computing - Latest Buzzword or a Glimpse of the Future?
> This paper surveys cloud computing today: What are the benefits?
> Why are businesses embracing it? What are its payoffs and pitfalls?
> http://www.accelacomm.com/jaw/sdnl/114/51425149/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
<>--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] creating a checkbox

2011-12-14 Thread Mark Diggory
Jose, at this time handlers need to be added in xslt. You can find the
template that generates checkbox from DRI to XHTML and create one that
refines to match @name and the @id of the div it is inside and add your
handlers there.

Mark


On Wednesday, December 14, 2011, Blanco, Jose  wrote:
> I want to create a checkbox that will eventually be rendered as:
>
> 
>
> I have tried this:
>
>CheckBox select1 =
actions.addCheckBox("checkall").setValue("Select");
>select1.setLabel("Select");
>select1.addOption("onclick=checkUncheckAll(this);");
>
> But this gives me:
>
> 
>
> So how do I get the,
>
> onclick="checkUncheckAll(this);"
>
> ?
>
> Thank you,
> Jose
>
>
--
> Cloud Computing - Latest Buzzword or a Glimpse of the Future?
> This paper surveys cloud computing today: What are the benefits?
> Why are businesses embracing it? What are its payoffs and pitfalls?
> http://www.accelacomm.com/jaw/sdnl/114/51425149/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Structure Builder in 1.8.0 overlay

2011-12-12 Thread Mark Diggory
Tom,

we don't currently have a place to drop general code for use in the CLI.
the best way to do this is to create a project

dspace/modules/api/pom.xml

http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
   4.0.0
   org.dspace.modules
   api
   jar
   DSpace :: Custom API Code

   
   
  org.dspace
  modules
  1.8.0
..
   

   
  
 org.dspace
 dspace-api
  
  
 javax.servlet
 servlet-api
 2.3
 provided
  
   



and create jar pom.xml for it.

Finally and most importantly, then add this project as a dependency in
dspace/pom.xml

you may then add your StructBuilder in this location

dspace/modules/api/src/main/java/org/dspace/administer/StructBuilder.java

This will override the StructBuilder in dspace-api via the commandline.

TBH though, I rather dislike overrides, I recommend you also rename the
class to something else "MyStructBuilder" and call it via dsrun or add a
line to the launcher.xml to manage it.

Mark

On Mon, Dec 12, 2011 at 8:29 AM, Tom Autry  wrote:

>  We made some changes to structure builder in 1.7.2 but had to put
> replace StructBuilder.class in [dspace-source]/
> dspace-api/src/main/java/org/dspace/administer since there doesn’t seem to
> be an overlay for it under [dspace-source]/dspace/modules.  We replaced the
> class with our previous code but when running Maven to update the code, it
> doesn’t seem to update properly as our added options are not present in the
> compiled code.  We are still new to the Maven/Ant build process so it may
> be something simple that we have missed.  Any help would be appreciated.
> Would the code be downloading and replacing itself?
>
> ** **
>
> ** **
>
> Thanks.
>
> ** **
>
> Tom Autry
>
> Coffing Corporation
>
> 3136 Presidential Drive
>
> Fairborn, Ohio 45324
>
> Office: 937-458-6100
>
> Cell: 937-361-4680
>
> Email: tom.au...@coffingco.com
>
> ** **
>
> --
> This e-mail message and any attachments may contain legally privileged,
> confidential or proprietary information. If you are not the intended
> recipient(s),or the employee or agent responsible for delivery of this
> message to the intended recipient(s), you are hereby notified that any
> dissemination, distribution or copying of this e-mail message is strictly
> prohibited. If you have received this message in error, please immediately
> notify the sender and delete this e-mail message from your computer. Any
> views expressed in this message are those of the individual sender and may
> not necessarily reflect the views of the company.
>
>
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SOLR connection issues

2011-11-28 Thread Mark Diggory
Your Solr server is no longer accessible on localhost for the client to use, I 
would double-check that your solr search and statistics host:port 
configurations in the dspace.cfg and/or modules/discovery.cfg are correct for 
your system.

Mark

On Nov 28, 2011, at 7:49 AM, Poulter, Dale wrote:

> Good morning,
>  
> We upgraded to 1.8 and everything seems to be working fine.  However, when we 
> attempted to turn on the discovery portion of the mirage theme following the 
> steps outlined in 
> https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery
>  and ran dspace update-discovery-index we received the errors below.  Has 
> anyone encountered this error or have suggestions?  Thank you.
>  
>  
>  
> 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:375)
> 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:100)
> at 
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:348)
> ... 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:1&wt=javabin&version=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
> Automation Coordinator
> Library Information Technology Services
> Vanderbilt University
> 419 21st Avenue South, Room 812  
> Nashville, TN  37203-2427
> (615)343-5388
> (615)343-8834 (fax)
> (615)207-9705 (cell)
> dale.poul...@vanderbilt.edu


-- 
 
Mark Diggory
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] setting up an aspect.

2011-11-17 Thread Mark Diggory
Jose,

I think that we should look to Discovery if we want hierarchical subject
browsing. We can attain this by indexing subject hierarchies found in
dspace metadata values as untokenized paths.(subject 1 :: subject 2 ::
subject 3).  Parsing on the path structure, we can create lists of lists in
the options panel and in the "view all" pages ( which replace BrowseBy
indexes ). Alternatively, term completion can match on the beginning of the
hierarchy and the user can refine thier way through the entire hierarchy
via term completion, narrowing down as they type. It would present only the
CV topics that actually exist in the repository contents.

This would be more of a customization of the discovery facet rendering than
it would be a separate aspect.  It would be a welcomed contribution to
discovery.

Mark

On Thursday, November 17, 2011, Blanco, Jose  wrote:
> I'm working on creating a new aspect to support a hierarchical subject
browsing in manikin, and have been pretty successful creating the aspects I
need just looking at similar aspects that already exist and changing a few
things, now I'm getting to the point where I would like to add a "division"
( I think ) where the user can browse the subject by title/author/date, and
I'm just not sure how to add this division so that something like this is
created:
>
> http://deepblue.lib.umich.edu/subject-search?subject=1&subjectsecondary=7
>
>
> (specifically the block at the bottom that has:
>
> or browes  |Titles|Authors|By Date|
>
> For now, I just want to add these buttons in an area like that and work
from there.  Is there any documentation on how to create such a division?
>
> Thank you!
> Jose
>
>
--
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding a cover page to a PDF file

2011-11-17 Thread Mark Diggory
t Name+comma+Encoding Name
> (OPTIONLAL)#   Japanesecoverpage.font.cjk.ja =
> HeiseiMin-W3,UniJIS-UCS2-H#   Traditional
> Chinesecoverpage.font.cjk.zh_tw = MSung-Light,UniCNS-UCS2-H#
> Simplified Chinesecoverpage.font.cjk.zh_cn =
> STSong-Light,UniGB-UCS2-H#   Koreancoverpage.font.cjk.ko =
> HYSMyeongJo-Medium,HYSMyeongJo-Medium
> # Specify communities that are omitted to add cover page
> #Format: community's handles separated with commas
> (OPTIONAL)coverpage.omit.community = 10236/5
>
> # Specify collections that are omitted to add cover page#Format:
> collection's handles separated with commas (OPTIONAL)
> #coverpage.omit.collection = 10236/4,10236/57
> # Specify the metadata that are displayed on the cover page
> #   Format: Tag name + colon + metadata field namecoverpage.field.1 =
> Title:dc.titlecoverpage.field.2 =
> Author(s):dc.contributor.authorcoverpage.field.3 =
> Citation:dc.identifier.citationcoverpage.field.4 = Issue
> Date:dc.date.issuedcoverpage.field.5 =
> URL:dc.identifier.uri#coverpage.field.6 = Right:dc.rights
> === until this 
> Hope this helps you.
>
> Keiji Suzuki
> Ebetsu, Japan
>
>
>
>
> --
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
> Access and download SEAFDEC/AQD publications for FREE
>
> http://repository.seafdec.org.ph
>
> [SEAFDEC/AQD Institutional Repository (SAIR)]
>
> - the official digital repository of scholarly and research information of
> the department
>
>  
>
> Search our library collection
>
> http://opac.seafdec.org.ph/wx
>
> [SEAFDEC/AQD Library Online Public Access Catalog]
>
>  
>
> Questions? Ask a Librarian!
>
> Email:   libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com|
> seafdecaqdlibr...@gmail.com
>
> Chat:[Google Talk] seafdecaqdlibrary |
> libr...@seafdec.org.ph
>
> [Yahoo Messenger]seafdecaqdlibrary 
>
> Call:  63 33 5119170, 63 33 5119171 local 409 and 413
>
> Visit: Library, SEAFDEC Aquaculture Department, Tigbauan,
> Iloilo, Philippines
>
>  
>
> Like us on Facebook  
> facebook.com/seafdecaqdlib<http://www.facebook.com/seafdecaqdlib>
> Follow us on Twitter:  
> twitter.com/seafdecaqdlib<http://ww.twitter.com/seafdecaqdlib>
> Follow us on Google +:   gplus.to/seafdecaqdlib
>
> ** **
>
>
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Citation notification add-ons for DSpace?

2011-11-17 Thread Mark Diggory
MarkW,

This reminds me quite dramatically of the ongoing work on Dryad at NESCent.
 Though it is a more proactive effort to get data cited in Journal Articles
rather than associate it after the fact.  Thus it is more of a direct
partnership between the Data Repository and the Journal Publisher than
Storelink appears to be. Though I can see some the possibility of Storelink
being used as a tool to trace the Dryad Publication/Data citation
relationship.

Dryad's role is to specifically provide a means to archive Datasets in
preparation for Citation in Journal Articles.  Thus there is a very
specific workflow to support interaction between the Manuscript Authors,
the Journal Publishers, the Manuscript Reviewers and the Data Repository
Curators.  DOI's are reserved but not published for Data Packages and used
in Journal Manuscripts to cite the archived data.  Data Packages may be
embargoed until the Article is officially published in a Journal Issue as
requested by the publisher.

The general goal is to capture the data prior to publication so that
citation linking can happen to the original research data.

I'm including Ryan Scherle into the thread as he is the Repository
Architect and Project Lead on Dryad at NESCent and can provide you with
more strategic feedback.  If you want to talk with me further about some fo
the DSpace customization details, I'd be glad to followup with you either
here in the listserv or via Skype/IRC.

Best,
MarkD

On Thu, Nov 17, 2011 at 9:26 AM, Mark H. Wood  wrote:

> We've interest in citation notification such as JISC Storelink:
>
>
> http://www.jisc.ac.uk/whatwedo/programmes/digitalrepositories2007/storelink.aspx
>
> Sadly there isn't much more than a sketch of the proposal there.
> Someone here is following up with Storelink's project manager, but
> we're wondering if anyone else has done something similar.
>
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Asking whether markets are efficient is like asking whether people are
> smart.
>
>
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding new uri

2011-11-11 Thread Mark Diggory
Jose, can you show us more... not seeing this in context of the rest of the
sitemap make diagnosing why your not seeing the page difficult.

I don't think its a caching issue if your testing this in your deployed
xmlui, it should just reload the sitemap.

Mark

On Fri, Nov 11, 2011 at 9:03 AM, Blanco, Jose  wrote:

> I'd like to repose these questions.
>
> I guess my problem is that I'm having a real hard time understanding the
> flow of a request in the manakin world.
>
> I know that in the jspui world the web.xml file is the starting point for
> a request and gets you going on the path, but how does it work in cocoon.
>  When a uri, say, "/abc" comes in. what is the path it takes before the
> page is rendered?  I think this would be great to know, and could really
> help me better understand the xmlui interface.
>
> Also, the different options for clearing the cache would be good to know.
>  In other words, what are my options when I think I'm not seeing my changes
> and I suspect it's a caching problem.  I never saw this in jspui world.
>  Once I refreshed my browser, there was the change.
>
> Many, many thanks to whomever takes on these questions.
>
> -Jose
>
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
> Sent: Thursday, November 10, 2011 4:58 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] adding new uri
>
> I'm trying to add a new uri to my test manakin area.  The uri is
>
> /subject-list
>
> I added this, for now, to test to the aspects/BrowseArtifacts/sitemap.xmap
> file:
>
>
>
>
>
>
>
>
> I was expecting the community list page to show up, but I'm still seeing
> PageNot found.  What am I not doing?
>
> Also, What is the directory I have to remove when I suspect the cache is
> not being erased?
>
> Thank you!
> Jose
>
>
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] item counter failed

2011-10-13 Thread Mark Diggory
This is a caching bug in the xmlui, we've dealt with it recently by
disabling caching in cocoon.  This and other caching refreshvissues emerged
when Larry Stone's enhancements to return last modified headers based only
on the DSpaceObjects last modified field and not the combined state of all
the presentation elements being added to the view, we see it in recently
added, we see it in item counter, we see it in discovery.

To repair... Open your WEB-INF/sitemap.xmap file and replace your caching
pipe with the class found it our noncaching pipe. The clear all caching by
deleting the contents of your tomcat work directory and restart your tomcat
server.

Mark

On Thursday, October 13, 2011, Stuart Lewis  wrote:
> Are you running the following command to refresh the strength cache?
>
>  - [dspace]/bin/dspace itemcounter
>
> Perhaps run it every 10 minutes as a cron job.
>
> Thanks,
>
>
> Stuart Lewis
> Digital Development Manager
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
>
>
> On 13/10/2011, at 7:04 PM, Webshet, Sisay (ILRI) wrote:
>
>> Hi,
>>
>> I just tried but it doesn’t work
>> Thanks
>> sisay
>>
>> -Original Message-
>> From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
helix84
>> Sent: Wednesday, October 12, 2011 4:11 PM
>> To: Webshet, Sisay (ILRI)
>> Cc: dspace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] item counter failed
>>
>> AFAICT you did everything correctly. The numbers may stop updating
>> because Cocoon can serve you the whole page from  cache.
>>
>> You should try to clean the Cocoon cache:
>>
>> 1.) First, don't forget to shutdown Tomcat.
>> 2.) cd ${tomcat6.home}/work/Catalina/{appropriate.domain.dir}/_/
>> 3.) rm -rf cache-dir
>> 4.) Start Tomcat again.
>>
>> Regards,
>> ~~helix84
>>
--
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2d-oct
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
>
--
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] More information Re: DSpace 1.8 - Item Import

2011-10-12 Thread Mark Diggory
Could everyone testing this please verify if xmlui jars are in you
DSpace/lib directory or not.  Post the contents of your lib directory. We
need to understand the difference in environments when there is a success vs
a failure.

Mark

On Wednesday, October 12, 2011, Wendy J Bossons  wrote:
> As well, the tail end of the stack trace references the xmlui
WingTransformer . . . Not sure how this bears on the command line . . .
please help.
> at
org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)
> at
org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1271)
> at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1242)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException:
org.dspace.app.xmlui.wing.WingTransformer
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
>
> ..\Wendy
> "  A journey of a thousand miles must begin with a single step. "
> Wendy Bossons
> Senior Software Engineer
> MIT Libraries
> Software Analysis and Development
> 77 Massachusetts Avenue
> Cambridge, MA 02139-4307
> 617-253-0770
> wboss...@mit.edu
> On Oct 12, 2011, at 10:34 AM, Wendy J Bossons wrote:
>
> Hello,
> I am trying to import an item from the command line. However, I keep
getting a stack trace. Has anyone seen this and how can I resolve it? The
test command and *beginning* of the stack trace follows . . .
> sudo /bin/dspace import -a -e wboss...@mit.edu-c 
> 123456789/34 -s /exports/1 -m /imports -t
> Failed to startup the DSpace Service Manager: failure starting up spring
service manager: Error creating bean with name
'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in
class path resource [spring/spring-dspace-applicationContext.xml]:
Unsatisfied dependency expressed through constructor argument with index 0
of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: :
Error loading class
[org.dspace.app.xmlui.aspect.xmlworkflow.actions.userassignment.ClaimAction]
for bean with name 'claimaction_xmlui' defined in file
[/home/dspace/dspace-scm-18/config/spring/xmlui/workflow-actions-xmlui.xml]:
problem with class file or dependent class; nested exception is
java.lang.NoClassDefFoundError: org/dspace/app/xmlui/wing/WingTransformer;
nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException:
> ..\Wendy
> "  A journey of a thousand miles must begin with a single step. "
> Wendy Bossons
> Senior Software Engineer
> MIT Libraries
> Software Analysis and Development
> 77 Massachusetts Avenue
> Cambridge, MA 02139-4307
> 617-253-0770
> wboss...@mit.edu
> 
>

-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Hardcoded messages in Manakin

2011-10-08 Thread Mark Diggory
we need to externalize those still, related items in discovery is not
enabled by default, so this is an edge case.

if your feeling ambitious, please externalize them and we will patch the
class so that you have message keys for those fields. you can see the
convention in other classes in the sqme package. open a jira task and we
will make sure its attributed to you.

thanks for catching this.

mark

On Saturday, October 8, 2011, Федор Краснов  wrote:
> Hello,
> We are doing  russian internationalization for Manakin and found few
hardcoded messages in Java classes that displayed in Web Interface.
> The strings "Related Items" and "Items By Author:" are going from class
> RelatedItems.java  (rows 101, 110)
> direct to  the web page without touching  item-view.xsl
> If I will change english strings  to russian in Java code the MVC2 pattern
will be broken.
> Advise me, please, what should I do with it?
> Regards,
> Fedor.
>

-- 
[image: @mire Inc.]
*Mark Diggory*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Private Collections

2011-09-21 Thread Mark Diggory
Miguel,

Creating private Collections where the contents cannot be searched or
browsed is not possible at this time. The Search and Browse indexes
are not sophisticated enough to filter the search based on user
role/permissions.

Cheers,
Mark



On Mon, Sep 19, 2011 at 9:10 AM, Miguel A. Robledo
 wrote:
> Hello everyone,
>
> In my organization need some private collections. My intention is restrict
> access to many searches. You can apply this kind of restrictions on one or a
> set of collections?
>
> It is possible apply to certain items in a collection?
>
> What do you recommend?
>
> --
> Ing. Miguel A. Robledo
>
> Dirección Provincial de Gobierno Digital
> Tucuman 2657 1º Piso - Santa Fe
> Teléfono: 0342-4508704
>
> --
> 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-general mailing list
> dspace-gene...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-general
>
>



-- 

Mark Diggory @mire Inc.
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XML from dissemination crosswalk

2011-09-20 Thread Mark Diggory
Jason,

Ok, in this case you don't need a packager, what you need is a Cocoon
Generator that renders the Crosswalk to the browser.

Take a look at the OREGenerator...
http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceOREGenerator.java

It will show how to generate the crosswalk into Cocoon.  You'll find
the Cocoons configuration for the ore.xml generator in the default
sitemap.









http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/sitemap.xmap


On Tue, Sep 20, 2011 at 2:35 PM, Jason Stirnaman  wrote:
> Here's the follow-up to my previous question.
>
> I have a crude (but useable) XSLT crosswalk ("nlm") in DSpace. It transforms
> DIM metadata to fit the NLM Journal Publishing profile. I can test the
> output successfully with OAI-PMH.
>
> As it turns out, I don't really need to export bitstreams. I just need the
> metadata for a set of items within a collection that would be specified by
> the end-user/Community Owner. So, if I want just the crosswalk output for
> that set of items and I don't want the OAI protocol wrapper or the
> bitstreams, then do I still need a custom packager for that as in Mark's
> IMSCP example? I expect the answer is yes.
>
> I think what 'm really wanting is to be able to call the crosswalk as a
> method on the collection, in a RESTful way, and return the output as a
> single XML document for the collection containing each of the transformed
> items.
>
> Conjured example: handle/2271/883/nlm.xml or nlm/handle/2271/883
>
> Jason
>
>
> Jason Stirnaman
> Biomedical Librarian, Digital Projects
> A.R. Dykes Library, University of Kansas Medical Center
> jstirna...@kumc.edu
> 913-588-7319
>
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 

Mark Diggory @mire Inc.
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
 www.atmire.com

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] crosswalking and disseminating

2011-09-15 Thread Mark Diggory
Jason,

The AIP and default SWORD Packaging are biased towards METS, you'll want to
write your own packager to support the NLM Manifest format. To show you a
similar approach, here is the iMSCP IMLS packager used by MIT to ingest and
disseminate IMSCP Packages of OCW courses.

http://scm.dspace.org/svn/repo/modules/dspace-imscp/trunk/src/main/java/org/dspace/content/packager/

We do need more examples of Packages that are not METS based so this would
be an excellent opportunity to reinforce to the community that while METS is
great, we need to be sure we are not stick with it being the only solution.
It needs to be clarified that SWORD is not bound to just accepting Its
METS/SWAP packaging format, we worked with MIT to asure they could push
thier packaging format through SWORD as well.

Mark

On Thursday, September 15, 2011, Jason Stirnaman 
wrote:
> Thanks, Tim, for taking a shot at it. Sorry for being too vague. The
requirements are pretty loose.
>
> In this case, I have Community/Collection owners wanting to export content
to National Library of Medicine for indexing. For now at least, they'll need
to export the complete contents of a new collection each time. So, selecting
the content is pretty straightforward whether I use the AIP or OAI.
>
> The metadata has to follow NLM's schema which is why I assume an XSLT
crosswalk is best.
>
> The bitstreams need to be bundled up with, and referenced locally by, the
metadata.
>
> Downloading to a specific location would be ideal, but exporting to the
DSpace server filesystem is fine; I can get it to them from there.
>
> Yes, I think the AIP B&R is what I was referring to. It's just a little
unclear in the sysadmin documentation what the relationship is between the
METS and AIP packagers.
>
> Given that's what I wanted, how would I specify a crosswalk for the AIP
feature to transform METS to NLM? Or is that even possible without writing a
custom packager?
>
> And if Graham or anyone else is using DSpace to get stuff to NLM or other
indexers then I would love to hear from you.
>
> Jason
>
> Jason Stirnaman
> Biomedical Librarian, Digital Projects
> A.R. Dykes Library, University of Kansas Medical Center
> jstirna...@kumc.edu
>
913-588-7319  >
 >>
>
>
 On 9/15/2011 at 12:34 PM, in message <4e723712.9040...@duraspace.org>,
Tim Donohue  wrote:
>
> Hi Jason,
>
> I'm not sure I fully follow your use case, but a few things you may wish
> to look at (if you haven't already):
>
> * If you are looking at exporting METS + bitstreams, have you taken a
> look at the AIP Backup & Restore feature (which generates "AIPs" that
> are just zipped up METS files + bitstreams):
> https://wiki.duraspace.org/display/DSDOC/AIP+Backup+and+Restore
> More about the AIP format here:
> https://wiki.duraspace.org/display/DSDOC/DSpace+AIP+Format
>
> * If you are interested in hooking up Curation Tasks to
> Packagers/Disseminators, that is possible. In fact, Richard Rodgers & I
> are working on a 1.8.0 "add-on" called the Replication Suite, which
> brings AIP export/import to Curation Tasks:
> https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite
> More details in my slides from OR11 on using Replication Suite to
> backup/restore to/from DuraCloud:
> http://www.slideshare.net/tdonohue/dspace-duracloud-integrations
>
> I'm not sure if either of these will help your use case or not, but both
> are examples of using Packagers (along with crosswalks) to export METS +
> bitstreams and enable that via Curation Tasks.
>
> Perhaps if you described your use case a bit more? Is what you are
> building an Administrator tool? End user tool? Is it a specific METS
> format/profile you need, or specific Metadata schemas? When they
> "export" are they actually needing to download it to a specific
> location, or just export to the filesystem on the server where DSpace is
> running? (the latter is how the Replication Suite works, unless you
> connect it to DuraCloud or point it at a mounted drive)
>
> - Tim
>
> On 9/15/2011 11:32 AM, Jason Stirnaman wrote:
>> I need some advice on the best (easiest, preferred) lightweight method
>> for exporting crosswalked metadata and bitstreams. I've read the
>> crosswalk configuration docs at
>> /_
http://www.dspace.org/1_7_1Documentation/Configuration.html#Configuration-CrosswalkandPackagerPluginSettings
>> <
http://www.dspace.org/1_7_1Documentation/Configuration.html#Configuration-CrosswalkandPackagerPluginSettings
>_/and
>> the sysadmin packager docs at
>> /_
http://www.dspace.org/1_7_1Documentation/System%20Administration.html#SystemAdministration-PackageImporterandExporter
>> <
http://www.dspace.org/1_7_1Documentation/System%20Administration.html#SystemAdministration-PackageImporterandExporter
>_/as
>> well as some of the plugin stuff.
>>
>> Specifically, I need to enable some users to export a new collection of
>> items and their bitstreams on a regular basis and ultimately ftp it
>> somewhere. I need to do some transformation of the metadata. All the
>> e

Re: [Dspace-tech] Discovery - negative boost for full text field

2011-09-15 Thread Mark Diggory
This is a good one, what you want is to add filters to the query that will
attach wieght to the full text index to reduce its relevancy.  To so this,
you will want to adjust the discovery solr schema to alter the relevancy in
the request handler.

I don't have specifics on those settings. It something to rraeach on the
solr docs and user lists.

Best,
Mark
On Sep 15, 2011 11:18 AM, "Germán Biozzoli" 
wrote:
>
> Hi people
>
> Is there a way to enhace the discovery rank for documents that have
fulltext?
> I wish to present metadata's obtained results first than fulltext ones.
>
> Thanks & regards
> German
>
>
--
> 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
--
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


Re: [Dspace-tech] SWORDMETSIngester error

2011-09-13 Thread Mark Diggory
Bill, did you see Tim's post in the thread?

Mark

On Tue, Sep 13, 2011 at 11:47 AM, Ingram, William A
wrote:

> Hi all,
>
> I posted this last week, but got no response. Does anyone here know
> anything about METSManifest.crosswalkItem? See below.
>
> Thanks.
>
> -Original Message-
> From: Ingram, William A
> Sent: Thursday, September 08, 2011 10:48 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: SWORDMETSIngester error
>
> Hi,
>
> I am trying to send packages to DSpace 1.5.2 via SWORD, but they are being
> refused due to a crosswalk error. See below the top of the stacktrace, and a
> snippet of my dspace.cfg below that. The package METS.xml is attached.
>
> Thanks,
> Bill
>
>
> // --- stacktrace ---
>
> 2011-09-07 20:04:19,662 ERROR org.dspace.sword.SWORDMETSIngester @ caught
> exception:
> org.dspace.content.crosswalk.MetadataValidationException: Cannot process
> METS Manifest: No crosswalk found for MDTYPE=DIM
>at
> org.dspace.content.packager.METSManifest.crosswalkItem(METSManifest.java:796)
>at
> org.dspace.content.packager.DSpaceMETSIngester.chooseItemDmd(DSpaceMETSIngester.java:174)
>at
> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:390)
>at
> org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:115)
>at
> org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:179)
>at org.dspace.sword.DepositManager.deposit(DepositManager.java:173)
>at
> org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:153)
>at
> org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:336)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>...
>
> // --- dspace.cfg ---
>
> # Crosswalk Plugins:
> plugin.named.org.dspace.content.crosswalk.IngestionCrosswalk = \
>  org.dspace.content.crosswalk.DIMIngestionCrosswalk = DIM \
>  org.dspace.content.crosswalk.DIMIngestionCrosswalk = dim \
>  org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = DC \
>  org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = dc \
>  org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = OAI_DC \
>  org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = oai_dc \
>  org.dspace.content.crosswalk.QDCCrosswalk = QDC \
>  org.dspace.content.crosswalk.QDCCrosswalk = qdc \
>  org.dspace.content.crosswalk.PREMISCrosswalk = PREMIS \
>  org.dspace.content.crosswalk.OREIngestionCrosswalk = ORE \
>  org.dspace.content.crosswalk.OREIngestionCrosswalk = ore \
>  org.dspace.content.crosswalk.NullIngestionCrosswalk = NIL \
>  org.dspace.content.crosswalk.NullIngestionCrosswalk = nil
>
> plugin.selfnamed.org.dspace.content.crosswalk.IngestionCrosswalk = \
>  org.dspace.content.crosswalk.XSLTIngestionCrosswalk
>
> mets.submission.crosswalk.DIM = DIM
> sword.accept-packaging.METSDSpaceSIP.identifier =
> http://purl.org/net/sword-types/METSDSpaceSIP
> sword.accept-packaging.METSDSpaceSIP.q = 1.0
>
> # A comma separated list of MIME types that SWORD will accept
> sword.accepts = application/zip
>
>
>
> --
> Bill Ingram
> Research Programmer
> Scholarly Communication and Repository Services
> University of Illinois at Urbana-Champaign
>
>
>
>
> --
> 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
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
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


Re: [Dspace-tech] rogue items with no handles

2011-09-09 Thread Mark Diggory
Hi Tim,

I worked with Bill locally on the issue yesterday. The null pointer happens
because the orphaned item does not have a collection and thus cannot be
deleted from that collection.  This goes back to that whole argument about
items only being able to be removed/deleted from thier containing
collections.  It just doesn't make sense. Items should be deletable by the
application directly, clearing their references in other containers should
happen afterward this in the transaction and be conditional on their
actually existing in those containers. (collection, workspace and workflow).
Folks don't get it that Item is the aggregate root, not Collection, an Item
may he associated with 3 different containers (collection, workspace,
workflow) thus none of these are.its aggregate root.

Ideally we should be writing buisness services that are responsible for
clearing all the constraints on a item when it is deleted. If folks want to
customize dspace adding more constraints, they can, as long as they write in
a manner that contributes proper actions within the transactional window.
Ironically, we designed all this already in dspace 2.0 request services and
the request interceptors.  It just needs to be properly implemented for the
legacy domain model. Sadly the minor api changes to get that started in the
next development cycle were shot down because folks just don't get what we
are trying to do here.

Finally, if we do want to do DSpace on Fedora, we need to clear this issue
because in Fedora, Collections are not aggregate roots. Fedora objects are.

Mark
 On Sep 9, 2011 9:56 AM, "Tim Donohue"  wrote:
> Hi Bill,
>
> I'm curious, what are the details of the NullPointerException which is
> thrown when you attempt to delete/withdraw these items from the UI? That
> might give some clue as to what is missing from these items, and how
> best to "temporarily fix" them to expunge them completely.
>
> For example, if the NullPointer has to do with the missing handle, then
> it might be easiest to assign them a handle manually, so that they can
> be removed via the UI. Otherwise, you are correct, you may need to dig
> into the database to figure out the proper SQL query to clean them up
> (but that is potentially messy for the reasons you mentioned). If you
> do dig into SQL, obviously make sure to backup the DB first.
>
> - Tim
>
> On 9/7/2011 10:57 AM, Ingram, William A wrote:
>> Hi folks,
>>
>> I have a couple items in my repository that somehow managed to be
ingested without handles. They come up in searches, and are always listed at
the top of the recent item list, but are not browsable. I do know the item
IDs, but trying to withdraw or expunge the items throws a null pointer
exception.
>>
>> Does anyone know how to safely delete these? I am hesitant to simply
remove them from the item table because the item_id is a foreign key in so
many other tables. Would it be better to assign them a handle first, and
then expunge them through the gui? If so, how?
>>
>> Any thoughts/experience?
>>
>> Thanks,
>> Bill
>>
>> --
>> Bill Ingram
>> Research Programmer
>> Scholarly Communication and Repository Services
>> University of Illinois at Urbana-Champaign
>>
>>
--
>> Using storage to extend the benefits of virtualization and iSCSI
>> Virtualization increases hardware utilization and delivers a new level of
>> agility. Learn what those decisions are and how to modernize your storage
>> and backup environments for virtualization.
>> http://www.accelacomm.com/jaw/sfnl/114/51434361/
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
> Why Cloud-Based Security and Archiving Make Sense
> Osterman Research conducted this study that outlines how and why cloud
> computing security and archiving is rapidly being adopted across the IT
> space for its ease of implementation, lower cost, and increased
> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] recent submissions on the front page

2011-08-19 Thread Mark Diggory
Adjust your theme xslt to hide the section in the home page with a
template match.

Mark

On Thu, Aug 18, 2011 at 11:14 AM, Joseph  wrote:
> Sisay and Bruno,
> It looks like they are using the Discovery aspect (note the discovery
> section on the side).  This aspect adds a "Recently Added" section to the
> front page by default. Then you can style it as you like.
> I'm actually have the opposite problem.  I'm using the discovery aspect but
> would like to hide the "Recently Added" section.
> -Joseph
>
> On Mon, Jul 4, 2011 at 01:46, Webshet, Sisay (ILRI) 
> wrote:
>>
>> Hi all,
>>
>>
>>
>> Iam working on dspace 1.7.1 with xmlui (mirage) but Iam  new to xsl.can
>> anybody assist me
>>
>> on how to bring recent submissions on the front page.
>>
>> I like the way the  California state university did their front page.
>>
>> http://csusm-dspace.calstate.edu/xmlui/
>>
>>
>>
>> Please help me
>>
>>
>>
>> Thanks
>>
>> sisay
>>
>>
>> --
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
> --
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to share a collection among many communities?

2011-08-19 Thread Mark Diggory
Alexandre,
Yes, what you are reading is old documentation. The core codebase
supports placing a collection in more than one community. But the user
interfaces do not and the behavior may be unexpected.  This is an area
of DSpace that was never completely implemented.  I would avoid
attempting to add a a collection to more than one community.

Mapping items into multiple collections is probably a bit more stable,
although personally, I'm not sure I've ever seen a valid reason to
want to do it. Its always been my opinion that the urge to start
mapping items across collections means that your overloading the
meaning of the Community/Collection hierarchy for your organization
and treating it as a classification scheme rather than a tool to
manage submitter and review workflow.

Note, The introduction of Discovery/Solr to DSpace as a search
solution had the intent of providing the repo developers with a tool
to create views over DSpace content that are not
"Community/Collection" centric. Though this is still in its
adolescence, eventually navigation over DSpace content by a means
other than a community/collection hierarchy will lead to a better
separation of management and presentation features and less need to
attempt multiple item mapping in the first place.

Mark

On Thu, Aug 18, 2011 at 3:09 PM, helix84  wrote:
>
> On Thu, Aug 18, 2011 at 22:52, Stuart Lewis  wrote:
> > Using the batch CSV editor won't work, as this just allows items to be 
> > added to collections, not to communities.
>
> Oh, I misread, thanks for catching that.
>
> Regards,
> ~~helix84
>
> --
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bad date problem in DSpace 1.7.1

2011-08-19 Thread Mark Diggory
George,

I would say that it could be more gracefully handled in the UI so that there
are not parsing errors. But, the larger challenge is that its not a problem
with the UI, the expectation is that the dates are ISO format, putting other
values into that field is invalid. If anything were to be fixed, the fields
should be properly typed and validated on submission / item edit / import to
stop such values getting into there in the first place.

I would recommend starting a JIRA task (if one does not already exist) about
the topic if its something that you would like to see fixed in the future.

Mark


On Thu, Aug 18, 2011 at 11:48 AM, George S Kozak  wrote:

> Hi, Susan:
>
> I reported the same problem back in May.  I was told to exported the
> metadata for the problem records and then reimport them after fixing them.
>  That worked, but I never heard anyone saying that the problem was going to
> be fixed.
>
> George Kozak
> Digital Library Specialist
> Cornell University Library Information Technologies (CULIT)
> 501 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> 
> From: Thornton, Susan M. (LARC-B702)[LITES] [susan.m.thorn...@nasa.gov]
> Sent: Thursday, August 18, 2011 12:13 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] Bad date problem in DSpace 1.7.1
>
> Hi,
> I am in the process of upgrading from DSpace 1.5.1 to 1.7.1.  I am
> almost done and am running index-init, but I’ve just noticed a problem.
>  With previous versions of DSpace, if a “bad” date was encountered in one of
> the date fields (issue date, accession date, publication date), DSpace just
> ignored it.  Now, it seems it is unable to either display the Item page or
> the Browse screen if encounters one of these records.  Here’s an example:
>
> One of our items has the following invalid issue and publication date that
> our Users have never gotten around to correcting:
>
> "Washington, D.C. :1955."
>
> If I try to display the Item, the screen is blank and the following message
> displays in the dspace.log file:
>
> 2011-08-18 12:07:14,232 WARN  org.dspace.content.DCDate @ Mangled date:
> Washington, D.C. :1955.  ..failed all attempts to parse as date.
>
>
> The same message displays if I try to browse by issue date.
>
> I know the “right” thing to do is to clean up our data, but I also know we
> have quite a few of these old bad dates and am wondering why DSpace is now
> having a problem with it.
>
> Thanks,
> Sue
>
>
>
> Sue Walker-Thornton
> Software Developer/Database Administrator
> NASA Langley Research Center|LITES Contract
> SGT, Inc.|130 Research Drive
> Hampton, Va.  23666
> Office: (757) 224-4074
> Mobile: (757) 506-9903
> Fax: (757) 224-4001
> susan.m.thorn...@nasa.gov
>
>
>
> --
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Why does DSpace use XSLT 1.0?

2011-08-17 Thread Mark Diggory
The previous problem is that the only support for XSLT 2.0 is Saxon, and
Michael Kay decided to limit access to it via Maven, it had been hidden for
some time.  Now it appears to be in Maven and available again.

http://repo1.maven.org/maven2/net/sf/saxon/saxon/8.7/

Its not the latest, but it is XSLT 2.0

Mark




On Wed, Aug 17, 2011 at 8:21 AM, Tim Donohue  wrote:

> Hi helix84,
>
> The only reason I'm aware of is that Apache Cocoon (which XMLUI is built
> on) by default only supported XSLT 1.0 at the point in time when XMLUI
> was actually developed.
>
> Many of those dependencies you noted are actually default dependencies
> of Apache Cocoon.
>
> Since then, it sounds like Cocoon can be patched/configured to support
> XSLT 2.0, as least according to this email thread I found (skim to
> bottom of thread):
>
> http://comments.gmane.org/gmane.text.xml.cocoon.user/68284
>
> There's also various pages on the web which detail how to switch Cocoon
> to use Saxon instead of the default Xalan:
> http://blog.reverycodes.com/archives/34.html
>
> So, it sounds like the XMLUI would need to update its sitemaps & Cocoon
> settings to properly support XSLT 2.0.
>
> In any case, these seems like it might be a worthwhile change to
> investigate.  I agree, it'd be nice to upgrade XMLUI to support XSLT 2.0.
>
> If you are willing to do so, I'd suggest opening a JIRA ticket with this
> information.  That way we can start to track the work, and add
> notes/hints to that ticket.
>
> - Tim
>
> On 8/17/2011 9:50 AM, helix84 wrote:
> > Hello,
> >
> > I'm currently doing some customizations in XMLUI and on every step I
> > find myself using XSLT 1.0 workarounds while it would be much easier
> > to use XSLT 2.0. I want to ask why DSpace (or Cocoon or whatever
> > component) still uses XSLT 1.0?
> >
> > I tried to detect if I can just change the stylesheet to
> > version="2.0", but it doesn't seem to work. I tried to detect
> > supported XSLT version with this XSLT fragment:
> > http://www.oxygenxml.com/archives/xsl-list/200710/msg2.html
> > and it seems DSpace uses xalan-j. But the XMLUI error messages
> > sometimes output "org.xml.sax.SAXParseException" and sometimes
> > "javax.xml.transform.TransformerException" (here it mentions xalan in
> > the stacktrace). So which parser does DSpace use, Xalan (which seems
> > to only support XSLT 1.0) or Saxon (which supports XSLT 2.0)? Or does
> > it use Xalan only for XPath? I'm not really at home in this, so please
> > explain.
> >
> > Regards,
> > ~~helix84
> >
> >
> --
> > Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> > user administration capabilities and model configuration. Take
> > the hassle out of deploying and managing Subversion and the
> > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> --
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tools for automatic creation of dublin core and contents

2011-08-10 Thread Mark Diggory
I think Magnus is looking for a tool that reads the pdf and extracts
subjects, title, author metadata from it.  We do not have something like
that at this time. However, someone could write either a mediafilter,
curation task or consumer that would parse the documents and pull out
possible metadata fields, though this would be heuristically complex if it
is not in PDF or DOC metadata/bibliographies/etc. I believe there are some
third party tools out there that do make an attempt to extract such data,
but a review is necessary and we could engineer something that supports this
capability for DSpace.

http://www.zotero.org/support/retrieve_pdf_metadata

http://meta-extractor.sourceforge.net/

http://www.pdfa.org/doku.php?id=artikel:en:pdfa_metadata

Other formats...

http://www.forensicswiki.org/wiki/Document_Metadata_Extraction

Magnus, we do complete a full text extract of the document which is indexed
into the DSpace search system.

Cheers,
Mark

On Wed, Aug 10, 2011 at 7:39 AM, Tom De Mulder  wrote:

> On Wed, 10 Aug 2011, Magnus Norberg wrote:
>
> > does anyone know if there are any tools for automatic creation of dublin
> >core files and "contents" files?
> >
> > One need these files for batch import, one for each object. But if I
> >have like a thousand files (for example PDF files) on my harddrive that I
> >want to import into DSpace in a batch import, I do not want to create all
> >these "Item1", "Item2" and so on directories one by one, and then create
> >dublin core and content files one by one for each object, it would take
> >too much time...
>
> We created a tool that will do that work for you, all you need is the list
> of filenames and the metadata in a csv file, such as can be created by any
> spreadsheet program (Excel or OpenOffice, for example). It'll then create
> the batch import structure for you. This might be one way to help with
> your problem.
>
> http://tools.dspace.cam.ac.uk/metadatamapper/
>
>
> Best,
>
> --
> Tom De Mulder  - Cambridge University Computing Service
> +44 1223 3 31843 - New Museums Site, Pembroke Street, Cambridge CB2 3QH
> -> 10/08/2011 : The Moon is Waxing Gibbous (75% of Full)
>
>
> --
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Asking for the solution of Internal System Error Problem

2011-08-02 Thread Mark Diggory
You cannot put decimals or string values that are not of ISO date format
into a DCDate date field when doing submission.  Unfortunately, DSpace has
very poor validation support for submission form fields.

Mark

On Tuesday, August 2, 2011, Peter Dietz  wrote:
> Hi Krisada,
> Does your item have a metadata value of: ".25225552255E4."
> If that is for a numeric field, you can't have multiple decimals.
>
> Peter Dietz
>
>
>
> On Tue, Aug 2, 2011 at 2:50 AM,  wrote:
>>
>> ".25225552255E4."
>

-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] from aspect to theme

2011-07-29 Thread Mark Diggory
Its added to the "pageMeta" as a , you might look at ItemViewer and
copy that code, then maybe add "Tombstone" on the end of it...

Mark


On Fri, Jul 29, 2011 at 7:45 AM, Blanco, Jose  wrote:

> Mark, I'm pretty much finished with this.  I just want to run it by Jim
> next time we meet, but I do have one question.   The Tombstone page shows a
>
> ->
>
> In the area where normally you have links that take you back to where you
> came from, like
>
>DSpace Home >
>Archive Test Area >
>University of Michigan Transportation Research Institute Reports >
>View Item >
>
> How do I get this to show up?  I've tried a couple of things but can't find
> the mechanism that handles this.
>
> Thank you!
> Jose
>
> -Original Message-
> From: Blanco, Jose [mailto:blan...@umich.edu]
> Sent: Friday, July 22, 2011 3:15 PM
> To: Mark Diggory
> Cc: dspace-tech@lists.sourceforge.net; Mark H. Wood
> Subject: Re: [Dspace-tech] from aspect to theme
>
> Mark, I think I understand your directions.  Sorry if I'm being hard headed
> about this, but I'm hoping that making this change will help me get smarter
> about Manakin and Cocoon.
>
> So, I created the selector.  I think it does what is suppose to do.
>
> I've changed the sitemap in the ArtifactBrowse as you suggested.  BTW, I
> don't quite understand what the difference is between ArtifactBrowse,
> BrowseArtifacts, and ViewArtifacts.  Can you explain it without too much
> trouble?
>
> Here is a the change to the sitemap file.  I think it's what you suggested:
>
> 
>   
>  
> 
> 
>  
>  
> 
>
>  
>  
>
>
>
> value="xmlui.ArtifactBrowser.RestrictedItem.auth_header"/>
> value="xmlui.ArtifactBrowser.RestrictedItem.auth_message"/>
> 
> 
>
> 
>  
> 
>
> Now,  I have my new transformer aspect/artifactbrowse/TombstoneView.java,
> and I'm not exactly sure how to change it.  I copied the ItetemViewer.java
> file to TombsotneView.java, but how do I change the output of the body that
> is output?  What needs to be output so that the themes  know what to do?
>
> Thank you so much for this help
>
> -Jose
>
> -Original Message-
> From: Mark Diggory [mailto:mdigg...@atmire.com]
> Sent: Friday, July 22, 2011 1:48 PM
> To: Blanco, Jose
> Cc: dspace-tech@lists.sourceforge.net; Mark H. Wood
> Subject: Re: [Dspace-tech] from aspect to theme
>
> On Fri, Jul 22, 2011 at 10:28 AM, Blanco, Jose  wrote:
> >
> > Mark, I was kind of trying to do this.  I started by creating an
> ItemViewerNew ( transformer ) using the esiting ItemViewer that was already
> there but modifying as necessary to have the reason for withdraw show up on
> the short display.  According to what you are saying I should be able to
> create this new ItemViewerNew transformer without ( hopefully ) impacting
> the theme, but I’m not seeing it.  Don’t I need a new theme to put the
> reason code just above where the bitstreams are listed, and how do I
> eliminate the capability to click on the link that lets you go to  the
> bitstream.
>
> Not if you use the ArtifactBrowser aspect to generate the message,
> basically, your writing the DRI elements in Java rather than looking
> up the METS doc in XML/XSLT calls. You would be doing something like:
>
> Item item = (Item) HandleManager.getObject(handle)
>
> DCValue[] values = item.getMetadata(….).
>
> and then creating a DRI div to hold the message you retrieved.
>
> --
>
> What I am proposing eliminates your working in the theming layer and
> creating a separate view for rendering the Tombstone that is not
> subject to the complexities your finding in the ItemViewer.  For this
> you would be doing the following:
>
> a.) Creating a Transformer and adding DRI sections in its body method
> b.) Looking up the DSpace Item via the provided handle.
> c.) Rendering the message by getting the metadata out of the item for
> the view that is of interest in this case.
>
> This would be the simplest approach to rendering a view and would be
> useful in the next release.  You would add:
>
> 1.) TombstoneView.java as a transformer
>
> 2.) Add a section before the "restricted" sections in ArtifactBrowser
> site maps.
>
> 3.) Write a "WithdrawnSelector" that will allow the site map to have
> conditional logic to determine if the item is withdrawn or not.
>
> 4.) Wrap

Re: [Dspace-tech] Trouble upgrading Solr stats from 1.6.2 to 1.7.1

2011-07-29 Thread Mark Diggory
Wally,

Something is clearly wrong with solr, maybe look to make sure your getting a
clean build of the war in deployment (IE verify the list of jars is right in
WEB-INF/lib and look at your DSpace/solr config compared the original in
source. also review you solr pom in your dspace/modules/solr to make sure
it's identical to source.

Mark

On Thursday, July 28, 2011, wally grotophorst  wrote:
> Trying to sort out a SOLR stats issue that remains after our otherwise
> successful upgrade from 1.6.2 to 1.7.1
>
> When running 1.6.2, the Solr stats service worked perfectly.  Once we
> upgraded, I see this if I go to
> http://localhost:8080/solr/admin:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP:
>
> An error occurred at line: 32 in the jsp file: /admin/index.jsp
> The method getRequestHandlers() in the type SolrCore is not applicable
> for the arguments (Class)
> 29:<%-- jsp:include page="header.jsp"/ --%>
> 30:<%-- do a verbatim include so we can use the local vars --%>
> 31:<%@include file="header.jsp" %>
> 32:<%boolean replicationhandler =
> !core.getRequestHandlers(ReplicationHandler.class).isEmpty();%>
> 33:
> 34:
> 35:
>
>
> Stacktrace:
>
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
>
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
>
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
>
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:295)
>
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60)
>
> Does this ring a bell with anyone?  The only change we made to solr
> configuration was adding this line to dspace.cfg:
>
> solr.resolver.timeout = 200
>
> I see 1.7.1 added other files that appear to be related to stats (e.g.,
> /dspace/config/dspace-solr-search.cfg) but I haven't touched those...
>
>
> Platform:  Mac OSX  Server 10.6.8
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
>
>
> - Wally
>
> Wally Grotophorst
> Associate University Librarian
> Digital Programs and Systems
> University Libraries
> George Mason University
> Fairfax, Virginia 22030
> (703) 993-9005
>
>
>
>
>
--
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF

2011-07-26 Thread Mark Diggory
Hardy,

Be aware that MIT / Richard Rodgers also has some Bagit work available,
currently nested within the modules directory here:

http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/java/org/dspace/pack/


Mark

On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. <
pottinge...@umsystem.edu> wrote:

> Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire)
> have done some work with Bagit as a repository interchange mechanism. I am
> interested in something a bit more mundane. There exists a very nice tool
> for constructing a "bag", called Bagger:
>
> http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/
>
>
> Which would be ideal for adapting for our needs--we need a tool that a
> scanner technician can use to feed scanned images into our repository.
>
> Bags, in my mind, are not much different than SAF packages. It would be
> trivial to script a converter between the two formats, though I'm thinking
> someone is likely to have walked this path already. If so, and if you can
> share any code, or just talk about your approach, I'd love to hear from
> you. Thanks!
>
>
> --
> HARDY POTTINGER 
> University of Missouri Library Systems
> http://lso.umsystem.edu/~pottingerhj/
> "No matter how far down the wrong road you've gone,
> turn back." --Turkish proverb
>
>
>
>
>
>
> --
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Hierarchical Dropdown box for Input-Forms

2011-07-25 Thread Mark Diggory
Nathan,

Have a look at the Controlled vocabularies in the current DSpace
release, formatting your hierarchical vocabulary as an xml file in the
appropriate format and enabling it in input-forms.xml will give you an
ability to populate a separate popup window with the hierarchy you are
suggesting.  While this is not a hierarchical term completion via the
new Authority Control, it will support your use case.

Best Regards,
Mark Diggory

On Mon, Jul 25, 2011 at 6:59 AM, Seaton, Nathan - OPS District
Computer Technician  wrote:
> I am working on creating custom forms for a K-12 environment. My goal is for
> users to be able to associate documents with the Common Core Content
> Standards.
> There are several hundred of these, so a simple dropdown box won't do.
> An example content association might be "W.8.4 - Produce clear and coherent
> writing in which the development, organization, and style are appropriate to
> task, purpose, and audience."
> Ideally, I would like the user to select "Writing" from a dropdown box then
> select "8th Grade" then Select "4 - Produce clear and coherent writing in
> which the development, organization, and style are appropriate to task,
> purpose, and audience."
>
> Is there a way I could customize Dspace to handle something like this? I'm
> open to other suggestions as well.
> Thanks in advance,
> Nathan Seaton
> Owensboro Public Schools
> --
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to
> the right place. Try It Now!
> http://www.accelacomm.com/jaw/sfnl/114/51427378/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] from aspect to theme

2011-07-22 Thread Mark Diggory
On Fri, Jul 22, 2011 at 12:15 PM, Blanco, Jose  wrote:
> Mark, I think I understand your directions.  Sorry if I'm being hard headed 
> about this, but I'm hoping that making this change will help me get smarter 
> about Manakin and Cocoon.

Of course…

> So, I created the selector.  I think it does what is suppose to do.
>
> I've changed the sitemap in the ArtifactBrowse as you suggested.  BTW, I 
> don't quite understand what the difference is between ArtifactBrowse, 
> BrowseArtifacts, and ViewArtifacts.  Can you explain it without too much 
> trouble?

We will consider replicating your site map work in ViewArtifacts,
these three new aspects separate out Browse and Search from viewing
Items and are meant to eventually replace the ArtifactViewer aspect.

>
> Here is a the change to the sitemap file.  I think it's what you suggested:

yep, thats it.

> 
>   
>      
>         
>         
>      
>      
>         
>            
>              
>              
>            
>            
>                
>                     value="xmlui.ArtifactBrowser.RestrictedItem.auth_header"/>
>                     value="xmlui.ArtifactBrowser.RestrictedItem.auth_message"/>
>                 
>                 
>            
>         
>      
> 
>
> Now,  I have my new transformer aspect/artifactbrowse/TombstoneView.java, and 
> I'm not exactly sure how to change it.  I copied the ItetemViewer.java file 
> to TombsotneView.java, but how do I change the output of the body that is 
> output?  What needs to be output so that the themes  know what to do?

I would start out very simple,  don't copy ItemViewer, instead start
by just making a barebones body that contains a simple Div and some
text.  The first objective before working on how the rendering will
work is to first verify if your solution will properly present the
tombstone page when the item is withdrawn.

> Thank you so much for this help

Absolutely, and thank you too, this is a feature we need to get
finished out in DSpace XMLUI…

Mark

-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


  1   2   3   4   5   6   7   >