You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by François Jannin <fr...@etu.enseeiht.fr> on 2004/09/27 10:21:08 UTC
loading xml from webdav
Hi,
I use cocoon 2.5.1 with java 1.4.2_05 on Debian platform, with Tomcat
5.5.0 as servlet engine.
I've tried to use Cocoon with Slide server, following the Cocoon samples
about webdav blocks.
Retrieving directories and file names works fine, but concerning file
contents, i can't read xml file in the same way as samples describe ;
Omitting a generator type as follow :
<map:generate src="{global:staging}{request-param:path}/{1}.xml" />
brings me the following exception :
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.net.MalformedURLException: unknown protocol: webdav
(global staging contains "webdav://mywebdavurl/slide/")
Please could someone help me to find what generator types i could use to
load files from Slide ?
thanks all
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: loading xml from webdav
Posted by Guido Casper <gc...@s-und-n.de>.
François Jannin wrote:
> Hi,
>
> I use cocoon 2.5.1 with java 1.4.2_05 on Debian platform, with Tomcat
> 5.5.0 as servlet engine.
>
> I've tried to use Cocoon with Slide server, following the Cocoon samples
> about webdav blocks.
> Retrieving directories and file names works fine, but concerning file
> contents, i can't read xml file in the same way as samples describe ;
> Omitting a generator type as follow :
>
> <map:generate src="{global:staging}{request-param:path}/{1}.xml" />
>
> brings me the following exception :
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.net.MalformedURLException: unknown protocol: webdav
Can you please check that your cocoon.xconf contains the following entry?
<component-instance
class="org.apache.cocoon.components.source.impl.WebDAVSourceFactory"
name="webdav"/>
Guido
>
> (global staging contains "webdav://mywebdavurl/slide/")
>
> Please could someone help me to find what generator types i could use to
> load files from Slide ?
>
> thanks all
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: loading xml from webdav
Posted by Tony Edwards <te...@civica.com.au>.
Hello François,
I use webdav to store a bunch of xml files for our help/documentation
system.
I had a similar problem but I solved by using http://webdav/slide/ as
well as webdav://...!!
If you're getting errors with the webdav: protocol, try using http:
I'll dig through my code and work out when I use which one and why!
Regards,
Tony
François Jannin wrote:
> Hi,
>
> I use cocoon 2.5.1 with java 1.4.2_05 on Debian platform, with Tomcat
> 5.5.0 as servlet engine.
>
> I've tried to use Cocoon with Slide server, following the Cocoon samples
>
> about webdav blocks.
> Retrieving directories and file names works fine, but concerning file
> contents, i can't read xml file in the same way as samples describe ;
> Omitting a generator type as follow :
>
> <map:generate src="{global:staging}{request-param:path}/{1}.xml" />
>
> brings me the following exception :
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.net.MalformedURLException: unknown protocol: webdav
>
> (global staging contains "webdav://mywebdavurl/slide/")
>
> Please could someone help me to find what generator types i could use to
>
> load files from Slide ?
>
> thanks all
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org