cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Kurzman <>
Subject Command Line Interface
Date Thu, 17 Jul 2003 09:53:30 GMT
I'm having problems using the command line interface and hope somebody can
help me out.  I don't know Java and am very new to Cocoon, using 2.1m3 and
Tomcat 4.1.24 on Mac OS 10.2.

I read the instructions at and,
from my /Cocoon/build/webapp directory containing both a cocoon.xconf and
sitemap.xmap, did

./ cli -x cocoon.xconf

It loads all the .jar files from WEB-INF/lib but then gives me

-------------------- Executing -----------------
Main Class: org.apache.cocoon.Main
ERROR: Unknown element: sitemap
cocoon 2.1m3
Copyright (c) 1999-2003 Apache Software Foundation. All rights reserved.

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(
        at Loader.invokeMain(Unknown Source)
        at Source)
        at Loader.main(Unknown Source)
Caused by: java.lang.NullPointerException
        at org.apache.cocoon.bean.CocoonBean.initialize(
        at org.apache.cocoon.Main.main(
        ... 7 more

I've tried variations on the ./ command, editing the cli.xconf
file, etc., but always get this exception.

What does this mean?  What am I doing wrong?  How can I do it correctly?
Thank you very much for any help!

Steve Kurzman

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message