Jump to content
JasperReports Library 7.0 is now available ×

unable to load .jasper subreport in unix


Recommended Posts

By: Subhashini Sekar - ss161213

unable to load .jasper subreport in unix

2006-03-29 06:45

We are using jasper for generate reports.

we have created jrxml via iReport.

 

We have written a servlet which will create the report on the fly.

 

My application is working fine when i run it in Windows environment. we are using oracle app server. But the same thing is not workin with Unix.

 

it says unable to load <xxxx.jasper> in the following method call.

 

JasperFillManager.fillReport(report, parameters,conn);

 

one more query is the xml created by iReport is in UTF-8 format how can i convert that into UTF-16 format

 

 

By: Daren O - rckrll106

RE: unable to load .jasper subreport in unix

2006-03-29 07:05

First, I'm assuming you've compiled the jrxml and the jasper is in a directory on your unix machine.

 

I'm also assuming your passing the file name to the fillReport call?

 

If so, my initial thought is to check your file path.

 

I use a system property set to the jasper report directory. On our unix machines we change the system property to point to the correct location.

 

Hope this helps.

Link to comment
Share on other sites

  • Replies 0
  • 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...