Hello Dear Geert,

Here is the complete error in attached

Cheers

Gaël.
-- 
Eng, OCADB, CCAH
[email protected]
skype id : yimen.gael
(m) +33 7 81 67 78 23
http://yimengael.blogspot.fr/

2015-11-30 17:25 GMT+01:00 Geert Josten <[email protected]>:

> Hi Gaël,
>
> Can you share the full stack trace?
>
> Kind regards,
> Geert
>
> From: <[email protected]> on behalf of Gaël YIMEN <
> [email protected]>
> Reply-To: MarkLogic Developer Discussion <[email protected]>
> Date: Monday, November 30, 2015 at 11:49 AM
> To: MarkLogic Developer Discussion <[email protected]>
> Subject: [MarkLogic Dev General] A problem with appservices
>
> Hello Team,
>
> I'm facing an issue whe launching the following link :
> http://127.0.0.1:8000/appservices/.
> I got the following message
> Let se the picture attached.
>
> =====
>
> <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-LEXVAL</error:code>
>   <error:name/>
>   <error:xquery-version>1.0-ml</error:xquery-version>
>   <error:message>Invalid lexical value</error:message>
>   <error:format-string>XDMP-LEXVAL: db:database-id("") -- Invalid lexical 
> value ""</error:format-string>
>   <error:retryable>false</error:retryable>
>   <error:expr>db:database-id("")</error:expr>
>   <error:data>
>     <error:datum>""</error:datum>
>   </error:data>
>
> .....
> =====
>
> [image: Images intégrées 1]
>
> Gaël.
> --
> Eng, OCADB, CCAH
> [email protected]
> skype id : yimen.gael
> (m) +33 7 81 67 78 23
> http://yimengael.blogspot.fr/
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
<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-LEXVAL</error:code>
  <error:name/>
  <error:xquery-version>1.0-ml</error:xquery-version>
  <error:message>Invalid lexical value</error:message>
  <error:format-string>XDMP-LEXVAL: db:database-id("") -- Invalid lexical value 
""</error:format-string>
  <error:retryable>false</error:retryable>
  <error:expr>db:database-id("")</error:expr>
  <error:data>
    <error:datum>""</error:datum>
  </error:data>
  <error:stack>
    <error:frame>
      <error:line>5</error:line>
      <error:column>63</error:column>
      <error:operation>xdmp:eval("&amp;#10;                         declare 
namespace db=&amp;quot;http://...";, (fn:QName("","db-config"), &lt;databases 
xsi:schemaLocation="http://marklogic.com/xdmp/database database.xsd" 
xml:lang="zxx" timestamp="14488724401880000" 
xmlns="http://marklogic.com/xdmp/database"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;database&gt;&lt;database-name&gt;Documents&lt;/database-name&gt;&lt;database-id&gt;7...&lt;/databases&gt;,
 fn:QName("","database-id"), ...))</error:operation>
      
<error:context-item>fn:doc("")/db:databases/db:database[11]</error:context-item>
      <error:context-position>11</error:context-position>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/MarkLogic/admin.xqy</error:uri>
      <error:line>14192</error:line>
      <error:column>4</error:column>
      <error:operation>admin-eval("&amp;#10;                         declare 
namespace db=&amp;quot;http://...";, (fn:QName("","db-config"), &lt;databases 
xsi:schemaLocation="http://marklogic.com/xdmp/database database.xsd" 
xml:lang="zxx" timestamp="14488724401880000" 
xmlns="http://marklogic.com/xdmp/database"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;database&gt;&lt;database-name&gt;Documents&lt;/database-name&gt;&lt;database-id&gt;7...&lt;/databases&gt;,
 fn:QName("","database-id"), ...), ())</error:operation>
      <error:variables>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>xquery</error:name>
          <error:value>"&amp;#10;                         declare namespace 
db=&amp;quot;http://...";</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="http://marklogic.com/xdmp/admin";>vars</error:name>
          <error:value>(fn:QName("","db-config"), &lt;databases 
xsi:schemaLocation="http://marklogic.com/xdmp/database database.xsd" 
xml:lang="zxx" timestamp="14488724401880000" 
xmlns="http://marklogic.com/xdmp/database"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;database&gt;&lt;database-name&gt;Documents&lt;/database-name&gt;&lt;database-id&gt;7...&lt;/databases&gt;,
 fn:QName("","database-id"), ...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>options</error:name>
          <error:value>()</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/MarkLogic/admin.xqy</error:uri>
      <error:line>15223</error:line>
      <error:column>7</error:column>
      <error:operation>database-get-value(&lt;configuration/&gt;, 
db:database-id("7544784379893211992"), "db:enabled")</error:operation>
      <error:variables>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>config</error:name>
          <error:value>&lt;configuration/&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>database-id</error:name>
          <error:value>db:database-id("7544784379893211992")</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="http://marklogic.com/xdmp/admin";>name</error:name>
          <error:value>"db:enabled"</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>db-config</error:name>
          <error:value>&lt;databases 
xsi:schemaLocation="http://marklogic.com/xdmp/database database.xsd" 
xml:lang="zxx" timestamp="14488724401880000" 
xmlns="http://marklogic.com/xdmp/database"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;database&gt;&lt;database-name&gt;Documents&lt;/database-name&gt;&lt;database-id&gt;7...&lt;/databases&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="http://marklogic.com/xdmp/admin";>valid</error:name>
          <error:value>()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="http://marklogic.com/xdmp/admin";>s</error:name>
          <error:value>"&amp;#10;                         declare namespace 
db=&amp;quot;http://...";</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/MarkLogic/admin.xqy</error:uri>
      <error:line>5611</error:line>
      <error:column>16</error:column>
      <error:operation>admin:database-get-enabled(&lt;configuration/&gt;, 
db:database-id("7544784379893211992"))</error:operation>
      <error:variables>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>config</error:name>
          <error:value>&lt;configuration/&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/xdmp/admin";>database-id</error:name>
          <error:value>db:database-id("7544784379893211992")</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/MarkLogic/appservices/utils/common-amped.xqy</error:uri>
      <error:line>200</error:line>
      <error:column>30</error:column>
      
<error:operation>amped-common:appservices-get-potential-database-ids()</error:operation>
      <error:variables>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>config</error:name>
          <error:value>&lt;configuration/&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>dbIds</error:name>
          <error:value>(db:database-id("7544784379893211992"), 
db:database-id("10231370003296769044"), db:database-id("10092928434196180665"), 
...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>appServers</error:name>
          <error:value>(http-server-id("2611891706190670192"), 
http-server-id("3319793706172385612"), http-server-id("462519577258563736"), 
...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>asdbsInUse</error:name>
          <error:value>(xs:unsignedLong("7544784379893211992"), 
xs:unsignedLong("8590938131224851040"), 
xs:unsignedLong("10231370003296769044"), ...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>nonWebDavAppServers</error:name>
          <error:value>(http-server-id("2611891706190670192"), 
http-server-id("3319793706172385612"), http-server-id("462519577258563736"), 
...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>mdbsInUse</error:name>
          <error:value>(xs:unsignedLong("10092928434196180665"), 
xs:unsignedLong("0"), xs:unsignedLong("0"), ...)</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>dbId</error:name>
          <error:value>db:database-id("7544784379893211992")</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>dbName</error:name>
          <error:value>"Documents"</error:value>
        </error:variable>
        <error:variable>
          <error:name 
xmlns="http://marklogic.com/appservices/util-amped";>attached</error:name>
          <error:value>fn:true()</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/appservices.xqy</error:uri>
      <error:line>21</error:line>
      <error:column>44</error:column>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/appservices.xqy</error:uri>
      <error:line>128</error:line>
      <error:column>32</error:column>
      <error:variables>
        <error:variable>
          <error:name xmlns="">infostudio-role</error:name>
          <error:value>fn:true()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">appbuilder-role</error:name>
          <error:value>fn:true()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">view-admin-role</error:name>
          <error:value>fn:true()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">rest-admin-role</error:name>
          <error:value>fn:true()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">projects</error:name>
          <error:value>()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">fids</error:name>
          <error:value>()</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newFlowButton</error:name>
          <error:value>&lt;span class="new-flow   button add-icon icon 
small"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newAppButton</error:name>
          <error:value>&lt;span class="new-project tooltip  button add-icon 
icon small" title="Create a new application using your own database and 
content"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newAppButtonWelcome</error:name>
          <error:value>&lt;span class="new-project   button add-icon icon 
small"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newSampleAppButton</error:name>
          <error:value>&lt;span class="new-sample-project tooltip  button 
add-icon icon small" title="Create an example application using the Oscars 
award 
content"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newSampleAppButtonWelcome</error:name>
          <error:value>&lt;span class="new-sample-project   button add-icon 
icon 
small"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
        <error:variable>
          <error:name xmlns="">newDatabase</error:name>
          <error:value>&lt;span class="new-database   button add-icon icon 
small"&gt;&lt;s&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/s&gt;&lt;b&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/b&gt;&lt;i&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;&lt;/i&gt;&lt;a
 c...&lt;/span&gt;</error:value>
        </error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
  </error:stack>
</error:error>

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

Reply via email to