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:15:55 GMT


Unico Hommes wrote:
> 
> 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.

Alternatively, an easier solution is to find the PortletPortalManager
component declaration in cocoon.xonf and comment it out.

Thanks for reporting this.

Unico

Mime
View raw message