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


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

2017-03-18 Thread Hardy Pottinger
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/
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)

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

-- 
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] Getting Started: Low Hanging Fruit, and slightly higher up fruit

2017-03-18 Thread Hardy Pottinger
Hi, we mentioned the Low Hanging Fruit Jira filter [1] for the DSpace Jira
site during the webinar we gave last week [2] (it's only 50 minutes, if you
haven't yet watched it, I urge you to do so). Very briefly, I'd like to
point out to everyone on this mail list that the Low Hanging Fruit filter
[1] is an outstanding way to just dive in and start doing useful work with
DSpace. If you have or *are* a new developer, pointing them at the Low
Hanging Fruit filter [1] is a good way to learn DSpace development, while
being useful.

Also, if you don't yet have a DSpace development environment, OR you're
lucky enough to have a new computer and haven't yet gone through the
trouble of setting up your environment on it, I humbly suggest you give
Vagrant-DSpace a try. [3] As I promised during the webinar last week [2],
if you get stuck setting up Vagrant-DSpace, just contact me directly and
I'll help you out.

However, today, I'd also like to paint a big target on one issue in
particular, DS-3287 [4] which is *not* low-hanging fruit, however it could
be pretty interesting. 1) you get to play with Elastic Search! and 2) it's
mostly a code refactor to work with DSpace 6, which is something you may
need to familiarize yourself with in order to prepare for an upgrade of
custom DSpace code. AND it's well-documented. [5] Are you getting ready for
an upgrade to DSpace 6, but not looking forward to migrating a custom
module? Help us migrate ES Stats! [4]

Thanks!

--Hardy

[1] http://tinyurl.com/dspace-low-hanging-fruit
[2] http://duraspace.org/node/3128
[3] htts://github.com/dspace/vagrant-dspace
[4] https://jira.duraspace.org/browse/DS-3287
[5] https://wiki.duraspace.org/display/DSPACE/DSpace+Service+based+api

-- 
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: Logout issue

2017-03-18 Thread admin
Dear Mark,

excuse me, but I cannot find any solution there. Probably I am missing 
something :)



Best,

Peter

W dniu czwartek, 16 marca 2017 13:13:45 UTC użytkownik Mark Wood napisał:
>
> On Thursday, March 16, 2017 at 6:13:16 AM UTC-4, admin wrote:
>>
>> Hello,
>>
>> I use DSpace 6, tomcat 8.5.4, and experience http 302 issue upon logout.
>> I found this entry: 
>> https://groups.google.com/forum/#!topic/dspace-community/EHEpYhIcYCE but 
>> the solution didn't help, or I am doing something wrong – I applied 
>> "useRelativeRedirects" to xmlui context.
>>
>>  
> I think this might be the same problem we had, which led to 
> https://jira.duraspace.org/browse/DS-3505
>
>

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