ankushchhabra
Members-
Posts
38 -
Joined
-
Last visited
ankushchhabra's Achievements
-
Hi We are using JasperSoft 6.0.1 Professional hosted On Amazon Cloud. Our Application is in PHP and using Visualize.js to integrate the jasperreports into application. We created a report using Crosstab component and it works fine on jasperserver. But when we try to access this report using visualize.js on Chrome/IE, it gives us CORS "Cross Origin Resource Sharing" error. However, the same works fine when accessed from Firefox I am using latest chrome 49.0.2623.112 m Things i have tried 1) CORS Filter http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter http://enable-cors.org/server_tomcat.html Added filter mentioned in above links in web.xml of both Jasper and Tomcat 2) Added the following property in chrome –disable-web-security I would really appreciate any leads towards the fix. Screenshots: http://imgur.com/rNACwkV http://imgur.com/uo8PvHW Regards, Ankush
-
- jasper 6.1.0
- visualize.js
-
(and 1 more)
Tagged with:
-
We are facing similar issue while upgrading to 6.1 from 6.0. Fixing the order of libraries fixed this one for us. We load our application's css first followed by jasper's libraries.
-
Hi Akash / VanyaC Somhow i am not able to reply to this thread so writing my question in comment section. We have integrated jasper 6.0 with our application and are using domains/ ahdoc view heavily and they in turn uses cache heavily. We need to clear the cache programatically . Can you guide me if how can i call and from where i need to call this piece of code. adhocEnginServiceImpl.getDataSetCache().clear(); Regards, Ankush
-
Hi I am using Jasperserver 5.6 Community Edition. I have more than 1000 jpg images on FTP Server and i need to show couple of images in some of my reports. Jasperserver and FTP server are different machines . I tried using java utility to get those image from ftp server but that is too slow. How can i proceed ? Will using JasperETL fix this ? Regards, Ankush
-
Hi Darky , I am facing exactly the same issue. 100% same and have tried the same way you tried but without any luck . Struggling to find an answers. Did you manage to fix this ? Please share if you have any suggestions . Regards, Ankush
- 3 replies
-
- csv
- subreports
-
(and 3 more)
Tagged with:
-
Hi Friends , I need your help in passubg csv datasource to subReports . I would highly appreciate your suggestion or solutions. I am using iReport 5.0 professional version. I have a very complex report and that report fetch data from multiple (approx 10) csv files. I have created subReports for each section of the reports and each subReport is working fine as a indivisual Report. But when i try to integrate all the subReports into a main Reports , then i am not able to pass datasource to the subReports. In Main , i created a parameter called CSVDS of type net.sf.jasperreports.engine.data.JRCsvDataSource with its default value as following new net.sf.jasperreports.engine.data.JRCsvDataSource(new File("D:\client\data\SR1.csv")) and in order to make sure that CSVDS is getting value from SR1.CVS , i added a textbod with following expression and it returned true $P{CVSDS}.next() -- return true --which means that CSVDS gets populated from the data from SR1.csv Further, i passed $P{CVSDS} as datasource to the subReport but the subReports was coming blank. So , overall , i would like to know how can i pass csv datasource to subReports . PS : I have tried almost all the solutions avaiable on Stack overflow but nothing worked for me. Regards, Ankush
- 1 reply
-
- csv
- subreports
-
(and 4 more)
Tagged with:
-
Thanks Kavaden for your suggestions.
- 2 replies
-
- jasperreports server
- v5.0
-
(and 1 more)
Tagged with:
-
Hi All , I want to host a Jasperserver5.0 on Amazon AWS using the free demo account . This free aws account gives 613 MB of ram . Any usage beyong 613 MB of ram is chargable. Can someone guide me how much RAM / hard disk / processor jasperserver5.0 needs including tomcat , java and pg3 db . Will i be able to host this on free aws account without paying much. PS : I have jasperserver professional license with me so i dont want to take $1/hour aws hosting . Regards, Ankush
- 2 replies
-
- jasperreports server
- v5.0
-
(and 1 more)
Tagged with:
-
Hi, I have started Implementation of JasperServer5.0 on a java based enterprise web application. That application is divided into 7 products with each product having seprate Database , Logos and other resources. However, all 7 products have some reports whose UI desidn is common except logos and datasource. I would like for community members to advice to me "What should be design of Repository Structure" There are two approaches in my mind: 1) Keep JRXML together in 1 folder , Keep Datasource together in 1 folder, Keep logos together 1 folder and then create 7 folders for each product and each of 7 folder will having reports which will be using logo/jrxml placed at a common location or folder 2) Create 7 parent level folder for each product and dont share anything among them . then for each of product ,store only 1 datasource. 1 logo etc. Once you are inside of a folder of a particular product, then you will only see the resource which belong to it. Please suggest. Thansk and Regards, Ankush
-
Hi Everyone , I want to create a meter shart which should look like the one shown in attached Screenshot but i have no idea how to do this. Can someone please help me. Regards, Ankush
-
- ireport designer
- jasperreports server
-
(and 1 more)
Tagged with:
-
Hi Everyone, I override customize(JFreechart chart, JRChart chart) method in Eclipse and created the jar and added that jar in jasperserver's lib folder. I want to debug the code i wrote above since its not working. How can i debug it ? I added sysout statement at couple of places inside customize() method , but they are getting printed in jasperserver.log files. Please suggest . PS : Utlimately , I want to access Bar' Chart ' Series expression data . So my customization need's Series expression value. Regards, Ankush
-
- charts
- jasperreports server
-
(and 1 more)
Tagged with:
-
I am using JasperReports Server 5.0 professional Version. For one of the report, I am using Chart Customizer to customize the color of the bars. Evaluation Time is Report In iReport, i have defined the Series expression as $F{form} + "(" + $V{month} + ")" In customize method of Java file, i want to access above expressions' value which are 1-sep , 2 - Oct, 3 -Jan , 4 -Feb I have tried the following code to get Series values but no success. public JRCategorySeries[] categoryList = null ; JRFillCategoryDataset categoryDS = (JRFillCategoryDataset)jasperChart.getDataset(); categoryList = categoryDS.getSeries(); SubCategoryAxis domainAxis = new SubCategoryAxis(""); domainAxis.setCategoryMargin(0.05); for (int i = 0 ; i <categoryList.length -1 ; i++ ) { JRCategorySeries jrcategoryseries = categoryList; domainAxis.addSubCategory(jrcategoryseries.getSeriesExpression().getText()); } I need help in accessing series data point in customize method. I will appreciate your comments.
-
- jfreecharts
- jasperreports server
-
(and 1 more)
Tagged with:
-
I am using JasperReports Server 5.0 professional Version. For one of the report, I am using Chart Customizer to customize the color of the bars. Evaluation Time is Report In iReport, i have defined the Series expression as $F{form} + "(" + $V{month} + ")" In customize method of Java file, i want to access above expressions' value which are 1-sep , 2 - Oct, 3 -Jan , 4 -Feb I have tried the following code to get Series values but no success. public JRCategorySeries[] categoryList = null ; JRFillCategoryDataset categoryDS = (JRFillCategoryDataset)jasperChart.getDataset(); categoryList = categoryDS.getSeries(); SubCategoryAxis domainAxis = new SubCategoryAxis(""); domainAxis.setCategoryMargin(0.05); for (int i = 0 ; i JRCategorySeries jrcategoryseries = categoryList; domainAxis.addSubCategory(jrcategoryseries.getSeriesExpression().getText()); } I need help in accessing series data point in customize method. I will appreciate your comments.
-
- jfreecharts
- ireport designer
- (and 2 more)
-
Hello , I have a CSV Datasource and it has start, end and employee number with each row being a house vist. and i want to create a report as shown in attached pdf . I am using. Jasperserver4.7.1 with iReport 4.7.1. "The output should be a chart showing the employees daily activity with the time of the house visit and the duration of the visit." Can anybody help me in figurng out how can i create the chart as shown . Regards,