cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Claude Moissinac <jcmoissi...@gmail.com>
Subject Re: Using Cocoon as a command line tool
Date Fri, 13 May 2005 12:47:50 GMT
I doesn't find a servlet jar in lib/Optional
but I find these:
servlet_2_2.jar in lib/core
servlet-2.3.jar in tools/jetty/lib
Does one of these do the trick?

Jean-Claude

On 5/13/05, Simon Mieth <simon.mieth@gmx.de> wrote:
> On Thu, 12 May 2005 17:46:31 +0200
> Jean-Claude Moissinac <jcmoissinac@gmail.com> wrote:
> 
> > Hello
> >
> > I'm trying to use Cocoon as a command line tool.
> > I've read
> > http://cocoon.apache.org/2.1/userdocs/offline/cli.html
> > and the related pages.
> >
> > I've found a cli.xconf file in the root of my installation.
> > It is different from the one in the cli.html page.
> >
> > I've tried
> > - cli.xconf in the distribution
> > - an xconf file copied from the cli.html page
> > - some personal xconf files derived from the previous
> >
> > My attempt are with command like:
> > cocoon.bat cli -x cli.xconf
> >
> > All the attempt fails.
> > After a lot of trace in the window, I get :
> > trying to register database
> > trying to register database
> > Cannot find CatalogManager.properties
> > Exception in the thread "main"
> > java.lang.reflect.InvocationTargetException at
> > sun.reflect.NativeMetodAccessorImpl.invoke0(Native Method) ...
> >
> > and the process stops.
> > (I'm working with Cocoon 2.1.7 on Windows XP; this install is working)
> >
> > I don't find what is wrong.
> > Is someone able to help?
> >
> Hi Jean-Claude,
> 
> * copy
>    "lib\optional\servlet-2_3.jar"
>    to
>    "build\webapp\WEB-INF\lib"
> 
>     inside your cocoon folder.
> 
> It should work now.  Maybe the information is missing on
> the pages you read, but it is needed.
> 
> Best Regards,
> 
> Simon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


-- 
-- 
Jean-Claude Moissinac
Department of Computer Science and Networks
ENST Paris
FRANCE

E-mail: moissinac@enst.fr
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58

http://shadok.enst.fr/jcm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message