Lars,
Thanks for the quick response. I tried your suggestion and now I'm getting a
different error:

java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at com.hp.hpl.deli.Workspace.getResource(Workspace.java:620)

...

java.net.MalformedURLException
* [0] toc

Any ideas what this might be? I imagine I've got a path wrong, but I can't
tell which one it might be.

<context-dir>/usr/local/jakarta-tomcat-4.1.27/webapps/cocoon</context-dir>
<config-file>/usr/local/jakarta-tomcat-4.1.27/webapps/cocoon/WEB-INF/cocoon.
xconf</config-file>
<work-dir>build/work</work-dir>

<uri
   type="replace"
   src-prefix=""
   src="toc"
   dest="/usr/local/jakarta-tomcat-4.1.27/webapps/cocoon/cde/xml/toc.xml"/>

Thanks again.

- Justin

On 10/20/03 11:40 AM, "Lars Huttar" <[EMAIL PROTECTED]> wrote:

>> From: Justin Makeig
>> 
>> Argh. After struggling with cocoon.sh and Upayavira's helpful
>> email, I still
>> can't get the CLI to work. I just need to push the result of
>> http://localhost:8080/toc into the the file
>> /usr/local/jakarta-tomcat-4.1.27/webapps/cocoon/cde/xml/toc.xml. I've
>> attached the relevant configuration below. Any help would be much
>> appreciated. Thanks.
>> 
>> - Justin
>> 
> ...
> 
>> Excpetions
>> ==========
>> Exception in thread "main" java.lang.reflect.InvocationTargetException
>> ...
>> Caused by: java.lang.NoClassDefFoundError:
>> javax/servlet/http/HttpServletRequest
> 
> 
> It sounds like servlet_2_2.jar is not in your path.
> 
> I had an error like this and fixed it by copying
>  lib/optional/servlet_2_2.jar
> to
>  build/webapp/WEB-INF/lib/
> in the source distribution.
> 
> Lars
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to