cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steffen Stundzig <stef...@smb-tec.com>
Subject [C2][Patch] Exception in Main
Date Thu, 17 May 2001 11:01:53 GMT
Hi,

I would use the Cocoon commandline interface, but if I start 
org.apache.cocoon.Main I've got the following exception:

DEBUG   55      [cocoon  ] (main): Trying configuration file at:
build/cocoon/cocoon.xconf
FATAL_E 264     [cocoon  ] (main): Exception caught
org.apache.avalon.framework.context.ContextException: Unable to locate
classpath
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at
org.apache.avalon.framework.CascadingException.<init>(CascadingException.java:40)
        at
org.apache.avalon.framework.context.ContextException.<init>(ContextException.java:43)
        at
org.apache.avalon.framework.context.ContextException.<init>(ContextException.java:32)
        at
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:62)
        at org.apache.cocoon.Cocoon.contextualize(Cocoon.java:102)
        at org.apache.cocoon.Main.main(Main.java:216)
make: *** [run_cocoon] Error 1                          

This occurs, because the 'classpath' parameter isn't added to the current
context.

Patch attached.


Regards
	Steffen...

-- 
______________________________________________________________________
Steffen Stundzig                            mailto:steffen@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com




Mime
View raw message