Re: existdb errors on xQueries
Joe Wicentowski <[email protected]> Tue, 10 Jun 2025 11:10:32 -0400
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAHwerk3w0fY8HhX9-t3tKs1eMTTz8ta0pAsAY6r7=smukCrc4g@mail.gmail.com> |
--===============6043596337998034521== Content-Type: multipart/alternative; boundary="000000000000c08223063739192f" --000000000000c08223063739192f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Seena, To help others here who may be able provide suggestions or answers, let me quote from Juri's reply to your previous question [1]: It would help a lot to know the version of the eXist-db instance you are > working with... This information, along with operating system and java > version is generally helpful when posting questions here. Could you please provide this contextual information to give us a better perspective on your situation? Thanks, Joe [1] https://sourceforge.net/p/exist/mailman/exist-open/thread/70cabacc-a5a7-4fe= c-92d0-584151999ad0%40existsolutions.com/#msg59185883 On Tue, Jun 10, 2025 at 9:09=E2=80=AFAM Sanil, Seena via Exist-open < [email protected]> wrote: > Also errors like this =E2=80=9C > > exerr:*ERROR* The actual return type does not match the sequence type > declared in the function's signature: config:get-configuration() as > element(configuration). Expected cardinality: exactly one, got 0. [at lin= e > 42, column 42, source: /db/apps/eXide/controller.xq]\nIn > function:\n\tconfig:get-configuration() as element(configuration)=E2=80= =9D > > > > *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 < > [email protected]> > *Subject: *existdb errors on xQueries > > Hello, > > We are getting some errors while running xQuery=E2=80=99s all at once ag= ainst > our eXist database with 1.3 million files from different clients like > browser, oxygen desktop, Postman. > > > > The errors are =E2=80=9CError while processing /exist/xmlrpc: An unknown = error > occurred: org.apache.xmlrpc.XmlRpcException: I/O error while processing > request=E2=80=9D. . After that, the existdb instance hosted in the the cl= oud is > not coming up. Is there a reason for this behavior? How do we avoid this = in > the future? > > > > The xQuery we used are : > > _query=3D//cite.bna.reference&_howmany=3D1000 , on a collection > > > > Thanks > > Seena Sanil > > > > > _______________________________________________ > Exist-open mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/exist-open > --000000000000c08223063739192f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Seena,<div><br></div><div>To help others here who may b= e able provide suggestions or answers, let me quote from Juri's reply t= o your previous question [1]:</div><div><br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">It would help a lot to know the version of the eXi= st-db instance you are working with... This information, along with operati= ng system and java version is generally helpful when posting questions here= .</blockquote><div><br></div><div>Could you please provide this contextual = information to give us a better perspective on your situation?</div><div><b= r></div><div>Thanks,</div><div>Joe</div><div><br></div><div>[1]=C2=A0<a hre= f=3D"https://sourceforge.net/p/exist/mailman/exist-open/thread/70cabacc-a5a= 7-4fec-92d0-584151999ad0%40existsolutions.com/#msg59185883" target=3D"_blan= k">https://sourceforge.net/p/exist/mailman/exist-open/thread/70cabacc-a5a7-= 4fec-92d0-584151999ad0%40existsolutions.com/#msg59185883</a></div></div><br= ><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, J= un 10, 2025 at 9:09=E2=80=AFAM Sanil, Seena via Exist-open <<a href=3D"m= ailto:[email protected]" target=3D"_blank">exist-open@lists.= sourceforge.net</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex"><div> <div lang=3D"EN-US"> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11pt">Also errors like this= =E2=80=9C<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:9pt;font-family:Monaco;colo= r:rgb(13,125,112);background:rgb(252,252,253)">exerr:</span><span><b><span = style=3D"font-size:9pt;font-family:Monaco;color:rgb(219,0,0);background:rgb= (252,252,253)">ERROR</span></b></span><span style=3D"font-size:9pt;font-fam= ily:Monaco;color:rgb(13,125,112);background:rgb(252,252,253)"> The actual return type does not match the sequence type declared in the fu= nction's signature: config:get-configuration() as element(configuration= ). Expected cardinality: exactly one, got 0. [at line 42, column 42, source= : /db/apps/eXide/controller.xq]\nIn function:\n\tconfig:get-configuration() as element(configuration)=E2=80=9D= </span><span style=3D"font-size:11pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><= /span></p> <div id=3D"m_6472456731404637975m_8873157067054646233m_4530281738711039407m= ail-editor-reference-message-container"> <div> <div> <div style=3D"border-right:none;border-bottom:none;border-left:none;border-= top:1pt solid rgb(181,196,223);padding:3pt 0in 0in"> <p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><b><span style=3D"font-= size:12pt;color:black">From: </span></b><span style=3D"font-size:12pt;color:black">Sanil, Seena <<a h= ref=3D"mailto:[email protected]" target=3D"_blank">ssanil@bloomb= ergindustry.com</a>><br> <b>Date: </b>Monday, June 9, 2025 at 7:44 PM<br> <b>To: </b>eXist DB ML <<a href=3D"mailto:[email protected]= et" target=3D"_blank">[email protected]</a>><br> <b>Cc: </b>Lubey, Brian <<a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a>>, Mulvaney, Michael = <<a href=3D"mailto:[email protected]" target=3D"_blank">MM= [email protected]</a>><br> <b>Subject: </b>existdb errors on xQueries<u></u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= Hello,</span><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= We are getting some errors while running xQuery=E2=80=99s =C2=A0<span style= =3D"color:rgb(29,28,29);background:rgb(248,248,248)">all at once against ou= r eXist database with 1.3 million files from</span> different clients like = browser, oxygen desktop, Postman. </span><span style=3D"font-size:12pt"><u></u><u><= /u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0</span><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= The errors are =E2=80=9C<span><span style=3D"color:rgb(219,0,0);background:= rgb(246,246,249)">Error</span></span><span style=3D"color:rgb(13,125,112);b= ackground:rgb(246,246,249)"> while processing /exist/xmlrpc: An unknown </span><span><span style=3D"color:rgb(219,0,0);background:rgb(2= 46,246,249)">error</span></span><span style=3D"color:rgb(13,125,112);backgr= ound:rgb(246,246,249)"> occurred: org.apache.xmlrpc.XmlRpcException: I/O </span><span><span style=3D"color:rgb(219,0,0);background:rgb(246,246,249)"= >error</span></span><span style=3D"color:rgb(13,125,112);background:rgb(246= ,246,249)"> while processing request=E2=80=9D. </span><span style=3D"color:black;background:rgb(246,246,249)">. After that= , the existdb instance hosted in the the cloud is not coming up. Is there a= reason for this behavior? How do we avoid this in the future?</span></span= ><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:black;background:rgb(246,246,249)">=C2=A0</span><span style=3D"font-si= ze:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:black;background:rgb(246,246,249)">The xQuery we used are :</span><spa= n style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= _query=3D//cite.bna.reference&_howmany=3D1000 , on a collection</span><= span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0</span><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= Thanks</span><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= Seena Sanil</span><span style=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt">=C2=A0</span><span st= yle=3D"font-size:12pt"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt">=C2=A0</span><span st= yle=3D"font-size:12pt"><u></u><u></u></span></p> </div> </div> </div> </div> </div> </div> _______________________________________________<br> Exist-open mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Exist= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/exist-open" rel=3D"= noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/= exist-open</a><br> </div></blockquote></div> --000000000000c08223063739192f-- --===============6043596337998034521== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6043596337998034521== 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 --===============6043596337998034521==--