Some more info to add to the problem:
I created a soft link to a JP2k directory and created the imagemosaic layer in 
the second Geoserver instance, so that there were two shapefiles inside the 
JP2k directory.
ie directory utm12/utm12.shp, softlink utm12_test/utm12_test.shp

When I tried to preview the layers in OpenLayers both render data. Therefore I 
am guessing that there is a now a problem with 2+ geoservers sharing a common 
shapefile.

Lonnie

________________________________________
From: Lonnie Matsuno [[email protected]]
Sent: February 8, 2011 8:21 AM
To: Steve Way; [email protected]
Subject: Re: [Geoserver-users] Geoserver 2.1 Question

Thanks for the suggestion Steve. Tried it out, but unfortunately it didn't fix 
my problem.

Here is the log from the second geoserver when I try an OpenLayers view for a 
layer (in case it rings any bells out there). The browser hangs waiting for a 
response from geoserver.

2011-02-08 08:10:13,057 DEBUG [geoserver.filters] - filtering 
http://192.168.13.232:9680/geoserver/wms
2011-02-08 08:10:13,058 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,058 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,058 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,059 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,064 INFO [geoserver.wms] -
Request: getServiceInfo
2011-02-08 08:10:13,110 DEBUG [geoserver.ows] - Getting layers and styles from 
LAYERS and STYLES
2011-02-08 08:10:13,110 DEBUG [geoserver.ows] - establishing raster style for 
nwgeo:VISTA_Alberta_UTM_12_0.3m_2010
2011-02-08 08:10:13,127 DEBUG [geoserver.wms] - setting up map
2011-02-08 08:10:13,305 INFO [geoserver.wms] -
Request: getMap
        Time = null
        Filter = null
        Format = application/openlayers
        Buffer = 0
        Width = 344
        Height = 512
        Tiled = false
        Palette = null
        SRS = EPSG:26912
        Styles = [StyleImpl[ name=raster]]
        Legend = false
        Layers = [org.geoserver.wms.MapLayerInfo@6bcbffb9]
        MaxFeatures = null
        Crs = PROJCS["NAD83 / UTM zone 12N",
  GEOGCS["NAD83",
    DATUM["North American Datum 1983",
      SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
      TOWGS84[1.0, 1.0, -1.0, 0.0, 0.0, 0.0, 0.0],
      AUTHORITY["EPSG","6269"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic longitude", EAST],
    AXIS["Geodetic latitude", NORTH],
    AUTHORITY["EPSG","4269"]],
  PROJECTION["Transverse Mercator", AUTHORITY["EPSG","9807"]],
  PARAMETER["central_meridian", -111.0],
  PARAMETER["latitude_of_origin", 0.0],
  PARAMETER["scale_factor", 0.9996],
  PARAMETER["false_easting", 500000.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH],
  AUTHORITY["EPSG","26912"]]
        FeatureId = null
        FormatOptions = {}
        Env = {}
        ViewParams = {}
        Bbox = ReferencedEnvelope[294000.0 : 577500.0, 5422500.0 : 5844000.0]
        Elevation = NaN
        Angle = 0.0
        BgColor = java.awt.Color[r=255,g=255,b=255]
        Transparent = false
        FeatureVersion = null
        StartIndex = null
        RemoteOwsType = null
        RemoteOwsURL = null
        SldBody = null
        ValidateSchema = false
        Sld = null
        CQLFilter = null
        SldVersion = null
        TilesOrigin = null
        Filters = null
        Exceptions = SE_XML
        KMScore = 40
        KMattr = true
        Version = 1.1.0
        Request = GetMap
        Get = true
        RawKvp = {BBOX=294000.0,5422500.0,577500.0,5844000.0, VERSION=1.1.0, 
FORMAT=application/openlayers, SERVICE=WMS, HEIGHT=512, 
LAYERS=nwgeo:VISTA_Alberta_UTM_12_0.3m_2010, REQUEST=GetMap, STYLES=, 
WIDTH=344, SRS=EPSG:26912}
        BaseUrl = http://192.168.13.232:9680/geoserver/
        RequestCharset = UTF-8
2011-02-08 08:10:13,391 DEBUG [geoserver.filters] - filtering 
http://192.168.13.232:9680/geoserver/wms
2011-02-08 08:10:13,391 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,392 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,392 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,392 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/wms]
2011-02-08 08:10:13,393 INFO [geoserver.wms] -
Request: getServiceInfo
2011-02-08 08:10:13,395 DEBUG [geoserver.ows] - Getting layers and styles from 
LAYERS and STYLES
2011-02-08 08:10:13,395 DEBUG [geoserver.ows] - establishing raster style for 
nwgeo:VISTA_Alberta_UTM_12_0.3m_2010
2011-02-08 08:10:13,398 DEBUG [geoserver.wms] - setting up map
2011-02-08 08:10:13,400 DEBUG [wms.map] - setting up 344x512 image
2011-02-08 08:10:13,429 DEBUG [geotools.styling] - number of fts set 1
2011-02-08 08:10:13,439 DEBUG [gce.imagemosaic] - Reading mosaic from 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp
2011-02-08 08:10:13,441 DEBUG [gce.imagemosaic] - Highest res 0.3 0.2999999998
2011-02-08 08:10:13,445 TRACE [gce.imagemosaic] - Adjusted Requested Envelope = 
ReferencedEnvelope[152554.6875 : 718945.3125, 5211750.0 : 6054750.0]
Requested raster dimension = java.awt.Rectangle[x=0,y=0,width=344,height=512]
Corresponding raster source region = 
java.awt.Rectangle[x=0,y=0,width=344,height=512]
2011-02-08 08:10:13,447 DEBUG [gce.imagemosaic] - Loading level 0 with 
subsampling factors 5488 5488
2011-02-08 08:10:13,458 DEBUG [imagemosaic.catalog] - No index exits and we 
create a new one.
2011-02-08 08:10:13,458 DEBUG [imagemosaic.catalog] - Index Loaded
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,460 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,463 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-02-08 08:10:13,463 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,463 TRACE [data.shapefile] - Memory mapping file...
2011-02-08 08:10:13,465 TRACE [index.quadtree] - QuadTree opened
2011-02-08 08:10:13,466 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,466 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,466 TRACE [data.shapefile] - IndexFile has been closed. 
Number open: 0
2011-02-08 08:10:13,466 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.dbf by 
org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2011-02-08 08:10:13,466 TRACE [data.shapefile] - Dbase File Reader has been 
opened. Number open: 1
2011-02-08 08:10:13,466 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-02-08 08:10:13,466 TRACE [data.shapefile] - Shapefile Reader has been 
opened. Number open: 1
2011-02-08 08:10:13,466 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-02-08 08:10:13,466 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,466 TRACE [data.shapefile] - Memory mapping file...
2011-02-08 08:10:13,467 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,467 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,467 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,467 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,497 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,498 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,498 TRACE [data.shapefile] - Memory mapping file...
2011-02-08 08:10:13,498 TRACE [index.quadtree] - QuadTree opened
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,498 TRACE [data.shapefile] - IndexFile has been closed. 
Number open: 0
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.dbf by 
org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2011-02-08 08:10:13,498 TRACE [data.shapefile] - Dbase File Reader has been 
opened. Number open: 1
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-02-08 08:10:13,498 TRACE [data.shapefile] - Shapefile Reader has been 
opened. Number open: 1
2011-02-08 08:10:13,498 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-02-08 08:10:13,498 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,499 TRACE [data.shapefile] - Memory mapping file...
2011-02-08 08:10:13,499 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,499 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,499 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,499 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: utm12
2011-02-08 08:10:13,541 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-02-08 08:10:13,542 TRACE [data.shapefile] - Shapefile Reader has been 
closed. Number open: 0
2011-02-08 08:10:13,542 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:10:13,542 TRACE [data.shapefile] - IndexFile has been closed. 
Number open: 0
2011-02-08 08:10:13,542 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.dbf by 
org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2011-02-08 08:10:13,542 TRACE [data.shapefile] - Dbase File Reader has been 
closed. Number open: 0
2011-02-08 08:10:13,545 DEBUG [gce.imagemosaic] - Trying to resolve path:
type:RELATIVE
parentLocation:file:/dataifs/2010/nwg/ab/utm12/
location:AB_2010_RGBN30_12_4050E_55500N.jp2
2011-02-08 08:10:13,545 DEBUG [gce.imagemosaic] - File found 
AB_2010_RGBN30_12_4050E_55500N.jp2
2011-02-08 08:10:13,585 DEBUG [gce.imagemosaic] - Trying to resolve path:
.
.
.
2011-02-08 08:16:39,251 DEBUG [gce.imagemosaic] - Trying to resolve path:
type:RELATIVE
parentLocation:file:/dataifs/2010/nwg/ab/utm12/
location:RGBN_AB_2009_N03_12_3300E_57540N.jp2
2011-02-08 08:16:39,251 DEBUG [gce.imagemosaic] - File found 
RGBN_AB_2009_N03_12_3300E_57540N.jp2
2011-02-08 08:16:39,253 DEBUG [gce.imagemosaic] - Trying to resolve path:
type:RELATIVE
parentLocation:file:/dataifs/2010/nwg/ab/utm12/
location:AB_2010_RGBN30_12_3975E_54900N.jp2
2011-02-08 08:16:39,253 DEBUG [gce.imagemosaic] - File found 
AB_2010_RGBN30_12_3975E_54900N.jp2
2011-02-08 08:16:39,256 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-02-08 08:16:39,256 TRACE [data.shapefile] - Shapefile Reader has been 
closed. Number open: 0
2011-02-08 08:16:39,256 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-02-08 08:16:39,256 TRACE [data.shapefile] - IndexFile has been closed. 
Number open: 0
2011-02-08 08:16:39,256 DEBUG [data.shapefile] - Read lock: 
file:/dataifs/2010/nwg/ab/utm12/utm12.dbf by 
org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2011-02-08 08:16:39,256 TRACE [data.shapefile] - Dbase File Reader has been 
closed. Number open: 0
2011-02-08 08:16:39,256 DEBUG [imagemosaic.catalog] - Index Loaded


________________________________________
From: Steve Way [[email protected]]
Sent: February 8, 2011 2:59 AM
To: Lonnie Matsuno; [email protected]
Subject: RE: [Geoserver-users]  Geoserver 2.1 Question

Hi Lonnie,

I think that could be an issue with the Geowebcach that comes with geoserver.  
I have had concurrency issues with GWC, so ended up removing it from my distro 
and now runs smoothly.

Test removing all *gwc*.jar files from the WEB-INF/lib folder and give it a go.

Cheers,
Steve

-----Original Message-----
From: Lonnie M [mailto:[email protected]]
Sent: 07 February 2011 22:08
To: [email protected]
Subject: [Geoserver-users] Geoserver 2.1 Question


We have been trying out Geoserver 2.1 with JP2K imagemosaics.  With 2.0.2 we 
were running multiple Geoserver instances with a common JP2K data directories.

Something I have noticed and am not sure if it is a bug, or by design is that 
with 2.1, the geoserver instance that creates the store/layer serves WMS output 
correctly, but any subsequent instances the WMS appears to hang and not return 
a GetMap response.


Any thoughts?

--
View this message in context: 
http://old.nabble.com/Geoserver-2.1-Question-tp30868290p30868290.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech or 
[email protected] and delete the original message.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to