Simon Mieth > > On Sat, 31 Jan 2004 15:43:34 +0100 > "Unico Hommes" <[EMAIL PROTECTED]> 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
