Jump to content
We've recently updated our Privacy Statement, available here ×

mmutleab

Members
  • Posts

    25
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by mmutleab

  1. {XML_DATA_DOCUMENT=[#document: null]}. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI at net.sf.jasperreports.engine.util.xml.XalanXPathExecuter.(XalanXPathExecuter.java:49) at net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactory.getXPathExecuter(XalanXPathExecuterFactory.java:43) at net.sf.jasperreports.engine.util.xml.JRXPathExecuterUtils.getXPathExecuter(JRXPathExecuterUtils.java:89) at net.sf.jasperreports.engine.data.JRXmlDataSource.(JRXmlDataSource.java:189) this is the eroor i get trying to run the code above
  2. Hi , im trying to get report generated from the xml datasource. i attached the xml and the jrxml. below ids the error i get please help!!!!!!! Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI at net.sf.jasperreports.engine.util.xml.XalanXPathExecuter.<init>(XalanXPathExecuter.java:49) at net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactory.getXPathExecuter(XalanXPathExecuterFactory.java:43) at net.sf.jasperreports.engine.util.xml.JRXPathExecuterUtils.getXPathExecuter(JRXPathExecuterUtils.java:89) at net.sf.jasperreports.engine.data.JRXmlDataSource.<init>(JRXmlDataSource.java:189) Code: public void InvoiceReportPool() { try { Map params = new HashMap(); Document document = JRXmlUtils.parse(new File("c:/Fica/poolInvoice.xml")); JRXmlDataSource jrds = new JRXmlDataSource(document,"/fica_api/pool_entry"); params.put(JRXPathQueryExecuterFactory.PARAMETER_XML_DATA_DOCUMENT, document); params.put(JRXPathQueryExecuterFactory.XML_DATE_PATTERN, "yyyy-MM-dd"); params.put(JRXPathQueryExecuterFactory.XML_NUMBER_PATTERN, "#,##0.##"); params.put(JRXPathQueryExecuterFactory.XML_LOCALE, Locale.ENGLISH); params.put(JRParameter.REPORT_LOCALE, Locale.ENGLISH); JasperDesign jasperDesign = JRXmlLoader.load("c:/Fica/Fica_poolinvoice.jrxml"); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params, jrds); JasperExportManager.exportReportToPdfFile(jasperPrint, "c:/Fica/Fica_poolinvoice.pdf"); } catch (JRException ex) { Logger.getLogger(GenerateInvoice.class.getName()).log(Level.SEVERE, null, ex); } }
  3. can u be more specific....... what r you using to get it on the browser?
  4. user name and password of your cube database i cant get this. any hint..... i tried that n it gives me: database - null(oracle)
  5. workbench need a schema..... how do 1 get dat(oracle) im stacked ur help will be appriciated.... thanksin advance
  6. do 1 need to have a datawarehouse in place...... or is there a way that workbench will create a schema from a rdbms. im connection to oracle workbench gives me Database- null(oracle)
  7. how do i connect workbenck to oracle.......
  8. if u have the name as a field u can put it on the title,or pass that as a parameter.
  9. mmutleab

    jrxml

    hallo where in the directory does the reports get saved?
  10. hi look at your jasperserver user guide under docs. or download the jasperserver documentation. there are examples there
  11. hi im trying to connect to jasperserver using jasperserver plugin on ireport. it gives an error message (500)internal error help please. :ohmy:
  12. i meant if you were to move between different machines
  13. War files? how do i do that cos there is no war file there(or how do i find the file). if i do that will all the reports go with the war file?
  14. hi i followed the thread,it coplains about swithuser bean not defined. i removed switchUserProcessingFilter it worked.the problem is now it switches users around. help please.... is there something wrong i did.
  15. hi how do 1 hang jasperserver on tomcat 6.
  16. hi how can i disable editable exports.i want cetain group of users to be able to use that functionality. is it possible to assign permissions to the export menus,or i have to get rid of them(if so how) thanks in advance
  17. u need to create a regtangle make it cover all your detail part....color it. go to its properties and write this code on the print when expresion: new Boolean( $V{PAGE_COUNT}.intValue() % 2 ==0 ) hope this helps
  18. hi im having the same problem an facing the same situation.i only started using jasper early this year.so i sumtyms find problems getting around. how do 1 use this class. i looked at the sample application distributed with jasperreports but i can seem to find my way around this. pls help.im using tomcat 5.5 netbeans,(ireports) where do i need to start. i've looked at the ibm application tutorial but i cant seem to get there. pls assist with other tutorial or help me get there
  19. hi to everyone pls help im using ireports 1.3.1 im retriving data from the database(oracle) im able to display charts,but i want to display a pecentage instead of the number plese help with the fomula to put in value expression of the chart. i have a variable total($v{total})i.e total of appointment_no and field($f{APPOINTMENT_NO}) thanks in advance
  20. what are you using? when you say code you mean xml or runtime code? are you able to design the report with ireports?
  21. HI. I TRIED USING IREPORTS.IT GIVES ME AN ALERT BOX"THE DOCUMENT HAS NO PAGES" WHEN I RUN WITH ACTIVE CONNECTION N IM USING A ORACLE DATABASE,ITS CONNECTED. WHAT COULD BE THE PROBLEM?????
×
×
  • Create New...