[Geoserver-devel] Re WMS - getMap problem

Hi,
today I find the solution of the problem into the mailing lists.
It´s a known (linux) problem.
For more informations you can take a look a the following links:

http://sourceforge.net/mailarchive/message.php?msg_id=11374626

http://docs.codehaus.org/display/GEOS/Running+the+WMS+on+Linux

Greetings, Lars

...................................................................................................................................
Hi,
  I´m using 1.3.0-RC1-WCS as war-file-installation(WCS).
Whenever I try to use the getMap-Link (under My GeoServer WMS) the tomcat-server produces
the following error.
It´s from "catalina.out".
  When I want to use the quickWMS-Link (under My GeoServer WMS), the right litte map will be
displayed, the large may will not be displayed.
Both mapbuilder demos doesn´t work. None map will be displaed.
I also have try to use the bin-file-installation(WCS)(jetty) and it works.
Does anyone get the same error message and perhabs a solution for this problem?
  Configuration
  Tomcat: 5.0.28 also 4.1.29 Java: 1.4.2_06
Java(TM) Image I/O API 1.0_01
Java[tm] Advanced Imaging 1.1.2
  Greetings, Lars Schrader

is
bbox=-130,24,-66,50&styles=raster,population&Format=image/png&request=GetMap&layers=Img_Sample,topp:states&width=550&height=250&srs=EPSG:4326
#3754877 [FEIN] org.vfny.geoserver.util.requests.readers.KvpRequestReader - returning
parsed {SRS=EPSG:4326, LAYERS=Img_Sample,topp:states, BBOX=-130,24,-66,50, HEIGHT=250,
REQUEST=GetMap, STYLES=raster,population, WIDTH=550, FORMAT=image/png}
#3754919 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for configured
service responses" strategy
#3754920 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for configured
service strategy SPEED
#3754922 [FEIN] org.vfny.geoserver.servlets.AbstractService - verifying configured strategy
#3754923 [INFO] org.vfny.geoserver.servlets.AbstractService - Using service strategy class
org.vfny.geoserver.servlets.SpeedStrategy
#3754924 [FEIN] org.vfny.geoserver.servlets.AbstractService - reading request:
bbox=-130,24,-66,50&styles=raster,population&Format=image/png&request=GetMap&layers=Img_Sample,topp:states&width=550&height=250&srs=EPSG:4326
#3754971 [FEIN] org.vfny.geoserver.global.Data - getting type Img_Sample
#3754976 [FEIN] org.vfny.geoserver.global.Data - getting coverage Img_Sample
#3754978 [FEIN] org.vfny.geoserver.global.Data - getting type topp:states
#3755075 [FEIN] org.geotools.styling.StyleImpl - number of fts set 1
#3755078 [FEIN] org.vfny.geoserver.wms.requests.GetMapKvpReader - establishing population
style for topp:states
#3755079 [INFO] org.vfny.geoserver.servlets.AbstractService - handling request:
org.vfny.geoserver.wms.requests.GetMapRequest@anonymised.com
#3755081 [FEIN] org.vfny.geoserver.servlets.AbstractService - strategy is:
org.vfny.geoserver.servlets.SpeedStrategy@anonymised.com
#3756151 [KONFIG] org.vfny.geoserver.wms.responses.helpers.JAISupport - Supported
JAIMapResponse"s MIME Types: [image/jpeg]
#3756187 [FEIN] org.vfny.geoserver.wms.responses.GetMapResponse - setting up map
#3757100 [FEIN] org.vfny.geoserver.wms.responses.DefaultRasterMapProducer - setting up
550x250 image
#3760792 [FEIN] org.vfny.geoserver.wms.responses.GetMapResponse - asking delegate for
aborting the process
#3760794 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an undefined error: Can"t
connect to X11 window server using ":0.0" as the value of the DISPLAY variable.
org.vfny.geoserver.wms.WmsException: Can"t connect to X11 window server using ":0.0" as the
value of the DISPLAY variable.
   at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExceptionHandler.java:64)
   at org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:716)
   at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:420)
   at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:249)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse(WmsDispatcher.java:155)
   at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet(WmsDispatcher.java:114)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
   at java.lang.Thread.run(Thread.java:534)
Caused by: 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:134)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:141)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
   at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
   at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:180)
   at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:171)
   at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:408)
   ... 31 more