Bug 28040 - no response when new HSSFWorkbook in stateless session bean
Summary: no response when new HSSFWorkbook in stateless session bean
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-FINAL
Hardware: PC All
: P3 critical with 4 votes (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 07:03 UTC by wang liang
Modified: 2008-05-08 22:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wang liang 2004-03-30 07:03:35 UTC
I have the following codes, it works in simple class, but not in stateless 
session bean at all, and NO any exception thrown:

try{
String fileName = "d:/kk.xls";
HSSFWorkbook wb = new HSSFWorkbook(new POIFSFileSystem(new FileInputStream
(fileName)));
}
catch(Exception e){
  System.out.println("Hello, POI");
};

System.out.println("Hello, POI");


There is no even sigle "Hello, POI" printed.
Comment 1 Josh Micich 2008-05-08 22:55:32 UTC
There is little evidence to suggest POI would behave differently whether called from a simple java prog or any complex container.  The problem was in/near the session bean.