cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unico Hommes" <Un...@hippo.nl>
Subject RE: [CLI/CocoonBean] currently broken?
Date Sat, 31 Jan 2004 15:13:04 GMT


Simon Mieth 
> 
> On Sat, 31 Jan 2004 15:43:34 +0100
> "Unico Hommes" <Unico@hippo.nl> wrote:
> 
> > 
> > Simon Mieth wrote:
> > > 
> > > Hi,
> > > 
> > > i tried just an cvs-update and the cli and the Bean are broken.
> > > 
> > > org.apache.avalon.framework.context.ContextException:
> > > Unable to resolve context key: servlet-config
> > > 
> > > The exception is attached.
> > > 
> > 
> > You are trying to use a feature of Cocoon that requires a Servlet 
> > environment to be present. You can't currently run portlets 
> from the 
> > command line.
> > 
> > Unico
> > 
> 
> Hi,
> 
> only tried "./build.sh" and the copy the servlet.jar to 
> WEB-INF/lib and "/cocoon.sh cli -d out -c build/webapp 
> docs/index.html" and later "./cocoon.sh -c  cli.xconf" with 
> the same result.
> 
> This was a clean CVS-version from some days ago, with the
> same exception.

OK, one solution I see for now is to disable the portal block in
local.blocks.properties and rebuild Cocoon. Could you also file a
bugzilla bug report about this? The PortletPortalManager should be
contextualized lazily in order to not cause problems for CLI.

Unico

Mime
View raw message