Re: [Dspace-tech] Could not read resource cocoon://DRI/4/advanced-search

2008-09-24 Thread Claudia Juergen
Hi Eric,

did you update/initialized the indices while installing this version?
Guess there went something wrong with installing the new version over old 
data.


Claudia

> It turns out that I needed to submit an item before advanced search
> would work.  The odd thing is that I installed this version of DSpace
> over an existing database that already contained a few test
> submissions, so I'm now sure why I still had to add an item to make
> advanced search work.
>
> Eric
>
> On Wed, Sep 24, 2008 at 12:07 PM, Eric Luhrs <[EMAIL PROTECTED]> wrote:
>> Advanced search worked a few days ago, but now I'm getting a
>> NullPointerException error.  My config
>> is DSpace 1.5.1 on RHEL5 with Tomcat 5.5 and Sun Java 1.6.  There are
>> no errors logged to dspace.log  or catalina.out, but the following
>> full java stacktrace is shown on the screen.
>>
>> Does this make sense to anyone?
>>
>> Eric Luhrs
>> Lafayettte College
>>
>> org.apache.cocoon.ProcessingException: Could not read resource
>> cocoon://DRI/4/advanced-search
>>at  -
>> resource://aspects/Administrative/sitemap.xmap:824:31
>>
>>
>>at  -
>> resource://aspects/Administrative/sitemap.xmap:269:38
>>at  -
>> resource://aspects/Administrative/sitemap.xmap:268:44
>>
>>
>>at  -
>> resource://aspects/Administrative/sitemap.xmap:266:19
>>at  -
>> resource://aspects/EPerson/sitemap.xmap:331:31
>>at  -
>> resource://aspects/EPerson/sitemap.xmap:136:38
>>
>>
>>at  -
>> resource://aspects/EPerson/sitemap.xmap:125:19
>>at  -
>> resource://aspects/Submission/sitemap.xmap:330:27
>>at  -
>> resource://aspects/Submission/sitemap.xmap:306:26
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:115:34
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:114:43
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:113:22
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:184:34
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:181:84
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:180:78
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:174:33
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:170:44
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:155:45
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:131:55
>>
>>
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/themes/themes.xmap:63:45
>>at  -
>> file:/usr/local/tomcat/webapps/ROOT/sitemap.xmap:345:73
>>at
>> org.apache.cocoon.components.source.SourceUtil.handleSAXException(SourceUtil.java:501)
>>
>>
>>at
>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:117)
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>>at
>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>>
>>
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>>at
>> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>>at
>> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>>
>>
>>at
>> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>>at
>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>>
>>
>>at
>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>>
>>
>>at
>> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>>at
>> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>>at
>> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>>
>>
>>at
>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>>at
>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>>
>>
>>at
>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:77

Re: [Dspace-tech] Could not read resource cocoon://DRI/4/advanced-search

2008-09-24 Thread Eric Luhrs
Hi Claudia,
I ran "ant update" to install the new code but I did not know that
indices needed to be updated.  How do I update them?

Eric

On Wed, Sep 24, 2008 at 2:11 PM, Claudia Juergen
<[EMAIL PROTECTED]> wrote:
> Hi Eric,
>
> did you update/initialized the indices while installing this version?
> Guess there went something wrong with installing the new version over old
> data.
>
>
> Claudia
>
>> It turns out that I needed to submit an item before advanced search
>> would work.  The odd thing is that I installed this version of DSpace
>> over an existing database that already contained a few test
>> submissions, so I'm now sure why I still had to add an item to make
>> advanced search work.
>>
>> Eric
>>
>> On Wed, Sep 24, 2008 at 12:07 PM, Eric Luhrs <[EMAIL PROTECTED]> wrote:
>>> Advanced search worked a few days ago, but now I'm getting a
>>> NullPointerException error.  My config
>>> is DSpace 1.5.1 on RHEL5 with Tomcat 5.5 and Sun Java 1.6.  There are
>>> no errors logged to dspace.log  or catalina.out, but the following
>>> full java stacktrace is shown on the screen.
>>>
>>> Does this make sense to anyone?
>>>
>>> Eric Luhrs
>>> Lafayettte College
>>>
>>> org.apache.cocoon.ProcessingException: Could not read resource
>>> cocoon://DRI/4/advanced-search
>>>at  -
>>> resource://aspects/Administrative/sitemap.xmap:824:31
>>>
>>>
>>>at  -
>>> resource://aspects/Administrative/sitemap.xmap:269:38
>>>at  -
>>> resource://aspects/Administrative/sitemap.xmap:268:44
>>>
>>>
>>>at  -
>>> resource://aspects/Administrative/sitemap.xmap:266:19
>>>at  -
>>> resource://aspects/EPerson/sitemap.xmap:331:31
>>>at  -
>>> resource://aspects/EPerson/sitemap.xmap:136:38
>>>
>>>
>>>at  -
>>> resource://aspects/EPerson/sitemap.xmap:125:19
>>>at  -
>>> resource://aspects/Submission/sitemap.xmap:330:27
>>>at  -
>>> resource://aspects/Submission/sitemap.xmap:306:26
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:115:34
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:114:43
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:113:22
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:184:34
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:181:84
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:180:78
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:174:33
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:170:44
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:155:45
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:131:55
>>>
>>>
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/themes/themes.xmap:63:45
>>>at  -
>>> file:/usr/local/tomcat/webapps/ROOT/sitemap.xmap:345:73
>>>at
>>> org.apache.cocoon.components.source.SourceUtil.handleSAXException(SourceUtil.java:501)
>>>
>>>
>>>at
>>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:117)
>>>at
>>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>>>at
>>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>>>
>>>
>>>at
>>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>>>at
>>> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>>>at
>>> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>>>
>>>
>>>at
>>> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>>>at
>>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>>>at
>>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>>>
>>>
>>>at
>>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>>>at
>>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>>>
>>>
>>>at
>>> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>>>at
>>> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>>>at
>>> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>>>
>>>
>>>at
>>> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>>>at
>>> org.apache.cocoon.components.pipeline.AbstractProc

Re: [Dspace-tech] Could not read resource cocoon://DRI/4/advanced-search

2008-09-24 Thread Eric Luhrs
It turns out that I needed to submit an item before advanced search
would work.  The odd thing is that I installed this version of DSpace
over an existing database that already contained a few test
submissions, so I'm now sure why I still had to add an item to make
advanced search work.

Eric

On Wed, Sep 24, 2008 at 12:07 PM, Eric Luhrs <[EMAIL PROTECTED]> wrote:
> Advanced search worked a few days ago, but now I'm getting a
> NullPointerException error.  My config
> is DSpace 1.5.1 on RHEL5 with Tomcat 5.5 and Sun Java 1.6.  There are
> no errors logged to dspace.log  or catalina.out, but the following
> full java stacktrace is shown on the screen.
>
> Does this make sense to anyone?
>
> Eric Luhrs
> Lafayettte College
>
> org.apache.cocoon.ProcessingException: Could not read resource
> cocoon://DRI/4/advanced-search
>at  -
> resource://aspects/Administrative/sitemap.xmap:824:31
>
>
>at  -
> resource://aspects/Administrative/sitemap.xmap:269:38
>at  -
> resource://aspects/Administrative/sitemap.xmap:268:44
>
>
>at  - 
> resource://aspects/Administrative/sitemap.xmap:266:19
>at  - 
> resource://aspects/EPerson/sitemap.xmap:331:31
>at  -
> resource://aspects/EPerson/sitemap.xmap:136:38
>
>
>at  - resource://aspects/EPerson/sitemap.xmap:125:19
>at  - resource://aspects/Submission/sitemap.xmap:330:27
>at  - resource://aspects/Submission/sitemap.xmap:306:26
>
>
>at  -
> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:115:34
>at  -
> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:114:43
>
>
>at  -
> file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:113:22
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:184:34
>
>
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:181:84
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:180:78
>
>
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:174:33
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:170:44
>
>
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:155:45
>at  -
> file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:131:55
>
>
>at  - 
> file:/usr/local/tomcat/webapps/ROOT/themes/themes.xmap:63:45
>at  - 
> file:/usr/local/tomcat/webapps/ROOT/sitemap.xmap:345:73
>at 
> org.apache.cocoon.components.source.SourceUtil.handleSAXException(SourceUtil.java:501)
>
>
>at 
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:117)
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>
>
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>at 
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>at 
> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>
>
>at 
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>at 
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>
>
>at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>
>
>at 
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>at 
> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>at 
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>
>
>at 
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
>at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
>
>
>at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
>at 
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
>at 
> org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
>
>
>at 
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
>at

[Dspace-tech] Could not read resource cocoon://DRI/4/advanced-search

2008-09-24 Thread Eric Luhrs
Advanced search worked a few days ago, but now I'm getting a
NullPointerException error.  My config
is DSpace 1.5.1 on RHEL5 with Tomcat 5.5 and Sun Java 1.6.  There are
no errors logged to dspace.log  or catalina.out, but the following
full java stacktrace is shown on the screen.

Does this make sense to anyone?

Eric Luhrs
Lafayettte College

org.apache.cocoon.ProcessingException: Could not read resource
cocoon://DRI/4/advanced-search
at  -
resource://aspects/Administrative/sitemap.xmap:824:31


at  -
resource://aspects/Administrative/sitemap.xmap:269:38
at  -
resource://aspects/Administrative/sitemap.xmap:268:44


at  - 
resource://aspects/Administrative/sitemap.xmap:266:19
at  - 
resource://aspects/EPerson/sitemap.xmap:331:31
at  -
resource://aspects/EPerson/sitemap.xmap:136:38


at  - resource://aspects/EPerson/sitemap.xmap:125:19
at  - resource://aspects/Submission/sitemap.xmap:330:27
at  - resource://aspects/Submission/sitemap.xmap:306:26


at  -
file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:115:34
at  -
file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:114:43


at  -
file:/usr/local/tomcat/webapps/ROOT/aspects/aspects.xmap:113:22
at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:184:34


at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:181:84
at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:180:78


at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:174:33
at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:170:44


at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:155:45
at  -
file:/usr/local/tomcat/webapps/ROOT/themes/Reference/sitemap.xmap:131:55


at  - 
file:/usr/local/tomcat/webapps/ROOT/themes/themes.xmap:63:45
at  - file:/usr/local/tomcat/webapps/ROOT/sitemap.xmap:345:73
at 
org.apache.cocoon.components.source.SourceUtil.handleSAXException(SourceUtil.java:501)


at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:117)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)


at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
at 
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)


at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)


at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)


at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
at 
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)


at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)


at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
at 
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)


at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)


at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)


at 
org.apache.cocoon.components.source.impl.Sitemap