cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido Casper <gcas...@s-und-n.de>
Subject Re: problem with dasl query
Date Fri, 08 Oct 2004 15:14:30 GMT
Are you using Tomcat? I THINK this may be caused by wrong version of XML 
libraries. Try putting Cocoon's xalan, xerces and xml-api jars into 
endorsed lib directory.

HTH
Guido


Francois Jannin wrote:
> Hi all,
> 
> I want to make DASL queries following the cocoon 2.1 samples and I got a 
> NullPointerException in return.
> 
> my sample-based query looks like :
> 
> <dasl:query xmlns:dasl="http://cocoon.apache.org/webdav/dasl/1.0"
>  target="webdav://localhost:8080/slide/">
> <D:searchrequest xmlns:D="DAV:">
>  <D:basicsearch>
>    <D:select>
>      <D:allprop/>
>    </D:select>
>    <D:from>
>      <D:scope>
>        <D:href>slide</D:href>
>        <D:depth>infinity</D:depth>
>      </D:scope>
>    </D:from>
>  </D:basicsearch>
> </D:searchrequest>
> </dasl:query>
> 
> And in my sitemap :
> 
> <map:match pattern="DASLProp">
>                <map:generate src="context://injac/queries/test-dasl.xml" />
>                <map:transform type="dasl" />
>                <map:serialize type="xml"/>
> </map:match>
> 
> Exception message is not very explicit :
> 
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
> org.apache.cocoon.ProcessingException: Could not read resource 
> file:/E:/Java/jakarta-tomcat-5.0.28/webapps/cocoon/injac/queries/test-dasl.xml: 
> java.lang.NullPointerException
> 
> 
> Thanks for any suggestions, i'm really stuck.
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message