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: [email protected] 
[mailto:[email protected]] On Behalf Of Vipitha Kapildas
Sent: Saturday, January 31, 2015 6:15 AM
To: [email protected]
Subject: [MarkLogic Dev General] MLJAM: Socket receive error timeout


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: xdmp:http-post("http://localhost:8080/mljam/mljam/local/eval";, 
adminadmin) -- Socket receive error: wait 10.78.14.16:63085-10.76.81.81:8080: 
Timeout (decodeResponseLine1)"



As per my understanding, I need to increase the socket receive timeout period 
for the Apache server.

Please guide with the steps as how to do it if I am not wrong.



Thanks,

Vipitha




**************** CAUTION - Disclaimer *****************

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient, please

notify the sender by e-mail and delete the original message. Further, you are 
not

to copy, disclose, or distribute this e-mail or its contents to any other 
person and

any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken

every reasonable precaution to minimize this risk, but is not liable for any 
damage

you may sustain as a result of any virus in this e-mail. You should carry out 
your

own virus checks before opening the e-mail or attachment. Infosys reserves the

right to monitor and review the content of all messages sent to or from this 
e-mail

address. Messages sent to or from this e-mail address may be stored on the

Infosys e-mail system.

***INFOSYS******** End of Disclaimer ********INFOSYS***


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to