It might be a IO lock on the operating system level.
OPCPackage.open(fileName) opens a file handler and you *must* close
the package after you are done.

Call pkg.close() in the end and you will be good.

Yegor

On Tue, May 29, 2012 at 2:54 PM, toplinuxer <[email protected]> wrote:
> I think this problem is blocked when instantiate Class
> But see long time this problem is not blocking, but needed so many time (1
> hours)
>
> About attacked XLSX, instantiate Workbook or XSSFExcelExtractor needed
> about 1 hours. (after about 1 hours next code do their works well...)
> Similar issue is like below
> (
> http://mail-archives.apache.org/mod_mbox/poi-user/201010.mbox/%[email protected]%3E
> )
>
>
> How can I solve this performance issue.
>
> I need a timeout or make a short the latency when instantiate
>
> --
> View this message in context: 
> http://apache-poi.1045710.n5.nabble.com/POI-XLSX-Blocked-when-instantiate-of-XSSFExcelExtractor-or-XSSFWorkbook-tp5709878p5709982.html
> Sent from the POI - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to