On Tue, 19 Dec 2006 11:14:26 -0600 "J.D. Williams" <[EMAIL PROTECTED]> wrote:
> I have Googled for this exception, read the docs for 2.1, and cannot > figure this out. > > I did a ./build.sh clean, then built a minimal webapp and verified > that it worked. No blocks, no samples, bare minimum. > > Then, I copied servlet-2.3.jar from > $COCOON_INSTALL_DIRECTORY/tools/jetty/lib to > $COCOON_INSTALL_DIRECTORY/build/webapp/WEB-INF/lib > > I even added $COCOON_INSTALL_DIRECTORY/build/webapp/WEB-INF/lib to my > classpath. > > The cli.xconf contains the following: > > <context-dir>build/webapp</context-dir> > <config-file>WEB-INF/cocoon.xconf</config-file> > <work-dir>build/work</work-dir> > <dest-dir>build/dest</dest-dir> > > I ran the CLI using the demo cli.xconf and got the following fatal > error. > > [EMAIL PROTECTED]:~/cocoon-2.1.9$ ./cocoon.sh cli -x cli.xconf > ./cocoon.sh: using ./build/webapp as the webapp directory > ------------------------------------------------------------------------ > cocoon 2.1.9 > Copyright (c) 1999-2006 Apache Software Foundation. All rights > reserved. > ------------------------------------------------------------------------ Hi, you can comment out the logging inside the cli.xconf or use an own logkit.xconf (WEB-INF/logkit.xconf) where you comment out all servlet related stuff (ServletTargetFactory and servlet format description). Best Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]