Jump to content
Changes to the Jaspersoft community edition download ×

jasperreport on FC4


2004 IR Help

Recommended Posts

By: girola - girola

jasperreport on FC4

2005-10-24 02:43

I works with jasperreport 0.6.8, jvm 1.5.0_04 and tomcat 5.5.9 and OS windows 2k servers and all work fine, but when I port the same enviroment on linux FC4 I get the follow exception. Could anybody help Me? thank.

 

GRAVE: Servlet.service() for servlet Stampa threw exception

java.lang.InternalError: 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$000(X11GraphicsEnvironment.java:53)

at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)

at java.security.AccessController.doPrivileged(Native Method)

at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:164)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)

at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:182)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:82)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:67)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:163)

at report.Stampa.doGet(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 

 

 

 

 

By: Sherman Wood - sgwood

RE: jasperreport on FC4

2005-10-24 04:24

Start your JVM with:

 

-Djava.awt.headless=true

 

 

Sherman

 

 

 

 

By: girola - girola

RE: jasperreport on FC4

2005-10-24 05:16

tank you Sherman now all works fine

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...