On Fri, 5 Jun 2015, donli wrote:
System.out.println("Start to parse DOC file.");
POIFSFileSystem fs = new POIFSFileSystem(u.openStream());
System.out.println("File opened.");
I run this code in a loop, open the word document and parse the document.
Sometimes the code stopped at new POIFSFileSystem(u.openStream()) without
any warnings and errors for several hours. I have to restart the program.
Try with NPOIFSFileSystem. Also, try spooling the remote stream to a file
and read from there, in case it's your remote server timing out
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]