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

dtiwan

Members
  • Posts

    10
  • Joined

  • Last visited

dtiwan'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. Sorry dude, but it looks like a application specific issue. You said "all of a sudden", does that mean it use to work? If yes, what changed? Looks like you have missing code in your application or older jar or class sitting in web-app. I would compare it against a version control.
  2. Servlet container? There is Tomcat and Geronimo and community versions of JBoss and Websphere available for free. If you mean a web project, I believe you can create web dynamic project from NetBeans templated project. You will have to update web.xml to wire the servlet class you wrote.
  3. Hello People, We are using JasperReport for dashboard application and currently preparing our systems for Day Light Savings transition due on November 6, 2011. After trying few SQL & Java tricks I was able to get it working so that the transition hour will show correctly on X-Axis. Problem is, the value on transition hour is not getting shown correctly. To add further detail on November 6, 2011 the data will look like Time Time as stored in Database (X-Axis) Price($) (Y-Axis) 00:00 AM Central Daylight Time (CDT) 11/06/2011 00:00:00 -0500 100.00 01:00 AM Central Daylight Time (CDT) 11/06/2011 01:00:00 -0500 300.00 01:00 AM Central Standard Time (CST) 11/06/2011 01:00:00 -0600 200.00 02:00 AM Central Standard Time (CST) 11/06/2011 02:00:00 -0600 500.00 03:00 AM Central Standard Time (CST) 11/06/2011 03:00:00 -0600 15.23 04:00 AM Central Standard Time (CST) 11/06/2011 04:00:00 -0600 15.11 The graph, however, is unable to show hour 01:00 CDT value. I am attaching my JRXML and output with this email to provide details. Also adding Java code that I think might be relevant. Any help or tips will be highly appreciated. Thanks, Deepam Tiwan Code:SimpleDateFormat p_date_format = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss Z");
  4. Hi Teodor, Thanks for replying. I was using the same exporter code as shared with samples, but it is causing the images to get overriden. I am not using disk or memory cache for this. Although, that might be a cool thing to do to improve performance. I saw another post where Lucian recommend to store the JasperPrint object with different names in session to avoid over writing each other. That seems to work for me. But it will be wonderful, if you and Lucian can take a look at my code and provide suggestion. I am attaching the java and jsp code in attachment. Thanks, Deepam
  5. Hello All, I am having production environment issues with jasperReport on a web application. Architecture is simple. Using Struts1.3 on a JBoss application server. Problem is, lets say User1 invokes action to see Page1 which has Chart1 as image with name img_0_0_0 . At exactly same time, User2 invokes action to see Page2 which has Chart2 as image also with name img_0_0_0, automatically given to it by JasperReport. Sometimes User2 sees Chart1 from User1's request when User2 should see Chart2. Has anyone tried JasperReport in multi-threaded environment and solved this problem? As this is happening on Production, immidiately helpy will be highly appreciated. Teodor and Lucian please chime in. Thanks, Deepam
  6. Hello, I am using Multi-Axis chart to print bar chart and line chart in a single graph. The bar chart is using the axis on left and line chart is using axis on right. Please see the attached image for details. Issue is, the left axis is incrementing at 10,000 units and right axis increments at 5,000 units. So even though value of bars is larger than value of line, on screen it looks like lines are larger than bars, which is mis-leading. Question 1, can I draw bar and line chart on any single axis chart? Question 2, if not, is there a way I can sync these axes so their values are same? Thanks, Deepam
  7. Thanks for replying. I am not getting that error in my logs when I stop JBoss, so I doubt if that is what is happening. When I profiled this application I saw number of object ArrayList was one of the issues. I am guessing JasperReport use ArrayList to store data after running the report and that is what is causing to grow heap. In that case, how can I better clean up after myself to stop JVM to be filled by ArrayList objects. Regards, Deepam
  8. Hello All, I have created a web application using Java, Struts2, jasperReport, Oracle and c3P0 for connection pooling. I am runnig it on JDK 1.6 on JBoss 4.3. The architecture is pretty simple. Invoke an action and pass it parameters for the query to run. The java action sets the parameter, get a database connection, fills a compiled report and set it to session. Action invokes a jsp, which gets the jasperprint object and export it to html. Pretty standard right? What I am seeing is under load, JVM runs out of memory and dies. Even on taking the load away GC cannot free up the heap. I have attached code if that helps in resolving the issue. Any tips or tricks or a blunder that just right out pops up for you guys? Thanks in advance. Deepam Tiwan
  9. Please consider this fixed. :) Put the graph in the <Summary> tag instead of <detail> tag fixed this problem for me. Thanks, Deepam Tiwan
  10. Hi Guys, New to the forum, and tried to search for the similar topic. If this question was already asked, please refer me to the existing thread. I have created a report with Time Series Chart in <detail> tag. When I run the report, it displays multiple charts with same data in it. For example, if the dataset returns 10 rows, it creates 10 charts in the report. The chart does look good just the repeating itself part is an issue. Thanks, Deepam Tiwan
×
×
  • Create New...