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

udumanajmeer

Members
  • Posts

    65
  • 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 udumanajmeer

  1. Hi friend please help me, I am using java 7, tomcat 7. I downloaded jasper iReport 5.2.0 inside opt folder, whenever I have try to run ireport I got Neither (null)jrebinjava.exe nor (null) binjava.exe exists error. My java installed directory is /usr/lib/jvm/java-7-oracle, so I set java home path in /opt/iReport/etc/ireport.conf like below. jdkhome="/usr/lib/jvm/java-7-oracle/jre/bin" So what I do now, please tell me.
  2. Hi Joel, I've created my java path as jdkhome="/usr/lib/jvm/java-7-oracle/jre" inside report.conf. Actually my java directory is in my system is /usr/lib/jvm/java-7-oracle/bin. db,include,jre,lib,man,etc... are athor folder name located inside java-7-oracle and parallel with bin folder. Please clear in this situation, how I want to give jdkhome from these java location.
  3. How I can create jasper report from this jasper server page. Already I had done lot of report but this UI page is newly for me.
  4. Hi Friend, I've got below error when am starting jasper report. I've using ubuntu 14.04 so how can I set jdkhome in etc-->report.conf file. Please give me any idea. Cannot find java.exe Neither (null)jrebinjava.exe nor (null) binjave.exe exists
  5. Hi Friend, In my company OS changed from windows to Ubuntu. So I've installed jasperreports-server-cp-5.6.0-linux-x64-installer.run in my Linux. Once installed jasper report, I opened through http://localhost:8088/jasperserver/login.html?error=1 this url name but I got user authentication page. I've no username and password, so what I do now. Please any one can you help me.
  6. Hi friends good day to all, I want to apply font size based on the null value. My condition is, value is null means font size will apply 8 and value is notnull means font size will appy 10. So I want to check look like below. any one can help me. please help me soon. $P{gpa1} == null ? "#.##".fontSize=8 : $P{gpa1}.fontSize=10
  7. Hi Hozawa, Thanks for your response, I've given lot of memory for jasper. But error is not for that, Actually lot of back up project had in webapp folder, I deleted all back up project from webapp folder and refresh then run the application pdf generated well. I can generate marksheet as pdf now. Thanks Uduman
  8. Hi Friend, This is Uduman, I am coming very long time here. I want to generate Marksheet as a pdf file but I got 10 pdf file(for 10 student) condinuously and suttendly got PermGen space error here. I am using Jasper 5.6.0, Java 1.7 and iText-2.1.7.jar. My Code: public String marksheetgeneration(){HashMap<String, Object> hm = null;JREmptyDataSource ds = null;String jasperPath = null;byte[] bytes = null;File reportFile = null;String name = null;try {StudentMarkGenerateDAO dao = new StudentMarkGenerateDAO();hm = new HashMap<String, Object>();ds = new JREmptyDataSource();jasperPath = (String) session.getServletContext().getAttribute("JasperPath");hm = dao.getStudentCourseList(branchId, academicYear, semesterId, searchstatus, searchstatus, studentId); if (hm.size() > 0) {name = hm.get("registerNumber")+"_SEM"+semesterId;hm.put("path", jasperPath); ServletOutputStream servletOutputStream = response.getOutputStream();response.reset(); reportFile = new File(jasperPath+ "RegularMarkSheet.jasper");bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), hm, ds);hm.clear(); response.setContentType("application/pdf");response.setHeader("Content-Disposition", "attachment;filename="+name+".PDF");response.setContentLength(bytes.length); servletOutputStream.write(bytes, 0, bytes.length);servletOutputStream.flush();servletOutputStream.close(); if(searchstatus == 1)studentList = dao.getStudentList(branchId, academicYear, semesterId, searchstatus,1);else if(searchstatus == 2)studentList = dao.getStudentList(branchId, academicYear, semesterId, searchstatus,2);setSuccess("Report has been taken successfully");} else {setError("Report not has been taken successfully"); }filtercontent();return "studentsuccess";} catch(Exception e){setError("Report not has been taken successfully");LOGGER.error(e.getMessage(), e);return ERROR;}} My Error:Jun 15, 2015 5:38:22 PM org.apache.jasper.compiler.TldLocationsCache tldScanJarINFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.Jun 15, 2015 5:46:22 PM org.apache.coyote.AbstractProtocol pauseINFO: Pausing ProtocolHandler ["http-bio-8083"]Jun 15, 2015 5:46:24 PM org.apache.coyote.AbstractProtocol pauseINFO: Pausing ProtocolHandler ["ajp-bio-8049"]Jun 15, 2015 5:46:26 PM org.apache.catalina.core.StandardService stopInternalINFO: Stopping service Catalinaoader.access$100(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:130)at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)at org.apache.jasper.servlet.JspServletWrapper.getDependants(JspServletWrapper.java:288)at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:488)at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:425)at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:639)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:473)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:455)at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:324)at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:415)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:191)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)Exception in thread "http-bio-8083-exec-7" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-3" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-4" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-1" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-2" Exception in thread "http-bio-8083-exec-9" java.lang.OutOfMemoryError: PermGen spacejava.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-8" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-5" java.lang.OutOfMemoryError: PermGen spaceException in thread "ContainerBackgroundProcessor[standardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-6" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-11" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-12" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-15" Exception in thread "http-bio-8083-exec-14" java.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-exec-13" java.lang.OutOfMemoryError: PermGen spacejava.lang.OutOfMemoryError: PermGen spaceException in thread "http-bio-8083-Acceptor-0" java.lang.OutOfMemoryError: PermGen spaceException in thread "ajp-bio-8049-Acceptor-0" java.lang.OutOfMemoryError: PermGen space After occurred this error, server derminated suttenly. Please help me for this error.
  9. SEVERE: The web application [] created a ThreadLocal with key of type [net.sf.jasperreports.engine.fonts.FontUtil$1] (value [net.sf.jasperreports.engine.fonts.FontUtil$1@2fdb83b8]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. Technology I Used in my project are: Java 1.7 Tomcat 7 Jasper 5.2.0 The application stoped and this bug will i got. Any one can help asap please.
  10. Hi friend good day to all, I have to generate vacation report for single user. For example a single user apply thier vacation request to thier boss, that time I will genenate pdf with previous vacation list. So in this scenario I have get atleast two or more pages. this time I got the following error. 2014-10-11 10:37:03,010 ERROR net.sf.jasperreports.engine.fill.JRFillSubreport :774 - Fill 1: exception java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.StringBuffer.toString(Unknown Source) at net.sf.jasperreports.engine.util.JRStyledText.getText(JRStyledText.java:138) at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:535) at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:637) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:331) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:384) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:358) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2046) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:778) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:308) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:155) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:655) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:203) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2014-10-11 10:37:03,017 ERROR net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner :188 - Fill 3: exception java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.suspend(AbstractThreadSubreportRunner.java:172) at net.sf.jasperreports.engine.fill.JRBaseFiller.suspendSubreportRunner(JRBaseFiller.java:2113) at net.sf.jasperreports.engine.fill.JRVerticalFiller.addPage(JRVerticalFiller.java:1856) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1939) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1968) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:754) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:288) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:151) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:655) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:203) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) My code is. byte[] bytes = null; File reportFile = new File(jasperPath+ "PSS_Vacation_Form.jasper"); bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), hm, ds); // after 19 record I got above error. finally I will send this bytes through mail to my boss. Please help me
  11. Hi friends, first of all I thank all our jasper community. I want create e-portfolio as a pdf for single user, in that portfolio I should show achievments,education,certification as a timeline format (Please see my attachment). How I create these information as a timeline in jasper, please help me as soon as possible.
  12. Hmm... Thanks Bobi..... I have set Stretch with overflow=true now work fine. but another one question Bobi, can we make text field justify..!? why because if text comes with more line, i need right alignment with good look paragraph.... Thanks again
  13. Hi friend, in this scenario i want to extend text field hieght dynamically while text comes with more line. Just see my attached pdf format, i have marked with red line that field will extend with more line. so in that situation text field hieght will extend dynamically. so what i do for this.... Thanks
  14. Thanks hozawa and Ilona. @Ilona... No am not getting any exam in Jasper, actually my company asking the objective type question to post our company online test process. I am only one man know Jasper in my company, that's why they asking objective type question from me. I had searched from google, "interview question in Jasper ireport", "objective type interview questions and answers in jasper report" like that. but am not getting event single question from that search..... After that i had post question in Jasper Community...... can u help me to prepare objective type question...!?
  15. Hi Friend i want to prepare object type questions and answer about jasper report. I go through net but not getting even single question. So please can give any link or any other idea for this. Thanks
  16. Hi friend for my this scenario, I have one main Report. In this main report I have used many sub-report(10). In few sub-report i want to add another two or three sub-report. So I have passed list as a parameter for each sub-report from main. In this case i want to pass as a parameter inside another two or three sub-report of Sub-report. But jasper is not printed in this scenario. please any one can help me. My Syntax: Main Report ==> ==> Sub-report1 ==> sub-report1, sub-report2 ==> Sub-report2 ==> Sub-report3 ==> sub-report1, sub-report2 . . . ==> Sub-report10 ==> sub-report1, sub-report2 Please any one can give any idea for this scenario. In main report my all subreport is located in detail band.
  17. For this i need user photo to view in profile pdf page. but i have got opacity view image. User will save thier image in local folder by upload and that path will store in data base also. in this situation while am getting download profile pdf image comes with opacity view. How i find this error. i have attach my pdf resulf for your concern. Thanks.
  18. Hi every one, for this scenario I am gonna getting value from table, in that table result serial number is not given. But I want to print with serial number in pdf page. Not only serial number, I want to print sub serial number also. Please give me any one sample code for this. Please find my sample pdf attachment here.
  19. Sorry for my late reply. Actually my code is correct but problem is in my system. I have reinstaled java and jasper after that the same code worked well without any error.
  20. Hi for this scenario I have prepared employee profile as a pdf page. In this preparation i have used 10 subreport and in subreport there is heading in page header. but that heading repeated next page, but should not repeated next page. what i do, i have attached my pdf here. please find the reference details and education details. My Reference JRXML file is. <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Experience" language="groovy" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="801fb866-79e9-4575-8358-8f9ebb50c8a4"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <field name="referenceName" class="java.lang.String"/> <field name="emailAddress" class="java.lang.String"/> <field name="contactNumber" class="java.lang.String"/> <field name="fromTime" class="java.lang.String"/> <field name="relationship" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <pageHeader> <band height="26" splitType="Stretch"> <staticText> <reportElement uuid="9fb26423-5133-4469-880a-f626a20c59c1" mode="Opaque" x="0" y="3" width="555" height="20" forecolor="#555555" backcolor="#FFCCCC"/> <textElement verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="16" isBold="true"/> </textElement> <text><![CDATA[Reference]]></text> </staticText> </band> </pageHeader> <detail> <band height="75" splitType="Stretch"> <textField> <reportElement uuid="18b1ab67-167a-4251-9454-94fef9b5e509" x="-3" y="11" width="129" height="20" isPrintWhenDetailOverflows="true" forecolor="#006090"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="12" isBold="false"/> </textElement> <textFieldExpression><![CDATA[$F{relationship}]]></textFieldExpression> </textField> <textField> <reportElement uuid="94c40218-c958-42d4-94bc-a10f24de3651" x="160" y="11" width="411" height="20" isPrintWhenDetailOverflows="true" forecolor="#2C93B1"/> <textElement verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="14" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{referenceName}]]></textFieldExpression> </textField> <textField> <reportElement uuid="c7274cb8-b3c8-4a77-84a3-3ebda65d77a2" x="160" y="33" width="272" height="20" isPrintWhenDetailOverflows="true" forecolor="#555555"/> <textElement verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="13" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{contactNumber}]]></textFieldExpression> </textField> <textField> <reportElement uuid="7ddbdb76-98af-4296-b75c-c5a32b3dc870" x="160" y="53" width="411" height="20" forecolor="#000000"/> <textElement verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="10"/> </textElement> <textFieldExpression><![CDATA[$F{emailAddress}]]></textFieldExpression> </textField> <textField> <reportElement uuid="5c8fbeb5-8648-4377-9067-a60420ba03ca" x="25" y="33" width="101" height="20" forecolor="#777777"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Trebuchet MS" size="11"/> </textElement> <textFieldExpression><![CDATA[$F{fromTime}]]></textFieldExpression> </textField> </band> </detail> </jasperReport>
  21. Hi Friend for this scenario I want to prepare employee's profile details as a pdf page for interview purpose. Employee will give their Competency Details, Experience Details, Education Details, Certification Details and Reference Details etc, Here every detail's value comes dynamically so that size of the subreport height will increase or decrease based on the values. So how I make size of the subreport height dynamically based on the values, then only I can get good look pdf page. please help me asap. In this scenario for every detail I have used subreport and placed in main report. If there is no value i got empty space in pdf page, how i resolve this. I have attached sample pdf page here for your concern. In this pdf page after technical skill i have placed Managerial skill but Managerial skill value is null so that place is empty now itself.
  22. Hi Frient for this scenario i want to show employee's experience and education details. Both values are repeated again, so how i want to print that values. In my bean class i've created like this private String companyName; private String jobTitle; private String location; private String startYear; private String endYear; private String description; My output will show like this, March 2004 - March 2006 HCL - Java Developer Vadapalani, Chennai. April 2006 - June 2010 Wipro - Senior Developer Guindy, Chennai. From this output Company name, jobtitle, location, year and month are repeated values. so how i want to design jasper for this scenario. I should sent values as a list. Please help me for this scenario. i've attached my sample pdf here, next to my competency, experience details will come.
  23. Hi friend my this scenario, I want to get as a pdf page like employee profile or Resume. In that profile page has contain many categories. First category employee's photo, name,overall experience. second one employee's competency details, third one employee's experience details, fourth one employee's education details and finally awards details. For these details my pdf page will extent two or three pages. So i want get every page the same water mark background image. what will do please help me. i have attached sample image for that pdf page.
×
×
  • Create New...