forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: Cocoon Ant Task
Date Sun, 09 Nov 2003 17:16:45 GMT
Away from my own pc at present - I'll just answer your last problem - put
servlet.jar into your web-inf/lib and it'll work. I'll answer more fully
later.

Upayavira
On 10 Nov 2003 01:05:38 +1100, "David Crossley"
<crossley@indexgeo.com.au> said:
> I put some debug statements into CocoonWrappper.java to see why
> it could not find the config file.
> ----------
> cd $COCOON_HOME
> ./cocoon.sh cli
> ...
> configFile is null
> So try ./webapp/cocoon.xconf
> No, so try ./webapp/WEB-INF/cocoon.xconf
> ----------
> 
> It seems to get the context as "./webapp" and so cannot find
> the config. I hacked it so that it became "build/webapp" and
> we now get past that hurdle.
> 
> But having the wrong context must cause other troubles.
> I notice that two new directories get incorrectly created in
> $COCOON_HOME (./webapp and ./work) which should actually be
> in $COCOON_HOME/build
> 
> Then it goes on to give this  ...
> 
> ----------
> ...
> 
> 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.lang.NoClassDefFoundError:
> javax/servlet/http/HttpSessionBindingListener
>         at java.lang.ClassLoader.defineClass0(Native Method)
> ...
> ----------
> 

Mime
View raw message