Jump to content
We've recently updated our Privacy Statement, available here ×

Using JRXlsExporter in JBoss


riesvantwisk

Recommended Posts

@all,

 

first post here...

 

I am trying to create a report in a remote object using WebORB. When I create a report using JasperExportManager like this :

 

JasperExportManager.exportReportToXmlFile(jasperPrint, "/tmp/Simple_Report.xml",true);

 

I am perfectly beable to generate a report.

 

However when I want to create a XLS using the JRXlsExporter class,

then I get a exception directly on this line :

 

JRXlsExporter exporterXLS = new JRXlsExporter();

 

Unfortunately I cannot figure out the exact exception because from WebORB I get something else back.

 

I use the folloing jar file which I put in my JBoss lib folder.

 

commons-collections-testframework-3.2.jar

commons-logging-adapters-1.1.1.jar

commons-beanutils-bean-collections.jar

commons-digester-1.8.jar

commons-logging-api-1.1.1.jar

jasperreports-2.0.4.jar

commons-beanutils-core.jar

commons-logging-1.1.1-javadoc.jar

commons-logging-tests.jar

commons-beanutils.jar

commons-logging-1.1.1-sources.jar

commons-collections-3.2.jar

commons-logging-1.1.1.jar

iText-2.0.8.jar

 

I found some where that in JBoss I had to use jasperreports-2.0.4-javaflow.jar, but then I couldn't generate a report at all...

 

 

do I need to do anything special under JBoss to use the class JRXlsExporter ???

 

thanks,

Ries van Twisk

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...