Torrential rain on Java is threatening to cut off traffic on the main coastal road, upon which recovery efforts depend.