You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Philippe Faehndrich <ph...@bluewin.ch> on 2005/08/02 23:43:33 UTC
Trying to use Cocoon 2.1.7 as a command-line tool
Hello,
I'm trying to use Cocoon 2.1.7 as a command-line tool. It seems I have a few
problems.
If I run "./cocoon.sh cli", I get the following error:
ERROR 2005-08-02 23:24:16.886 [ ] (): Could not find the
configuration file.
FATAL_E 2005-08-02 23:24:16.946 [ ] (): Exception caught
java.io.FileNotFoundException: The configuration file could not be found.
although I have these two lines in my "cli.xconf":
<context-dir>build/webapp</context-dir>
<config-file>WEB-INF/cocoon.xconf</config-file>
But if I try with "./cocoon.sh cli -C build/webapp/WEB-INF/cocoon.xconf", I
just get another problem:
trying to register database
trying to register database
Cannot find CatalogManager.properties
Exception in thread "main" java.lang.reflect.InvocationTargetException
Eventually, after some readings in mail archives, I've copied the
"servlet-2.3.jar" from "/usr/local/cocoon-2.1.7/tools/jetty/lib" to
"build/webapp/WEB-INF/lib". I didn't help a lot, but I have some more output
after the error:
trying to register database
trying to register database
Cannot find CatalogManager.properties
- RAMJobStore initialized.
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.4.5
- Scheduler Cocoon_$_Tue_Aug_02_23:39:45_CEST_2005 started.
java.lang.NullPointerException
and the process doesn't stop any more from itself.
Does somebody have a hint?
Thanks a lot for help.
Philippe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org