cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: multiple catalogue search
Date Thu, 18 Dec 2003 20:44:46 GMT
I downloaded the latest from CVS. This is a little bitter but I still get
the following stacktraces. These happened when I set the location to
"cocoon:/catalogues" and added

<map:match pattern="catalogues/*">
  <map:generate src="translations/{1}/>
  <map:serialize type="xml"/>
</map:match>

The page displays fine however.

I also tested the samples/i18n and I see the exact same error in the log,
except it is looking for the file in the samples/i18n/translations
directory!

ERROR   (2003-12-18) 11:56.14:878   [core.i18n-bundles] (/test/simple.xml)
PoolThread-4/XMLResourceBundleFactory: Resource loading failed
org.apache.cocoon.ResourceNotFoundException: Resource not found.:
org.apache.excalibur.source.SourceNotFoundException:
file:/home/rago2483/cocoon/snapshot/cocoon-2.1/build/webapp/test/catalogues/
menu_en_US.xml doesn't exist.
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.j
ava:472)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:163)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:128)
	at
org.apache.cocoon.i18n.XMLResourceBundle.load(XMLResourceBundle.java:332)
	at
org.apache.cocoon.i18n.XMLResourceBundle.init(XMLResourceBundle.java:310)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory._loadBundle(XMLResourceBundl
eFactory.java:313)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory._select(XMLResourceBundleFac
tory.java:270)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFact
ory.java:235)
	at
org.apache.cocoon.transformation.I18nTransformer$CatalogueInfo.getCatalogue(
I18nTransformer.java:2151)
	at
org.apache.cocoon.transformation.I18nTransformer.setup(I18nTransformer.java:
1048)

ERROR   (2003-12-18) 11:56.14:917   [core.i18n-bundles] (/test/simple.xml)
PoolThread-4/XMLResourceBundleFactory: Resource loading failed
org.apache.cocoon.ResourceNotFoundException: Resource not found.:
org.apache.excalibur.source.SourceNotFoundException:
file:/home/rago2483/cocoon/snapshot/cocoon-2.1/build/webapp/test/catalogues/
messages_en_US.xml doesn't exist.
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.j
ava:472)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:163)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:128)
	at
org.apache.cocoon.i18n.XMLResourceBundle.load(XMLResourceBundle.java:332)
	at
org.apache.cocoon.i18n.XMLResourceBundle.init(XMLResourceBundle.java:310)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory._loadBundle(XMLResourceBundl
eFactory.java:313)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory._select(XMLResourceBundleFac
tory.java:270)
	at
org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFact
ory.java:235)
	at
org.apache.cocoon.transformation.I18nTransformer$CatalogueInfo.getCatalogue(
I18nTransformer.java:2151)
	at
org.apache.cocoon.transformation.I18nTransformer.setup(I18nTransformer.java:
1050)

> -----Original Message-----
> From: Ralph Goers 
> Sent: Thursday, December 18, 2003 9:39 AM
> To: 'dev@cocoon.apache.org'
> Subject: RE: multiple catalogue search
> 
> 
> Thanks, I'll do that.  The stacktrace was from 2.1.3.
> 
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> > Sent: Thursday, December 18, 2003 9:36 AM
> > To: dev@cocoon.apache.org
> > Cc: 'Konstantin Piroumian'
> > Subject: Re: multiple catalogue search
> > 
> > Have you tried updating your cvs snapshot? It must be 
> really old now.
> > 
> > Vadim
> > 
> > 
> 

Mime
View raw message