Re: [dspace-tech] The term "legacy" in Statistics

2020-04-21 Thread George Kozak
Thanks, again, Bram.
So, am I right in assuming that “legacy” can be applied to both deleted
bitstreams and items affected by the switch to uuids in DSpace 6?
George

On Tue, Apr 21, 2020 at 2:15 AM Bram Luyten  wrote:

> Hi George,
>
> Emilio Lorenzo from Arvo.es sent me an off-list reply that I may have got
> it wrong here.
>
> It's likely that legacy refers to the legacy item-id system, with
> sequential ids (DSpace 5 and earlier), as opposed to the new uuid approach
> since DSpace 6.
>
> This is discussed and documented here:
> https://jira.lyrasis.org/browse/DS-3602
>
> I didn't look closely enough and was wrong in my initial reply. Thanks
> again Emilio for the correction !!!
>
> cheers,
>
> Bram
>
> [image: logo] Bram Luyten
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> <https://www.google.com/maps/search/3A,+Lucius+Gordon+Drive,+West+Henrietta,+NY+14586?entry=gmail=g>
> Gaston Geenslaan 14, 3001 Leuven, Belgium
> <https://www.google.com/maps/search/Gaston+Geenslaan+14,+3001+Leuven,+Belgium?entry=gmail=g>
> DSpace Express Hosting
> <https://www.atmire.com/dspace-express_source=emailfooter_medium=email_campaign=braml>
>  - Open Repository Hosting
> <https://www.atmire.com/open-repository_source=emailfooter_medium=email_campaign=braml>
>  - Custom DSpace Services
> <https://www.atmire.com/custom-dspace_source=emailfooter_medium=email_campaign=braml>
>
>
> On Mon, 20 Apr 2020 at 20:20, George Kozak  wrote:
>
>> Thanks you, Bram!  This was very helpful.
>> George Kozak
>> Cornell University
>>
>> On Mon, Apr 20, 2020 at 2:44 AM Bram Luyten  wrote:
>>
>>> Hi George,
>>>
>>> the (legacy) note is added here:
>>>
>>> https://github.com/DSpace/DSpace/blob/820722d2e6e848a5b486c56b6596ce1473d16792/dspace-api/src/main/java/org/dspace/statistics/content/StatisticsDataVisits.java#L543
>>>
>>> By skimming through the code, I think it means that these are usage
>>> events that are still present in SOLR, while the original bitstream has
>>> been deleted.
>>>
>>> This seems to check out when looking at:
>>> https://ecommons.cornell.edu/handle/1813/7642
>>>
>>> The two public bitstreams have sequence IDs 4 and 6, meaning that you
>>> likely had additional bitstreams there, sequence id 1, 2, 3 and 5, and that
>>> those might be deleted?
>>>
>>> hope this helps,
>>>
>>> Bram
>>>
>>> [image: logo] Bram Luyten
>>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>>> <https://www.google.com/maps/search/3A,+Lucius+Gordon+Drive,+West+Henrietta,+NY+14586?entry=gmail=g>
>>> Gaston Geenslaan 14, 3001 Leuven, Belgium
>>> <https://www.google.com/maps/search/Gaston+Geenslaan+14,+3001+Leuven,+Belgium?entry=gmail=g>
>>> DSpace Express Hosting
>>> <https://www.atmire.com/dspace-express_source=emailfooter_medium=email_campaign=braml>
>>>  - Open Repository Hosting
>>> <https://www.atmire.com/open-repository_source=emailfooter_medium=email_campaign=braml>
>>>  - Custom DSpace Services
>>> <https://www.atmire.com/custom-dspace_source=emailfooter_medium=email_campaign=braml>
>>>
>>>
>>> On Mon, 20 Apr 2020 at 00:22, George Kozak  wrote:
>>>
>>>> Hi,
>>>> We are using DSpace 6.3 (XMLUI).  An author pointed out to us that the
>>>> "View Usage Statistics" (
>>>> https://ecommons.cornell.edu/handle/1813/7642/statistics) for his book
>>>> in our DSpace has 2 categories:
>>>> A ... 3549
>>>> A ...(legacy) 755
>>>>
>>>> He asked what "legacy" means.  I wasn't sure, does someone know?
>>>> Thanks!
>>>> --
>>>> ***
>>>> George Kozak
>>>> Digital Library Specialist
>>>> Cornell University Library - IT
>>>> 218 Olin Library
>>>> Cornell University
>>>> Ithaca, NY 14853
>>>> 607-255-8924
>>>> g...@cornell.edu
>>>>
>>>> *Due to staffing changes necessitated by the current public health
>>>> concerns my response might be slower than usual. If your message is urgent,
>>>> please send it with the Subject header “URGENT”. Thank you!*
>>>>
>>> --
>>>> All messages to this mailing list should adhere to the DuraSpace Code
>>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>>> ---
>>>> You recei

Re: [dspace-tech] The term "legacy" in Statistics

2020-04-20 Thread George Kozak
Thanks you, Bram!  This was very helpful.
George Kozak
Cornell University

On Mon, Apr 20, 2020 at 2:44 AM Bram Luyten  wrote:

> Hi George,
>
> the (legacy) note is added here:
>
> https://github.com/DSpace/DSpace/blob/820722d2e6e848a5b486c56b6596ce1473d16792/dspace-api/src/main/java/org/dspace/statistics/content/StatisticsDataVisits.java#L543
>
> By skimming through the code, I think it means that these are usage events
> that are still present in SOLR, while the original bitstream has been
> deleted.
>
> This seems to check out when looking at:
> https://ecommons.cornell.edu/handle/1813/7642
>
> The two public bitstreams have sequence IDs 4 and 6, meaning that you
> likely had additional bitstreams there, sequence id 1, 2, 3 and 5, and that
> those might be deleted?
>
> hope this helps,
>
> Bram
>
> [image: logo] Bram Luyten
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Gaston Geenslaan 14, 3001 Leuven, Belgium
> DSpace Express Hosting
> <https://www.atmire.com/dspace-express_source=emailfooter_medium=email_campaign=braml>
>  - Open Repository Hosting
> <https://www.atmire.com/open-repository_source=emailfooter_medium=email_campaign=braml>
>  - Custom DSpace Services
> <https://www.atmire.com/custom-dspace_source=emailfooter_medium=email_campaign=braml>
>
>
> On Mon, 20 Apr 2020 at 00:22, George Kozak  wrote:
>
>> Hi,
>> We are using DSpace 6.3 (XMLUI).  An author pointed out to us that the
>> "View Usage Statistics" (
>> https://ecommons.cornell.edu/handle/1813/7642/statistics) for his book
>> in our DSpace has 2 categories:
>> A ... 3549
>> A ...(legacy) 755
>>
>> He asked what "legacy" means.  I wasn't sure, does someone know?
>> Thanks!
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> g...@cornell.edu
>>
>> *Due to staffing changes necessitated by the current public health
>> concerns my response might be slower than usual. If your message is urgent,
>> please send it with the Subject header “URGENT”. Thank you!*
>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/CAB8VfOCpfA7SfxokRSnS2-E28MUM03%2BQvEm5VV7ddemVGydkTQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/dspace-tech/CAB8VfOCpfA7SfxokRSnS2-E28MUM03%2BQvEm5VV7ddemVGydkTQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBLUo4NM%3DALCVhVKoGhizC%2BesaaywRKHy%2Bsorr%2BF77QUw%40mail.gmail.com.


[dspace-tech] The term "legacy" in Statistics

2020-04-19 Thread George Kozak
Hi,
We are using DSpace 6.3 (XMLUI).  An author pointed out to us that the
"View Usage Statistics" (
https://ecommons.cornell.edu/handle/1813/7642/statistics) for his book in
our DSpace has 2 categories:
A ... 3549
A ...(legacy) 755

He asked what "legacy" means.  I wasn't sure, does someone know?
Thanks!
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOCpfA7SfxokRSnS2-E28MUM03%2BQvEm5VV7ddemVGydkTQ%40mail.gmail.com.


Re: [dspace-tech] Adding IPV6 address to local.cfg

2020-04-14 Thread George Kozak
Thank you, Mark!
George Kozak
Cornell University

On Tue, Apr 14, 2020 at 7:56 AM Mark H. Wood  wrote:

> On Mon, Apr 13, 2020 at 05:11:02PM -0400, George Kozak wrote:
> > Hello,
> > Using DSpace 6.3 (XMLUI).  I need to add an IPV6 address to the local.cfg
> > file in the IP-ADDRESS AUTHENTICATION CONFIGURATIONS section.  I want to
> > add it to allow for a range instead of a specific IP address.
> > Can I do that?  I have other IPs in the table that are working fine, but
> > never added an IPV6 before.
>
> From org.dspace.authenticate.IPMatcher.java:
>
> /**
>  * Quickly tests whether a given IP address matches an IP range. An
>  * {@code IPMatcher} is initialized with a particular IP range
> specification.
>  * Calls to {@link IPMatcher#match(String) match} method will then quickly
>  * determine whether a given IP falls within that range.
>  * 
>  * Supported range specifications are:
>  * 
>  * 
>  * Full IPv4 address, e.g. {@code 12.34.56.78}
>  * Full IPv6 address, e.g. {@code
> 2001:18e8:3:171:218:8bff:fe2a:56a4}
>  * Partial IPv4 address, e.g. {@code 12.34} (which matches any IP
> starting
>  * {@code 12.34})
>  * IPv4 network/netmask, e.g. {@code 18.25.0.0/255.255.0.0}
>  * IPv4 or IPv6 CIDR slash notation, e.g. {@code 18.25.0.0/16},
>  * {@code 2001:18e8:3:171::/64}
>  * 
>  *
>
> So, you'll need to express that address range as one or more CIDR
> address/length expressions.
>
> The matcher recognizes IPv6 addresses when they contain ":".  No
> square brackets are needed as with some other IP address parsers.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/20200414115644.GA4483%40IUPUI.Edu
> .
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOCuwqXjjm0OeDzLx%2BvSMb47RgNsBaCq83qAuX4aLwP22A%40mail.gmail.com.


[dspace-tech] Adding IPV6 address to local.cfg

2020-04-13 Thread George Kozak
Hello,
Using DSpace 6.3 (XMLUI).  I need to add an IPV6 address to the local.cfg
file in the IP-ADDRESS AUTHENTICATION CONFIGURATIONS section.  I want to
add it to allow for a range instead of a specific IP address.
Can I do that?  I have other IPs in the table that are working fine, but
never added an IPV6 before.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBRg-X4AYL91pf3dMEiAFjCoghpp%2BjVYhJHrANJFYW87A%40mail.gmail.com.


Re: [dspace-tech] Forcing users to use Shibboleth

2020-04-02 Thread George Kozak
Thanks, Mark:
That's what I did, but when I clicked on login, I got a "Page Not found"
message.
But, after you responded, I realized that the problem was that I don't have
Shibboleth installed on my dev machine!!!
I would like to chalk that up to cabin-fever, but I think it's old age
instead :-)
Thanks, again.
George


On Thu, Apr 2, 2020 at 3:31 PM Mark H. Wood  wrote:

> On Thu, Apr 02, 2020 at 03:07:50PM -0400, George Kozak wrote:
> > Hi,
> > We have DSpace 6.3 (XMLUI) and we currently offer people the ability to
> > login in with Shibboleth or with their DSpace account.  We want to limit
> > logins to Shibboleth users.  I have played around with this, but  it
> hasn't
> > worked very well..
> > Does anyone have any suggestions on how we can accomplish this?
>
> I would expect that if you exclude
> org.dspace.authenticate.PasswordAuthentication from the values of
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod, password
> login would not be offered.
>
> The default configuration is found in 'config/modules/authentication.cfg'.
> You can override this in config/local.cfg.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/20200402193108.GF2654%40IUPUI.Edu
> .
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOACb%2BPsS0frsLYX8GQ7uaJT71mdmqFCaob6JkJgFvKNMw%40mail.gmail.com.


[dspace-tech] Forcing users to use Shibboleth

2020-04-02 Thread George Kozak
Hi,
We have DSpace 6.3 (XMLUI) and we currently offer people the ability to
login in with Shibboleth or with their DSpace account.  We want to limit
logins to Shibboleth users.  I have played around with this, but  it hasn't
worked very well..
Does anyone have any suggestions on how we can accomplish this?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfODkGjzW4A8iKmsKjnT1%2Be6m61kUdw7sRxwH09XsaqBjLQ%40mail.gmail.com.


Re: [dspace-tech] Error trying to Harvest Dspace OAI PHM

2020-01-01 Thread George Kozak
Yona:
I had a similar problem a while ago.  My problem was caused by a "bad"
record that stops the OAI indexing.  I am not sure if that is what is
happening for you, but if you think it is, I have a potential fix.
I was helped by Emilio Lorenzo (elore...@arvo.es) and Adan Roman (
adan.ro...@gmail.com).
They had a patch that I made to the DSpace java code that gave me the
ability to find the record that causes the OAI index to fail.
Basically, this patch allows the OAI import to write in verbose mode the id
of an item before it is indexed.  So, when the OAI import stops, you know
exactly what record caused it to stop.  Then you can fix the item and rerun
the OAI import.  The bad thing is that if you have multiple "bad" records
then you have to keep running the import until you clean out the records
one by one.
This is the patch:

org.dspace.xoai.app.XOAI.java :


 private SolrInputDocument index(Item item) throws SQLException,
MetadataBindException, ParseException, XMLStreamException,
WritingXmlException {

 if (verbose) {

 System.out.println("Trying to index into oai item with
id:"+item.getID().toString());

 }

SolrInputDocument doc = new SolrInputDocument();

doc.addField("item.id", item.getID());


Best Wishes.
George Kozak
Digital library Specialist
218 Olin Library
Cornell University
Ithaca, NY 14853
g...@cornell.edu

On Sat, Dec 28, 2019 at 12:59 PM Yona  wrote:

> Hi all,
>
> I'm trying to list record on OAI PHM, but when I try to see more records
> (after 1700) I get this error.
>
>
> I used dspace oai import -c and dspace oai clean-cache but didn't work.
>
> Thanks in advantage
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/ad758e99-c076-41bf-bfc3-29b453ba6146%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/ad758e99-c076-41bf-bfc3-29b453ba6146%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBU5DfY0eS93pcChr_a1j8Z3OF9%2BL%2BKURnN3FZrfuxoCw%40mail.gmail.com.


Re: [dspace-tech] Upload limit problem in DSpace

2019-11-15 Thread George Kozak
Thanks, Sean:
Yeah, it’s a mystery to me.  I guess I will do some testing and see if I
can figure it out.

George Kozak
Cornell University

On Fri, Nov 15, 2019 at 2:36 PM Sean Kalynuk 
wrote:

> Hi George,
>
>
>
> There is also org.apache.cocoon.uploads.maxsize in
> $DSPACE_HOME/webapps/xmlui/WEB-INF/cocoon/properties/core.properties
> although I don’t know if one overrides the other. The documentation in the
> file seems to indicate there’s a 2GB limit with Cocoon, so I’m not sure how
> someone could upload something larger through the web interface.
>
>
>
> --
>
> Sean
>
>
>
> *From:* dspace-tech@googlegroups.com  *On
> Behalf Of *George Kozak
> *Sent:* November 12, 2019 1:49 PM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Upload limit problem in DSpace
>
>
>
> Hello:
>
> We are using DSpace 6.3, XMLUI (modified Mirage 2 theme).  In my
> local.cfg, I have the following parameter set:
>
> upload.max = 5368709120
>
> To set our upload max to 5GB.
>
> However, we recently discovered that people are uploading files greater
> than 5GB.
>
> Is there another setting for uploads that I am missing?
>
>
>
> --
>
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
>
> g...@cornell.edu
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAB8VfOAX%2BhHHLtHtgoOdF2UV8G5r_8_5F9pS9Hh%2B1nFuWOO0jg%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAB8VfOAX%2BhHHLtHtgoOdF2UV8G5r_8_5F9pS9Hh%2B1nFuWOO0jg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOD7dU6BVfmjcS1D1TBWzZsZ0%3DJWB0LC-HA--3V_usOCEQ%40mail.gmail.com.


[dspace-tech] Upload limit problem in DSpace

2019-11-12 Thread George Kozak
Hello:
We are using DSpace 6.3, XMLUI (modified Mirage 2 theme).  In my local.cfg,
I have the following parameter set:
upload.max = 5368709120
To set our upload max to 5GB.
However, we recently discovered that people are uploading files greater
than 5GB.
Is there another setting for uploads that I am missing?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOAX%2BhHHLtHtgoOdF2UV8G5r_8_5F9pS9Hh%2B1nFuWOO0jg%40mail.gmail.com.


[dspace-tech] Fwd: Thumbnails do not show up in browse list

2019-06-07 Thread George Kozak
Hi, Everyone:
So, I found a pattern to my problem of thumbnails not showing up in the
browse list.  It turns out that if a submitter marks a bitstream as
"primary", and I manually upload a thumbnail because the bitstream is not a
PDF or image, then the thumbnail will not display in the item list BUT will
display on the item view list.  Very strange.  That's only if the a
thumbnail cannot be be auto generated by the filter-media and the bitstream
marked primary is not a PDF or image.  Is this a bug or a feature?  ☺
George Kozak
Cornell University

-- Forwarded message -----
From: George Kozak 
Date: Wed, Jun 5, 2019 at 2:30 PM
Subject: Thumbnails do not show up in browse list
To: DSpace Technical Support 


Hi,
I am having an odd problem with some certain records in our DSpace
instance.  These records have either PPTX or DOCX files, so I am manually
generating thumbnails (with Photoshop) for them and uploading the thumbnail
bitstreams.  I have had no problem with this in the past, but what I am
seeing is that while the thumbnails display in the item view, they do not
display in the item list view (either browse or recent items).   Only
certain records are affected, and I have checked authorizations.  I am
using DSPACE 6.3 with a modified Mirage 2 theme, but I have tried it with
the JSPUI interface and different themes and see the same result.

I can't figure out what's happening, and I am wondering if anyone else has
anything seen like this before, and can offer some suggestions.  Thanks!

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu


-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBzswqi%3DrvnQkpmzEKMKu7uyOPjt%2BfNTjTtZBWFku2cgQ%40mail.gmail.com.


[dspace-tech] Thumbnails do not show up in browse list

2019-06-05 Thread George Kozak
Hi,
I am having an odd problem with some certain records in our DSpace
instance.  These records have either PPTX or DOCX files, so I am manually
generating thumbnails (with Photoshop) for them and uploading the thumbnail
bitstreams.  I have had no problem with this in the past, but what I am
seeing is that while the thumbnails display in the item view, they do not
display in the item list view (either browse or recent items).   Only
certain records are affected, and I have checked authorizations.  I am
using DSPACE 6.3 with a modified Mirage 2 theme, but I have tried it with
the JSPUI interface and different themes and see the same result.

I can't figure out what's happening, and I am wondering if anyone else has
anything seen like this before, and can offer some suggestions.  Thanks!

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOA4aPg%3DH%3DmaVxsnRoCZhh5ZwoS79XyEVeM4ROfJXLTbtg%40mail.gmail.com.


Re: [dspace-tech] Unable to delete person

2019-05-22 Thread George Kozak
Thanks, Monika.  I forgot that fact.  I will look into if this person
submitted any items.
George Kozak
Cornell University

On Wed, May 22, 2019 at 10:57 AM Monika Mevenkamp  wrote:

> The underlying dspace-api models do not allow deleting an eperson iff the
> person submitted items.
>
> I simply set the account – to can’t log in.
>
>
>
> Monika
>
>
>
>
>
> --
>
> Monika Mevenkamp
> OIT Princeton University
>
> 701 Carnegie Center – 331C
> Phone: 609-258-4161
> Skype: mo-meven
>
>
>
> *From: * on behalf of George Kozak <
> gkoz...@gmail.com>
> *Date: *Wednesday, May 22, 2019 at 9:52 AM
> *To: *DSpace Technical Support 
> *Subject: *[dspace-tech] Unable to delete person
>
>
>
> Hello, we are using DSpace 6.3 XMLUI (modified Mirage2 theme).  I went to
> delete a person from DSpace instance (someone whose email gets returned)
> and found that the delete function was grey'ed out, but it appears to be
> just for that person.   Other users did not have this problem.  Has anyone
> encountered this before?  Any suggestions as to why this person (with a
> Turkish email is undeletable?)
>
>
>
> --
>
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
>
> g...@cornell.edu
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBViDwUDSykEyppXct%2BPJKH8QZDvozj11jPTMEPxQ5HXQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBViDwUDSykEyppXct%2BPJKH8QZDvozj11jPTMEPxQ5HXQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/BL0PR06MB499327FBEB41A2C7E52EECAEAD000%40BL0PR06MB4993.namprd06.prod.outlook.com
> <https://groups.google.com/d/msgid/dspace-tech/BL0PR06MB499327FBEB41A2C7E52EECAEAD000%40BL0PR06MB4993.namprd06.prod.outlook.com?utm_medium=email_source=footer>
> .
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBYjfQsdqsZv%3Dkhq3orPCpK8Kv70wRRsRz0wued6pHmoA%40mail.gmail.com.


[dspace-tech] Unable to delete person

2019-05-22 Thread George Kozak
Hello, we are using DSpace 6.3 XMLUI (modified Mirage2 theme).  I went to
delete a person from DSpace instance (someone whose email gets returned)
and found that the delete function was grey'ed out, but it appears to be
just for that person.   Other users did not have this problem.  Has anyone
encountered this before?  Any suggestions as to why this person (with a
Turkish email is undeletable?)

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBViDwUDSykEyppXct%2BPJKH8QZDvozj11jPTMEPxQ5HXQ%40mail.gmail.com.


Re: [dspace-tech] Problem indexing OAI

2019-01-09 Thread George Kozak
Thanks, Terry:
I will look at those changes.  However, I was able to get my OAI to work
for now.   I had a two fold problem.  I originally had two “bad” records
that were causing the OAI indexing to stop working, but once I had those
identified and taken care of, I ran into the hibernate problems, which were
actually caused by a separate script that I wrote to eliminate idle
Postgres processes.  The script was more aggressive than I intended and it
was interfering with the DSpace jobs that use Postgres.
In any case, I appreciate your advice and your help.
George

On Wed, Jan 9, 2019 at 3:43 PM Terry Brady 
wrote:

> George,
>
> I was seeing out of memory errors for the oai import process.  If that is
> the problem you are encountering, the following PR has resolved the issue
> for me.
>
> https://github.com/DSpace/DSpace/pull/2320
>
> Terry
>
> On Mon, Jan 7, 2019 at 1:03 PM George Kozak  wrote:
>
>> Hi, Mark:
>> In the postgres log file, I am seeing "The postmaster has commanded this
>> server process to roll back the current transaction and exit, because
>> another server process exited abnormally and possibly corrupted shared
>> memory." whenever this fails.  I am suspecting maybe an out of memory
>> condition.
>> George Kozak
>> Cornell University
>>
>> On Mon, Jan 7, 2019 at 12:07 PM Mark H. Wood 
>> wrote:
>>
>>> I see that this is caused by a connection reset.  Is PostgreSQL logging
>>> anything interesting around the time that this happens?
>>>
>>> Remember that the DSpace connection limit should be a bit *lower* than
>>> the Pg connection limit, because Pg reserves a few connections for
>>> administration.
>>>
>>> I found
>>> https://stackoverflow.com/questions/23951796/hibernate-could-not-extract-resultset-exception
>>> which talks about a connection pool which times out connections but is not
>>> set to test-on-borrow, so that the client can borrow a closed connection
>>> and gets an error.
>>>
>>> On Friday, January 4, 2019 at 5:06:28 PM UTC-5, George Kozak wrote:
>>>>
>>>> Tim:
>>>> I checked the max connections in postgres and dspace, and there was a
>>>> discrepancy, but after fixing that, I am still having the same problem.  I
>>>> double checked the hibernate configs, and they are the defaults.  So, I
>>>> have attached the error trace from my oai indexing job.  Perhaps, that will
>>>> reveal something.
>>>> George Kozak
>>>> Cornell University
>>>>
>>>> On Fri, Jan 4, 2019 at 1:50 PM Tim Donohue 
>>>> wrote:
>>>>
>>>>> Hi George,
>>>>>
>>>>> That is an odd error.  It almost sounds like Hibernate is losing
>>>>> access to the database (maybe a connection timeout or something?).
>>>>>
>>>>> Could you check your logs to see if there's more information around
>>>>> *when* and *how* this error occurs.  You said it's occurring at different
>>>>> "intervals", but I'm wondering if there's any more information that can be
>>>>> gathered from the logs (or from the full stacktrace of the error, assuming
>>>>> one exists).
>>>>>
>>>>> For what it's worth, I've not seen this error before.  It's hard to
>>>>> say right now if this is a configuration error or a bug. I think we'd need
>>>>> more information to narrow things down.   It's *possible* there's 
>>>>> something
>>>>> from your upgrade that resulted in a misconfiguration. You may want to
>>>>> double check that your Hibernate truly are the defaults, and that your
>>>>> Database connection settings & pooling info looks good.  You also should
>>>>> double check that PostgreSQL (or Oracle) is configured to allow *at least*
>>>>> the number of connections that "db.maxconnections" allows -- if you
>>>>> increased the DSpace setting, it may be expecting more connections than
>>>>> your database is willing to provide.
>>>>>
>>>>> Just a few thoughts there.
>>>>>
>>>>> - Tim
>>>>>
>>>>> On Fri, Jan 4, 2019 at 12:02 PM George Kozak 
>>>>> wrote:
>>>>>
>>>>>> Hi, Terry:
>>>>>> I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade
>>>>>> a few months ago, and ran into trouble immediately with the OAI
>>>>>> ind

Re: [dspace-tech] More hibernate problems

2019-01-08 Thread George Kozak
Thank you, Tim:
It actually turned out to be my fault.   I wrote a script a few weeks ago
to eliminate idle postgres processes.  I turned out that this script was
causing my problem with both the OAI indexing and the other database
related issues.  This script turned out to be more aggressive than I had
intended and was interfering with the normal process of the database.  I
appreciate your help (and the help of and suggestions of everyone else).
George Kozak
Cornell University

On Tue, Jan 8, 2019 at 12:45 PM Tim Donohue  wrote:

> Hi George,
>
> The error that jumped out to me was the database one... "SQL Error: 0,
> SQLState: 08006", as usually such error codes mean something very specific
> with the database itself (Postgres).  Googling that brings me to this
> StackOverflow question/answer:
> https://stackoverflow.com/questions/21925083/sql-error-0-sqlstate-08006
>
> In StackOverflow, they note this error code 08006 is PostgreSQL returning
> a Connection Failure:
> https://www.postgresql.org/docs/9.2/errcodes-appendix.html
>
> There's some recommendations in this answer that seem reasonable:
> https://stackoverflow.com/a/21925336/3750035
>
> You also may want to try and connection to the database via something that
> is *not* DSpace?  (E.g. Are those local perl scripts using DSpace's API, or
> are they connecting to Postgres directly?)  It's possible that
> DSpace/Hibernate isn't to blame here and that PostgreSQL is throwing errors
> (check its logs) that result in connection issues or closed connections.
> If PostgreSQL is *not* throwing errors and is accepting connections from
> other tools, then I'd recommend looking closer at your DSpace database
> configurations -- make sure all the connection info there is correct.  If
> DSpace & Postgres are on separate servers, you also may want to double
> check that a firewall isn't getting in the way (and perhaps blocking some
> requests to Postgres).
>
> Hopefully that gives a few ideas of what to look at to gather more info.
>
> Tim
>
>
> On Tue, Jan 8, 2019 at 10:35 AM George Kozak  wrote:
>
>> Hi...
>> We are using DSpace 6.3 (XMLUI, modified Mirage2 theme).
>> I reported a problem with indexing OAI recently.  I get an
>> error "org.hibernate.exception.JDBCConnectionException: could not extract
>> ResultSet".  The database logs says things like:
>> "org.hibernate.TransactionException: commit failed" and "SQL Error: 0,
>> SQLState: 08006" and "An I/O error occurred while sending to the backend."
>> Now, I am seeing an error when we run filter-media.  This has been
>> working fine for a long time, and now, it is failing with:
>> Exception: rollback failed
>> org.hibernate.TransactionException: rollback failed at
>> org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:215)
>> (large stack trace afterwards)
>>
>> Also, I saw problems running some of my local perl scripts that gather
>> data from postgres.  I have scripts that build reports about submission and
>> downloads, and occasionally they are failing with similar hibernate errors.
>>
>> I have a feeling that this is all connected, but not being a DB Guru, I
>> don't know what could be happening here.  I would appreciate any
>> suggestions from the community.
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] OAI and Hibernate problems fixed!

2019-01-08 Thread George Kozak
Hello, Everyone:
As they used to say in the Napoleonic Wars, I was "hoisted by my own
petard".  I found out that a script that I wrote to kill idle postgres jobs
was impacting both my OAI indexing, filter-media processing, and my local
scripts that accessed the database.  So, the hibernate problems that I was
having are now fixed.  Thank you to everyone who looked into my DSpace
problems, which were actually caused by me!

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] More hibernate problems

2019-01-08 Thread George Kozak
Hi...
We are using DSpace 6.3 (XMLUI, modified Mirage2 theme).
I reported a problem with indexing OAI recently.  I get an
error "org.hibernate.exception.JDBCConnectionException: could not extract
ResultSet".  The database logs says things like:
"org.hibernate.TransactionException: commit failed" and "SQL Error: 0,
SQLState: 08006" and "An I/O error occurred while sending to the backend."
Now, I am seeing an error when we run filter-media.  This has been working
fine for a long time, and now, it is failing with:
Exception: rollback failed
org.hibernate.TransactionException: rollback failed at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:215)
(large stack trace afterwards)

Also, I saw problems running some of my local perl scripts that gather data
from postgres.  I have scripts that build reports about submission and
downloads, and occasionally they are failing with similar hibernate errors.

I have a feeling that this is all connected, but not being a DB Guru, I
don't know what could be happening here.  I would appreciate any
suggestions from the community.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Problem indexing OAI

2019-01-07 Thread George Kozak
Hi, Mark:
In the postgres log file, I am seeing "The postmaster has commanded this
server process to roll back the current transaction and exit, because
another server process exited abnormally and possibly corrupted shared
memory." whenever this fails.  I am suspecting maybe an out of memory
condition.
George Kozak
Cornell University

On Mon, Jan 7, 2019 at 12:07 PM Mark H. Wood  wrote:

> I see that this is caused by a connection reset.  Is PostgreSQL logging
> anything interesting around the time that this happens?
>
> Remember that the DSpace connection limit should be a bit *lower* than the
> Pg connection limit, because Pg reserves a few connections for
> administration.
>
> I found
> https://stackoverflow.com/questions/23951796/hibernate-could-not-extract-resultset-exception
> which talks about a connection pool which times out connections but is not
> set to test-on-borrow, so that the client can borrow a closed connection
> and gets an error.
>
> On Friday, January 4, 2019 at 5:06:28 PM UTC-5, George Kozak wrote:
>>
>> Tim:
>> I checked the max connections in postgres and dspace, and there was a
>> discrepancy, but after fixing that, I am still having the same problem.  I
>> double checked the hibernate configs, and they are the defaults.  So, I
>> have attached the error trace from my oai indexing job.  Perhaps, that will
>> reveal something.
>> George Kozak
>> Cornell University
>>
>> On Fri, Jan 4, 2019 at 1:50 PM Tim Donohue 
>> wrote:
>>
>>> Hi George,
>>>
>>> That is an odd error.  It almost sounds like Hibernate is losing access
>>> to the database (maybe a connection timeout or something?).
>>>
>>> Could you check your logs to see if there's more information around
>>> *when* and *how* this error occurs.  You said it's occurring at different
>>> "intervals", but I'm wondering if there's any more information that can be
>>> gathered from the logs (or from the full stacktrace of the error, assuming
>>> one exists).
>>>
>>> For what it's worth, I've not seen this error before.  It's hard to say
>>> right now if this is a configuration error or a bug. I think we'd need more
>>> information to narrow things down.   It's *possible* there's something from
>>> your upgrade that resulted in a misconfiguration. You may want to double
>>> check that your Hibernate truly are the defaults, and that your Database
>>> connection settings & pooling info looks good.  You also should double
>>> check that PostgreSQL (or Oracle) is configured to allow *at least* the
>>> number of connections that "db.maxconnections" allows -- if you increased
>>> the DSpace setting, it may be expecting more connections than your database
>>> is willing to provide.
>>>
>>> Just a few thoughts there.
>>>
>>> - Tim
>>>
>>> On Fri, Jan 4, 2019 at 12:02 PM George Kozak  wrote:
>>>
>>>> Hi, Terry:
>>>> I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade a
>>>> few months ago, and ran into trouble immediately with the OAI
>>>> index.  Emilio Lorenzo and Adan Roman gave me a patch to
>>>> org.dspace.xoai.app.XOAI.java to print out records being indexed in verbose
>>>> mode, and that helped me locate a "bad" record that was causing our OAI
>>>> index to fail.  I eliminated that record, and restarted our OAI process,
>>>> and then encountered the "org.hibernate.exception.JDBCConnectionException:
>>>> could not extract ResultSet".  It doesn't appear to be a specific record
>>>> that is causing this because the crash occurs at different intervals during
>>>> the index.
>>>> I never adjusted the hibernate configuration (using defaults).  Do you
>>>> think that may be the issue?
>>>>
>>>> George Kozak
>>>> Cornell University
>>>>
>>>> On Thu, Jan 3, 2019 at 4:36 PM Terry Brady 
>>>> wrote:
>>>>
>>>>> George,
>>>>>
>>>>> I am not seeing this error.
>>>>>
>>>>> Is there any chance that you are using an older version of java (such
>>>>> as Java 7) when you run the dspace command?
>>>>>
>>>>> Did you upgrade recently?
>>>>>
>>>>> On Thu, Jan 3, 2019 at 11:02 AM George Kozak 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> We are using DSpace 6.3 and we are seeing an e

Re: [dspace-tech] Problem indexing OAI

2019-01-07 Thread George Kozak
Thanks, Mark:
This hibernate stuff is a mystery to me, but I will continue digging to try
and fix my problem.
George Kozak
Cornell University

On Mon, Jan 7, 2019 at 12:07 PM Mark H. Wood  wrote:

> I see that this is caused by a connection reset.  Is PostgreSQL logging
> anything interesting around the time that this happens?
>
> Remember that the DSpace connection limit should be a bit *lower* than the
> Pg connection limit, because Pg reserves a few connections for
> administration.
>
> I found
> https://stackoverflow.com/questions/23951796/hibernate-could-not-extract-resultset-exception
> which talks about a connection pool which times out connections but is not
> set to test-on-borrow, so that the client can borrow a closed connection
> and gets an error.
>
> On Friday, January 4, 2019 at 5:06:28 PM UTC-5, George Kozak wrote:
>>
>> Tim:
>> I checked the max connections in postgres and dspace, and there was a
>> discrepancy, but after fixing that, I am still having the same problem.  I
>> double checked the hibernate configs, and they are the defaults.  So, I
>> have attached the error trace from my oai indexing job.  Perhaps, that will
>> reveal something.
>> George Kozak
>> Cornell University
>>
>> On Fri, Jan 4, 2019 at 1:50 PM Tim Donohue 
>> wrote:
>>
>>> Hi George,
>>>
>>> That is an odd error.  It almost sounds like Hibernate is losing access
>>> to the database (maybe a connection timeout or something?).
>>>
>>> Could you check your logs to see if there's more information around
>>> *when* and *how* this error occurs.  You said it's occurring at different
>>> "intervals", but I'm wondering if there's any more information that can be
>>> gathered from the logs (or from the full stacktrace of the error, assuming
>>> one exists).
>>>
>>> For what it's worth, I've not seen this error before.  It's hard to say
>>> right now if this is a configuration error or a bug. I think we'd need more
>>> information to narrow things down.   It's *possible* there's something from
>>> your upgrade that resulted in a misconfiguration. You may want to double
>>> check that your Hibernate truly are the defaults, and that your Database
>>> connection settings & pooling info looks good.  You also should double
>>> check that PostgreSQL (or Oracle) is configured to allow *at least* the
>>> number of connections that "db.maxconnections" allows -- if you increased
>>> the DSpace setting, it may be expecting more connections than your database
>>> is willing to provide.
>>>
>>> Just a few thoughts there.
>>>
>>> - Tim
>>>
>>> On Fri, Jan 4, 2019 at 12:02 PM George Kozak  wrote:
>>>
>>>> Hi, Terry:
>>>> I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade a
>>>> few months ago, and ran into trouble immediately with the OAI
>>>> index.  Emilio Lorenzo and Adan Roman gave me a patch to
>>>> org.dspace.xoai.app.XOAI.java to print out records being indexed in verbose
>>>> mode, and that helped me locate a "bad" record that was causing our OAI
>>>> index to fail.  I eliminated that record, and restarted our OAI process,
>>>> and then encountered the "org.hibernate.exception.JDBCConnectionException:
>>>> could not extract ResultSet".  It doesn't appear to be a specific record
>>>> that is causing this because the crash occurs at different intervals during
>>>> the index.
>>>> I never adjusted the hibernate configuration (using defaults).  Do you
>>>> think that may be the issue?
>>>>
>>>> George Kozak
>>>> Cornell University
>>>>
>>>> On Thu, Jan 3, 2019 at 4:36 PM Terry Brady 
>>>> wrote:
>>>>
>>>>> George,
>>>>>
>>>>> I am not seeing this error.
>>>>>
>>>>> Is there any chance that you are using an older version of java (such
>>>>> as Java 7) when you run the dspace command?
>>>>>
>>>>> Did you upgrade recently?
>>>>>
>>>>> On Thu, Jan 3, 2019 at 11:02 AM George Kozak 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> We are using DSpace 6.3 and we are seeing an error when running the
>>>>>> dspace oai import -c.  The Import fails with
>>>>>> "org.hibernate.exception.JDBCConnectionException: could not extract
>>>

Re: [dspace-tech] Problem indexing OAI

2019-01-04 Thread George Kozak
Tim:
I checked the max connections in postgres and dspace, and there was a
discrepancy, but after fixing that, I am still having the same problem.  I
double checked the hibernate configs, and they are the defaults.  So, I
have attached the error trace from my oai indexing job.  Perhaps, that will
reveal something.
George Kozak
Cornell University

On Fri, Jan 4, 2019 at 1:50 PM Tim Donohue  wrote:

> Hi George,
>
> That is an odd error.  It almost sounds like Hibernate is losing access to
> the database (maybe a connection timeout or something?).
>
> Could you check your logs to see if there's more information around *when*
> and *how* this error occurs.  You said it's occurring at different
> "intervals", but I'm wondering if there's any more information that can be
> gathered from the logs (or from the full stacktrace of the error, assuming
> one exists).
>
> For what it's worth, I've not seen this error before.  It's hard to say
> right now if this is a configuration error or a bug. I think we'd need more
> information to narrow things down.   It's *possible* there's something from
> your upgrade that resulted in a misconfiguration. You may want to double
> check that your Hibernate truly are the defaults, and that your Database
> connection settings & pooling info looks good.  You also should double
> check that PostgreSQL (or Oracle) is configured to allow *at least* the
> number of connections that "db.maxconnections" allows -- if you increased
> the DSpace setting, it may be expecting more connections than your database
> is willing to provide.
>
> Just a few thoughts there.
>
> - Tim
>
> On Fri, Jan 4, 2019 at 12:02 PM George Kozak  wrote:
>
>> Hi, Terry:
>> I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade a
>> few months ago, and ran into trouble immediately with the OAI
>> index.  Emilio Lorenzo and Adan Roman gave me a patch to
>> org.dspace.xoai.app.XOAI.java to print out records being indexed in verbose
>> mode, and that helped me locate a "bad" record that was causing our OAI
>> index to fail.  I eliminated that record, and restarted our OAI process,
>> and then encountered the "org.hibernate.exception.JDBCConnectionException:
>> could not extract ResultSet".  It doesn't appear to be a specific record
>> that is causing this because the crash occurs at different intervals during
>> the index.
>> I never adjusted the hibernate configuration (using defaults).  Do you
>> think that may be the issue?
>>
>> George Kozak
>> Cornell University
>>
>> On Thu, Jan 3, 2019 at 4:36 PM Terry Brady 
>> wrote:
>>
>>> George,
>>>
>>> I am not seeing this error.
>>>
>>> Is there any chance that you are using an older version of java (such as
>>> Java 7) when you run the dspace command?
>>>
>>> Did you upgrade recently?
>>>
>>> On Thu, Jan 3, 2019 at 11:02 AM George Kozak  wrote:
>>>
>>>> Hi,
>>>> We are using DSpace 6.3 and we are seeing an error when running the
>>>> dspace oai import -c.  The Import fails with
>>>> "org.hibernate.exception.JDBCConnectionException: could not extract
>>>> ResultSet".  Has anyone else encountered this problem?
>>>>
>>>> --
>>>> ***
>>>> George Kozak
>>>> Digital Library Specialist
>>>> Cornell University Library - IT
>>>> 218 Olin Library
>>>> Cornell University
>>>> Ithaca, NY 14853
>>>> 607-255-8924 <(607)%20255-8924>
>>>> g...@cornell.edu
>>>>
>>>> --
>>>> All messages to this mailing list should adhere to the DuraSpace Code
>>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> https://github.com/terrywbrady/info
>>> 425-298-5498 <(425)%2029

Re: [dspace-tech] Problem indexing OAI

2019-01-04 Thread George Kozak
Thanks, Tim:
I will take a look at the postgres configuration.  When we upgraded, we,
also, migrated to a new server and maybe there's a problem with the
postgres settings.  I didn't think about that, so I am glad you suggested
it.
If that's not it, I will be happy to send a more detailed trace of the
error.
George Kozak
Cornell University

On Fri, Jan 4, 2019 at 1:50 PM Tim Donohue  wrote:

> Hi George,
>
> That is an odd error.  It almost sounds like Hibernate is losing access to
> the database (maybe a connection timeout or something?).
>
> Could you check your logs to see if there's more information around *when*
> and *how* this error occurs.  You said it's occurring at different
> "intervals", but I'm wondering if there's any more information that can be
> gathered from the logs (or from the full stacktrace of the error, assuming
> one exists).
>
> For what it's worth, I've not seen this error before.  It's hard to say
> right now if this is a configuration error or a bug. I think we'd need more
> information to narrow things down.   It's *possible* there's something from
> your upgrade that resulted in a misconfiguration. You may want to double
> check that your Hibernate truly are the defaults, and that your Database
> connection settings & pooling info looks good.  You also should double
> check that PostgreSQL (or Oracle) is configured to allow *at least* the
> number of connections that "db.maxconnections" allows -- if you increased
> the DSpace setting, it may be expecting more connections than your database
> is willing to provide.
>
> Just a few thoughts there.
>
> - Tim
>
> On Fri, Jan 4, 2019 at 12:02 PM George Kozak  wrote:
>
>> Hi, Terry:
>> I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade a
>> few months ago, and ran into trouble immediately with the OAI
>> index.  Emilio Lorenzo and Adan Roman gave me a patch to
>> org.dspace.xoai.app.XOAI.java to print out records being indexed in verbose
>> mode, and that helped me locate a "bad" record that was causing our OAI
>> index to fail.  I eliminated that record, and restarted our OAI process,
>> and then encountered the "org.hibernate.exception.JDBCConnectionException:
>> could not extract ResultSet".  It doesn't appear to be a specific record
>> that is causing this because the crash occurs at different intervals during
>> the index.
>> I never adjusted the hibernate configuration (using defaults).  Do you
>> think that may be the issue?
>>
>> George Kozak
>> Cornell University
>>
>> On Thu, Jan 3, 2019 at 4:36 PM Terry Brady 
>> wrote:
>>
>>> George,
>>>
>>> I am not seeing this error.
>>>
>>> Is there any chance that you are using an older version of java (such as
>>> Java 7) when you run the dspace command?
>>>
>>> Did you upgrade recently?
>>>
>>> On Thu, Jan 3, 2019 at 11:02 AM George Kozak  wrote:
>>>
>>>> Hi,
>>>> We are using DSpace 6.3 and we are seeing an error when running the
>>>> dspace oai import -c.  The Import fails with
>>>> "org.hibernate.exception.JDBCConnectionException: could not extract
>>>> ResultSet".  Has anyone else encountered this problem?
>>>>
>>>> --
>>>> ***
>>>> George Kozak
>>>> Digital Library Specialist
>>>> Cornell University Library - IT
>>>> 218 Olin Library
>>>> Cornell University
>>>> Ithaca, NY 14853
>>>> 607-255-8924 <(607)%20255-8924>
>>>> g...@cornell.edu
>>>>
>>>> --
>>>> All messages to this mailing list should adhere to the DuraSpace Code
>>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> https://github.com/terrywbrady/info
>>> 425-298-5498 <(425)%2029

Re: [dspace-tech] Problem indexing OAI

2019-01-04 Thread George Kozak
Hi, Terry:
I am using jdk1.8.0_74 so java 7 is not the problem.  We did upgrade a few
months ago, and ran into trouble immediately with the OAI index.  Emilio
Lorenzo and Adan Roman gave me a patch to org.dspace.xoai.app.XOAI.java to
print out records being indexed in verbose mode, and that helped me locate
a "bad" record that was causing our OAI index to fail.  I eliminated that
record, and restarted our OAI process, and then encountered the
"org.hibernate.exception.JDBCConnectionException: could not extract
ResultSet".  It doesn't appear to be a specific record that is causing this
because the crash occurs at different intervals during the index.
I never adjusted the hibernate configuration (using defaults).  Do you
think that may be the issue?

George Kozak
Cornell University

On Thu, Jan 3, 2019 at 4:36 PM Terry Brady 
wrote:

> George,
>
> I am not seeing this error.
>
> Is there any chance that you are using an older version of java (such as
> Java 7) when you run the dspace command?
>
> Did you upgrade recently?
>
> On Thu, Jan 3, 2019 at 11:02 AM George Kozak  wrote:
>
>> Hi,
>> We are using DSpace 6.3 and we are seeing an error when running the
>> dspace oai import -c.  The Import fails with
>> "org.hibernate.exception.JDBCConnectionException: could not extract
>> ResultSet".  Has anyone else encountered this problem?
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> g...@cornell.edu
>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Problem indexing OAI

2019-01-03 Thread George Kozak
Hi,
We are using DSpace 6.3 and we are seeing an error when running the dspace
oai import -c.  The Import fails with
"org.hibernate.exception.JDBCConnectionException: could not extract
ResultSet".  Has anyone else encountered this problem?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Database problem after first of the year

2019-01-03 Thread George Kozak
We are running DSpace 6.3 (XMLUI, modified Mirage2 theme).  After the first
of the year, when I am running queries against the database, I am seeing
this error "Cannot connect to Postgres server: FATAL:  the database system
is in recovery mode
 db connection failed"
I have to restart postgres before my queries to run.  The only thing
different is that I ran "dspace stats-util -s" on January 1st, for the
first time (and it still appears to running after 3 days...is that normal?)
Any ideas?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Record causes "query did not return a unique result: 2"

2018-12-21 Thread George Kozak
Hello:
We have an old record (from 2007) that is causing an error when we try to
view it normally:
query did not return a unique result: 2
I can view it by going into the Admin UI and finding it by its internal
id.  I checked the database.  The internal id and the handle are unique.
I exported it, and then tried to delete it, but the delete causes an error:
SQL Error: 0, SQLState: 08003 (a lot of times).
I withdrew it, but it still acts as if it isn't withdrawn and gives the
"query did not return..." error.
This record is causing our OAI indexing to fail.
Does anyone have any ideas of how I can either fix this record or get rid
of it?
Thanks!
PS: using DSpace 6.3 XMLUI

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Strange problem with filter-media

2018-12-12 Thread George Kozak
Thanks, Mark.  I implemented that fix.
George Kozak
Cornell University

On Tue, Dec 11, 2018 at 12:23 PM Mark H. Wood  wrote:

> On Saturday, December 8, 2018 at 4:04:23 PM UTC-5, George Kozak wrote:
>>
>> We ran into a strange problem with the filter-media program.  We are
>> using DSpace 6.3 (XMLUI modified Mirage2 theme).  I found out that the
>> filter-media was crashing in it's nightly run.  After some investigation, I
>> found 3 bitstreams in 3 different items (all loaded around the same time)
>> that were causing the problem,  The 3 bitstreams were all Word Docs (Word
>> 97-2003 document).  Each one caused an error:
>> Exception: org.apache.poi.util.LittleEndian.getUnsignedByte([BI)I
>> java.lang.NoSuchMethodError:
>> org.apache.poi.util.LittleEndian.getUnsignedByte([BI)I
>> at
>> org.textmining.extraction.word.model.FormattedDiskPage.(FormattedDiskPage.java:66)
>>
>>
>
> I think we've seen this one before.  The old 'WordFilter' extractor (based
> on the old 'textmining' package) depends on an older version of Apache POI
> than is build into recent releases of DSpace.  The newer PoiWordFilter
> extractor should not have that problem.  Just comment out the WordFilter
> line in dspace.cfg (or local.cfg) and uncomment the PoiWordFilter line.
> WordFilter will be removed in an upcoming release.
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Strange problem with filter-media

2018-12-08 Thread George Kozak
Hi:
We ran into a strange problem with the filter-media program.  We are using
DSpace 6.3 (XMLUI modified Mirage2 theme).  I found out that the
filter-media was crashing in it's nightly run.  After some investigation, I
found 3 bitstreams in 3 different items (all loaded around the same time)
that were causing the problem,  The 3 bitstreams were all Word Docs (Word
97-2003 document).  Each one caused an error:
Exception: org.apache.poi.util.LittleEndian.getUnsignedByte([BI)I
java.lang.NoSuchMethodError:
org.apache.poi.util.LittleEndian.getUnsignedByte([BI)I
at
org.textmining.extraction.word.model.FormattedDiskPage.(FormattedDiskPage.java:66)

I fixed this by converting the Word Docs to PDFs, but I am wondering if
anyone else has come across this issue, and any ideas as to what could be
causing this?
Thanks!

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Item does not show up in discovery & strange behavior in browse

2018-11-13 Thread George Kozak
Hi,
We are using DSPace 6.3, XMLUI (modified Mirage2 theme).  We have an issue
with the discovery search.
The first is that we have an item https://hdl.handle.net/1813/43943 (Title:
Spotted Lanternfly) that (for some reason) does not appear when one is
searching.  I did an index-discovery -b to re-index everything, but that
didn't help.  I, also, noted an odd action when I am browsing.  If I go to
Title Browse, Click on the letter "S"  and then in the "or enter first few
characters" box I enter "Sp" or some other combination of characters, I am
immediately sent to Browse by Issue Date.  I haven't seen anything in the
log files, and I wonder if anyone has any suggestions for me to fix this.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] embargo

2018-05-16 Thread George Kozak
Manjunath:

I am not sure if this is the best way to do this, but we at Cornell
University, we do this manually by going into the Postgres database and
manipulating the Resource Policy table.
Here is a simplified version of our procedure:

To embargo an item, after submission:
   - As Admin, go to edit an item and put the embargo date in the
dublin_core field that you are using for embargoes.
   - Get the ID for the bitstream(s) that you want to embargo.
   - Go to psql
  -select start_date from resourcepolicy where resource_id=;
   - Once you’ve determined that you found the correct bitstream and date,
you can execute:
  - update resorcepolicy set start_date= where
resource_id=;
   - This has to be done for every bitstream that the item contains.

To revise the embargo on an item:
 - Do the same as above

To lift an embargo on an item:
 - Modify the dublin_core embargo field as described above, and find the
bitstream ids
 - Go to psql
- select start_date from resourcepolicy where resource_id=;
 - Once you’ve determined that you found the correct bitstream and date,
you can execute:
- update resorcepolicy set start_date=null where resource_id=;

George Kozak
Cornell University

On Tue, May 15, 2018 at 8:23 AM, Manjunath Sajjan <mgsajj...@gmail.com>
wrote:

> I would like to know even if it is possible to change the date of an
> embargo on an item after that it is submitted. And add/remove embargo
> date. How to achieve these?.
>
>
>
>
> __
>
> Best Regards,
> Manjunath Sajjan
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Question about health check results

2018-05-15 Thread George Kozak
Ondrej:
Thank you.  That makes sense.
George Kozak
Cornell University

On Tue, May 15, 2018 at 11:18 AM Ondřej Košarko <kosa...@ufal.mff.cuni.cz>
wrote:

> Technically the value is the number of results of the following sql query
> "SELECT bitstream_id FROM bitstream WHERE deleted<>true AND bitstream_id
> NOT IN (SELECT resource_id FROM resourcepolicy WHERE resource_type_id=0)",
> which gets you the bistreams that are not deleted, but are not in the
> resourcepolicy table.
> Why there would be no policy on one of your bitstreams I cannot tell.
> Maybe someone removed it on purpose/by accident and made the bitstream
> unavailable; maybe something went wrong while importing, moving between
> collections or something like that.
>
> Hope it's at least a starting point for you.
> Regards,
> Ondrej Kosarko
>
> 2018-05-02 20:50 GMT+02:00 George Kozak <gkoz...@gmail.com>:
>
>> We are using DSpace 6.2 XMLUI with modified Mirage2 theme.  We recently
>> started running the health check report.  We need to understand one item on
>> the report "Resource without Policy" appears on the report, but we are not
>> sre what that refers to.  Is there some documentation for the health check
>> report.  I couldn't find any details on the web.
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Collection deletion error in DSpace 6.2

2018-05-14 Thread George Kozak
Hi,
We are using DSpace 6.2 (XMLUI, modified MIrage2 theme).  One of our Admins
contacted me.  She deleted a collection, and got an internal server error.
When I went to investigate, I found that the collection WAS deleted, but
all I could find in the DSpace logs was:
 WARN  org.dspace.discovery.IndexEventConsumer @ MODIFY event, could not
get object for COLLECTION id=8e834432-c84a-49e6-a076-ed046bb2a7af, perhaps
it has been deleted.

It almost sounds to me that something in the deletion process happened out
of sequence and that caused the error.  Has anyone else seen this or
encountered this?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Accessibility Checking of Submissions

2018-05-09 Thread George Kozak
Thank you, Claudia!
George Kozak
Cornell University

On Wed, May 9, 2018 at 7:17 AM, Claudia Jürgen <
claudia.juer...@tu-dortmund.de> wrote:

> P. S. see
> https://www.w3.org/wiki/WebSchemas/Accessibility
> and
> http://schema.org/version/3.2/
>
> about metadata
>
> cu
>
> Claudia
>
>
> Am 09.05.2018 um 13:03 schrieb Claudia Jürgen:
>
>> Hello George,
>>
>> not as far as I know of and it might be beyond the scope of DSpace.
>> Accessiblity of content depends on who you are targeting and not only on
>> the form but the content itself, like following plain language
>> guidelines.
>> This will not be automatically testable.
>>
>> If you are targeting only a specific group like the blind and visually
>> impaired, there might be automatic tests either in workflow or as
>> curation task which can be integrated.
>>
>> One other thing would be to integrate accessibility metadata to properly
>> identify the content. I think there has been an accessiblity metadata
>> project but don't know, what has become of it. And this is a tricky
>> part, unless you are always only having one original bitstream. This is
>> metadata belonging to the bitstream and is not part of the discovery.
>> Making it item based metadata and having multiple files with different
>> accessiblity properties, these will not be distinguishable by the end
>> user.
>>
>> Sunny greetings
>>
>> Claudia Jürgen
>>
>>
>>
>>
>>
>> Am 08.05.2018 um 22:35 schrieb George Kozak:
>>
>>> Hello:
>>> I was asked if DSpace is looking into adding accessibility checking
>>> to the
>>> content that is submitted into the Repository.  Is this something on the
>>> features to-do list?
>>>
>>>
>> --
>> Claudia Juergen
>> Eldorado
>>
>> Technische Universität Dortmund
>> Universitätsbibliothek
>> Vogelpothsweg 76
>> 44227 Dortmund
>>
>> Tel.: +49 231-755 40 43
>> Fax: +49 231-755 40 32
>> claudia.juer...@tu-dortmund.de
>> www.ub.tu-dortmund.de
>>
>> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich.
>> Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht
>> der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte
>> den Absender und vernichten Sie diese Mail. Vielen Dank.
>> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
>> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
>> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
>> eines solchen Schriftstücks per Telefax erfolgen.
>>
>> Important note: The information included in this e-mail is
>> confidential. It is solely intended for the recipient. If you are not
>> the intended recipient of this e-mail please contact the sender and
>> delete this message. Thank you. Without prejudice of e-mail
>> correspondence, our statements are only legally binding when they are
>> made in the conventional written form (with personal signature) or
>> when such documents are sent by fax.
>>
>>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32
> claudia.juer...@tu-dortmund.de
> www.ub.tu-dortmund.de
>
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
> solchen Schriftstücks per Telefax erfolgen.
>
> Important note: The information included in this e-mail is confidential.
> It is solely intended for the recipient. If you are not the intended
> recipient of this e-mail please contact the sender and delete this message.
> Thank you. Without prejudice of e-mail correspondence, our statements are
> only legally binding when they are made in the conventional written form
> (with personal signature) or when such documents are sent by fax.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
>

[dspace-tech] Accessibility Checking of Submissions

2018-05-08 Thread George Kozak
Hello:
I was asked if DSpace is looking into adding accessibility checking to the
content that is submitted into the Repository.  Is this something on the
features to-do list?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Question about health check results

2018-05-02 Thread George Kozak
We are using DSpace 6.2 XMLUI with modified Mirage2 theme.  We recently
started running the health check report.  We need to understand one item on
the report "Resource without Policy" appears on the report, but we are not
sre what that refers to.  Is there some documentation for the health check
report.  I couldn't find any details on the web.

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Move results in an Internal Server Error

2018-05-02 Thread George Kozak
Hi,
We are running DSpace 6.2 modified Mirage2 XMLUI theme.  One of our
Community Admins discovered that when he attempted to do a move an item
from one collection to another, he received an Internal Server Error.
Internally, the error generated is: "Authorization denied for action REMOVE
on COLLECTION".  It should be noted that in the DSpace Config, we have
delete, withdraw and reinstate set to "false" to prevent Community and
Collection Admins from deleting or withdrawing items without our
knowledge.  The Withdraw and Delete buttons are greyed out for these
Community/Collection Admins, but the "move" button is not.

I suspect that if Delete is not functional, then Move should not be.  Is
this a bug?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] What to do with dspace.cfg and local.cfg

2018-04-05 Thread George Kozak
Thanks, Tim:
That’s what I thought, but I wanted to make sure.
George Kozak
Cornell University

On Thu, Apr 5, 2018 at 12:27 PM Tim Donohue <tdono...@duraspace.org> wrote:

> Hi George,
>
> If you need to comment out an existing, default configuration, you will
> need to do so in the original configuration file (in this case
> dspace.cfg).
>
> DSpace reads all configurations in an additive manner, so the entire
> DSpace configuration is essentially the combination of all (uncommented)
> configurations in all *.cfg files.  The only special case is that if a
> setting is provided (uncommented) in local.cfg, that value will override
> any value from another *.cfg file.
>
> Another way of putting this are that all comments are ignored by the
> DSpace Configuration system.  So, if you comment out something in
> local.cfg, that tells the Configuration to ignore it, and therefore the
> original setting (if it exists elsewhere in another *.cfg file) would be
> used.
>
> Depending on the configuration, it might also be possible to set the
> config to an empty value in your local.cfg (which would likely override the
> default setting with an empty string setting).  But, I admit, I've not
> tested that extensively, so it may not work well for all configurations &
> commenting it out elsewhere may still be your best option.
>
> - Tim
>
> On Thu, Apr 5, 2018 at 11:05 AM George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>> I ran into a problem with DSpace 6.2.  It was caused because I needed to
>> comment out something in the dspace.cfg.  I did it in local.cfg, but (of
>> course), it ignored that comment.  So, I found that I had to go into
>> dspace.cfg and comment out the variable assignment there.
>>
>> I know we are now supposed to make our changes in local.cfg, but what do
>> we do if we want to comment out something.  Are we supposed to go and do
>> that in dspace.cfg (or any of the other config modules) or is there another
>> way to accomplish this?
>>
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] What to do with dspace.cfg and local.cfg

2018-04-05 Thread George Kozak
Hi...
I ran into a problem with DSpace 6.2.  It was caused because I needed to
comment out something in the dspace.cfg.  I did it in local.cfg, but (of
course), it ignored that comment.  So, I found that I had to go into
dspace.cfg and comment out the variable assignment there.

I know we are now supposed to make our changes in local.cfg, but what do we
do if we want to comment out something.  Are we supposed to go and do that
in dspace.cfg (or any of the other config modules) or is there another way
to accomplish this?


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: CC License step failing

2018-04-03 Thread George Kozak
Rob:
Thank you.  Going back to http has fixed the problem for us at Cornell
University.
George Kozak
Cornell University

On Tue, Apr 3, 2018 at 2:01 PM, Rob Myers <r...@creativecommons.org> wrote:

> Heya all.
>
> I have re-enabled http for now. I will put a redirect back in place at
> some point in the future, with suitable warning.
>
> For anyone who changing the url to be https didn't help, does switching
> back to http improve things?
>
> - Rob.
>
> On Monday, April 2, 2018 at 5:13:57 PM UTC-7, Rob Myers wrote:
>>
>> Heya Javier.
>>
>> Thank you for checking this.
>>
>> There is a 301 redirect in place from http to https.
>>
>> The old server had Varnish publicly accessible on port 80, which I
>> assumed was an error so I didn't recreate that (we were meant to have
>> switched everything to https a couple of years ago!).
>>
>> If changing to https fixes the issue, this would explain it.
>>
>> Is it easy to change cc.api.rooturl to https, or is that going to be a
>> pain for people?
>>
>> Thank you again.
>>
>> - Rob.
>>
>> On Monday, April 2, 2018 at 4:59:23 PM UTC-7, Javier Távara wrote:
>>>
>>> Thank you for the update Rob.
>>>
>>> Any redirection is being applied from non-SSL to SSL? Was the same
>>> before the update?
>>>
>>> I changed my settings (dspace.cfg) to use SSL:
>>>
>>> # The url to the web service API
>>> cc.api.rooturl = https://api.creativecommons.org/rest/1.5
>>>
>>> And it works now :)
>>>
>>> - Javier.
>>>
>>> El lunes, 2 de abril de 2018, 18:51:16 (UTC-5), Rob Myers escribió:
>>>>
>>>> Heya everyone, Rob from Creative Commons here.
>>>>
>>>> I'm very sorry that our API isn't working with DSpace at the moment. I
>>>> upgraded the server that the API runs on, and the problem that you are
>>>> seeing wasn't caught by my tests.
>>>>
>>>> If I call the API simply via the command line, e.g.:
>>>>
>>>> curl -d "answers=en>>> ercial>ysa>>> ion>UntitledA.
>>>> N. 
>>>> Otherhttps://example.com/untitled"
>>>> https://api.creativecommons.org/rest/1.5/license/standard/issue
>>>>
>>>> Then I do get back an xml block, e.g.:
>>>>
>>>> 
>>>> 
>>>>   http://creativecommons.org/licenses/by-sa/4.0/<
>>>> /license-uri>
>>>>   Attribution-ShareAlike 4.0 International
>>>>   false
>>>>   
>>>> http://creativecommons.org/ns#; xmlns:rdf="
>>>> http://www.w3.org/1999/02/22-rdf-syntax-ns#;>
>>>>   http://purl.org/dc/elements/1.1/; rdf:about="
>>>> https://example.com/untitled;>UntitledA.
>>>> N. Otherhttp://creativec
>>>> ommons.org/licenses/by-sa/4.0/"/>http://creativecommons.org/licenses/by-sa/4.0/;>
>>>> http://creativec
>>>> ommons.org/ns#DerivativeWorks"/>
>>>> http://creativecommons.org/ns#Distribution
>>>> "/>
>>>> http://creativecommons.org/ns#Reproduction
>>>> "/>
>>>> http://creativecommons.org/ns#Attribution
>>>> "/>
>>>> http://creativecommons.org/ns#Notice"/>
>>>> http://creativecommons.org/ns#ShareAlike"/>
>>>>   
>>>> 
>>>>   
>>>>   
>>>> http://creativecommons.org/ns#; xmlns:rdf="
>>>> http://www.w3.org/1999/02/22-rdf-syntax-ns#;>
>>>>   http://creativecommons.org/licenses/by-sa/4.0/;>
>>>> http://creativec
>>>> ommons.org/ns#DerivativeWorks"/>
>>>> http://creativecommons.org/ns#Distribution
>>>> "/>
>>>> http://creativecommons.org/ns#Reproduction
>>>> "/>
>>>> http://creativecommons.org/ns#Attribution
>>>> "/>
>>>> http://creativecommons.org/ns#Notice"/>
>>>> http://creativecommons.org/ns#ShareAlike"/>
>>>>   
>>>> 
>>>>   
>>>>   http://creativecommons.o
>>>> rg/licenses/by-sa/4.0/">>>> style="border-width:0" src="http://i.creativecommons.
>>>> org/l/by-sa/4.0/88x31.png"/>http://purl.org/dc/terms/; property="dct:title">Untitled by >>> xmlns:cc="http://creativecom

Re: [dspace-tech] Re: CC License step failing

2018-04-02 Thread George Kozak
Hi, Everyone:
I made the suggested change from http to https, but I still have failure in
connecting to Creative Commons.  I restarted tomcat and cleared the cocoon
cache, as well.
George Kozak
Cornell University

On Mon, Apr 2, 2018 at 7:59 PM, Javier Távara <jav...@tavara.pe> wrote:

> Thank you for the update Rob.
>
> Any redirection is being applied from non-SSL to SSL? Was the same before
> the update?
>
> I changed my settings (dspace.cfg) to use SSL:
>
> # The url to the web service API
> cc.api.rooturl = https://api.creativecommons.org/rest/1.5
>
> And it works now :)
>
> - Javier.
>
> El lunes, 2 de abril de 2018, 18:51:16 (UTC-5), Rob Myers escribió:
>>
>> Heya everyone, Rob from Creative Commons here.
>>
>> I'm very sorry that our API isn't working with DSpace at the moment. I
>> upgraded the server that the API runs on, and the problem that you are
>> seeing wasn't caught by my tests.
>>
>> If I call the API simply via the command line, e.g.:
>>
>> curl -d "answers=en> ercial>ysa> ion>UntitledA.
>> N. 
>> Otherhttps://example.com/untitled"
>> https://api.creativecommons.org/rest/1.5/license/standard/issue
>>
>> Then I do get back an xml block, e.g.:
>>
>> 
>> 
>>   http://creativecommons.org/licenses/by-sa/4.0/<
>> /license-uri>
>>   Attribution-ShareAlike 4.0 International
>>   false
>>   
>> http://creativecommons.org/ns#; xmlns:rdf="
>> http://www.w3.org/1999/02/22-rdf-syntax-ns#;>
>>   http://purl.org/dc/elements/1.1/; rdf:about="
>> https://example.com/untitled;>UntitledA.
>> N. Otherhttp://creativec
>> ommons.org/licenses/by-sa/4.0/"/>http://creativecommons.org/licenses/by-sa/4.0/;>
>> http://creativecommons.org/ns#DerivativeWorks;
>> />
>> http://creativecommons.org/ns#Distribution"/>
>> http://creativecommons.org/ns#Reproduction"/>
>> http://creativecommons.org/ns#Attribution"/>
>> http://creativecommons.org/ns#Notice"/>
>> http://creativecommons.org/ns#ShareAlike"/>
>>   
>> 
>>   
>>   
>> http://creativecommons.org/ns#; xmlns:rdf="
>> http://www.w3.org/1999/02/22-rdf-syntax-ns#;>
>>   http://creativecommons.org/licenses/by-sa/4.0/;>
>> http://creativecommons.org/ns#DerivativeWorks;
>> />
>> http://creativecommons.org/ns#Distribution"/>
>> http://creativecommons.org/ns#Reproduction"/>
>> http://creativecommons.org/ns#Attribution"/>
>> http://creativecommons.org/ns#Notice"/>
>> http://creativecommons.org/ns#ShareAlike"/>
>>   
>> 
>>   
>>   http://creativecommons.o
>> rg/licenses/by-sa/4.0/">> style="border-width:0" src="http://i.creativecommons.
>> org/l/by-sa/4.0/88x31.png"/>http://purl.org/dc/
>> terms/" property="dct:title">Untitled by http://creativecommons.org/ns#; href="https://example.com/untitled;
>> property="cc:attributionName" rel="cc:attributionURL">A. N. Other is
>> licensed under a http://creativecommons.o
>> rg/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0
>> International License.
>> 
>>
>> Which does validate OK locally.
>>
>> The only thing that should have changed for users of the API is the SSL
>> certificate for the domain (might the old one be being cached somewhere?),
>> although the versions of Python and Apache Web server that the software
>> runs of have jumped a few versions, so it is possible that something else
>> has changed without me catching it.
>>
>> I'd be very grateful if anyone could pass me any further information,
>> particularly if anyone can see what api.creativecommons.org thinks it is
>> sending back to DSpace in response to a license request.
>>
>> Thank you, and again my apologies for this.
>>
>> - Rob Myers,
>> Core Systems Manager,
>> Creative Commons.
>>
>>
>> On Monday, April 2, 2018 at 3:38:07 PM UTC-7, Javier Távara wrote:
>>>
>>> I saw the tweets. Thank you.
>>>
>>> As we don't have any useful logs of what's happening, I thought
>>> disabling/enabling the step could fire any sort of cache clearing.
>>>
>>> No success.
>>>
>>> - Javier
>>>
>>> El lunes, 2 de abril de 2018, 17:33:16 (UTC-5), Keith Gilbertson
>>> escribió:
>>>>
>>>>
>>>>
>>

[dspace-tech] CC License step failing

2018-04-02 Thread George Kozak
Hi,
We have a DSpace 5.5 and a DSpace 6.2 install.  This afternoon, the CC
License submission step stopped working and caused an internal error.  I
don't use Twitter, but one of my co-workers who does saw Creative Commons
tweeted that their API was broken, but an hour later said it was back up.
However, our DSpace installs are still failing at the CC License step.  I
tried rebooting my tomcat, but that didn't help.  Any suggestions?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Rest API not working in DSpace 6.2

2018-03-06 Thread George Kozak
Hi, a while back I reported that I was having a problem with the Rest API
not working after we migrated to DSpace 6.2.  I have been trying to debug
this, and I wonder if the problem is the version of Java we are using.
I am running postgres 9.4.15 with jdk1.7.0_55.

I am thinking this is the case because one of the errors
is "java.lang.UnsupportedClassVersionError: org/postgresql/Driver :
Unsupported major.minor version 52.0 (unable to load class
org.postgresql.Driver)".

Should I be running with java 8?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] REST API not working

2018-01-24 Thread George Kozak
Thanks, Mark...I will keep digging.
George

On Tue, Jan 23, 2018 at 8:23 AM, Mark H. Wood <mwoodiu...@gmail.com> wrote:

> On Monday, January 22, 2018 at 4:13:24 PM UTC-5, George Kozak wrote:
>>
>> Hi, Hardy:
>> I think I found the problem in the catalina.out log.
>> I see:
>> SEVERE: Error listenerStart
>> SEVERE: Context [/rest] startup failed due to previous errors
>> SEVERE: Exception sending context destroyed event to listener instance of
>> class org.dspace.app.util.DSpaceWebappListener
>>
>> So, for some reason the Rest API is failing.  Still not sure why, but I
>> will continue to dig.
>>
>>
>
> There may be more clues in the Tomcat log for the specific , such as
> localhost.2018-01-18.log
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: REST API not working

2018-01-24 Thread George Kozak
Thanks, Paul:
I will try and see if I can get things working following your directions.
George

On Wed, Jan 24, 2018 at 2:13 AM, Paul Warner <paulwwar...@gmail.com> wrote:

> Hi,
>
> It sounds like you are having other problems, George, but I just struggled
> with Dspace's Rest interface, and I can confirm the Apache
> Proxy/ReverseProxy problem.  That stumped me for a while, because we are
> running https through Apache, and I thought I should leave the https in.
> But we are not using https for Tomcat, of course (duh!), since it is
> running behind Apache - so I had to comment out the https segment in the
> Rest config before I could get it to work.  I have tomcat configured to
> listen only on localhost, so I can now access the Rest interface only on
> that machine.  I use curl on the command line.  Everything works.  But I
> have not included rest in the Proxy/ReverseProxy list for Apache, so it is
> not available in the browser.  I get a 404 just like you do, George.  I do
> not want everyone to be able to use it online, so this suits me.
>
> I post this because these kinds of fine points can be overlooked.  I hope
> it helps someone.
>
> Best regards,
> Paul
>
>
> On Monday, January 22, 2018 at 7:30:22 PM UTC+1, George Kozak wrote:
>>
>> Hi...
>> I wrote about this back on January 8th, but didn't get any replies...so I
>> am trying again :-)
>> In our DSpace 6.2 installation, if I try to access the REST API, the
>> system responds with "Page Not Found" as if I had typed in an inaccurate
>> URL.  It does this even when I try:
>> curl https:///rest/test
>>
>> In the tomcat server.xml, I have:
>> 
>>
>> Does anyone have any ideas why the code would not recognize the REST API?
>> (PS: it worked fine in DSpace 5.5)
>> Thanks!
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> gs...@cornell.edu
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] REST API not working

2018-01-22 Thread George Kozak
Hi, Hardy:
I think I found the problem in the catalina.out log.
I see:
SEVERE: Error listenerStart
SEVERE: Context [/rest] startup failed due to previous errors
SEVERE: Exception sending context destroyed event to listener instance of
class org.dspace.app.util.DSpaceWebappListener

So, for some reason the Rest API is failing.  Still not sure why, but I
will continue to dig.
George

On Mon, Jan 22, 2018 at 2:11 PM, Hardy Pottinger <hardy.pottin...@gmail.com>
wrote:

> Hi, George, by any chance are you putting your Tomcat server behind a
> reverse proxy? If so, you'll probably want to drop the security constraint
> for the REST-API, since you don't need to encrypt traffic between the
> reverse proxy and Tomcat. Here's an example of what I mean:
>
> https://github.com/UCLALibrary/DSpace/pull/18/files
>
> Now, be careful, do *not* drop that constraint if you're exposing Tomcat
> to the world. :-)
>
> --Hardy
>
> On Mon, Jan 22, 2018 at 12:30 PM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>> I wrote about this back on January 8th, but didn't get any replies...so I
>> am trying again :-)
>> In our DSpace 6.2 installation, if I try to access the REST API, the
>> system responds with "Page Not Found" as if I had typed in an inaccurate
>> URL.  It does this even when I try:
>> curl https:///rest/test
>>
>> In the tomcat server.xml, I have:
>> 
>>
>> Does anyone have any ideas why the code would not recognize the REST API?
>> (PS: it worked fine in DSpace 5.5)
>> Thanks!
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] REST API not working

2018-01-22 Thread George Kozak
Hi, Hardy:

Thanks for the suggestion.  Yes, our tomcat sits behind a reverse proxy.
However, after removing the Security constraint from the web.xml for the
Rest API, and restarting tomcat, I still get the same "Page Not Found"
error.  I'm definitely stumped.
George


On Mon, Jan 22, 2018 at 2:11 PM, Hardy Pottinger <hardy.pottin...@gmail.com>
wrote:

> Hi, George, by any chance are you putting your Tomcat server behind a
> reverse proxy? If so, you'll probably want to drop the security constraint
> for the REST-API, since you don't need to encrypt traffic between the
> reverse proxy and Tomcat. Here's an example of what I mean:
>
> https://github.com/UCLALibrary/DSpace/pull/18/files
>
> Now, be careful, do *not* drop that constraint if you're exposing Tomcat
> to the world. :-)
>
> --Hardy
>
> On Mon, Jan 22, 2018 at 12:30 PM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>> I wrote about this back on January 8th, but didn't get any replies...so I
>> am trying again :-)
>> In our DSpace 6.2 installation, if I try to access the REST API, the
>> system responds with "Page Not Found" as if I had typed in an inaccurate
>> URL.  It does this even when I try:
>> curl https:///rest/test
>>
>> In the tomcat server.xml, I have:
>> 
>>
>> Does anyone have any ideas why the code would not recognize the REST API?
>> (PS: it worked fine in DSpace 5.5)
>> Thanks!
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] REST API not working

2018-01-22 Thread George Kozak
Hi...
I wrote about this back on January 8th, but didn't get any replies...so I
am trying again :-)
In our DSpace 6.2 installation, if I try to access the REST API, the system
responds with "Page Not Found" as if I had typed in an inaccurate URL.  It
does this even when I try:
curl https:///rest/test

In the tomcat server.xml, I have:


Does anyone have any ideas why the code would not recognize the REST API?
(PS: it worked fine in DSpace 5.5)
Thanks!

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Finding Restricted collections

2018-01-17 Thread George Kozak
Terry:
Thank you.  Once again, you have been a big help!
George Kozak

On Wed, Jan 17, 2018 at 6:43 PM Terry Brady <terry.br...@georgetown.edu>
wrote:

> This query will get you started.  It will find all items without and
> anonymous read policy.
>
> select * from item
> where not exists (
>   select 1
>   from resourcepolicy rp
>   where rp.resource_id = item_id
>   and rp.resource_type_id=2
>   and epersongroup_id=0
>   and action_id=0
> )
>
> You will likely want to refine this query to look at the embargo start/end
> dates present in the resourcepolicy table.
>
> epersongroup_id=0 is anonymous
> action_id is READ action
>
> On Wed, Jan 17, 2018 at 1:35 PM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Is there an easy way to find and list all of the collections in DSpace
>> that have restricted items in them?  I thought I could do it in SQL, but
>> I'm having a hard time coming up with a query that gives me what I want.
>> BTW: I am using DSpace 5.5.
>> Thanks!
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Finding Restricted collections

2018-01-17 Thread George Kozak
Is there an easy way to find and list all of the collections in DSpace that
have restricted items in them?  I thought I could do it in SQL, but I'm
having a hard time coming up with a query that gives me what I want.  BTW:
I am using DSpace 5.5.
Thanks!
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Submission Problem in DSpace 6.2

2018-01-11 Thread George Kozak
Tim:

That's it, exactly!  I was trying to narrow down the problem at my site,
and thought it was tied to Collections with Default Read access restricted,
but it turns out, those are collections with logos.  Once I removed the
logos, the problem went away.  So, will https://jira.duraspace.org/
browse/DS-3775 be fixed in DSpace 6.3?  And if so, when can we expect 6.3
or a patch?
Thanks!
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu

On Wed, Jan 10, 2018 at 12:00 PM, Tim Donohue <tdono...@duraspace.org>
wrote:

> Hi George,
>
> Your description here sounds very similar (or very closely related) to
> this ticket that has already been logged:
> https://jira.duraspace.org/browse/DS-3775
>
> If this is the same (or similar) behavior to what you are seeing, could
> you add comments to the ticket on how you've been able to reproduce this?
> As you'll see in the ticket, we're still trying to narrow down how to
> reproduce this, and whether it's now been fixed in the latest codebase
> (pre-6.3 code).  So, more eyes / feedback could be very helpful here.
>
> - Tim
>
> On Tue, Jan 9, 2018 at 4:05 PM George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>>
>> Back in late November, I reported a problem with Submissions in DSpace
>> 6.2.  The problem was that when someone submitted an item the following
>> error appeared: "could not initialize proxy - no Session".  The item
>> submission went through, but the submitter saw this error message appear.
>>
>> I think I may have figured out what is causing this error.  It appears
>> from my testing that if someone submits to a collection that has restricted
>> Default Read Access, then the error happens.  So far, I have been able to
>> duplicate this error under those conditions.  If someone could verify my
>> results, then a JIRA issue could be written up.
>> Thanks!
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Submission Problem in DSpace 6.2

2018-01-09 Thread George Kozak
Hi...

Back in late November, I reported a problem with Submissions in DSpace
6.2.  The problem was that when someone submitted an item the following
error appeared: "could not initialize proxy - no Session".  The item
submission went through, but the submitter saw this error message appear.

I think I may have figured out what is causing this error.  It appears from
my testing that if someone submits to a collection that has restricted
Default Read Access, then the error happens.  So far, I have been able to
duplicate this error under those conditions.  If someone could verify my
results, then a JIRA issue could be written up.
Thanks!

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] REST API question

2018-01-08 Thread George Kozak
Hi...
On our production system which is running DSpace 5.5, the REST API is
working fine.  However, on our test system which is running DSpace 6.2,
when I try to execute the REST API, I get back a "page not found" error.
It looks like DSpace is interpreting my REST commands as HTML calls to the
xmlui webapp.  I can't seem to find what is causing this problem.

Has anyone encountered this error before, or have any suggestions as to
what I am doing wrong?  Thanks!

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Fwd: Problem with View Statistics in DSpace 6.2

2018-01-04 Thread George Kozak
Hi, Everyone:

I think I figured out my problem.  First off, on our test system we have
items that have never been viewed.  This was confusing the issue for us.
Also, I forgot that on January 1st, I had a cron job set to run "dspace
stats-util -s" which creates a new solr index for 2018.  So, the view stats
is not showing views from 2017.  Problem solved (I think!)

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- Forwarded message ------
From: George Kozak <gkoz...@gmail.com>
Date: Wed, Jan 3, 2018 at 4:01 PM
Subject: Problem with View Statistics in DSpace 6.2
To: DSpace Technical Support <dspace-tech@googlegroups.com>


Hi...

On our test server which is running DSpace 6.2 (modified XMLUI Mirage 2),
we seem to be having a problem with the "View Usage Statistics" link for
items.  Some items are showing statistics while other items are displaying
the statistics page with no data whatsoever (even if the item has been
viewed).  I tried running the "bin/dspace solr-reindex-statistics -a
reindex -i statistics" command, but that hasn't changed the data display.

Our migration to production is being held up by this problem.  Is there
something that I should do to fix these statistics?
Thank you in advance.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Problem with View Statistics in DSpace 6.2

2018-01-03 Thread George Kozak
Hi...

On our test server which is running DSpace 6.2 (modified XMLUI Mirage 2),
we seem to be having a problem with the "View Usage Statistics" link for
items.  Some items are showing statistics while other items are displaying
the statistics page with no data whatsoever (even if the item has been
viewed).  I tried running the "bin/dspace solr-reindex-statistics -a
reindex -i statistics" command, but that hasn't changed the data display.

Our migration to production is being held up by this problem.  Is there
something that I should do to fix these statistics?
Thank you in advance.

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Finding out if a metadata field is used

2018-01-03 Thread George Kozak
Thanks, Christian:
I never considered using the search function.
George Kozak
Cornell University

On Wed, Jan 3, 2018 at 3:22 AM, Christian Scheible <
christian.schei...@uni-konstanz.de> wrote:

> Hi George,
>
> I like using the DSpace search for tasks like this.
>
> To find all items that have a dc.title set use this search: *dc.title:* 
> *(Example
> on demo.dspace.org: http://demo.dspace.org/xmlui/
> discover?scope=%2F=dc.title%3A*=)
> You can also combine queries like this: *dc.title:* AND -dc.type:* *This
> will find all items which have a dc.title but no dc.type (Example:
> http://demo.dspace.org/xmlui/discover?scope=%2F=dc.
> title%3A*+AND+-dc.type%3A*=)
>
> Just remember that you are going to find only public items with the DSpace
> search. If you need to find private (like withdrawn) items as well using
> the database as Paul suggested is the only option.
>
> Regards
> Christian
>
> Am 03.01.2018 um 10:10 schrieb Paul Münch:
>
> Hi George,
>
> here an addition. Some metadata fields are critical because alls
> DSpace-Objects have metadata, i.e. Communities and Collections, too.
> Especially fields like dc.title are also used for Communities and
> Collections metadata.
>
> Best regards,
> Paul
>
>
>  Weitergeleitete Nachricht 
> Betreff: Re: [dspace-tech] Finding out if a metadata field is used
> Datum: Wed, 3 Jan 2018 08:34:49 +0100
> Von: Paul Münch <paul.mue...@ub.uni-marburg.de>
> <paul.mue...@ub.uni-marburg.de>
> Organisation: Universitätsbibliothek Marburg
> An: George Kozak <gkoz...@gmail.com> <gkoz...@gmail.com>
>
> Hi George,
>
> I don't know if there is a DSpace tool but every metadata to dspace-object
> relation is hold in database. So a SQL query is all you need.
> You only have to know the "metadata_field_id". This is stored in the
> "metadatafieldregistry" table. Either you looking in the Admin UI for
> metadata-registry or you use a SQL-Query like this: "SELECT
> metadata_field_id FROM metadatafieldregistry WHERE element='title' AND
> qualifier='alternative';" (= field_id 71).
> With this ID you can query the "metadatavalue" table, e.g. "SELECT
> COUNT(*) FROM metadatavalue WHERE metadata_field_id = 71;"
>
> Best regards,
> Paul
>
>
>
> Am 02.01.2018 um 21:36 schrieb George Kozak:
>
> Hi...
> We are using DSpace 5.5 (going to 6.2).  A Metadata Librarian at my site
> asked if I could find out how many times a certain DC metadata field was
> being used in DSpace instance.  Has anyone ever queried the system for that
> particular information, and if so, could you share with me how to do that
> :-) ?
> Thanks!
>
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
> g...@cornell.edu
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Philipps-Universität Marburg | UB
> Digitale Dienste | Wilhelm-Röpke-Straße 6 
> <https://maps.google.com/?q=Wilhelm-R%C3%B6pke-Stra%C3%9Fe+6=gmail=g>
>  | 08A09
> Tel. 06421/28-24624 |
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Finding out if a metadata field is used

2018-01-02 Thread George Kozak
Hi...
We are using DSpace 5.5 (going to 6.2).  A Metadata Librarian at my site
asked if I could find out how many times a certain DC metadata field was
being used in DSpace instance.  Has anyone ever queried the system for that
particular information, and if so, could you share with me how to do that
:-) ?
Thanks!

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Login problem with DSpace 6.2

2017-12-07 Thread George Kozak
Hi,
We are having a login problem with DSpace 6.2 (XMLUI), and I am hoping
someone can point me in the right direction to fix the problem.

We have 2 forms of login: Shibboleth and the native DSpace login.
The Shibboleth works fine, and the native works OK, the first time, but if
one logs off and logs back in with the native login, it seems to work, but
the system acts as if the user hasn't really logged in (ie., the My DSpace
tab doesn't pop up, and we do not get the Admin options, if someone is
listed as an Admin).  Hitting refresh on teh browser doesn't change
anything as well.

The log files shows that the login was successful and no error message
appears.
Has anyone experienced this before?  Any idea where I should look?
Thanks.
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Submission Problem in DSpace 6.2

2017-11-29 Thread George Kozak
Enes:

Thank you.  I have looked through the trace, and, frankly, I don't see
anything that sticks out as the problem area.  I am, also, concerned that I
need to make a java code change to fix this error.  Has anyone else
reported a problem like this?
BTW: I am attaching the full stack trace,in case it will help.
George Kozak
Cornell University

On Tue, Nov 28, 2017 at 7:02 PM, eneshukic via DSpace Technical Support <
dspace-tech@googlegroups.com> wrote:

> Hi George,
>
> I did not see your complete error stack, but you should look for the
> dspace objects.  The error should exactly point out where the problem is.
> When you find it, change FetchType.Lazy to FetchType.Eager.
>
> Regards,
> Enes
>
> On Tuesday, November 28, 2017 at 5:45:02 PM UTC+1, George Kozak wrote:
>>
>> Enes:
>>
>> I am unfamiliar with hibernate.  I checked the config
>> file  hibernate.cfg.xml, but did not see anything about changing class from
>> "lazy" to "eager".  Is there somewhere else where this change should be
>> made?
>> Thanks,
>> George Kozak
>> Cornell University
>>
>> On Tue, Nov 28, 2017 at 6:24 AM, eneshukic via DSpace Technical Support <
>> dspac...@googlegroups.com> wrote:
>>
>>> Hi George,
>>>
>>> This is Hibernate error.Try changing initaization in your class from
>>> lazy to eager.
>>>
>>> Regards,
>>> Enes
>>>
>>> On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote:
>>>>
>>>> Hi,
>>>> We are moving to upgrade our production server (which is running DSpace
>>>> 5.5) to Dspace 6.2.  In our testing, we have found a problem with
>>>> submissions.  When someone submits an item the following error appears:
>>>> "could not initialize proxy - no Session".
>>>> Has anyone ecountered this before?
>>>>
>>>> The underlining stack trace shows:
>>>> Java stacktrace: org.hibernate.LazyInitializationException: could not
>>>> initialize proxy - no Session at org.hibernate.proxy.AbstractLa
>>>> zyInitializer.initialize(AbstractLazyInitializer.java:165) at
>>>> org.hibernate.proxy.AbstractLazyInitializer.getImplementatio
>>>> n(AbstractLazyInitializer.java:286) at org.hibernate.proxy.pojo.javas
>>>> sist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
>>>> at 
>>>> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java)
>>>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325)
>>>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280)
>>>> at 
>>>> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129)
>>>> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:606) at
>>>> org.apache.cocoon.core.container.spring.avalon.PoolableProxy
>>>> Handler.invoke(PoolableProxyHandler.java:71) at
>>>> com.sun.proxy.$Proxy226.getValidity(Unknown Source) at
>>>> org.apache.cocoon.components.pipeline.impl.AbstractCachingPr
>>>> ocessingPipeline.getValidityForInternalPipeline(AbstractCach
>>>> ingProcessingPipeline.java:987) at ...
>>>>
>>>> --
>>>> ***
>>>> George Kozak
>>>> Digital Library Specialist
>>>> Cornell University Library - IT
>>>> 218 Olin Library
>>>> Cornell University
>>>> Ithaca, NY 14853
>>>> 607-255-8924
>>>> gs...@cornell.edu
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> gs...@cornell.edu
>>
&g

Re: [dspace-tech] Re: Submission Problem in DSpace 6.2

2017-11-28 Thread George Kozak
Enes:

I am unfamiliar with hibernate.  I checked the config
file  hibernate.cfg.xml, but did not see anything about changing class from
"lazy" to "eager".  Is there somewhere else where this change should be
made?
Thanks,
George Kozak
Cornell University

On Tue, Nov 28, 2017 at 6:24 AM, eneshukic via DSpace Technical Support <
dspace-tech@googlegroups.com> wrote:

> Hi George,
>
> This is Hibernate error.Try changing initaization in your class from
> lazy to eager.
>
> Regards,
> Enes
>
> On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote:
>>
>> Hi,
>> We are moving to upgrade our production server (which is running DSpace
>> 5.5) to Dspace 6.2.  In our testing, we have found a problem with
>> submissions.  When someone submits an item the following error appears:
>> "could not initialize proxy - no Session".
>> Has anyone ecountered this before?
>>
>> The underlining stack trace shows:
>> Java stacktrace: org.hibernate.LazyInitializationException: could not
>> initialize proxy - no Session at org.hibernate.proxy.AbstractLa
>> zyInitializer.initialize(AbstractLazyInitializer.java:165) at
>> org.hibernate.proxy.AbstractLazyInitializer.getImplementatio
>> n(AbstractLazyInitializer.java:286) at org.hibernate.proxy.pojo.javas
>> sist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
>> at 
>> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java)
>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325)
>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280)
>> at 
>> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129)
>> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606) at
>> org.apache.cocoon.core.container.spring.avalon.PoolableProxy
>> Handler.invoke(PoolableProxyHandler.java:71) at
>> com.sun.proxy.$Proxy226.getValidity(Unknown Source) at
>> org.apache.cocoon.components.pipeline.impl.AbstractCachingPr
>> ocessingPipeline.getValidityForInternalPipeline(AbstractCach
>> ingProcessingPipeline.java:987) at ...
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> gs...@cornell.edu
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Change in Postgres table in DSpace 6.2

2017-11-18 Thread George Kozak
Thanks, Terry:
I think I see how to change My scripts to get them to work again.  I should
have read the documentation closer!
George

On Fri, Nov 17, 2017 at 5:21 PM Terry Brady <terry.br...@georgetown.edu>
wrote:

> George,
>
> See the first section named "Hibernate" for a description of the change to
> UUID. https://wiki.duraspace.org/display/DSPACE/DSpace+Release+6.0+Status
>
> The primary keys for nearly every table in DSpace were switched to UUID's
> to support this change.  Any SQL that you have will need to be modified to
> support the change.
>
> The old resource_id / resource_type_id fields are still present on many
> tables, but the intention is to use the UUIDs for all joins.
>
> Terry
>
> On Fri, Nov 17, 2017 at 9:55 AM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi,
>> I have some PERL DBI scripts that I run on a daily basis to pull
>> information from the DSpace postgres database.  After going to DSpace 6.2,
>> I am seeing some problems.
>> The first one, I encountered was a script that executed:
>> select text_value from metadatavalue where metadata_field_id=66 and
>> resource_id=$value;
>> This line failed and I discovered that resource_id is no longer part of
>> the metadatavalue table.  Instead there is a uuid type field called
>> "dspace_object_id".  I am not familiar with "uuid" type fields.  I see that
>> the just substituting the resource_id value for dspace_object_id won't work.
>> Can someone help me in figuring out this change?
>> Thanks!
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Question about Statistics Display

2017-11-03 Thread George Kozak
Hi...
I am running DSpace 5.5 XMLUI (modified Mirage2 theme).  I have been
culling bitstream download data from the dspace log files and giving users
a month-by-month and yearly reports on their items.

Recently, a user pointed out to me that my statistics were different from
those displayed by the "View my statistics" link on the item page.  I was
surprised since I thought the data that I was accumulating and what was
displayed on the statistics display came from the same source.

Can anyone explain to me why these numbers would be different?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-27 Thread George Kozak
Tom:

I concur with Hardy.  It might be something in your dspace home directory.
Renaming the existing one and creating a whole new one before you compile
the source might fix the problem.
George Kozak
Cornell University

On Wed, Jul 26, 2017 at 9:01 PM, Hardy Pottinger <hardy.pottin...@gmail.com>
wrote:

> Tom, if you haven't cleaned out your DSpace dir (where you have the
> webapps deployed) you probably have old/cached config and lib folders.
> Easiest thing to do is move the old one out of the way, make a new DSpace
> directory, and deploy to the new directory with ant.
>
> On Jul 26, 2017 7:23 PM, "Tom Avino" <tomav...@gmail.com> wrote:
>
> George,
>
> It does sound similar to my problem.  I did drop the database and restore
> from a good 3.3.  I also validated that my dspace.cfg file was the original
> one.  I did  complete rebuild using maven and ant.  I get a 404 error when
> I try to bring up out website.  This is getting to be a real pain.
>
> Thanks for your input!
>
> *Tom Avino *
>
> o: 757.864-8495 <(757)%20864-8495> | thomas.w.av...@nasa.gov
>
> f:  757.864-6649 | thomas.av...@saic.com
>
> On Wednesday, July 26, 2017 at 6:41:53 PM UTC-4, George Kozak wrote:
>
>> Hi, Tom:
>>
>> I am not sure if this is the same problem as you are having, but I had a
>> similar problem when I tried to back out of a DSpace 6.0 install to DSpace
>> 5.5.  I discovered that for some reason that I had some remnants from the
>> DSpace 6.0 install left in the PostGres database and config files in the
>> dspace home directory (even after I removed all of teh DSpace 6.0 stuff).
>>
>> In my case. I found that I had to drop the dspace database, and then
>> recreated it, and then added the data from the restored backup. I did the
>> same with the dspace home directory.  It may be that you already did all of
>> this, but that is what I found helped my problem.
>> George Kozak
>> Cornell University
>>
>> On Wed, Jul 26, 2017 at 2:01 PM, Tom Avino <toma...@gmail.com> wrote:
>>
>>> The errors listed below in cocoon, happen when Tomcat is started back
>>> up, not when trying to load the webpage.
>>> I hope this helps
>>>
>>> Tom
>>>
>>> On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>>>>
>>>> I have done a few of these upgrades from 3.3 to 5.5 without any
>>>> issues.  This one however failed and could not find the issue, so I decided
>>>> to start over.  I had done this a few times before on another Dspace
>>>> instance.
>>>>
>>>> What I did then was
>>>>
>>>>- restore my postgres database back to pre-upgrade
>>>>- changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>>>>- logged off dspace then logged on
>>>>- shut down Tomcat
>>>>- did a rebuild from my original dspace 3.3 src
>>>>- restarted tomcat
>>>>
>>>> This is the error I get.  The application just shows a blank screen,
>>>> and the message below is from cocoon.
>>>>
>>>> 2017-07-26 10:27:15,200 ERROR org.springframework.web.context.ContextLoader
>>>>  - Context initialization failed
>>>> org.springframework.beans.factory.BeanCreationException: Error
>>>> creating bean with name 'dspace.eventService' defined in ServletContext
>>>> resource [/WEB-INF/spring/applicationContext.xml]: Instantiation of
>>>> bean failed; nested exception is org.springframework.beans.fact
>>>> ory.BeanDefinitionStoreException: Factory method [public
>>>> org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()]
>>>> threw exception; nested exception is java.lang.IllegalStateException:
>>>> DSpace kernel cannot be null
>>>> at org.springframework.beans.factory.support.ConstructorResolve
>>>> r.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
>>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>>> pableBeanFactory.instantiateUsingFactoryMethod(AbstractAutow
>>>> ireCapableBeanFactory.java:1015)
>>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>>> pableBeanFactory.createBeanInstance(AbstractAutowireCapableB
>>>> eanFactory.java:911)
>>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>>> tory.java:485)
>>>> at org.springframework.be

Re: [dspace-tech] Re: Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-26 Thread George Kozak
Hi, Tom:

I am not sure if this is the same problem as you are having, but I had a
similar problem when I tried to back out of a DSpace 6.0 install to DSpace
5.5.  I discovered that for some reason that I had some remnants from the
DSpace 6.0 install left in the PostGres database and config files in the
dspace home directory (even after I removed all of teh DSpace 6.0 stuff).

In my case. I found that I had to drop the dspace database, and then
recreated it, and then added the data from the restored backup. I did the
same with the dspace home directory.  It may be that you already did all of
this, but that is what I found helped my problem.
George Kozak
Cornell University

On Wed, Jul 26, 2017 at 2:01 PM, Tom Avino <tomav...@gmail.com> wrote:

> The errors listed below in cocoon, happen when Tomcat is started back up,
> not when trying to load the webpage.
> I hope this helps
>
> Tom
>
> On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>>
>> I have done a few of these upgrades from 3.3 to 5.5 without any issues.
>> This one however failed and could not find the issue, so I decided to start
>> over.  I had done this a few times before on another Dspace instance.
>>
>> What I did then was
>>
>>- restore my postgres database back to pre-upgrade
>>- changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>>- logged off dspace then logged on
>>- shut down Tomcat
>>- did a rebuild from my original dspace 3.3 src
>>- restarted tomcat
>>
>> This is the error I get.  The application just shows a blank screen, and
>> the message below is from cocoon.
>>
>> 2017-07-26 10:27:15,200 ERROR org.springframework.web.context.ContextLoader
>>  - Context initialization failed
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'dspace.eventService' defined in ServletContext resource
>> [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed;
>> nested exception is org.springframework.beans.fact
>> ory.BeanDefinitionStoreException: Factory method [public
>> org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()]
>> threw exception; nested exception is java.lang.IllegalStateException:
>> DSpace kernel cannot be null
>> at org.springframework.beans.factory.support.ConstructorResolve
>> r.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
>> at org.springframework.beans.factory.support.AbstractAutowireCa
>> pableBeanFactory.instantiateUsingFactoryMethod(AbstractAutow
>> ireCapableBeanFactory.java:1015)
>> at org.springframework.beans.factory.support.AbstractAutowireCa
>> pableBeanFactory.createBeanInstance(AbstractAut
>> owireCapableBeanFactory.java:911)
>> at org.springframework.beans.factory.support.AbstractAutowireCa
>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>> tory.java:485)
>> at org.springframework.beans.factory.support.AbstractAutowireCa
>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>> at org.springframework.beans.factory.support.AbstractBeanFactor
>> y$1.getObject(AbstractBeanFactory.java:294)
>> at org.springframework.beans.factory.support.DefaultSingletonBe
>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
>> at org.springframework.beans.factory.support.AbstractBeanFactor
>> y.doGetBean(AbstractBeanFactory.java:291)
>> at org.springframework.beans.factory.support.AbstractBeanFactor
>> y.getBean(AbstractBeanFactory.java:193)
>> at org.springframework.beans.factory.support.DefaultListableBea
>> nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>> at org.springframework.context.support.AbstractApplicationConte
>> xt.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
>> at org.springframework.context.support.AbstractApplicationConte
>> xt.refresh(AbstractApplicationContext.java:464)
>> at org.springframework.web.context.ContextLoader.configureAndRe
>> freshWebApplicationContext(ContextLoader.java:385)
>> at org.springframework.web.context.ContextLoader.initWebApplica
>> tionContext(ContextLoader.java:284)
>> at org.springframework.web.context.ContextLoaderListener.contex
>> tInitialized(ContextLoaderListener.java:111)
>> at org.apache.catalina.core.StandardContext.listenerStart(Stand
>> ardContext.java:5017)
>> at org.apache.catalina.core.StandardContext.startInternal(Stand
>> ardContext.java:5531)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
>> ainerBa

[dspace-tech] Fwd: Shibboleth problems in DSpace 6.0

2017-06-29 Thread George Kozak
HI, Everyone:
A few months ago, I reported a problem that I had with Shibboleth (see
below) and DSpace 6.0.  I have been working on this issue off-and-on, and I
finally solved it.  It turns out that my problem was something that I had
in my old DSpace 5.5 config that I carried over to my DSpace 6.0 local.cfg.
The statement was:
event.dispatcher.default.consumers = authority, versioning, discovery,
eperson, harvester

Once I removed the statement from my local.cfg file, shibboleth started to
work.  I just wanted to warn anyone who upgrades from older DSpace to 6.0,
to be careful of just carrying over config settings from their old version
to 6.0.   I spent a lot of time comparing settings, and I missed this one.
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- Forwarded message --
From: George Kozak <gkoz...@gmail.com>
Date: Fri, Apr 7, 2017 at 2:34 PM
Subject: Shibboleth problems in DSpace 6.0
To: DSpace Technical Support <dspace-tech@googlegroups.com>


Hi...
I upgraded to DSpace 6.0 from DSpace 5.5 (modified Mirage2 theme), and we
discovered that we are having a Shibboleth login problem.  The login works,
but we end up with a message: "Authentication Failed".
In the DSpace logs, I see:
2017-04-07 14:05:51,604 ERROR org.dspace.authenticate.ShibAuthentication @
Unable to successfully authenticate using shibboleth for user because of an
exception.java.lang.IllegalStateException: Unable to aquire dispatcher
named default

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Submit Feature requests to DSpace

2017-05-26 Thread George Kozak
Thanks, Mark!  Will do!
George Kozak
Cornell University

On Fri, May 26, 2017 at 9:11 AM, Mark H. Wood <mwoodiu...@gmail.com> wrote:

> On Thursday, May 25, 2017 at 2:32:09 PM UTC-4, George Kozak wrote:
>>
>> Hi,
>> My management asked me if we could submit a request for an enhancement to
>> be made to  DSpace.  How do we go about submitting feature requests for
>> consideration for a new release?
>>
>>
>  Please file an issue at https://jira.duraspace.org/ (using the Create
> button) for project DSpace, selecting "issue type" New Feature (for new
> features) or Improvement (for improvements to existing features).  Bug
> reports are also welcome.  Issues are reviewed regularly.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Submit Feature requests to DSpace

2017-05-25 Thread George Kozak
Hi,
My management asked me if we could submit a request for an enhancement to
be made to  DSpace.  How do we go about submitting feature requests for
consideration for a new release?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Fwd: Statistics display in DSpace 5.5

2017-05-08 Thread George Kozak
Please forget my previous post.  I realized after I sent the email that we
had disabled the monthly reports back in February.
I'm juggling too many plates!
George Kozak
Cornell University

-- Forwarded message --
From: George Kozak <gkoz...@gmail.com>
Date: Mon, May 8, 2017 at 1:35 PM
Subject: Statistics display in DSpace 5.5
To: DSpace Technical Support <dspace-tech@googlegroups.com>


Hi,
I am using DSpace 5.5 XMLUI (modified Mirage 2 theme).  For the past few
years we have been harvesting statistical information from DSpace with a
local developed solution.   That program is no longer available to me, so I
was looking at what DSpace provides internally.  I noticed that there is an
Admin option called "Statistics" which appears to have everything I need.
However, my display only covers January 2017.  I can't figure out how to
update this page.  Does anyone know what process is used to update the
statistics page?
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu



-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Statistics display in DSpace 5.5

2017-05-08 Thread George Kozak
Hi,
I am using DSpace 5.5 XMLUI (modified Mirage 2 theme).  For the past few
years we have been harvesting statistical information from DSpace with a
local developed solution.   That program is no longer available to me, so I
was looking at what DSpace provides internally.  I noticed that there is an
Admin option called "Statistics" which appears to have everything I need.
However, my display only covers January 2017.  I can't figure out how to
update this page.  Does anyone know what process is used to update the
statistics page?
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Strange results from Checksum list

2017-04-19 Thread George Kozak
Hi,
I am running DSpace 5.5 (XMLUI, modified Mirage 2 theme).  This morning I
had a strange thing happen with the Checksum report.  It stated that 26,476
bitstreams could not be found.  I did a random sample of those bitstreams
and they were all there (and viewable).  The server logs didn't show
anything but standard activity.
Does anyone have any ideas, why they would show up in the report as "not
found"?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Shibboleth problems in DSpace 6.0

2017-04-07 Thread George Kozak
Hi...
I upgraded to DSpace 6.0 from DSpace 5.5 (modified Mirage2 theme), and we
discovered that we are having a Shibboleth login problem.  The login works,
but we end up with a message: "Authentication Failed".
In the DSpace logs, I see:
2017-04-07 14:05:51,604 ERROR org.dspace.authenticate.ShibAuthentication @
Unable to successfully authenticate using shibboleth for user because of an
exception.java.lang.IllegalStateException: Unable to aquire dispatcher
named default
at
org.dspace.event.EventServiceImpl.getDispatcher(EventServiceImpl.java:120)
at org.dspace.core.Context.dispatchEvents(Context.java:421)
   at
org.dspace.authenticate.ShibAuthentication.updateEPerson(ShibAuthentication.java:848)
   at
org.dspace.authenticate.ShibAuthentication.authenticate(ShibAuthentication.java:225)
at
org.dspace.authenticate.AuthenticationServiceImpl.authenticateInternal(AuthenticationServiceImpl.java:111)

at
org.dspace.authenticate.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:81)

at
org.dspace.app.xmlui.utils.AuthenticationUtil.authenticate(AuthenticationUtil.java:120)
etc...

Has anyone ever encountered this before?
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Community List error in DSpace 6.0 (update)

2017-04-06 Thread George Kozak
Hi, Everyone:

I had written in the past about a problem that I had upgrading to DSpace
6.0 from DSpace 5.5.  After the upgrade, if you executed the command:
http://mydspace.edu/community-list, you would get an error.

I finally figured it out.  2 Collections that I had in my test database
were causing the problem.  I am not sure why, but I think that there was
something funny about the linkages with those collections.  If viewing
them, the collections and items in DSpace 5.5 displayed OK, but they the
caused an error in the dspace log  like:
ERROR org.dspace.content.DSpaceObject @ Loading item - cannot find metadata
field -1 for resourceType=3 and resourceId=521

When deleting the collections, I saw errors like:
WARN  org.dspace.discovery.IndexEventConsumer @ MODIFY event, could not get
object for COLLECTION id=521, perhaps it has been deleted.

In any case, after removing these 2 collections, everything works fine in
DSpace 6.0.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 6.0 error with Community List (update)

2017-03-30 Thread George Kozak
Hello, Everyone:

I just wanted to send an update to the list on my problem.  To refresh
everyone's memory, I am upgrading from DSpace 5.5 (XMLUI with modified
Mirage2) to DSpace 6.0.  Everything works fine EXCEPT when I execute http://
/community-list command which results in an internal server
error.

Working with Hardy Pottinger (thanks, Hardy), I tried a number of different
things.  I was able to determine via the REST api that the communities and
collections are OK.

I brought up a vanilla version of DSpace 6.0 and tried just using the JSPUI
interface, but I got the same error.  I also tried a different vanilla
theme like Mirage and Reference, but, also the same problem.

It seems that no matter what I do, the community-list command fails with
"Could not read resource cocoon://DRI/8/community-list"
and
java.lang.NullPointerException at org.dspace.content.
DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)

At this point I am leaning toward not doing the upgrade, since I have been
banging away at this since January, and haven't been able to figure out
what is causing this error.
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 6.0 error with Community List

2017-03-21 Thread George Kozak
Hardy:
Just an update on my problem.  I did the tests you mentioned and they
didn't show any errors, but when I did the actual mvn build and ant update,
I ran into the same problem.  I stripped out all of my local modifications
(except for local.cfg) and recompiled again, and still the same problem
with the community-list command (everything else seems to work) and in the
"vanilla" version, the list of communities shows up OK on the home page, so
I know that there isn't a SQL problem.
I'm really stumped.  Could some setting in the local.cfg be causing this?
George Kozak
Cornell University

On Sat, Mar 18, 2017 at 11:20 AM, Hardy Pottinger <hardy.pottin...@gmail.com
> wrote:

> Hi, George, I went back to one of your earlier e-mails, and will include
> your info re: the Cocoon log here:
>
> > I did find the following error in the cocoon log:
> >
> > 2017-02-17 09:07:22,465 ERROR cocoon.handled  - Could not read resource
> cocoon://DRI/8/community-list
> >  at  - 
> > resource://aspects/Discovery/sitemap.xmap:223:40
>
> > at  - resource://aspects/Discovery/s
> itemap.xmap:79:47
> > at  - resource://aspects/Discovery/sitemap.xmap:67:28
>
> > at  - resource://aspects/Administrat
> ive/sitemap.xmap:1077:31
> > at  - 
> > resource://aspects/Administrative/sitemap.xmap:299:38
>
> > at  -
> resource://aspects/Administrative/sitemap.xmap:298:44
> > at  - resource://aspects/Administrat
> ive/sitemap.xmap:296:19
> > (continues)
>
> I've seen this behavior on occasion, I suspect that you may have a small
> error in one of your XML or XSLT theme files. You can either validate them
> each by hand:
>
> xmllint --noout name-of-file.xml
>
> works well. However, there is a built-in test in DSpace that will do this
> for you. Just run the tests [1]:
>
> mvn test -Dmaven.test.skip=false
>
> If there is an error in any of your XML or XSLT, the tests will find it.
>
> Hope that helps!
>
> --Hardy
>
> [1] https://wiki.duraspace.org/display/DSPACE/DSpace+Testing
>
> On Fri, Mar 17, 2017 at 6:04 PM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>> My Third Try is getting an answer :-)
>> So, I'm stuck.  I can't upgrade from DSpace 5.5 to DSpace 6.0 because
>> after doing the upgrade the command: http://my.dspace.url/community-list 
>> causes
>> an error.
>> I am using a modified Mirage2 theme, but the problem occurs in JSPUI and
>> even vanilla code and in any other theme.
>> Does anyone have any ideas for me?  I have tried 5 times to upgrade
>> (blowing away the upgrade and reverting back to 5.5 each time), and each
>> time no matter what I do, I get the same error after the upgrade (PS: the
>> community-list command works fine in 5.5).
>>
>> I guess if I don't hear from anyone, I will assume that this problem is
>> unique to Cornell's installation, and we can't upgrade.
>>
>> My previous emails contained the java stack traces, but here is a
>> snippet, if it helps anyone:
>> Cocoon error:
>> ERROR cocoon.handled  - Could not read resource
>> cocoon://DRI/8/community-list
>> at  - resource://aspects/Discovery/s
>> itemap.xmap:223:40
>>
>> Java error:
>>
>> Java stacktrace: java.lang.NullPointerException
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)
>>  at 
>> org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395)
>>  at 
>> org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43)
>>  at 
>> org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271)
>>  at 
>> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160)
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.c

Re: [dspace-tech] DSpace 6.0 error with Community List

2017-03-18 Thread George Kozak
Thanks, Hardy:
I will give it a try and see what I can find.
George Kozak
Cornell Univeristy

On Sat, Mar 18, 2017 at 11:20 AM, Hardy Pottinger <hardy.pottin...@gmail.com
> wrote:

> Hi, George, I went back to one of your earlier e-mails, and will include
> your info re: the Cocoon log here:
>
> > I did find the following error in the cocoon log:
> >
> > 2017-02-17 09:07:22,465 ERROR cocoon.handled  - Could not read resource
> cocoon://DRI/8/community-list
> >  at  - 
> > resource://aspects/Discovery/sitemap.xmap:223:40
>
> > at  - resource://aspects/Discovery/s
> itemap.xmap:79:47
> > at  - resource://aspects/Discovery/sitemap.xmap:67:28
>
> > at  - resource://aspects/Administrat
> ive/sitemap.xmap:1077:31
> > at  - 
> > resource://aspects/Administrative/sitemap.xmap:299:38
>
> > at  -
> resource://aspects/Administrative/sitemap.xmap:298:44
> > at  - resource://aspects/Administrat
> ive/sitemap.xmap:296:19
> > (continues)
>
> I've seen this behavior on occasion, I suspect that you may have a small
> error in one of your XML or XSLT theme files. You can either validate them
> each by hand:
>
> xmllint --noout name-of-file.xml
>
> works well. However, there is a built-in test in DSpace that will do this
> for you. Just run the tests [1]:
>
> mvn test -Dmaven.test.skip=false
>
> If there is an error in any of your XML or XSLT, the tests will find it.
>
> Hope that helps!
>
> --Hardy
>
> [1] https://wiki.duraspace.org/display/DSPACE/DSpace+Testing
>
> On Fri, Mar 17, 2017 at 6:04 PM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>> My Third Try is getting an answer :-)
>> So, I'm stuck.  I can't upgrade from DSpace 5.5 to DSpace 6.0 because
>> after doing the upgrade the command: http://my.dspace.url/community-list 
>> causes
>> an error.
>> I am using a modified Mirage2 theme, but the problem occurs in JSPUI and
>> even vanilla code and in any other theme.
>> Does anyone have any ideas for me?  I have tried 5 times to upgrade
>> (blowing away the upgrade and reverting back to 5.5 each time), and each
>> time no matter what I do, I get the same error after the upgrade (PS: the
>> community-list command works fine in 5.5).
>>
>> I guess if I don't hear from anyone, I will assume that this problem is
>> unique to Cornell's installation, and we can't upgrade.
>>
>> My previous emails contained the java stack traces, but here is a
>> snippet, if it helps anyone:
>> Cocoon error:
>> ERROR cocoon.handled  - Could not read resource
>> cocoon://DRI/8/community-list
>> at  - resource://aspects/Discovery/s
>> itemap.xmap:223:40
>>
>> Java error:
>>
>> Java stacktrace: java.lang.NullPointerException
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)
>>  at 
>> org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)
>>  at 
>> org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395)
>>  at 
>> org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43)
>>  at 
>> org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271)
>>  at 
>> org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160)
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 6.0 error with Community List

2017-03-17 Thread George Kozak
Hi...
My Third Try is getting an answer :-)
So, I'm stuck.  I can't upgrade from DSpace 5.5 to DSpace 6.0 because after
doing the upgrade the command: http://my.dspace.url/community-list causes
an error.
I am using a modified Mirage2 theme, but the problem occurs in JSPUI and
even vanilla code and in any other theme.
Does anyone have any ideas for me?  I have tried 5 times to upgrade
(blowing away the upgrade and reverting back to 5.5 each time), and each
time no matter what I do, I get the same error after the upgrade (PS: the
community-list command works fine in 5.5).

I guess if I don't hear from anyone, I will assume that this problem is
unique to Cornell's installation, and we can't upgrade.

My previous emails contained the java stack traces, but here is a snippet,
if it helps anyone:
Cocoon error:
ERROR cocoon.handled  - Could not read resource
cocoon://DRI/8/community-list
at  - resource://aspects/Discovery/
sitemap.xmap:223:40

Java error:

Java stacktrace: java.lang.NullPointerException
at 
org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)
at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)
at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)
at 
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395)
at 
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43)
at 
org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271)
at 
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160)

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Question about thumbnail replacements

2017-03-08 Thread George Kozak
Thanks, Alan!
George Kozak
Cornell University

On Wed, Mar 8, 2017 at 4:43 AM, Alan Orth <alan.o...@gmail.com> wrote:

> Hi, George.
>
> Ah, I see! So you're manually adding thumbnails to items that HAVE a PDF.
> Then you need to make sure your manually uploaded thumbnails have the
> description "IM Thumbnail" so the filter-media script doesn't overwrite
> them (because it thinks it has already created one!).
>
> See the following options in dspace.cfg for more information on how
> filter-media works:
>
> # bitstreams generated by this process will contain the following
> description and may be overwritten
> # org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription
> = IM Thumbnail
> #
> # bitstream descriptions that do not conform to the following regular
> expression will not be overwritten
> # org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex =
> ^Generated Thumbnail$
>
> Regards,
>
> On Tue, Mar 7, 2017 at 11:21 PM George Kozak <gkoz...@gmail.com> wrote:
>
>> Thanks, Everyone:
>> Actually, we are placing the thumbnails in the Thumbnail bundle.  So, we
>> create a thumbnail (then as Admin) add it to the Thumbnail bundle of an
>> item, and it works fine.  But overnight our filter media runs and it
>> generates a thumbnail from the PDF of the item, so the next morning the
>> item has 2 bitstreams in the Thumbnail bundle: the jpg we added and the one
>> generated by filter-media from the PDF, and that generated thumbnail seems
>> to have precedence over our thumbnail.  It doesn't matter if I move the
>> thumbnail order.  However, I can delete the auto-generated thumbnail, and
>> our thumbnail appears (only to be replaced, again, overnight by the
>> filter-media).
>>
>> I ma going to try Anuchit's fix of renaming our thumbnail to the name
>> that is used by the auto-generated thumbnail to see if that fixes the
>> problem.  I'll know in the morning.
>> George Kozak
>> Cornell University
>>
>> On Tue, Mar 7, 2017 at 1:58 AM, Alan Orth <alan.o...@gmail.com> wrote:
>>
>> George,
>>
>> I suspect your problem is actually that you are uploading your manually
>> created thumbnails during item submission, in which case they get placed in
>> the ORIGINAL aka "content files" bundle. When the filter-media script runs
>> at night it makes a thumbnail of this image and places it in the THUMBNAIL
>> bundle. DSpace makes thumbnail out of your thumbnail, which is obviously
>> inefficient and decreases the quality! We have this problem too...
>>
>> The solution to this is to upload your manually created thumbnails to the
>> THUMBNAIL bundle after item submission via "edit item", as there is no way
>> to do this during item submission itself.
>>
>> Regards,
>>
>> On Tue, Mar 7, 2017 at 3:01 AM IPST LIbrary <libr...@proj.ipst.ac.th>
>> wrote:
>>
>> Hi,
>>
>> For PDF bitstream, I renamed my specific PNG thumbnails in format
>>  $BITSTREAMFILENAME.PDF.PNG.
>>
>> Hope this help.
>>
>> Anuchit
>>
>>
>> On Monday, March 6, 2017 at 9:54:30 PM UTC+7, George Kozak wrote:
>>
>> HI...
>> I am not sure if this has been discussed before, but I am having a
>> problem with thumbnails.
>> I am using DSpace 5.5 (XMLUI, modified Mirage2 theme).
>> We have an item to which we added a JPEG thumbnail, but when filter media
>> ran overnight, it created a new generated thumbnail that replaced our
>> thumbnail in the display.
>> The owner of the item prefers the thumbnail we created.
>>
>> Is there a way to tell DSpace to use one thumbnail over another?  I
>> though that if I moved one thumbnail above the other in the bitstream order
>> that would do it, but that's not what I'm seeing.
>>
>> --
>>
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>>
>> gs...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.

[dspace-tech] Community List command causes error in DSpace 6.0

2017-03-08 Thread George Kozak
Hi, Everyone:
About 3 weeks ago, I posted about a problem that I had when I migrated from
DSpace 5.5 to DSpace 6.0, and I still haven't figured it out.

The problem is when I execute the command
http://my.dspace.url/community-list.  I get an error and the list does not
display.  This happens if I am using the JSPUI interface or the XMLUI
interface (no matter what theme).

I see in the cocoon log:
2017-03-08 14:17:24,844 ERROR cocoon.handled  - Could not read resource
cocoon://DRI/8/community-list
at  -
resource://aspects/Discovery/sitemap.xmap:223:40
at  -
resource://aspects/Discovery/sitemap.xmap:79:47
at  - resource://aspects/Discovery/sitemap.xmap:67:28
at  -
resource://aspects/Administrative/sitemap.xmap:1077:31
at  -
resource://aspects/Administrative/sitemap.xmap:299:38
etc.

I know that the database is OK, and the embedded Community list on the home
page displays OK.  It's only when someone clicks on the "Communities &
Collections" browse that the error occurs.
I have tried a number of things (including just running pure vanilla code),
but I'm at a loss as to what's happening.
If anyone is interested, I have attached the underlying error stack.
Any ideas?

*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
Java stacktrace: java.lang.NullPointerException
at 
org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)
at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)
at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)
at 
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395)
at 
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43)
at 
org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271)
at 
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy287.getValidity(Unknown Source)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupValidities(AbstractCachingProcessingPipeline.java:482)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:720)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)
at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy281.prepareInternal(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)
at 
org.apache.cocoon.components.source.impl.SitemapSource.(SitemapSource.java:148)
at 
org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)
at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)
at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)
at 
org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)
at 
org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:81)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe

Re: [dspace-tech] Re: Question about thumbnail replacements

2017-03-07 Thread George Kozak
Thanks, Everyone:
Actually, we are placing the thumbnails in the Thumbnail bundle.  So, we
create a thumbnail (then as Admin) add it to the Thumbnail bundle of an
item, and it works fine.  But overnight our filter media runs and it
generates a thumbnail from the PDF of the item, so the next morning the
item has 2 bitstreams in the Thumbnail bundle: the jpg we added and the one
generated by filter-media from the PDF, and that generated thumbnail seems
to have precedence over our thumbnail.  It doesn't matter if I move the
thumbnail order.  However, I can delete the auto-generated thumbnail, and
our thumbnail appears (only to be replaced, again, overnight by the
filter-media).

I ma going to try Anuchit's fix of renaming our thumbnail to the name that
is used by the auto-generated thumbnail to see if that fixes the problem.
I'll know in the morning.
George Kozak
Cornell University

On Tue, Mar 7, 2017 at 1:58 AM, Alan Orth <alan.o...@gmail.com> wrote:

> George,
>
> I suspect your problem is actually that you are uploading your manually
> created thumbnails during item submission, in which case they get placed in
> the ORIGINAL aka "content files" bundle. When the filter-media script runs
> at night it makes a thumbnail of this image and places it in the THUMBNAIL
> bundle. DSpace makes thumbnail out of your thumbnail, which is obviously
> inefficient and decreases the quality! We have this problem too...
>
> The solution to this is to upload your manually created thumbnails to the
> THUMBNAIL bundle after item submission via "edit item", as there is no way
> to do this during item submission itself.
>
> Regards,
>
> On Tue, Mar 7, 2017 at 3:01 AM IPST LIbrary <libr...@proj.ipst.ac.th>
> wrote:
>
>> Hi,
>>
>> For PDF bitstream, I renamed my specific PNG thumbnails in format
>>  $BITSTREAMFILENAME.PDF.PNG.
>>
>> Hope this help.
>>
>> Anuchit
>>
>>
>> On Monday, March 6, 2017 at 9:54:30 PM UTC+7, George Kozak wrote:
>>
>> HI...
>> I am not sure if this has been discussed before, but I am having a
>> problem with thumbnails.
>> I am using DSpace 5.5 (XMLUI, modified Mirage2 theme).
>> We have an item to which we added a JPEG thumbnail, but when filter media
>> ran overnight, it created a new generated thumbnail that replaced our
>> thumbnail in the display.
>> The owner of the item prefers the thumbnail we created.
>>
>> Is there a way to tell DSpace to use one thumbnail over another?  I
>> though that if I moved one thumbnail above the other in the bitstream order
>> that would do it, but that's not what I'm seeing.
>>
>> --
>>
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>>
>> gs...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
>
> Alan Orth
> alan.o...@gmail.com
> https://englishbulgaria.net
> https://alaninkenya.org
> https://mjanja.ch
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Question about thumbnail replacements

2017-03-06 Thread George Kozak
HI...
I am not sure if this has been discussed before, but I am having a problem
with thumbnails.
I am using DSpace 5.5 (XMLUI, modified Mirage2 theme).
We have an item to which we added a JPEG thumbnail, but when filter media
ran overnight, it created a new generated thumbnail that replaced our
thumbnail in the display.
The owner of the item prefers the thumbnail we created.

Is there a way to tell DSpace to use one thumbnail over another?  I though
that if I moved one thumbnail above the other in the bitstream order that
would do it, but that's not what I'm seeing.

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: No website display

2017-02-22 Thread George Kozak
Jeff:
 In general, in server.xml, is where you define what is the root for tomcat
and what webapps are activated and how to get to them.  I'm surprised that
nothing is showing up.  Maybe that's the problem, or the definitions could
be somewhere else, like /bin/setenv.sh.  Somewhere in tomcat the
path to the webapps and what is the root webapp and what the DSpace
instance is called has to be defined.  Anyway, here is how the pertinent
part of my server.xml is set up on my production server:

 

(my ip goes here)

(my DSpace site name goes here)

   (I am skipping a bunch of stuff that I didn't change, then further
in the definition, I added)

   

   
   

   

  

   

   

   


I hope this is of some help.
George Kozak
Cornell University

On Tue, Feb 21, 2017 at 12:41 PM, Jeff Mitchell <j...@jeffmitchell.info>
wrote:

> Javier,
>
> Nothing in that file.
>
> Jeff
>
>
>
> On Tuesday, February 21, 2017 at 11:38:11 AM UTC-6, Javier Távara wrote:
>>
>> Jeff, take a look in /etc/tomcat7/conf/Catalina/localhost/
>>
>> El martes, 21 de febrero de 2017, 12:33:43 (UTC-5), Jeff Mitchell
>> escribió:
>>>
>>> I am running dspace 5.1 on Debian 7.
>>>
>>> If I look at /etc/tomcat7/server.xml - I don't see anything for context
>>> path. Am I not looking in the right location?
>>>
>>> Jeff
>>>
>>>
>>>
>>> On Tuesday, February 21, 2017 at 11:18:04 AM UTC-6, George Kozak wrote:
>>>>
>>>> Jeff:
>>>>
>>>> I don't know if this is helpful, but I had a similar problem when I
>>>> moved our Test instance to a new Development server when I was planning on
>>>> upgrading from DSpace 5.5 to DSpace 6.0.  The Development server was
>>>> running a different version of Tomcat, and I discovered that I needed to
>>>> change how I defined my site in the tomcat conf/server.xml file.
>>>>
>>>> On my test and production machines, I defined my tomcat root as:
>>>> 
>>>>
>>>> but on my development server that it did not work and created a blank
>>>> page.  I discovered that I had to change the context path by adding a "/"
>>>> on my development server:
>>>>
>>>> 
>>>>
>>>> This may not be your problem, but you may want to check out how DSpace
>>>> is defined in your tomcat's server.xml file.
>>>>
>>>> George Kozak
>>>> Cornell University
>>>>
>>>> On Mon, Feb 20, 2017 at 2:55 PM, Jeff Mitchell <je...@jeffmitchell.info
>>>> > wrote:
>>>>
>>>>> If I am looking at the output correctly Java is listening on 8080 but
>>>>> tomcat should be.  Is that right, or do I need to switch something?
>>>>>
>>>>> If I need to switch something, how would that get changed?
>>>>>
>>>>> Jeff
>>>>>
>>>>>
>>>>>
>>>>> On Monday, February 20, 2017 at 1:47:46 PM UTC-6, Jeff Mitchell wrote:
>>>>>>
>>>>>> Sorry - Running Debian 7
>>>>>>
>>>>>> Jeff
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Monday, February 20, 2017 at 1:46:02 PM UTC-6, Jeff Mitchell wrote:
>>>>>>>
>>>>>>> Output:
>>>>>>>
>>>>>>> tcp6   0  0 127.0.0.1:8005  :::*
>>>>>>> LISTEN  2478/java
>>>>>>>
>>>>>>> tcp6   0  0 :::8009 :::*
>>>>>>> LISTEN  2478/java
>>>>>>>
>>>>>>> tcp6   0  0 :::80   :::*
>>>>>>> LISTEN  2573/apache2
>>>>>>>
>>>>>>> tcp6   0  0 :::8080 :::*
>>>>>>> LISTEN  2478/java
>>>>>>>
>>>>>>>
>>>>>>> So you are running Apache HTTP as a proxy? What OS are you running?
>>>>>>>> Again, disable the OS firewall to discard it.
>>>>>>>>
>>>>>>>> Check if there is something running on port 80.
>>>>>>>>
>>>>>>>> You can do
>>>>>>>> sudo netstat -plnt | grep ':80'
>>>>>>>>
>>>>>>>> You should see httpd.
>>>>

Re: [dspace-tech] Re: No website display

2017-02-21 Thread George Kozak
Jeff:

I don't know if this is helpful, but I had a similar problem when I moved
our Test instance to a new Development server when I was planning on
upgrading from DSpace 5.5 to DSpace 6.0.  The Development server was
running a different version of Tomcat, and I discovered that I needed to
change how I defined my site in the tomcat conf/server.xml file.

On my test and production machines, I defined my tomcat root as:


but on my development server that it did not work and created a blank
page.  I discovered that I had to change the context path by adding a "/"
on my development server:



This may not be your problem, but you may want to check out how DSpace is
defined in your tomcat's server.xml file.

George Kozak
Cornell University

On Mon, Feb 20, 2017 at 2:55 PM, Jeff Mitchell <j...@jeffmitchell.info>
wrote:

> If I am looking at the output correctly Java is listening on 8080 but
> tomcat should be.  Is that right, or do I need to switch something?
>
> If I need to switch something, how would that get changed?
>
> Jeff
>
>
>
> On Monday, February 20, 2017 at 1:47:46 PM UTC-6, Jeff Mitchell wrote:
>>
>> Sorry - Running Debian 7
>>
>> Jeff
>>
>>
>>
>> On Monday, February 20, 2017 at 1:46:02 PM UTC-6, Jeff Mitchell wrote:
>>>
>>> Output:
>>>
>>> tcp6   0  0 127.0.0.1:8005  :::*
>>> LISTEN  2478/java
>>>
>>> tcp6   0  0 :::8009 :::*
>>> LISTEN  2478/java
>>>
>>> tcp6   0  0 :::80   :::*
>>> LISTEN  2573/apache2
>>>
>>> tcp6   0  0 :::8080 :::*
>>> LISTEN  2478/java
>>>
>>>
>>> So you are running Apache HTTP as a proxy? What OS are you running?
>>>> Again, disable the OS firewall to discard it.
>>>>
>>>> Check if there is something running on port 80.
>>>>
>>>> You can do
>>>> sudo netstat -plnt | grep ':80'
>>>>
>>>> You should see httpd.
>>>>
>>>> https://support.rackspace.com/how-to/checking-listening-port
>>>> s-with-netstat/
>>>>
>>>>
>>>> El lunes, 20 de febrero de 2017, 14:35:33 (UTC-5), Jeff Mitchell
>>>> escribió:
>>>>>
>>>>> It is basically a 404 error but both tomcat and apache are running.
>>>>>
>>>>> http://essays.wls.wels.net
>>>>>
>>>>> Looking at the logs now.
>>>>>
>>>>>
>>>>>
>>>>> On Monday, February 20, 2017 at 1:31:22 PM UTC-6, Javier Távara wrote:
>>>>>>
>>>>>> What errors are you getting?
>>>>>>
>>>>>> Check your Tomcat and DSpace logs.
>>>>>>
>>>>>> El lunes, 20 de febrero de 2017, 14:28:06 (UTC-5), Jeff Mitchell
>>>>>> escribió:
>>>>>>>
>>>>>>> Restoring from backup didn't change anything.  Not sure what the
>>>>>>> issue is as it was working on Thursday for sure.
>>>>>>>
>>>>>> --
>>>>
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Problem with display of Community List in DSpace 6.0

2017-02-17 Thread George Kozak
Terry:
I recompiled DSpace 6.0 and now I am seeing a stack trace when I go to see
the community-list.

Here is an excerpt of the trace:
Java stacktrace: java.lang.NullPointerException
at
org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)
at
org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)
at
org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)
at
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395)
at
org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43)
at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271)
at
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy287.getValidity(Unknown Source)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987)
...
George Kozak
Cornell University

On Fri, Feb 17, 2017 at 1:48 PM, George Kozak <gkoz...@gmail.com> wrote:

> Hi, Terry:
>
> Nothing is showing up in the Tomcat log, and the underlining stack trace
> displayed just shows: "java.lang.NullPointerException"
> and nothing else.
>
> I did find the following error in the cocoon log:
>
> 2017-02-17 09:07:22,465 ERROR cocoon.handled  - Could not read resource
> cocoon://DRI/8/community-list
>  at  - 
> resource://aspects/Discovery/sitemap.xmap:223:40
>
>  at  - resource://aspects/Discovery/
> sitemap.xmap:79:47
>  at  - resource://aspects/Discovery/sitemap.xmap:67:28
>
>  at  - resource://aspects/
> Administrative/sitemap.xmap:1077:31
>  at  - resource://aspects/
> Administrative/sitemap.xmap:299:38
>  at  - resource://aspects/
> Administrative/sitemap.xmap:298:44
>  at  - resource://aspects/Administrative/sitemap.xmap:296:19
>  (continues)
>
> This has me stumped.
>
> George Kozak
> Cornell University
>
>
>
>
> On Fri, Feb 17, 2017 at 12:48 PM, Terry Brady <terry.br...@georgetown.edu>
> wrote:
>
>> Can you get a stack trace for the Null Pointer Exception?
>>
>> Can you find anything useful in the tomcat log?
>>
>>
>>
>> On Fri, Feb 17, 2017 at 6:37 AM, George Kozak <gkoz...@gmail.com> wrote:
>>
>>> Hi...
>>>
>>> I have just migrated from DSpace 5.5 to DSpace 6.0 (in test).
>>> Everything works fine, but when I go to display the community list (>> dspace url>/community-list), I get an error:
>>> java.lang.NullPointerException
>>>
>>> I am using XMLUI interface with a modified MIrage2 theme.  I went to
>>> using a vanilla install to see if it was one of my modifications, but the
>>> vanilla Mirage2 theme produces the same error.
>>>
>>> There is no error in the DSpace log file, but I see this:
>>> 2017-02-17 09:07:15,914 INFO  org.dspace.app.xmlui.aspect.d
>>> iscovery.SidebarFacetsTransformer @ facets for scope, null: 5
>>>
>>> However, in the vanilla Mirage2, the default Communities display on the
>>> home page works.  So, I know that the information exists.
>>>
>>> Any ideas as to what might be happening?
>>> --
>>> ***
>>> George Kozak
>>> Digital Library Specialist
>>> Cornell University Library - IT
>>> 218 Olin Library
>>> Cornell University
>>> Ithaca, NY 14853
>>> 607-255-8924 <(607)%20255-8924>
>>> g...@cornell.edu
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> http://georgetown-university-libraries.github.io/
>> <https://www.library.georgetown.edu/lit/code>
>> 425-2

Re: [dspace-tech] Problem with display of Community List in DSpace 6.0

2017-02-17 Thread George Kozak
Hi, Terry:

Nothing is showing up in the Tomcat log, and the underlining stack trace
displayed just shows: "java.lang.NullPointerException"
and nothing else.

I did find the following error in the cocoon log:

2017-02-17 09:07:22,465 ERROR cocoon.handled  - Could not read resource
cocoon://DRI/8/community-list
 at  -
resource://aspects/Discovery/sitemap.xmap:223:40
 at  -
resource://aspects/Discovery/sitemap.xmap:79:47
 at  - resource://aspects/Discovery/sitemap.xmap:67:28
 at  -
resource://aspects/Administrative/sitemap.xmap:1077:31
 at  -
resource://aspects/Administrative/sitemap.xmap:299:38
 at  -
resource://aspects/Administrative/sitemap.xmap:298:44
 at  - resource://aspects/Administrative/sitemap.xmap:296:19
 (continues)

This has me stumped.

George Kozak
Cornell University




On Fri, Feb 17, 2017 at 12:48 PM, Terry Brady <terry.br...@georgetown.edu>
wrote:

> Can you get a stack trace for the Null Pointer Exception?
>
> Can you find anything useful in the tomcat log?
>
>
>
> On Fri, Feb 17, 2017 at 6:37 AM, George Kozak <gkoz...@gmail.com> wrote:
>
>> Hi...
>>
>> I have just migrated from DSpace 5.5 to DSpace 6.0 (in test).  Everything
>> works fine, but when I go to display the community list (> url>/community-list), I get an error:
>> java.lang.NullPointerException
>>
>> I am using XMLUI interface with a modified MIrage2 theme.  I went to
>> using a vanilla install to see if it was one of my modifications, but the
>> vanilla Mirage2 theme produces the same error.
>>
>> There is no error in the DSpace log file, but I see this:
>> 2017-02-17 09:07:15,914 INFO  org.dspace.app.xmlui.aspect.d
>> iscovery.SidebarFacetsTransformer @ facets for scope, null: 5
>>
>> However, in the vanilla Mirage2, the default Communities display on the
>> home page works.  So, I know that the information exists.
>>
>> Any ideas as to what might be happening?
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> <https://www.library.georgetown.edu/lit/code>
> 425-298-5498 <(425)%20298-5498> (Seattle, WA)
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Problem with display of Community List in DSpace 6.0

2017-02-17 Thread George Kozak
Hi...

I have just migrated from DSpace 5.5 to DSpace 6.0 (in test).  Everything
works fine, but when I go to display the community list (/community-list), I get an error:
java.lang.NullPointerException

I am using XMLUI interface with a modified MIrage2 theme.  I went to using
a vanilla install to see if it was one of my modifications, but the vanilla
Mirage2 theme produces the same error.

There is no error in the DSpace log file, but I see this:
2017-02-17 09:07:15,914 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets
for scope, null: 5

However, in the vanilla Mirage2, the default Communities display on the
home page works.  So, I know that the information exists.

Any ideas as to what might be happening?
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] invalid 301 Location: header

2017-02-07 Thread George Kozak
Thanks, Tim:
Yes, we moved from JSPUI to XMLUI a couple of years ago, but, of course,
people have book marked the old JSPUI paths to the bitstreams.
I guess I will deal with this on a one-by-one basis.  It only happens when
there are filename with spaces.
Thanks, again.
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu

On Tue, Feb 7, 2017 at 2:29 PM, Tim Donohue <tdono...@duraspace.org> wrote:

> Hi George,
>
> I think this issue is related to some (old) code that tried to keep the
> XMLUI "compatible" with JSPUI-style URLs (to ease migration between the two
> UIs). Specifically, these redirects of JSPUI-style paths to the
> corresponding XMLUI ones:
> https://github.com/DSpace/DSpace/blob/master/dspace-
> xmlui/src/main/webapp/sitemap.xmap#L362
>
> It sounds like it might be a bug here, but it's likely very infrequently
> occurring. The XMLUI itself doesn't use URLs to bitstreams that look like
> this: "/bitstream/[prefix]/[suffix]/[sequence]/[filename]" (That's a
> JSPUI URL pattern).  Instead, the XMLUI uses URLs to bitstreams that look
> like this: "/bitstream/[prefix]/[suffix]/[filename]?sequence=[sequence]".
>
> So, long story short, there may be a way to clean this up and fix it for
> filenames with spaces. However, it likely won't be encountered unless you
> move from JSPUI to XMLUI, and your users have bookmarked or saved the old
> URLs (and one or more includes filenames with spaces).
>
> - Tim
>
> On Mon, Feb 6, 2017 at 1:23 PM George Kozak <gkoz...@gmail.com> wrote:
>
> We are running DSpace 5.5 (XMLUI with modified MIrage 2 theme).
> I received an email today from someone on our campus that is running a link
> checker.  They got the following error when trying to download one of our
> DSpace PDFs: "invalid 301 Location: header"
>
> The URL that they used was:
> curl -v https://ecommons.cornell.edu/bitstream/1813/2094/1/
> Stanton%20Agr%20Econ%20History%20online.pdf
>
> The PDF in question had spaces which was causing the error.  We have
> always urged our users not to put spaces or special characters in the
> filenames that they upload, because we know that this causes some problems
> with certain browsers, but this was the first time that someone told us
> that these filenames were causing errors with link checkers.
>
> The person who contacted me believes this is a bug in DSpace, but I'm not
> so sure.  I think this is pretty much how things have been since
> DSpace1.0.  Should this be considered a bug?
>
> Does anyone know of a way to force users to submit filenames without
> spaces or special characters?
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
> g...@cornell.edu
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Error in upgrade to DSpace 6.0

2017-02-06 Thread George Kozak
HI,

I just did an update from DSpace 5.5 yo DSpace 6.0 on my development
server.  Everything seemed to go well, but when I connect to the website, I
see this message:
Browse Index configuration is not valid: webui.browse.index.2 =
author:metadata:dc.contributor.author
I had no browse index problems in 5.5.  Does anyone have any suggestions as
to what I am doing wrong?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Checksum report not always sent

2017-02-06 Thread George Kozak
Tim:

Thanks!  This clears up things for me. I'm glad it isn't a problem.
George Kozak
Cornell University

On Mon, Feb 6, 2017 at 9:35 AM, Tim Donohue <tdono...@duraspace.org> wrote:

> Hi George,
>
> The checksum-emailer program only sends an email if there is something to
> report on.  So, while "-a" (report all) will perform all types of checks
> (looking for deleted, changed or not found bitstreams), it won't send an
> email unless at least one bitstream is deleted, changed or not found. This
> change in behavior first occurred in DSpace 4.1, see
> https://jira.duraspace.org/browse/DS-1873
>
> - Tim
>
> On Mon, Feb 6, 2017 at 8:04 AM George Kozak <gkoz...@gmail.com> wrote:
>
>> I am using DSpace 5.5 (XMLUI, modified Mirage2 theme).  I've been having
>> a problem lately with the checksum-emailer program.  I don't always get a
>> report after the checksum report program runs, even when I run the emailer
>> with "-a" (report all) option.  Has anyone else had this problem?  Any way
>> of recovering the report if it isn't sent?
>>
>> George Kozak
>> Cornell University
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] invalid 301 Location: header

2017-02-06 Thread George Kozak
We are running DSpace 5.5 (XMLUI with modified MIrage 2 theme).
I received an email today from someone on our campus that is running a link
checker.  They got the following error when trying to download one of our
DSpace PDFs: "invalid 301 Location: header"

The URL that they used was:
curl -v
https://ecommons.cornell.edu/bitstream/1813/2094/1/Stanton%20Agr%20Econ%20History%20online.pdf

The PDF in question had spaces which was causing the error.  We have always
urged our users not to put spaces or special characters in the filenames
that they upload, because we know that this causes some problems with
certain browsers, but this was the first time that someone told us that
these filenames were causing errors with link checkers.

The person who contacted me believes this is a bug in DSpace, but I'm not
so sure.  I think this is pretty much how things have been since
DSpace1.0.  Should this be considered a bug?

Does anyone know of a way to force users to submit filenames without spaces
or special characters?
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Checksum report not always sent

2017-02-06 Thread George Kozak
I am using DSpace 5.5 (XMLUI, modified Mirage2 theme).  I've been having a
problem lately with the checksum-emailer program.  I don't always get a
report after the checksum report program runs, even when I run the emailer
with "-a" (report all) option.  Has anyone else had this problem?  Any way
of recovering the report if it isn't sent?

George Kozak
Cornell University
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Question about thumbnails

2017-01-31 Thread George Kozak
Thanks, Terry!
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924 <(607)%20255-8924>
g...@cornell.edu

On Tue, Jan 31, 2017 at 11:33 AM, Terry Brady <terry.br...@georgetown.edu>
wrote:

> I used to have queries that could perform this check, but I phased them
> out with the database changes in DSpace 5.
>
> Here are some hints for the query. This is untested, but it will get you
> there.
>
> select from item i
> join item2bundle i2b on i.item_id=i2b.item_id
> join bundle b on i2b.bundle_id=b.bundle_id
> join metadatavalue bunmv on
>   b.bundle_id=bmv.resource_id
>   and bmv.resource_type_id=1
>   and bmv.text_value='THUMBNAIL'
> join metadatafieldregistry bunmfr on
>   bunmfr.metadata_field_id=bunmv.metadata_field_id
>   and bunmfr.element='title'
>   and bunmfr.qualifier is null
> join bundle2bitstream b2b on b2b.bundle_id=b.bundle_id
> join bitstream bit on bit.bitstream_id=b2b.bitstream_id
>
> An easier approach would be to run the filter-media command line option
> against your repo and then scan the output for errors.
>
> You can specify only to create thumbnails.  By default, it will not
> recreate thumbnails that already exist.
>
> https://wiki.duraspace.org/display/DSDOC5x/Mediafilters+
> for+Transforming+DSpace+Content
>
> On Tue, Jan 31, 2017 at 8:00 AM, George Kozak <gkoz...@gmail.com> wrote:
>
>> I am wondering if there is a SQL query that would tell me if an item is
>> missing a Thumbnail?  I have a of of items that are submitted to our
>> repository, and outside of checking all of the recent submissions using
>> "browse by",  I was wondering if there was a quick and easy way to look for
>> missing thumbnails in postgres.
>> PS: I am using DSpace 5.5 (XMLUI/modified Mirage2)
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> <https://www.library.georgetown.edu/lit/code>
> 425-298-5498 <(425)%20298-5498> (Seattle, WA)
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Question about thumbnails

2017-01-31 Thread George Kozak
I am wondering if there is a SQL query that would tell me if an item is
missing a Thumbnail?  I have a of of items that are submitted to our
repository, and outside of checking all of the recent submissions using
"browse by",  I was wondering if there was a quick and easy way to look for
missing thumbnails in postgres.
PS: I am using DSpace 5.5 (XMLUI/modified Mirage2)
-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Question about old inactive users

2016-12-14 Thread George Kozak
Thanks, Claudia:
I forgot about that feature!

George Kozak
Cornell University

On Wed, Dec 14, 2016 at 11:59 AM, Claudia Jürgen <
claudia.juer...@tu-dortmund.de> wrote:

> Hi George,
>
> you can assume user login and do it from there, but that would be
> "manual" work.
> For this you got to set
> webui.user.assumelogin = true in dspace.cfg
>
> Hope this helps
>
> Claudia Jürgen
>
>
>
> Am 14.12.2016 um 16:20 schrieb George Kozak:
>
>> Hi,
>> We have a problem that has grown over the years at Cornell University.  We
>> are currently using DSpace 5.5, XMLUI, modified Mirage2 theme.
>>
>> We have a number of users that have either left the University or their
>> email addresses have changed and they never bothered updating them.  As a
>> result when subscription notifications go out, we get flooded by "mail
>> undeliverable" messages.  I can delete some people, but those that had
>> once
>> submitted, I can't.  Is there a way for me (as Admin) to "unsubscribe" a
>> user?
>>
>>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32
> claudia.juer...@tu-dortmund.de
> www.ub.tu-dortmund.de
>
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
> solchen Schriftstücks per Telefax erfolgen.
>
> Important note: The information included in this e-mail is confidential.
> It is solely intended for the recipient. If you are not the intended
> recipient of this e-mail please contact the sender and delete this message.
> Thank you. Without prejudice of e-mail correspondence, our statements are
> only legally binding when they are made in the conventional written form
> (with personal signature) or when such documents are sent by fax.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Question about old inactive users

2016-12-14 Thread George Kozak
Hi,
We have a problem that has grown over the years at Cornell University.  We
are currently using DSpace 5.5, XMLUI, modified Mirage2 theme.

We have a number of users that have either left the University or their
email addresses have changed and they never bothered updating them.  As a
result when subscription notifications go out, we get flooded by "mail
undeliverable" messages.  I can delete some people, but those that had once
submitted, I can't.  Is there a way for me (as Admin) to "unsubscribe" a
user?

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 6.0 config settings

2016-12-13 Thread George Kozak
Ooops!  Scratch that last posting.  I "Blush" read the documentation and
see what I need to do.
Thanks, again!!
If everything else fails...read the manual!
George Kozak
Cornell University

On Tue, Dec 13, 2016 at 1:38 PM, George Kozak <gkoz...@gmail.com> wrote:

> Tim:
>
> Thank you for the quick response.  One more question.  In my current
> production setup in DSpace, I have 5 assetstores (these have accumulated
> over the years).  In the old dspace.cfg, I defined where the newest
> bitstreams should go.  I'm unclear how to set that in bitstore.xml.
>  George Kozak
>  Cornell University
>
> On Tue, Dec 13, 2016 at 1:05 PM, Tim Donohue <tdono...@duraspace.org>
> wrote:
>
>> Hi George,
>>
>> In DSpace 6, all Spring configs (XMLs under [dspace]/config/spring/) can
>> read/use configs specified in local.cfg and/or dspace.cfg (or other *.cfg
>> files).  There's an example in that bitstore.xml by default that already
>> uses "dspace.dir" as defined (in local.cfg or dspace.cfg):
>>
>> https://github.com/DSpace/DSpace/blob/master/dspace/config/
>> spring/api/bitstore.xml#L17
>>
>> So, if you want to store assetstore configs in your local.cfg, you can
>> actually just create new (custom named) settings for those, place them in
>> your local.cfg, and then reference them from your bitstore.xml file.  For
>> example, say you wanted a new Amazon S3 store, and to specify your
>> "awsRegionName" in your local.cfg. Then you could create a new setting like
>> this in your local.cfg:
>>
>> # This can be named whatever you want, just don't create a name conflict
>> with an existing DSpace setting
>> aws.region_name = us-east-1
>>
>> Then, reference that new config from  your bitstore.xml where you want it
>> used, e.g.:
>>
>> 
>>
>> Hopefully that gives you an idea of the power of the new 6.0
>> Configuration system
>>
>> - Tim
>>
>> On 12/13/2016 11:42 AM, George Kozak wrote:
>>
>> Hi,
>> I just started working on our DSpace 6.0 upgrade.  I have a question
>> about defining the asset store.  In previous releases this was done in the
>> dspace.cfg file, but now it is in /dspace/config/spring/ap
>> i/bitstore.xml.
>>
>> My question is this: how do I define that changes that I need in
>> local.cfg for the assetstore since bitstore.xml is an XML file and
>> local.cfg is not?
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> g...@cornell.edu
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> Tim Donohue
>> Technical Lead for DSpace & DSpaceDirect
>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>
>>
>
>
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
> g...@cornell.edu
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 6.0 config settings

2016-12-13 Thread George Kozak
Tim:

Thank you for the quick response.  One more question.  In my current
production setup in DSpace, I have 5 assetstores (these have accumulated
over the years).  In the old dspace.cfg, I defined where the newest
bitstreams should go.  I'm unclear how to set that in bitstore.xml.
 George Kozak
 Cornell University

On Tue, Dec 13, 2016 at 1:05 PM, Tim Donohue <tdono...@duraspace.org> wrote:

> Hi George,
>
> In DSpace 6, all Spring configs (XMLs under [dspace]/config/spring/) can
> read/use configs specified in local.cfg and/or dspace.cfg (or other *.cfg
> files).  There's an example in that bitstore.xml by default that already
> uses "dspace.dir" as defined (in local.cfg or dspace.cfg):
>
> https://github.com/DSpace/DSpace/blob/master/dspace/
> config/spring/api/bitstore.xml#L17
>
> So, if you want to store assetstore configs in your local.cfg, you can
> actually just create new (custom named) settings for those, place them in
> your local.cfg, and then reference them from your bitstore.xml file.  For
> example, say you wanted a new Amazon S3 store, and to specify your
> "awsRegionName" in your local.cfg. Then you could create a new setting like
> this in your local.cfg:
>
> # This can be named whatever you want, just don't create a name conflict
> with an existing DSpace setting
> aws.region_name = us-east-1
>
> Then, reference that new config from  your bitstore.xml where you want it
> used, e.g.:
>
> 
>
> Hopefully that gives you an idea of the power of the new 6.0 Configuration
> system
>
> - Tim
>
> On 12/13/2016 11:42 AM, George Kozak wrote:
>
> Hi,
> I just started working on our DSpace 6.0 upgrade.  I have a question about
> defining the asset store.  In previous releases this was done in the
> dspace.cfg file, but now it is in /dspace/config/spring/
> api/bitstore.xml.
>
> My question is this: how do I define that changes that I need in local.cfg
> for the assetstore since bitstore.xml is an XML file and local.cfg is not?
>
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
> g...@cornell.edu
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>


-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 6.0 config settings

2016-12-13 Thread George Kozak
Hi,
I just started working on our DSpace 6.0 upgrade.  I have a question about
defining the asset store.  In previous releases this was done in the
dspace.cfg file, but now it is in
/dspace/config/spring/api/bitstore.xml.

My question is this: how do I define that changes that I need in local.cfg
for the assetstore since bitstore.xml is an XML file and local.cfg is not?

-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Question about DSpace code and version control of local mods

2016-12-08 Thread George Kozak
Thank you, everyone for your suggestions and comments!
George Kozak
Cornell University

On Wed, Dec 7, 2016 at 5:15 PM, Luiz dos Santos <luiz...@gmail.com> wrote:

> Sure, let me reformulate my question, what is the difference between the
> build configuration in the "development version" and "release version", for
> example, I got that the configuration of the maven "license-maven-plugin"
> is different in the pom.xml is different, it makes sense, because in the
> end of the day the files are not there, in the release version, so there is
> less to check, but I wonder where else there is a difference (maybe
> assembly plugin)?
>
> Sorry George, out of topic, but I am curious about it, and I guess your
> question was already answered, right?
>
> Thanks
> Luiz Claudio Santos
> http://luizclaudiosantos.me/
>
> On Wed, Dec 7, 2016 at 4:38 PM, Tom Desair <tom.des...@atmire.com> wrote:
>
>> No you cannot just delete them. You have to start from the correct format.
>>
>> DSpace is always released under two formats: a "release-src" archive that
>> contains the full DSpace source as it can be found on Github and a
>> "release" archive that only contains the configuration files and some
>> folders where you can put Java customisations. The "release" version will
>> download the (compiled) DSpace source code at build time from Maven.
>>
>> The example repository uses this "release" version. For DSpace 6, you can
>> download that version here https://github.com/DSpace
>> /DSpace/releases/download/dspace-6.0/dspace-6.0-release.tar.gz (
>> https://github.com/DSpace/DSpace/releases/tag/dspace-6.0)
>>
>>
>> [image: logo] Tom Desair
>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>> Esperantolaan 4, Heverlee 3001, Belgium
>> www.atmire.com
>> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>>
>>
>> 2016-12-07 21:31 GMT+01:00 Luiz dos Santos <luiz...@gmail.com>:
>>
>>> Hi Tom,
>>>
>>>   One question, the repository that you add the link there are some
>>> folders missing, such as dspace-jspui, dspace-api, dspace-oai... How did
>>> you do that? Just delete it? Do you add these as dependencies somewhere
>>> else?
>>>
>>> Thanks in advance
>>> Luiz Claudio Santos
>>> http://luizclaudiosantos.me/
>>>
>>> On Wed, Dec 7, 2016 at 3:19 PM, Tom Desair <tom.des...@atmire.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> The general approach we use, is to download the release version of
>>>> DSpace (note: note the src-release version) which is very small and push
>>>> this to a Git repository. Then we save all our customisations in the
>>>> relevant module directory. This process is described here:
>>>> https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation
>>>>
>>>> An open source example of a highly customised DSpace using this
>>>> technique can be found here: https://github.com/milie
>>>> uinfo/dspace54-atmire/tree/java-DEV
>>>>
>>>> Best regards,
>>>> Tom
>>>>
>>>>
>>>> [image: logo] Tom Desair
>>>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>>>> Esperantolaan 4, Heverlee 3001, Belgium
>>>> www.atmire.com
>>>> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>>>>
>>>> 2016-12-07 20:45 GMT+01:00 Alan Orth <alan.o...@gmail.com>:
>>>>
>>>>> Hi, George.
>>>>>
>>>>> You should absolutely be using a git-based workflow. First, git is fun
>>>>> and cool and much better in every way than CVS/SVN, but it's also the
>>>>> official version control of the DSpace project itself since about 2014
>>>>> or so. This is important for cherry-picking patches, rebasing your
>>>>> local changes on top of upstream point releases, etc.
>>>>>
>>>>> Second, GitHub is great. We forked DSpace's DSpace repository there
>>>>> and I cherry-pick commits from their branch from time to time, as well
>>>>> as rebase on their point releases as I mentioned above. Even though
>>>>> I'm basically the only technical one doing DSpace on our team, I make
>>>>> *extensive* use of GitHub other features like issues, pull requests,
>>>>> 

[dspace-tech] Problem with Thumbnails loading

2016-11-14 Thread George Kozak
Hi,
I am running DSpace 5.5, XMLUI, MIrage2 modified theme.  We have been
running for a long time, and just this weekend we started having PostGres
and java problems.  I upped the memory allocated to tomcat (Xms4096;
Xmx8192; Xmn2048) and increased the number of the max db connections (from
100 to 500), but I am still having problems.  I get the PostGres error in
the dspace log:
" FATAL: remaining connection slots are reserved for non-replication
superuser connections"
Any suggestions would be appreciated.

-- 
*******
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Citation Generation for article items

2016-11-02 Thread George Kozak
Hello, Antti:

I just used the old "force" method and simply put in the italics tag.  See
below:
 


 
 
   ; 
   
   

The example above puts the italics around the title of a suggested citation
that I am displaying for datasets.
Let me know if you need more information.
George Kozak
Cornell University

On Tue, Nov 1, 2016 at 5:06 AM, Antti Laurila <antti.laur...@gmail.com>
wrote:

> Hello George!
>
> I'm currently trying to figure out the same situation you have solved,
> getting text in italics within a metadata field. I managed to get italics
> to appear in DRI-files (like the news-xmlui.xml), but my implementations
> fail in the item-view.
> I have tried to form the  tag within the metadata in the
> following formats:
> - plain 
> - xml entity replacement: hi rend="italic"
> - xml numeric replacement hi rend="italic"
>
> Is there possibly a trick I have to perform in the item-view.xsl?
>
> Best regards,
> Antti
>
> On Tuesday, July 5, 2016 at 11:02:32 PM UTC+3, George Kozak wrote:
>>
>> Monika:
>>
>> I am using DSpace 5.5 XMLUI (modified Mirage 2) and created a citation to
>> be displayed for datasets (only).  However, one of our librarians is having
>> me tweak the citations, so it is still not totally complete.  If you want
>> to check out what we display, go to: http://hdl.handle.net/1813/42437 or
>> http://hdl.handle.net/1813/11216
>>  The work is done in xsl/aspect/artifactbrowser/itemview.xsl
>>
>> George Kozak
>>
>> Digital Library Specialist
>>
>> Cornell University Library Information Technologies (CUL-IT)
>>
>> 218 Olin Library
>>
>> Cornell University
>>
>> Ithaca, NY 14853
>>
>> 607-255-8924
>>
>> On Tue, Jul 5, 2016 at 10:39 AM, Monika Mevenkamp <mom...@gmail.com>
>> wrote:
>>
>>> We are planning to bring up an DSPACE instance with faculty publications
>>> only. Proper citation information will be useful to have.  Hence the
>>> following questions:
>>>
>>> Did anybody build a an item page enhancement that generates a properly
>>> formatted citation for an article item based on the item’s metadata and
>>> includes that in the item page’s display  ?
>>>
>>> and
>>>
>>> Did anybody build an feature that generates downloadable citations for
>>> Items ?
>>> I am envisioning something along the lines of what you see on publisher
>>> pages - where you choose format such as BibTex, EndNote, RefWorks and a
>>> properly formatted citation is generated
>>>
>>>
>>> Monika
>>>
>>>
>>> ——
>>> Monika Mevenkamp
>>> Digital Repository Infrastructure Developer
>>> Princeton University
>>> Phone: 609-258-4161
>>> Skype: mo-meven
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> gs...@cornell.edu
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] ORCID Integration: Admin Edit Item

2016-10-25 Thread George Kozak
Christian and Stefanie:
I seem to remember that we ran into the same trouble at Cornell University
and it turned out to be something in the CSS.  I have been looking through
my notes, and (unfortunately) haven't found it, yet, but I recall that the
lookup button didn't appear and I had to add something to one of the
stylesheets for it to happen.  We are using a modified Mirage2 theme, and I
had to go back to vanilla Mirage 2 to find what I needed.  I will keep
digging to see what that was, but I wanted to let you know that it was a
stylesheet issue (at least for us) so you may want to look into that.
George Kozak
Cornell University


On Fri, Oct 21, 2016 at 2:37 AM, Christian Scheible <
christian.schei...@uni-konstanz.de> wrote:

> Sorry Stefanie,
>
> I am out of ideas. Maybe someone from Atmire has a solution as they
> developed the author search.
>
> Best regards
> Christian
>
> On 17.10.2016 15:27, Stefanie Behnke wrote:
>
> Dear Christian,
>
> thank you for your answer. I have double checked all. During submission
> author lookup works as expected, but on the Admin Edit Item page there is
> no "lookup" button.
>
> Any further idea?
>
> Thanking you in advance
> Stefanie
>
> Am Dienstag, 4. Oktober 2016 09:50:46 UTC+2 schrieb Christian Scheible:
>>
>> Hi Stefanie,
>>
>> I just tried this with a clean install from the dspace-5_x branch and it
>> did work as expected.
>> Sorry to ask that again, but are you sure that your configuration is
>> correct in the dspace.cfg?
>>
>> meaning enabling:
>>
>> *plugin.named.org.dspace.content.authority.ChoiceAuthority = \*
>> *org.dspace.content.authority.SolrAuthority = SolrAuthorAuthority*
>>
>> and
>>
>> *solr.authority.server=${solr.server}/authority*
>> *choices.plugin.dc.contributor.author = SolrAuthorAuthority*
>> *choices.presentation.dc.contributor.author = authorLookup*
>> *authority.controlled.dc.contributor.author = true*
>> *authority.author.indexer.field.1=dc.contributor.author*
>>
>> and
>>
>>
>>
>> *event.dispatcher.default.consumers = authority, versioning, discovery,
>> eperson, harvester *Did you change anything in the theme folder like the
>> file:
>>
>>
>> */dspace/webapps/xmlui/themes/Mirage/lib/xsl/aspect/general/choice-authority-control.xsl*
>>
>> Or did you change the Java Code here:
>>
>>
>>
>> */xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/item/EditItemMetadataForm.java
>> *Regards
>> Christian
>>
>> On 30.09.2016 18:52, Stefanie Behnke wrote:
>>
>> Hi Christian,
>>
>> it is the same field: dc.contributor.author that I want to edit. The log
>> file doesn't show any hint what could be wrong, so I am very helpless.
>>
>> Any further idea, I can try?
>>
>> Thanks in advance
>> Stefanie
>>
>> Am Freitag, 30. September 2016 13:26:12 UTC+2 schrieb Christian Scheible:
>>>
>>> Hi Stefanie,
>>>
>>> We are using this feature (whith some tweaks) with DSpace 5.5 and the
>>> XMLUI Mirage theme to so that sounds strange.
>>> Did you check the log files in the log directory ([dspace]log/)?
>>> Is the field you are trying to edit the same as in the submission
>>> (dc.contributor.author) ?
>>>
>>> Best regards
>>> Christian
>>>
>>>
>>> On 30.09.2016 07:43, Stefanie Behnke wrote:
>>>
>>> Dear Christian,
>>>
>>> yes, I did this, but the lookup did not start.
>>>
>>> Best regards
>>> Stefanie
>>>
>>> Am Freitag, 30. September 2016 06:36:20 UTC+2 schrieb Christian
>>> Scheible:
>>>>
>>>> Hi Stefanie,
>>>>
>>>> have you tried clicking on the litle lock image first?
>>>> After that it should be possible to start the lookup.
>>>>
>>>> Best Regards
>>>> Christian
>>>>
>>>> On 29.09.2016 16:35, Stefanie Behnke wrote:
>>>>
>>>> Dear all,
>>>>
>>>> I am using Dspace 5.5 with xmlui Mirage theme.
>>>> I have enabled Orcid Integration as described in
>>>> https://wiki.duraspace.org/display/DSDOC5x/ORCID+Integration.
>>>>
>>>> Author lookup in the submission form does work, but when I want to edit
>>>> an item I am missing the "Lookup Button".
>>>> I can only see what is shown in the attached image. What I am doing
>>>> wrong?
>>>>
>>>>
>>>> Any help is

  1   2   >