razer
01-29-2007, 11:01 AM
Hi all...
I am creating a dashboard and trying to run it on debian+tomcat 5.
Running at windows, it works fine. But at linux I receive the following
exception.
Anybody knows what is thi?
Thanks in advance.
Razer
javax.servlet.ServletException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.jsp.PrdDashboard_jsp._jspService(PrdDashboard_jsp.java:392)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
root cause
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
java.awt.Font.initializeFont(Font.java:308)
java.awt.Font.<init>(Font.java:344)
org.jfree.chart.title.TextTitle.<clinit>(TextTitle.java:127)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:59)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:112)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:121)
org.pentaho.ui.component.charting.PieDatasetChartComponent.createChart(PieDatasetChartComponent.java:91)
org.pentaho.ui.component.charting.PieDatasetChartComponent.getXmlContent(PieDatasetChartComponent.java:162)
org.pentaho.ui.XmlComponent.getContent(XmlComponent.java:39)
org.pentaho.ui.ChartHelper.doPieChart(ChartHelper.java:125)
org.apache.jsp.jsp.PrdDashboard_jsp._jspService(PrdDashboard_jsp.java:210)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
I am creating a dashboard and trying to run it on debian+tomcat 5.
Running at windows, it works fine. But at linux I receive the following
exception.
Anybody knows what is thi?
Thanks in advance.
Razer
javax.servlet.ServletException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.jsp.PrdDashboard_jsp._jspService(PrdDashboard_jsp.java:392)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
root cause
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
java.awt.Font.initializeFont(Font.java:308)
java.awt.Font.<init>(Font.java:344)
org.jfree.chart.title.TextTitle.<clinit>(TextTitle.java:127)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:59)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:112)
org.pentaho.plugin.jfreechart.PieDatasetChartDefinition.<init>(PieDatasetChartDefinition.java:121)
org.pentaho.ui.component.charting.PieDatasetChartComponent.createChart(PieDatasetChartComponent.java:91)
org.pentaho.ui.component.charting.PieDatasetChartComponent.getXmlContent(PieDatasetChartComponent.java:162)
org.pentaho.ui.XmlComponent.getContent(XmlComponent.java:39)
org.pentaho.ui.ChartHelper.doPieChart(ChartHelper.java:125)
org.apache.jsp.jsp.PrdDashboard_jsp._jspService(PrdDashboard_jsp.java:210)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)