[MarkLogic Dev General] MLJAM: Socket receive error timeout

2015-01-31 Thread Vipitha Kapildas
Hi, I am integrating java code inside MarkLogic to convert some EBCDIC files to ASCII using MLJAM. Apache Tomcat 7.0 is being used as the server. The code is running fine for small files, but for huge file processing, MarkLogic is throwing an error as SVC-SOCRECV:

[MarkLogic Dev General] XDMP-PLACEKEYSLOCKING: …Fast locking cannot be used with place keys.

2015-01-31 Thread Ardal Powell
Hi all, I'm getting the above error on running an xdmp:document-load in one of the modules in the MarkLogic Dev II course. All the other modules run OK. The error persists after locking on the databases, top-sopngs-dev, ...modules, and ...triggers is set to Strict. The offending lines are:

Re: [MarkLogic Dev General] MLJAM: Socket receive error timeout

2015-01-31 Thread Danny Sokolsky
You can try adding an xdmp:set-request-time-limit to increase the time limit for that query. Try something like this: xdmp:set-request-time-limit(600), xdmp:http-post(http://localhost:8080/mljam/mljam/local/eval;) -Danny From: general-boun...@developer.marklogic.com

Re: [MarkLogic Dev General] XDMP-PLACEKEYSLOCKING: …Fast locking cannot be used with place keys.

2015-01-31 Thread Ardal Powell
Thanks, Danny. That was it. I set locking to Strict wherever I could find a setting, which was in the three Top-songs entries in Configure / Databases in the Admin console. Ardal On Jan 31, 2015, at 9:02 PM, Danny Sokolsky wrote: Hi Ardal, Remove the forests element from your options

Re: [MarkLogic Dev General] XDMP-PLACEKEYSLOCKING: …Fast locking cannot be used with place keys.

2015-01-31 Thread Danny Sokolsky
Hi Ardal, Remove the forests element from your options node and that error will go away. Since we introduced the latest forest placement algorithms in MarkLogic 7, most of the time it is a bad idea to choose your own forest. I thought setting locking to strict for that database would make this