From: <nat...@fr...> - 2013-04-14 09:55:44
|
Hi, I'm on a windows server 2008 R2 OS. In order to reproduce it, you could send simultaneously queries which take a few seconds to respond via rest api with the default jetty server in eXist 2.0 release. The problem doesn't appear during the first query calls but appears after multiple concurrent requests. (2 minutes in our case) one thing which is very strange is the fact that in Chrome Developer tool, we can check that the http request is well formed but when request parameters are retrieved from xquery code, previous query parameters which haven't yet returned are concated to the last one. Maybe a problem with multi-threading and concurrent access to specific resources? Do you need other details? maybe developper tools profiler extraction? Cheers, Nathan ----- Mail original ----- De: "Dmitriy Shabanov" <sha...@gm...> À: "nathan courtial" <nat...@fr...> Cc: "exist-open" <exi...@li...> Envoyé: Vendredi 12 Avril 2013 19:29:13 Objet: Re: [Exist-open] Mass injection returns error 400 occasionally on Win server 2008 R2 Can you give example to reproduce that error? On Fri, Apr 12, 2013 at 12:17 PM, nathan courtial < nat...@fr... > wrote: After integrating eXist-db 2.0 release, we have the same problems about the error : ERROR An IO exception occurred: ..\..\..\tools\jetty\tmp\_mmtfm_434044f4-44d6-483c-a46a-661a2af7eb04\mmtf_13655139050799134951161323633395.tmp (The system cannot find the path specified) [at line 14, column 24] We have another error linked to a jetty problem. When we access the database with concurrent Rest requests, Request:get-data concats or truncates the body of two of them. The error generated is as follows : <?xml version="1.0" ?><exception><path>/db/storedXQueries/invoice_srv.xqy</path><message>exerr:ERROR cannot convert xs:string('<HTTPCall> <Method name="GetCustomers"> <Parameters> <parameter name="LocalTimeZone" value="PT2H"/> <parameter name="LocaleChain" value="en"/> <parameter name="UserLogin" value="gja"/> <parameter name="BusinessGroup" value="SAPRD1"/> </Parameters> </Method> </HTTPCall><HTTPCall> <Method name="GetCustomers"> <Parameters> <parameter name="LocalTimeZone" value="PT2H"/> <parameter name="LocaleChain" value="en"/> <parameter name="UserLogin" value="gja"/> <parameter name="BusinessGroup" value="SAPRD1"/> </Parameters> </Method> </HTTPCall>') to a node set</message></exception> Please would you have any idea about how to solve this problem? -- Dmitriy Shabanov |