We have RHEL8 server, Jetty webserver and GeoServer v2.22.4. There is an Apache proxy.  We have the data folder external to the GeoServer application.  It has been running through various upgrades for many years.  Until recently, GeoNetwork has restricted upgrades to Java8 compatibility (hence GS v2.22.4).

I think a month or so ago, I did something to the setup (cannot recall what).  All layers continued to work with Open Layers, which is how I normally check operation.  Very recently, it was brought to my attention that WMS and WMTS could not be accessed via GIS applications. However WFS and WCS layers are accessible.

Using the WMS GetCapabilities query in the GeoServer Demo package, I get a timeout after a minute or so, and the message "This XML file does not appear to have any style information associated with it. The document tree is shown below" (file attached - looks okay to me).

The default data folder is still with the GeoServer installation and, if I point at it, the WMS requests are accessible via GIS systems, suggesting the GS installation is fine - there is something wrong with our external data store.  File permissions and ownership are the same as the default data store.

I have tried augmenting the default data store with workspace/store/styles from our external store, but get error messages.

If all else fails, is there a way of rescuing the workspace/store/250+layers/style information?  Or is there something simple that fixes our problem?

Terry Curran

Pacific Salmon Foundation

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<WMS_Capabilities version="1.3.0" updateSequence="5902" xsi:schemaLocation="http://www.opengis.net/wms https://soggy2.zoology.ubc.ca/geoserver/schemas/wms/1.3.0/capabilities_1_3_0.xsd";>
	<Service>
		<Name>WMS</Name>
		<Title>GeoServer Web Map Service</Title>
		<Abstract>
			A compliant implementation of WMS 1.1.1 plus most of the SLD 1.0 extension (dynamic styling). Can also generate PDF, SVG, KML, GeoRSS
		</Abstract>
		<KeywordList>
			<Keyword>WFS</Keyword>
			<Keyword>WMS</Keyword>
			<Keyword>GeoServer</Keyword>
			<Keyword>GeoNetwork</Keyword>
		</KeywordList>
		<OnlineResource xlink:type="simple" xlink:href="http://geonetwork-opensource.org"/>
		<ContactInformation />
		<Fees>None</Fees>
		<AccessConstraints>None</AccessConstraints>
	</Service>
	<Capability>
		<Request>
			<GetCapabilities>
				<Format>text/xml</Format>
				<DCPType>
					<HTTP>
						<Get>
							<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?SERVICE=WMS&"/>
						</Get>
						<Post>
							<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?SERVICE=WMS&"/>
						</Post>
					</HTTP>
				</DCPType>
			</GetCapabilities>
			<GetMap>
				<Format>image/png</Format>
				<Format>application/atom+xml</Format>
				<Format>application/geopackage+sqlite3</Format>
				<Format>application/json;type=utfgrid</Format>
				<Format>application/pdf</Format>
				<Format>application/rss+xml</Format>
				<Format>application/vnd.google-earth.kml+xml</Format>
				<Format>
					application/vnd.google-earth.kml+xml;mode=networklink
				</Format>
				<Format>application/vnd.google-earth.kmz</Format>
				<Format>image/geotiff</Format>
				<Format>image/geotiff8</Format>
				<Format>image/gif</Format>
				<Format>image/jpeg</Format>
				<Format>image/png; mode=8bit</Format>
				<Format>image/svg+xml</Format>
				<Format>image/tiff</Format>
				<Format>image/tiff8</Format>
				<Format>image/vnd.jpeg-png</Format>
				<Format>image/vnd.jpeg-png8</Format>
				<Format>text/html; subtype=openlayers</Format>
				<Format>text/html; subtype=openlayers2</Format>
				<Format>text/html; subtype=openlayers3</Format>
				<DCPType>
					<HTTP>
						<Get>
							<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?SERVICE=WMS&"/>
						</Get>
					</HTTP>
				</DCPType>
			</GetMap>
			<GetFeatureInfo>
				<Format>text/plain</Format>
				<Format>application/vnd.ogc.gml</Format>
				<Format>text/xml</Format>
				<Format>application/vnd.ogc.gml/3.1.1</Format>
				<Format>text/xml; subtype=gml/3.1.1</Format>
				<Format>text/html</Format>
				<Format>application/json</Format>
				<DCPType>
					<HTTP>
						<Get>
							<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?SERVICE=WMS&"/>
						</Get>
					</HTTP>
				</DCPType>
			</GetFeatureInfo>
		</Request>
		<Exception>
			<Format>XML</Format>
			<Format>INIMAGE</Format>
			<Format>BLANK</Format>
			<Format>JSON</Format>
		</Exception>
		<Layer>
			<Title>GeoServer Web Map Service</Title>
			<Abstract>
				A compliant implementation of WMS 1.1.1 plus most of the SLD 1.0 extension (dynamic styling). Can also generate PDF, SVG, KML, GeoRSS
			</Abstract>
			<!--All supported EPSG projections:-->
			<CRS>AUTO:42001</CRS>
			<!-- SNIP -->
			<CRS>EPSG:404000</CRS>
			<CRS>CRS:84</CRS>
			<EX_GeographicBoundingBox>
				<westBoundLongitude>-180.091293334961</westBoundLongitude>
				<eastBoundLongitude>180.00000000000009</eastBoundLongitude>
				<southBoundLatitude>-90.0</southBoundLatitude>
				<northBoundLatitude>90.0</northBoundLatitude>
			</EX_GeographicBoundingBox>
			<BoundingBox CRS="CRS:84" minx="-180.091293334961" miny="-90.0" maxx="180.00000000000009" maxy="90.0"/>
			<Layer queryable="1">
				<Name>Haulouts_nopoint</Name>
				<Title>Haulouts_nopoint</Title>
				<Abstract>
					A points layer used as transparent layer in the ShoreZone Leaflet layer. Needed to be a place-holder for the 'none' layer option.
				</Abstract>
				<KeywordList/>
				<CRS>EPSG:3005</CRS>
				<EX_GeographicBoundingBox>
					<westBoundLongitude>-127.9415321474505</westBoundLongitude>
					<eastBoundLongitude>-123.43417190098428</eastBoundLongitude>
					<southBoundLatitude>48.298104522864044</southBoundLatitude>
					<northBoundLatitude>50.12716163226721</northBoundLatitude>
				</EX_GeographicBoundingBox>
				<BoundingBox CRS="CRS:84" minx="-127.9415321474505" miny="48.298104522864044" maxx="-123.43417190098428" maxy="50.12716163226721"/>
				<BoundingBox CRS="EPSG:3005" minx="861154.875" miny="367920.668262535" maxx="1183524.8724345" maxy="567978.5625"/>
				<MetadataURL type="ISO19115:2003">
					<Format>text/plain</Format>
					<OnlineResource xlink:type="simple" xlink:href="http://soggy.zoology.ubc.ca:8080/geonetwork/srv/eng/catalog.search#/metadata/746A305E-9264-4484-9467-E6A75F36932E"/>
				</MetadataURL>
				<Style>
					<Name>default-style-Haulouts_nopoint</Name>
					<Title>Haulouts_nopoint style</Title>
					<Abstract>Default style for Haulouts_nopoint layer</Abstract>
					<LegendURL width="20" height="20">
						<Format>image/png</Format>
						<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=Haulouts_nopoint"/>
					</LegendURL>
				</Style>
			</Layer>
			<Layer queryable="1">
				<Name>psf:historical_shorezone_bar</Name>
				<Title>Historical ShoreZone Barnacle (intertidal zone)</Title>
				<Abstract>
					Visible on bedrock or large boulders. Can form an extensive band in higher exposures where algae have been grazed away.
				</Abstract>
				<KeywordList/>
				<CRS>EPSG:3005</CRS>
				<EX_GeographicBoundingBox>
					<westBoundLongitude>-133.53468039309843</westBoundLongitude>
					<eastBoundLongitude>-122.18890198660978</eastBoundLongitude>
					<southBoundLatitude>48.13618415412624</southBoundLatitude>
					<northBoundLatitude>55.9986377618926</northBoundLatitude>
				</EX_GeographicBoundingBox>
				<BoundingBox CRS="CRS:84" minx="-133.53468039309843" miny="48.13618415412624" maxx="-122.18890198660978" maxy="55.9986377618926"/>
				<BoundingBox CRS="EPSG:3005" minx="529211.625" miny="367780.75" maxx="1237457.875" maxy="1222696.875"/>
				<MetadataURL type="ISO19115:2003">
					<Format>text/plain</Format>
					<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geonetwork/srv/eng/catalog.search#/metadata/687b6fb1-d9a8-4880-9b13-d6fdf0f83186"/>
				</MetadataURL>
				<Style>
					<Name>default-style-psf:historical_shorezone_bar</Name>
					<Title>psf:historical_shorezone_bar style</Title>
					<Abstract>
						Default style for psf:historical_shorezone_bar layer
					</Abstract>
					<LegendURL width="20" height="20">
						<Format>image/png</Format>
						<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=psf%3Ahistorical_shorezone_bar"/>
					</LegendURL>
				</Style>
			</Layer>
			<Layer queryable="1">
				<Name>psf:historical_shorezone_bmu</Name>
				<Title>Historical ShoreZone Blue Mussel (intertidal zone)</Title>
				<Abstract>
					Visible on bedrock and on boulder, cobble or gravel beaches. Appears in dense clusters that form distinct black patches or bands, either above or below the barnacle band.
				</Abstract>
				<KeywordList/>
				<CRS>EPSG:3005</CRS>
				<EX_GeographicBoundingBox>
					<westBoundLongitude>-133.53468039309843</westBoundLongitude>
					<eastBoundLongitude>-122.18890198660978</eastBoundLongitude>
					<southBoundLatitude>48.13618415412624</southBoundLatitude>
					<northBoundLatitude>55.9986377618926</northBoundLatitude>
				</EX_GeographicBoundingBox>
				<BoundingBox CRS="CRS:84" minx="-133.53468039309843" miny="48.13618415412624" maxx="-122.18890198660978" maxy="55.9986377618926"/>
				<BoundingBox CRS="EPSG:3005" minx="529211.625" miny="367780.75" maxx="1237457.875" maxy="1222696.875"/>
				<MetadataURL type="ISO19115:2003">
					<Format>text/plain</Format>
					<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geonetwork/srv/eng/catalog.search#/metadata/687b6fb1-d9a8-4880-9b13-d6fdf0f83186"/>
				</MetadataURL>
				<Style>
					<Name>default-style-psf:historical_shorezone_bmu</Name>
					<Title>psf:historical_shorezone_bmu style</Title>
					<Abstract>
						Default style for psf:historical_shorezone_bmu layer
					</Abstract>
					<LegendURL width="20" height="20">
						<Format>image/png</Format>
						<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=psf%3Ahistorical_shorezone_bmu"/>
					</LegendURL>
				</Style>
			</Layer>
 
   <!-- SNIP OF ~280 LAYERS  -->

			<Layer queryable="1" opaque="0">
				<Name>dfo:zooplankton_sog_2019</Name>
				<Title>zooplankton_sog_2014_2017</Title>
				<Abstract>
					Update of the SoG data, 2014-current, with abundance and biomass data table. Includes number of species, a station diversity and a station equitability.
				</Abstract>
				<KeywordList>
					<Keyword>features</Keyword>
					<Keyword>zooplankton_sog_2019</Keyword>
				</KeywordList>
				<CRS>EPSG:4326</CRS>
				<CRS>CRS:84</CRS>
				<EX_GeographicBoundingBox>
					<westBoundLongitude>-125.10962677002</westBoundLongitude>
					<eastBoundLongitude>-122.963371276855</eastBoundLongitude>
					<southBoundLatitude>48.2209930419922</southBoundLatitude>
					<northBoundLatitude>50.0400047302246</northBoundLatitude>
				</EX_GeographicBoundingBox>
				<BoundingBox CRS="CRS:84" minx="-125.10962677002" miny="48.2209930419922" maxx="-122.963371276855" maxy="50.0400047302246"/>
				<BoundingBox CRS="EPSG:4326" minx="48.2209930419922" miny="-125.10962677002" maxx="50.0400047302246" maxy="-122.963371276855"/>
				<MetadataURL type="ISO19115:2003">
					<Format>text/plain</Format>
					<OnlineResource xlink:type="simple" xlink:href="http://soggy.zoology.ubc.ca:8080/geonetwork/srv/eng/catalog.search#/metadata/72183992-b9d1-42d4-b097-b2087c5a1121"/>
				</MetadataURL>
				<Style>
					<Name>generic</Name>
					<Title>Generic</Title>
					<Abstract>Generic style</Abstract>
					<LegendURL width="20" height="20">
						<Format>image/png</Format>
						<OnlineResource xlink:type="simple" xlink:href="https://soggy2.zoology.ubc.ca/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=dfo%3Azooplankton_sog_2019"/>
					</LegendURL>
				</Style>
			</Layer>
		</Layer>
	</Capability>
</WMS_Capabilities>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to