forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: Cocoon Ant Task
Date Sun, 09 Nov 2003 12:18:53 GMT
I have found a clue. When i try to run the Cocoon CLI directly
it has problems finding the config file. (Getting my hands dirty
with the code now.)

cd $COCOON_HOME
./cocoon.sh cli

----------
...
ERROR   2003-11-09 23:06:45.793 [        ] (): Could not find the
configuration
file.
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: java.io.FileNotFoundException: The configuration file could
not be found.
        at
org.apache.cocoon.bean.CocoonWrapper.getConfigurationFile(CocoonWrapper.java:236)
        at
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:142)
        at
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        ... 7 more
----------


Mime
View raw message