Hi Puneet, The 5-minute rest guide is unrelated to Roxy, and Roxy is not part of the installation of MarkLogic. Can you be more specific to which code you are referring?
The roxy rewrite error seems to indicate you are working with a Roxy Hybrid project. Can you confirm? Cheers, Geert From: Yinyan guy <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Saturday, April 18, 2015 at 1:17 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] XDMP-UNDFUN: (err:XPST0017) Undefined function conf:rewrite() Hi All, Re bouncing this post to see if any one has seen this issue before. I tried creating a new roxy application and I got the same error. Any tips would be helpful. regards, Puneet ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Date: Fri, 17 Apr 2015 18:55:34 +0530 Subject: [MarkLogic Dev General] XDMP-UNDFUN: (err:XPST0017) Undefined function conf:rewrite() 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("&#10; import module namespace conf = &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 _______________________________________________ General mailing list [email protected]<mailto:[email protected]> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
