b.kumara Posted September 22, 2006 Share Posted September 22, 2006 Hi Friends, I'm using the following line to fill the jasper report. 3]JasperFillManager.fillReport(jasper, parameters,new JRBeanArrayDataSource(jrData.getBeanArray())); There is no problem in this and i'm successfully getting the report too. The problem is when restart the tomcat server from a remote system, the above line throws some runtime exception like can't find file(file having this line) and shows white page. If i restart the tomcat from the server machine directly then the problem is getting solved. I'm using 5][color=#000080]jasperreports-0.6.1.jar[/color] file. I tried with the new jar files like [color=#000080]jasperreports-1.2.6.jar[/color]. But this shows net.sf.jasperreports.engine.JRException:unable to load the object(with the full path of the .jasper file name) How to resolve from this. Thanks in advance...Regards,RajeshKumarPost edited by: b.kumara, at: 2006/09/23 09:03 Post edited by: b.kumara, at: 2006/09/23 09:04 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 27, 2006 Share Posted September 27, 2006 Hi, Maybe when you start the server remote, you log in using a user account that does not have read permissions on those files.Secondly, if you want to upgrade the JR from 0.6.x, make sure you recompile the *.jrxml files and recreate those *.jasper files using the newer JR version. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now