[MarkLogic Dev General] sessions disabled in CQ for Marklogic 4.0

Cathy Bernardone cbernard at aip.org
Tue Oct 28 12:09:46 PST 2008


We have installed Marklogic 4.0 and CQ for 4.0 as well. However, when  
running CQ, sessions remained disabled.  Our directories have proper  
permissions for anyone to access them.  Below is the error message we  
get when clicking on "sessions disabled".  Help would be greatly  
appreciated.

Cathy





WARNING: sessions have been disabled, because of an error.


          Perhaps you have disabled sessions for this instance of cq.
          If so, you can ignore this and return to cq.



            You are running cq from the filesystem.
            Make sure that the directory /cq/sessions/
            exists, and that MarkLogic Server can write to it.


The complete error message follows:

<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-AS</error:code>
  <error:name>err:XPTY0004</error:name>
  <error:xquery-version>0.9-ml</error:xquery-version>
  <error:message>Invalid coercion</error:message>
  <error:format-string>XDMP-AS: (err:XPTY0004) $d as  
xdt:dayTimeDuration -- Invalid coercion:  
xs:dayTimeDuration("P14180DT19H42M45.600414S") as xdt:dayTimeDuration</ 
error:format-string>
  <error:retryable>false</error:retryable>
  <error:expr>$d as xdt:dayTimeDuration</error:expr>
  <error:data>
    <error:datum>xs:dayTimeDuration("P14180DT19H42M45.600414S")</ 
error:datum>
    <error:datum>xdt:dayTimeDuration</error:datum>
  </error:data>
  <error:stack>
    <error:frame>
      <error:uri>/cq/lib-xquery.xqy</error:uri>
      <error:line>45</error:line>
      <error:operation>x:cumulative-seconds-from- 
duration(xs:dayTimeDuration("P14180DT19H42M45.600414S"))</ 
error:operation>
      <error:xquery-version>0.9-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-xquery.xqy</error:uri>
      <error:line>58</error:line>
      <error:operation>x:get-epoch- 
seconds(xs:dateTime("2008-10-28T15:42:45.600414-04:00"))</ 
error:operation>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.xquery">dt</error:name>
	  <error:value>xs:dateTime("2008-10-28T15:42:45.600414-04:00")</ 
error:value>
	</error:variable>
      </error:variables>
      <error:xquery-version>0.9-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-xquery.xqy</error:uri>
      <error:line>66</error:line>
      <error:operation>x:get-epoch-seconds()</error:operation>
      <error:xquery-version>0.9-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-io.xqy</error:uri>
      <error:line>410</error:line>
      <error:operation>io:get-conflicting-locks("/cq/sessions/ 
d064d36f04973c13.xml", (), "admin at 10.0.104.139")</error:operation>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.io">uri</error:name>
	  <error:value>"/cq/sessions/d064d36f04973c13.xml"</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.io">limit</error:name>
	  <error:value>()</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.io">owner</error:name>
	  <error:value>"admin at 10.0.104.139"</error:value>
	</error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-controller.xqy</error:uri>
      <error:line>306</error:line>
      <error:operation>c:get-conflicting-locks("/cq/sessions/ 
d064d36f04973c13.xml", ())</error:operation>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">uri</ 
error:name>
	  <error:value>"/cq/sessions/d064d36f04973c13.xml"</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">limit</ 
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>/cq/lib-controller.xqy</error:uri>
      <error:line>298</error:line>
      <error:operation>c:get-conflicting-locks("/cq/sessions/ 
d064d36f04973c13.xml")</error:operation>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">uri</ 
error:name>
	  <error:value>"/cq/sessions/d064d36f04973c13.xml"</error:value>
	</error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-controller.xqy</error:uri>
      <error:line>331</error:line>
      <error:operation>c:get-sessions(true())</error:operation>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">check- 
conflicting</error:name>
	  <error:value>true()</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">i</ 
error:name>
	  <error:value>&lt;session id="d064d36f04973c13"  
xmlns="com.marklogic.developer.cq.session"&gt;&lt;sec:user xmlns:sec="http://marklogic.com/xdmp/security 
"&gt;admin&lt;/...&lt;/session&gt;</error:value>
	</error:variable>
      </error:variables>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-controller.xqy</error:uri>
      <error:line>315</error:line>
      <error:operation>c:get-available-sessions()</error:operation>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-controller.xqy</error:uri>
      <error:line>377</error:line>
      <error:operation>c:get-last-session()</error:operation>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
    <error:frame>
      <error:uri>/cq/lib-controller.xqy</error:uri>
      <error:line>240</error:line>
      <error:variables>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">d</ 
error:name>
	  <error:value>()</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">session</ 
error:name>
	  <error:value>()</error:value>
	</error:variable>
	<error:variable>
	  <error:name xmlns="com.marklogic.developer.cq.controller">d</ 
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>/cq/session.xqy</error:uri>
      <error:line>62</error:line>
      <error:xquery-version>1.0-ml</error:xquery-version>
    </error:frame>
  </error:stack>
</error:error>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20081028/281d97fe/attachment.html


More information about the General mailing list