Hi,
I am using the POI 3.6 in UNIX system. While running manually there is no
exceptions. But we have created one batch. It will run the loading of Excel
Spread sheet every mid night. While running with batch we are facing the
below exception. Please let me know how to resolve this.
Loading Data to Workbook...Process Started: Mon Jan 17 20:00:36 CST 2011
IOException in IRFtpUtil: /tmp/poifiles/poi-ooxml-1796018298.tmp (Permission
denied)
java.io.FileNotFoundException: /tmp/poifiles/poi-ooxml-1796018298.tmp
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:49)
at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:176)
at
com.express_scripts.affinium.mpd.TransitionPMVariablesLoad.ReadSheet(TransitionPMVariablesLoad.java:147)
at
com.express_scripts.affinium.mpd.TransitionPMVariablesLoad.main(TransitionPMVariablesLoad.java:334)
java.lang.Exception: /tmp/poifiles/poi-ooxml-1796018298.tmp (Permission
denied)
at
com.express_scripts.affinium.mpd.TransitionPMVariablesLoad.ReadSheet(TransitionPMVariablesLoad.java:156)
at
com.express_scripts.affinium.mpd.TransitionPMVariablesLoad.main(TransitionPMVariablesLoad.java:334)
Thanks
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/InvalidOperationException-POI-cannot-read-temp-file-tp3321489p3346392.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]