KB Article #178150
API Gateway throws an IOException: No such file or directory. open '/var/tmp/-bigmsg/msg-xxx.dat' failed
Problem
You receive an exception like the following:
java.io.IOException: No such file or directory. open '/var/tmp/-bigmsg//msg-0000-0-msg.dat' failed
at com.vordel.dwe.ContentBuffer.write(Native Method)
at com.vordel.system.Util.relay(Util.java:132)
at com.vordel.mime.RawBody.parse(RawBody.java:55)
at com.vordel.mime.Body.parse(Body.java:254)
at com.vordel.circuit.HTTPBodyParserProcessor.parse(HTTPBodyParserProcessor.java:17)
at com.vordel.circuit.HTTPBodyParserProcessor.invoke(HTTPBodyParserProcessor.java:30)
at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:151)
at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:43)
at com.vordel.circuit.InvocationEngine.recordCircuitInvocation(InvocationEngine.java:277)
at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.java:240)
at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:65)
at com.vordel.dwe.http.HTTPPlugin.processRequest(HTTPPlugin.java:412)
Resolution
Sometimes the gateway may fail to create the -bigmsg directory that it uses as a cache for large requests. In these cases, creating a -bigmsg directory in the temp directory indicated in the error message will resolve the problem.
For further information about how the API Gateway caches large messages, please refer to the section in the Administrator's Guide on the spilltodisk setting.