Hi All,I am trying the rest-5min-guide sample project installed with database. 
I am using Marklogic 8.0.2 on mac. While trying to deploy the code after 
bootstrap(ing) the roxy project, I get the following error








ERROR: 500 "Internal Server Error"
ERROR: <error:error xsi:schemaLocation="http://marklogic.com/xdmp/error 
error.xsd" xmlns:error="http://marklogic.com/xdmp/error"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <error:code>XDMP-UNDFUN</error:code>
  <error:name>err:XPST0017</error:name>
  <error:xquery-version>1.0-ml</error:xquery-version>
  <error:message>Undefined function</error:message>
  <error:format-string>XDMP-UNDFUN: (err:XPST0017) Undefined function 
conf:rewrite()</error:format-string>
  <error:retryable>false</error:retryable>
  <error:expr> </error:expr>
  <error:data>
    <error:datum>conf:rewrite()</error:datum>
  </error:data>
  <error:stack>
    <error:frame>
      <error:line>7</error:line>
      <error:column>9</error:column>
      <error:operation>xdmp:eval("&amp;#10;        import module namespace conf 
= &amp;quot;http://marklog...";, (fn:QName("","method"), "PUT", 
fn:QName("","uri"), ...))</error:operation>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/roxy/rewrite.xqy</error:uri>
      <error:line>40</error:line>
      <error:column>6</error:column>
      <error:variables>
        <error:variable>
          <error:name xmlns="">uri</error:name>
          <error:value>"/v1/config/properties"</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">method</error:name>
          <error:value>"PUT"</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">path</error:name>
          <error:value>"/v1/config/properties"</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">final-uri</error:name>
          <error:value>()</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
  </error:stack>
</error:error> I haven't modified any of the files. I tried going to the line 
40 of the /roxy/rewrite.xqy file but the did not find anything unusual 
(Attaching the file). 
Any tips on finding out the reason would be helpful.regards,Puneet

                                          

Attachment: rewrite.xqy
Description: Binary data

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to