why not do ./build.sh webapp and dump the .war archive into webapps on the
servlet container? Unless you're upgrading you shouldn't just build the jar
file.

The error message is telling you what's wrong

Carlos
----- Original Message ----- 
From: "Simon Mieth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 31, 2004 06:55
Subject: Re: [CLI/CocoonBean] currently broken?


> 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.
>
> Regards,
>
> Simon
>

Reply via email to