cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Maisonneuve" <>
Subject error context when i launch cocoon
Date Sat, 30 Aug 2003 01:24:57 GMT
hy , i use a avalon component with contextualizable and ThreadSafe interface.
In the context method  , i call context.get(Constants.DEFAULT_CONTEXT_DIR);
to have the directory of the site 
when i launch cocoon  with tomcat , there is this error 

ERROR   (2003-08-30) 03:13.15:035   [core.manager] (Unknown-URI) Unknown-thread/ExcaliburComponentManager:
Caught an exception trying to initialize the component handler.
org.apache.avalon.framework.context.ContextException: Unable to resolve context key: ./webapp
 at org.apache.avalon.framework.context.DefaultContext.get(
 at org.apache.avalon.framework.context.DefaultContext.get(
 at org.apache.cocoon.components.ComponentContext.get(
 at org.paris5.component.index.analysis.AnalyzerManagerImpl.contextualize(
 at org.apache.avalon.framework.container.ContainerUtil.contextualize(

note : 
i use the context tomcat in the system.xml  (<Context path="/cocoon" docBase="D:\DEV\cocoon\cocoon-2.1\build\webapp"
debug="0"                 reloadable="true" crossContext="true"/>)
windows XP
cocoon 2.1 CVS

so the bug is in cocoon (or tomcat) or in my brain .. ?

View raw message