Re: existdb errors on xQueries

"Sanil, Seena via Exist-open" <[email protected]> Mon, 9 Jun 2025 23:45:58 +0000
Newsgroups gmane.text.xml.exist
Message-ID <BL1PR03MB6039D4AD3DFB2111699FF697D46BA@BL1PR03MB6039.namprd03.prod.outlook.com>
--===============8519239212923973387==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_BL1PR03MB6039D4AD3DFB2111699FF697D46BABL1PR03MB6039namp_"

--_000_BL1PR03MB6039D4AD3DFB2111699FF697D46BABL1PR03MB6039namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Also errors like this =93
exerr:ERROR The actual return type does not match the sequence type declare=
d in the function's signature: config:get-configuration() as element(config=
uration). Expected cardinality: exactly one, got 0. [at line 42, column 42,=
 source: /db/apps/eXide/controller.xq]\nIn function:\n\tconfig:get-configur=
ation() as element(configuration)=94

From: Sanil, Seena <[email protected]>
Date: Monday, June 9, 2025 at 7:44 PM
To: eXist DB ML <[email protected]>
Cc: Lubey, Brian <[email protected]>, Mulvaney, Michael <MMulvan=
[email protected]>
Subject: existdb errors on xQueries
Hello,
We are getting some errors while running xQuery=92s  all at once against ou=
r eXist database with 1.3 million files from different clients like browser=
, oxygen desktop, Postman.

The errors are =93Error while processing /exist/xmlrpc: An unknown error oc=
curred: org.apache.xmlrpc.XmlRpcException: I/O error while processing reque=
st=94. . After that, the existdb instance hosted in the the cloud is not co=
ming up. Is there a reason for this behavior? How do we avoid this in the f=
uture?

The xQuery we used are :
_query=3D//cite.bna.reference&_howmany=3D1000 , on a collection

Thanks
Seena Sanil



--_000_BL1PR03MB6039D4AD3DFB2111699FF697D46BABL1PR03MB6039namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Aptos;
	panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
	{font-family:Monaco;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:10.0pt;
	font-family:"Aptos",sans-serif;}
span.logseventstext-error
	{mso-style-name:logseventstext-error;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
span.logseventstext-error0
	{mso-style-name:logs__events__text-error;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">Also errors like th=
is =93<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:Monaco;co=
lor:#0D7D70;background:#FCFCFD">exerr:</span><span class=3D"logseventstext-=
error0"><b><span style=3D"font-size:9.0pt;font-family:Monaco;color:#DB0000;=
background:#FCFCFD">ERROR</span></b></span><span style=3D"font-size:9.0pt;f=
ont-family:Monaco;color:#0D7D70;background:#FCFCFD">
 The actual return type does not match the sequence type declared in the fu=
nction's signature: config:get-configuration() as element(configuration). E=
xpected cardinality: exactly one, got 0. [at line 42, column 42, source: /d=
b/apps/eXide/controller.xq]\nIn
 function:\n\tconfig:get-configuration() as element(configuration)=94</span=
><span style=3D"font-size:11.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p>&nbsp;</o:p></=
span></p>
<div id=3D"mail-editor-reference-message-container">
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"fon=
t-size:12.0pt;color:black">From:
</span></b><span style=3D"font-size:12.0pt;color:black">Sanil, Seena &lt;ss=
[email protected]&gt;<br>
<b>Date: </b>Monday, June 9, 2025 at 7:44 PM<br>
<b>To: </b>eXist DB ML &lt;[email protected]&gt;<br>
<b>Cc: </b>Lubey, Brian &lt;[email protected]&gt;, Mulvaney, Mic=
hael &lt;[email protected]&gt;<br>
<b>Subject: </b>existdb errors on xQueries<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Hello,</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
We are getting some errors while running xQuery=92s &nbsp;<span style=3D"co=
lor:#1D1C1D;background:#F8F8F8">all at once against our eXist database with=
 1.3 million files from</span> different clients like browser,
 oxygen desktop, Postman. </span><span style=3D"font-size:12.0pt"><o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
The errors are =93<span class=3D"logseventstext-error"><span style=3D"color=
:#DB0000;background:#F6F6F9">Error</span></span><span style=3D"color:#0D7D7=
0;background:#F6F6F9"> while processing /exist/xmlrpc:
 An unknown </span><span class=3D"logseventstext-error"><span style=3D"colo=
r:#DB0000;background:#F6F6F9">error</span></span><span style=3D"color:#0D7D=
70;background:#F6F6F9"> occurred: org.apache.xmlrpc.XmlRpcException: I/O
</span><span class=3D"logseventstext-error"><span style=3D"color:#DB0000;ba=
ckground:#F6F6F9">error</span></span><span style=3D"color:#0D7D70;backgroun=
d:#F6F6F9"> while processing request=94.
</span><span style=3D"color:black;background:#F6F6F9">. After that, the exi=
stdb instance hosted in the the cloud is not coming up. Is there a reason f=
or this behavior? How do we avoid this in the future?</span></span><span st=
yle=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;;c=
olor:black;background:#F6F6F9">&nbsp;</span><span style=3D"font-size:12.0pt=
"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;;c=
olor:black;background:#F6F6F9">The xQuery we used are :</span><span style=
=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
_query=3D//cite.bna.reference&amp;_howmany=3D1000 , on a collection</span><=
span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Thanks</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Seena Sanil</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><span =
style=3D"font-size:12.0pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><span =
style=3D"font-size:12.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_BL1PR03MB6039D4AD3DFB2111699FF697D46BABL1PR03MB6039namp_--


--===============8519239212923973387==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8519239212923973387==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open

--===============8519239212923973387==--