You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Ross Gardler <rg...@apache.org> on 2005/09/01 03:12:07 UTC

Error with views

I did some work this evening on an "old" site that was using views (i.e. 
before the refactoring for project.theme and project.theme-fv properties).

I've added these properties am told the resource is not found. Now, this 
resource is being brought over from a Daisy repo, there was a bug 
introduced to the LM (null m_nodes), but that is fixed now. However, I 
still get the same error.

The logs are showing that the problem is now in views, at least I think 
that is what the error below means. It can't find the COntractsMessages 
resource, which is part of the viewHelper plugin.

Any ideas?

(I'm off travelling again for the next week, will be intermittent access)

ERROR   (2005-09-01) 02:07.42:734   [core.manager] (/index.html) 
PoolThread-4/I18nTransformer.CatalogueInfo: Error obtaining catalogue 
'ContractsMessages' from  <[L...@e3ffdf> for locale en_US
java.lang.Exception: Unable to locate resource: ContractsMessages
	at 
org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFactory.java:237)
	at 
org.apache.cocoon.transformation.I18nTransformer$CatalogueInfo.getCatalogue(I18nTransformer.java:2272)
	at 
org.apache.cocoon.transformation.I18nTransformer.getMessage(I18nTransformer.java:2158)
	at 
org.apache.cocoon.transformation.I18nTransformer.getMessage(I18nTransformer.java:2181)
	at 
org.apache.cocoon.transformation.I18nTransformer.endTextElement(I18nTransformer.java:1691)

Re: Error with views

Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> On Thu, 2005-09-01 at 02:12 +0100, Ross Gardler wrote:
> 
>>I did some work this evening on an "old" site that was using views (i.e. 
>>before the refactoring for project.theme and project.theme-fv properties).
>>
>>I've added these properties am told the resource is not found. Now, this 
>>resource is being brought over from a Daisy repo, there was a bug 
>>introduced to the LM (null m_nodes), but that is fixed now. However, I 
>>still get the same error.
>>
>>The logs are showing that the problem is now in views, at least I think 
>>that is what the error below means. It can't find the COntractsMessages 
>>resource, which is part of the viewHelper plugin.
>>
>>Any ideas?
>>
> 
> 
> 10:48:35 thorsten@cartman>~/apache/forrest-trunk/whiteboard/plugins $
> grep "ContractsMessages" * -R|grep -v .svn
> org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:
> <catalogue id="contracts" name="ContractsMessages" location="messages"/>
> 
> Are the messages in the plugin?

They are not *in* the plugin, but I think the plugin is the difference 
between this and other sites that are working. I've no time to dig into 
it now but I can confirm that other sites work OK.

Ross

Re: Error with views

Posted by Thorsten Scherler <th...@apache.org>.
On Thu, 2005-09-01 at 02:12 +0100, Ross Gardler wrote:
> I did some work this evening on an "old" site that was using views (i.e. 
> before the refactoring for project.theme and project.theme-fv properties).
> 
> I've added these properties am told the resource is not found. Now, this 
> resource is being brought over from a Daisy repo, there was a bug 
> introduced to the LM (null m_nodes), but that is fixed now. However, I 
> still get the same error.
> 
> The logs are showing that the problem is now in views, at least I think 
> that is what the error below means. It can't find the COntractsMessages 
> resource, which is part of the viewHelper plugin.
> 
> Any ideas?
> 

10:48:35 thorsten@cartman>~/apache/forrest-trunk/whiteboard/plugins $
grep "ContractsMessages" * -R|grep -v .svn
org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:
<catalogue id="contracts" name="ContractsMessages" location="messages"/>

Are the messages in the plugin?

Sorry, cannot simulate your problem, my views are running fin.

salu2

> (I'm off travelling again for the next week, will be intermittent access)
> 
> ERROR   (2005-09-01) 02:07.42:734   [core.manager] (/index.html) 
> PoolThread-4/I18nTransformer.CatalogueInfo: Error obtaining catalogue 
> 'ContractsMessages' from  <[L...@e3ffdf> for locale en_US
> java.lang.Exception: Unable to locate resource: ContractsMessages
> 	at 
> org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFactory.java:237)
> 	at 
> org.apache.cocoon.transformation.I18nTransformer$CatalogueInfo.getCatalogue(I18nTransformer.java:2272)
> 	at 
> org.apache.cocoon.transformation.I18nTransformer.getMessage(I18nTransformer.java:2158)
> 	at 
> org.apache.cocoon.transformation.I18nTransformer.getMessage(I18nTransformer.java:2181)
> 	at 
> org.apache.cocoon.transformation.I18nTransformer.endTextElement(I18nTransformer.java:1691)
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)