Jump to content

Recommended Posts

Posted

Hi, I created a report which is run successfully in Jaspersoft Studio. In this report every fields that I want had been printed out but when run on Jasper Server, many fields shows null. I had created the same query as Jaspersoft Studio at jasper Server, which mean, it should be getting the same result as what I printed at Jasper Server and JasperSoft Studio.

Anyone knows what the reason cause it and had any solution on this?

Thanks.

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Posted

It seems studio data adaper and jasperserver datasource has different connection properties. Check the jasperserver datasource in use for report if it is correct or not.

Posted

Hi, @zh3ntil. 

When I publish to jasperServer, I had choose Local Data Source among the 3 option at Configure the data source. Am I choosing the wrong option when publish?

By the way, the data of my reports shows are not completely null, but null for certain fields only. This problem won happen if run using JasperSoft Studio.  Is it because of dataSource problem that you mentioned?

 image1(2).png.7f5150947d16a96cee50aa26986532b6.png

 

Posted

Hi, @socheat.student.

Yes. When print at local environment all results will be print out. But when printed at server environment, some value showing null.

Posted

This isn't a font problem but with the datasource. Instead of using the local datasource, use a datasource in the repository. To do this, you'll need to create a datasource from JasperReports Server. See the following page for steps on how to do this. Create a datasource in the repository and test it. Upload your report and just select this datasource.

http://community.jaspersoft.com/documentation/tibco-jasperreports-server-administration-guide/v62/jdbc-data-sources

  • 2 years later...
  • 1 year later...
  • 2 months later...

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...