You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Steffen Stundzig <st...@smb-tec.com> on 2001/05/17 13:01:53 UTC
[C2][Patch] Exception in Main
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
Re: [C2][Patch] Exception in Main
Posted by giacomo <gi...@apache.org>.
This is already made since a few days ago.
Giacomo
On Thu, 17 May 2001, Steffen Stundzig wrote:
> 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
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org