Jump to content

srikanth1229

Members
  • Posts

    30
  • Joined

  • Last visited

srikanth1229's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi Is it possible to integrate the fusion charts in IReport ?? i have one requirement that i need to use the fusion charts in IReport. please let me know if any possibility ??? Thanks in advance...
  2. Hi CaptnTony Thanks for replying. we tried the same , but the data is populating for first sub report only. For example: if i have 3 children. the subreport with data is generating for only one child. please do the needful. Thanks in advance.
  3. Hi Friends, We are currently Jasper IReports 3.5.1 version,we have a requirement to generate Sub Reports that are dynamic in nature,ie for example in a Financial planing report ,the education planning subreport is dependend on the number of children,this section should be repeated for each child. Could anyone please let us know how this could be achieved using Jasper. Highly appreciate your quick response! Thanks very much in Advance! Please find the attached doc for your reference.
  4. could some one please look into the above query ... Thanks in advance.
  5. HI Friends, Is it possible to generate password protected PDF using IReport 3.X versions? If yes, please tell me how it is achievable? Thanks in advance.. :-)
  6. HI Giulio Thanks for replying. Could you please tell me how to add the foreground to the condition.
  7. Hi, We have a requirement to develop interactive PDF's,we are currently using Jasper IReport 3.5.1,could let us know if the same can achieved using Jasper. Can we use ITEXT 5.0 with the above version of IReport,if yes please let us know how this can be achieved. Appreciate your quick response! Thanks in Advance!!!
  8. please help me to resolve this issue... Thanks in advance.
  9. HI When i am trying to run the job in JAsper ETL, i am getting this error. Could anyone please help me to resolve this issue. My job name is FundMigration1. Error:: ---------- Starting job Fundmigration1 at 20:59 17/12/2009. Exception in thread "main" java.lang.Error: Unresolved compilation problem: at fund_migration.fundmigration1.Fundmigration1.main(Fundmigration1.java:1787) Job Fundmigration1 ended at 20:59 17/12/2009. [exit code=1] Help would be highly appreciated.
  10. Hi While i am loading the report through java.. i am getting the below error. JaspserSampleReport! before jasper>>>>>>>>>>>>>>>>>> connection>>>>>>>>>>oracle.jdbc.driver.OracleConnection@12f6684 before jasper Design>>>>>>>>>>>>>>>> Main Exception 1111111----->net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) at net.sf.jasperreports.engine.JasperManager.loadXmlDesign(JasperManager.java:980) at com.polaris.intellect.reports.sampleReport.main(sampleReport.java:56) Caused by: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1203) at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152) at org.apache.commons.digester.Digester.parse(Digester.java:1647) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) please find the below code for ur reference. please help me to resolve this issue. Thanks in advance. Regards Srikanth Code:package com.sample.intelligent.reports;import java.sql.Connection;import java.sql.DriverManager;import java.util.HashMap;import java.util.Map;import java.io.FileInputStream;import net.sf.jasperreports.engine.JasperFillManager;import net.sf.jasperreports.engine.JasperManager;import net.sf.jasperreports.engine.JasperPrint;import net.sf.jasperreports.engine.JasperPrintManager;import net.sf.jasperreports.engine.JasperReport;import net.sf.jasperreports.engine.design.JasperDesign;import net.sf.jasperreports.engine.util.JRLoader;import net.sf.jasperreports.view.JasperViewer;import org.xml.sax.SAXParseException;public class sampleReport {static Connection conn=null; public static void getConnection(){ try { String driver="oracle.jdbc.driver.OracleDriver"; Class.forName(driver); String url="jdbc:oracle:thin:@172.16.2.89:1521:INTELINV"; String user="WKSAMPIUT"; String password="WKSAMPIUT"; conn =DriverManager.getConnection(url, user, password); System.out.println("connection>>>>>>>>>>"+conn); } catch (ClassNotFoundException ex1) { System.out.println("ClassNotFoundException != null-->"+ex1); } catch (Exception ex) { System.out.println("Exception != null-->"+ex); } } public static void main(String[] args) { System.out.println("JapserSampleReport!"); // First, load JasperDesign from XML and compile it into JasperReport try{ System.out.println("before jasper>>>>>>>>>>>>>>>>>>"); getConnection(); Map parameters = new HashMap(); System.out.println("before jasper Design>>>>>>>>>>>>>>>>"); FileInputStream inp = new FileInputStream("D:/AMERIPRISE_REPORTS/report4.xml") ; //JasperDesign jasperDesign = JasperManager.loadXmlDesign("D:/AMERIPRISE_REPORTS/report4.xml"); JasperDesign jasperDesign = JasperManager.loadXmlDesign(inp); System.out.println("after loading>>>>>>>>>>>>>>>"); JasperReport jasperReport = JasperManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperManager.fillReport(jasperReport, parameters, conn); JasperManager.printReportToPdfFile(jasperPrint, "D:/AMERIPRISE_REPORTS/report4.pdf"); JasperViewer.viewReport(jasperPrint); System.out.println("before loading>>>>>>>>>>>"); /*JasperReport jasperReport = (JasperReport)JRLoader.loadObject("D:/AMERIPRISE_REPORTS/report4.jasper"); System.out.println("After loading>>>>>>>>"); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,conn); JasperPrintManager.printReportToPdfFile(jasperPrint,"D:/AMERIPRISE_REPORTS/report4.pdf");*/ //JasperViewer.viewReport(jasperPrint); } catch(Exception exp){ System.out.println("Main Exception 1111111----->"+exp); exp.printStackTrace(); } }}
×
×
  • Create New...