[Geoserver-users] 50 % of the tiles fail...

Using Geoserver 2.0.2 on Windows. Half of the tiles in my overlays fail to display. The missing tiles and the produced tiles form a very nice chessboard pattern. Not very useful. I have tried to figure out what the problem could be, and I have so far not succeeded. The code is available below. As for the map just think of a chessboard where every other square says:

“code=”LayerNotDefined” could not find la [rest is gone off the tile]

Inos:inos_1990”

Cheers!

Ragnvald

Senioringeniør, IT og Geodataseksjonen

Tlf: 73 58 05 64
Mob: 92421540

Direktoratet for naturforvaltning

  • for liv i naturen og natur i livet
    www.dirnat.no

It’s hard to be cure what’s up as I don’t really understand what you are doing in several parts of the code. But I’d start by changing your layer definition to:

inos_1990 = new OpenLayers.Layer.WMS( “INOS 1990 fastland”,

http://localhost/geoserver/wms?service=wms”,

{

layers: ‘inos:inos_1990’,

styles: ‘’,

srs: ‘EPSG:900913’,

format: format,

transparent: “true”

},

{opacity:0.5,

singleTile: true, ratio: 1 ,

isBaseLayer: false, visibility: true}

);

As the WMS constructor only takes 4 parameters, name, url, WMS parameters, OL options.

Ian


Ian Turton

The full error message should be logged in the GeoServer logs. (In the GeoServer data directory, logs/geoserver.log). It may also be useful to check out the OpenLayers previews in the GeoServer web console - are the previews for the layers you’re using working ok?

The only unusual thing I see about your OpenLayers configuration is the use of a URL array where there are several instances of the same URL. I don’t think it will cause any problems, but I’d recommend using a single URL just for simplicity unless you actually have multiple domain names in use.


David Winslow
OpenGeo - http://opengeo.org/

On Sun, Jan 9, 2011 at 2:31 PM, Ragnvald Larsen <Ragnvald.Larsen@anonymised.com> wrote:

Using Geoserver 2.0.2 on Windows. Half of the tiles in my overlays fail to display. The missing tiles and the produced tiles form a very nice chessboard pattern. Not very useful. I have tried to figure out what the problem could be, and I have so far not succeeded. The code is available below. As for the map just think of a chessboard where every other square says:

“code=”LayerNotDefined” could not find la [rest is gone off the tile]

Inos:inos_1990”

Cheers!

Ragnvald

Senioringeniør, IT og Geodataseksjonen

Tlf: 73 58 05 64
Mob: 92421540

Direktoratet for naturforvaltning


Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers’ information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks Ian and David,

I am still at the same place thought. The server log says:

2011-01-10 00:12:14,891 TRACE [geotools.util] - Error applying the converter class org.geotools.util.NumericConverterFactory$NumericConverter on (0,4,class java.lang.Double)

java.lang.NumberFormatException: For input string: “0,4”

at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)

[…]

2011-01-10 00:12:14,891 WARN [geotools.rendering] - Assuming rendering buffer = 0, but estimation is not accurate, you may want to set a buffer manually

2011-01-10 00:12:14,891 DEBUG [geotools.rendering] - Querying layer inos_1990_pyram_f with bbox: ReferencedEnvelope[2323148.6978267 : 2363985.7137593, 1.5649517437866E7 : 1.5690354453799E7]

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been opened. Number open: 1

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by org.geotools.data.shapefile.shp.IndexFile

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Reading from file…

2011-01-10 00:12:14,891 TRACE [index.quadtree] - QuadTree opened

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.dbf by org.geotools.data.shapefile.dbf.IndexedDbaseFileReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Dbase File Reader has been opened. Number open: 1

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.shp.ShapefileReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Shapefile Reader has been opened. Number open: 1

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been opened. Number open: 1

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by org.geotools.data.shapefile.shp.IndexFile

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Memory mapping file…

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by org.geotools.data.shapefile.indexed.IndexedFidReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexedFidReader has been opened. Number open: 1

2011-01-10 00:12:14,891 DEBUG [geotools.data] - Recasting feature type to subtype by using a ReTypeFeatureReader

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by org.geotools.data.shapefile.shp.ShapefileReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Shapefile Reader has been closed. Number open: 0

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by org.geotools.data.shapefile.shp.IndexFile

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been closed. Number open: 0

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.dbf by org.geotools.data.shapefile.dbf.IndexedDbaseFileReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - Dbase File Reader has been closed. Number open: 0

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by org.geotools.data.shapefile.shp.IndexFile

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been closed. Number open: 0

2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by org.geotools.data.shapefile.indexed.IndexedFidReader

2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexedFidReader has been closed. Number open: 0

2011-01-10 00:12:14,891 DEBUG [geotools.rendering] - Style cache hit ratio: NaN , hits 0, requests 0

2011-01-10 00:12:14,891 DEBUG [renderer.shape] - Style cache hit ratio: NaN , hits 0, requests 0

2011-01-10 00:12:14,891 DEBUG [wms.responses] - asking delegate for write to org.geoserver.ows.DispatcherOutputStream@anonymised.com

2011-01-10 00:12:14,891 DEBUG [map.png] - Writing png image …

2011-01-10 00:12:14,891 DEBUG [geotools.image] - Encoded input image for png writer

2011-01-10 00:12:14,891 DEBUG [geotools.image] - Getting a writer

2011-01-10 00:12:14,891 DEBUG [geotools.image] - Setting write parameters for this writer

2011-01-10 00:12:14,891 DEBUG [geotools.image] - Writer is NOT native

2011-01-10 00:12:14,891 DEBUG [geotools.image] - About to write png image

2011-01-10 00:12:14,906 DEBUG [map.png] - Writing png image … done!