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

udumanajmeer

Members
  • Posts

    65
  • Joined

  • Last visited

udumanajmeer's Achievements

Collaborator

Collaborator (7/14)

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

Recent Badges

0

Reputation

  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...!?
×
×
  • Create New...