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

manz_jasper

Members
  • Posts

    14
  • Joined

  • Last visited

manz_jasper's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Hi aswin.... This error will be displayed if you didn't put the common- library on your application server path. the files is : commons-beanutils-x.x.jar commons-collections-x.x.jar commons-digester-x.x.jar commons-logging-x.x.x.jar I've same problem, when i put this files, the problem resolve by itself. ;)
  2. did u insert commons-digester-x.x.jar in your lib path ? insert some commons-<files> commons-beanutils-x.x.jar commons-collections-x.x.jar commans-digester-x.x.jar commons-loggin-x.x.x.jar in your lib jasperreports folder
  3. Just download the jasperreports-projects-x.x.x for the sample.
  4. I trying the jasper report servlet example in jasper-projects. Can anyone explain : <PARAM NAME = "REPORT_URL" VALUE ="../servlets/jasperprint"> in the viewer.html Because i'm new in servlet programming, this is a silly question. Tx
  5. Did you include the other jars like : commons-beanutils-x.x.jar commons-collections-x.x.jar commons-digester-x.x.jar commons-logging-x.x.x.jar commons-logging-api-x.x.x.jar itext-x.x.x.jar jdt-compiler-x.x.x.jar jxl-x.x.jar png-encoder-x.x.jar poi-x.x.x-x.jar <jdbc-driver>.jar itext-x.x.x.jar needs for export to pdf jxl-x.x.jar needs for export to excel all files need to be placed in your <webapps>WEB-INFlib folder May you try this ??? Because, if you only jasperreports-x.x.x.jar included and recompile your .jrxml you will be get that error messages, same with my problem. After include all files listed in above, compiling the .jrxml is no problem... May this can help you.;) Post edited by: manz_jasper, at: 2007/01/18 00:45
  6. Try to put jasperreport-xxx.jar to tomcat/lib. If it doesn't work, put jasperreports-xxx.jar into your webapp/lib. Don't forget to restart the tomcat. Hope this help.:)
  7. Yes, we are. JasperReports Engine already come with iReport, only unzipped it into original folder and run the iReport.bat Tx Post edited by: manz_jasper, at: 2007/01/15 00:36
  8. Sorry anandharaj, when we staying in forum and watching some people respond including you, we trying every clue to resolve this problem. Fortunately, change setting in java.policy or catalina.policy to add the grant codeBase and setting runtime permission and also restart the tomcat server, that make me success to resolve this problem. Anyway, thanks.
  9. .: SOLVED :. Post edited by: manz_jasper, at: 2007/01/12 08:36
  10. .... net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: C:Program FilesApache Software FoundationTomcat 5.0webappsssreportssample.xml (The system cannot find the path specified) ... That is right type or misspelled of name ? webappsssreportssample.xml ... Because the java can't find that file. put your all file in your folder. May it be help
  11. Thanks for respond. This full error displayed when i use tomcat standard server configuration. java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt.windows) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPackageAccess(Unknown Source) at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source) at java.lang.Class.checkMemberAccess(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at net.sf.jasperreports.engine.print.JRPrinterAWT.initPrinterJobFields(JRPrinterAWT.java:273) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:140) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:88) at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:348) at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:239) at PrinterApplet$3.run(PrinterApplet.java:185) at java.lang.Thread.run(Unknown Source) But, after im add the permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; grant codeBase "http://localhost:8080/jasper-webapp/applets/*" { permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; }; in catalina.policy and restart with : 1. catalina start the error displayed same result. 2. catalina start -security its display error : net.sf.jasperreports.engine.JRException: Error loading object from URL: http://localhost:8080/jasper-webapp/servlets/jasperprint at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:145) at EmbeddedViewerApplet.init(EmbeddedViewerApplet.java:70) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:140) ... 3 more Post edited by: manz_jasper, at: 2007/01/11 05:50
  12. Continue to first problem. And also when print it out from http://localhost:8080/jasper-webapp/printer.html And click the print the report button, its same, has an error : --------------- java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt.windows) --------------- I attach the image, but maybe you can't see the full error. after we surf, we found the solution to put the permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; grant codeBase "http://localhost:8080/jasper-webapp/applets/*" { permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; }; in catalina.policy because we use the tomcat 6.x, but still no effect and didn't resolve this problem. Anyone can help ? size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/errorapplet3_copy.jpg Post edited by: manz_jasper, at: 2007/01/10 07:04
  13. Hi, I'm new comer in jasper report, its nice. I success for deploying the example to my tomcat 6.0 server and explore it, but, unfortunately, when i trying using applet (from sample) to print-out to the printer it has message : Error printing report. See the console for details. Can anyone resolve this? Thank you. size=347]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/errorapplet.JPG
  14. Dear all, I'm new comer on java reporting tools. I already create an example report using Last JasperReport Engine version and iReport version. After report has been created, how can i deploy my report to my java application server in this case using tomcat 6.0 ? I want integrate between php+apache+postgre and jasperreport+ireport+tomcat+postgre. I can't found the manual or docs can resolve this matter. Thank you for your help and attention. Manz
×
×
  • Create New...