[Geoserver-devel] WMS - getMap problem

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

#3754876 [FEIN] org.vfny.geoserver.util.requests.readers.KvpRequestReader - clean request 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

Hi,
I´m using geoserver for a short time and I have problems with the new WCS.
The demo services on the welcome side are working good.
Evertime I want to include some data, it doesn´t work.
My way to include data:
Config->Data->Formats->New
There I can choose between five different data types:
        1. A raster file accompanied by a spatial file
        2. Arc Grid Coverage Format
        3. GRIB edition 1 Format
        4. Gtopo30 Coverage Format
        5. Tagged Image File Format with Geographic information
What´s the different between 1 and 5? (.tfw file?)
I want to include a geotiff data file (20 MB and 200 MB).
I´m using point 5 to include the data. After entering the location of the data file I click at the submit button.
It shows that it works, but nothing happens, the browser is still waiting.
Is this the right way to include the data? What´s the next step?
Can anyone give a short instruction about using WCS or a link where I find detailed informations?
Greetings, Lars Schrader

Hi Lars,
here you have some answers.

1>Format 1 stands for image+world file, hence as an instance tiff+tfw (not GeoTiff). Format 5 stands for GeoTiff files which do not require an accompaining georeferencing file.

2>I have been working with geotiff files in the last month during a live demonstration and I did not run into main problems. Neverthless
I have to warn you that for the moment the support for big rasters is very poor! I am working on supporting mosaic, pyramids and whatever you might need in order to handle large rasters or large sets of rasters. I guess that what you see is not the server getting stuck but the server trying to load the image at once (I know, it is very bad, but things are changing, remember you are using version 0.2!).

Anyway, give me more details if you want, for example some info about the hardware you have, the size of the image (or better an image sample if you can) because this is good feedback for me since I am working on this issue right now!

Simone.

On 6/28/05, Lars Schrader <lars.schrader@anonymised.com> wrote:

Hi,
I´m using geoserver for a short time and I have problems with the new WCS.
The demo services on the welcome side are working good.
Evertime I want to include some data, it doesn´t work.
My way to include data:
Config->Data->Formats->New
There I can choose between five different data types:

  1. A raster file accompanied by a spatial file
  2. Arc Grid Coverage Format
  3. GRIB edition 1 Format
  4. Gtopo30 Coverage Format
  5. Tagged Image File Format with Geographic information
    What´s the different between 1 and 5? (.tfw file?)
    I want to include a geotiff data file (20 MB and 200 MB).
    I´m using point 5 to include the data. After entering the location of
    the data file I click at the submit button.
    It shows that it works, but nothing happens, the browser is still waiting.
    Is this the right way to include the data? What´s the next step?
    Can anyone give a short instruction about using WCS or a link where I
    find detailed informations?
    Greetings, Lars Schrader

SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel