Hi,
I've been battling to upgrade a 2.6.x version of GeoServer to 2.8.x.
The issue was that the GeoServer would just shutdown on load without an error
message:
2016-07-04 12:56:11,819 INFO [geoserver.security] - AuthenticationCache
Eviction Task created to run every 600 seconds
2016-07-04 12:56:11,944 INFO [georss.GeoRSSPoller] - destroy() invoked
...
2016-07-04 12:56:13,007 WARN [support.DisposableBeanAdapter] - Invocation of
destroy method failed on bean with name 'geoServerLoader':
org.springframework.beans.factory.BeanCreationNotAllowedException: Error
creating bean with name 'geoWebCacheExtensions': Singleton bean creation not
allowed while the singletons of this factory are in destruction (Do not request
a bean from a BeanFactory in a destroy method implementation!)
I have now identified the cause and I thought I'd share it just incase anyone
else gets the problem.
We originally used the Web.xml file to set the data directory for the GeoServer
and eventually moved the setting into the JVM options. I had left a custom
version of the Web.xml file in my installation directory which meant I was
overwriting the file whenever I installed a new version of GeoServer.
It appears that the following entry has been removed from the web.xml in the
package for 2.8.4.
<!-- If true, enable versioning datastore as well -->
<context-param>
<param-name>enableVersioning</param-name>
<param-value>true</param-value>
</context-param>
Once I replaced the web.xml with the packaged version the server loaded again.
The upgrade page
(http://docs.geoserver.org/maintain/en/user/installation/upgrade.html) and
migration page
(http://docs.geoserver.org/maintain/en/user/datadirectory/migrating.html#migrating-data-directory)
in the documentation do not appear to have any notes relating to the move from
2.6.x to 2.8.x so perhaps this email will assist anyone else who uses a custom
web.xml and encounters the same issue. The GeoServer logs will not provide much
assistance in identifying the cause if this is your problem.
Best Regards,
Paul Wittle
"This e-mail is intended for the named addressee(s) only and may contain
information about individuals or other sensitive information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly disregard the
content of the message and notify the sender immediately. Please be aware that
all email may be subject to recording and/or monitoring in accordance with
relevant legislation."
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users