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

sasikala_1

Members
  • Posts

    1
  • 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 sasikala_1

  1. Hi All, I have a strange issue that one of jasper reports is not loading in our UAT environment(Linux) whereas it is working fine in my local environment (Windows) and Production environment(Linux), Jasper Reports version is 5.6.0. Following is the error for first-time access java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java: Subsequent access will result in following error Followed by [ ][ckalaga1] [2021-01-05 10:45:11,261] [Default Executor-thread-53245] [ERROR] Error while getting summary Report in getSummaryReportMethod:java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser (TrailerReportServiceImpl.java:512) java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.uscs.ewms.yms.service.TrailerReportServiceImpl.getSummaryReport(TrailerReportServiceImpl.java:506) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) I have gone through various forums and tried the following options without any success. 1) Starting the server in headless mode using Djava.awt.headless=true 2) Ensure all the necessary fonts are installed. Validated against the production environment 3) Validated if jasper libraries are missing. Compared against the production server settings. Basically, the UAT and Production servers have the same code base and folder structure. So not really sure what is going wrong in the environment. Appreciate if someone can directions on what else can go wrong which resulted in this error? Regards, Ravindra
×
×
  • Create New...