#75 ***Problem in solaris***

closed
nobody
None
5
2005-02-23
2004-03-13
Anonymous
No

Application is running well in Windows, If we deploy in
Windows , It works fine, But If we run in Solaris it shows
following error.:
mmonPortal)] Root cause of ServletException
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.<clinit>
(X11GraphicsEnvironment.java:54)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironme
nt(GraphicsEnvironment.java:53)
at java.awt.Font.initializeFont(Font.java:259)
at java.awt.Font.<init>(Font.java:293)
at org.jfree.chart.axis.AxisConstants.<clinit>
(Unknown Source)
at org.jfree.chart.axis.Axis.<init>(Unknown Source)
at org.jfree.chart.axis.CategoryAxis.<init>
(Unknown Source)
at org.jfree.chart.axis.HorizontalCategoryAxis.<init>
(Unknown Source)
at org.jfree.chart.ChartFactory.createLineChart
(Unknown Source)
at
de.laures.cewolf.taglib.CewolfChartFactory.getChartInsta
nce(CewolfChartFactory.java:94)
at
de.laures.cewolf.taglib.SimpleChartDefinition.produceChar
t(SimpleChartDefinition.java:30)
at
de.laures.cewolf.taglib.AbstractChartDefinition.getChart
(AbstractChartDefinition.java:81)
at
de.laures.cewolf.taglib.ChartImageDefinition.ensureRender
ed(ChartImageDefinition.java:131)
at
de.laures.cewolf.taglib.ChartImageDefinition.getBytes
(ChartImageDefinition.java:125)
at
de.laures.cewolf.storage.SerializableChartImage.<init>
(SerializableChartImage.java:51)
at
de.laures.cewolf.storage.SessionStorage.storeChartImage
(SessionStorage.java:57)
at
de.laures.cewolf.storage.SessionStorage.storeChartImage
(SessionStorage.java:35)
at
de.laures.cewolf.taglib.tags.ChartImgTag.doStartTag
(ChartImgTag.java:74)
at jsp_servlet.__cewolf._jspService(cewolf.jsp:19)
at weblogic.servlet.jsp.JspBase.service
(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocati
onAction.run(ServletStubImpl.java:1075)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:418)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:462)
at weblogic.servlet.internal.TailFilter.doFilter
(TailFilter.java:20)
at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:27)
at
weblogic.servlet.internal.WebAppServletContext$ServletI
nvocationAction.run(WebAppServletContext.java:5523)
at
weblogic.security.service.SecurityServiceManager.runAs
(SecurityServiceManager.java:685)
at
weblogic.servlet.internal.WebAppServletContext.invokeSe
rvlet(WebAppServletContext.java:3156)
at
weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:2506)
at weblogic.kernel.ExecuteThread.execute
(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run
(ExecuteThread.java:210)

Discussion

  • sabreuser
    sabreuser
    2004-03-24

    Logged In: YES
    user_id=1005457

    You have to set the DISPLAY variable to X servers host. The
    AWT package requires X server on Unix machines. You can
    alos use JDK 1.4 with headless option and it will solve the
    problem.

     
  • Brian Fox
    Brian Fox
    2005-02-23

    • status: open --> closed