The GSR extension continues to be a community module which is provided on a
completely unsupported model. It gets even less support than a standard
extension and is not tested when new code is added to geoserver so there is
every chance that it is broken by recent updates. If you are unable to fix
it yourself you will need to find a developer who can fix it. If it is
essential to your company then you will be able to determine how much the
work is worth to you. Or you can continue to run an out of date and
insecure version, after telling the world about it.

Ian

On Thu, 12 May 2022, 14:46 Nicolas Matzick, <nicolas.matz...@hkt.de> wrote:

> Hi,
> I upgraded to 2.21-RC but I still have the error on startup when using the
> GSR plugin (essential for me):
>
> 12 002 13:02:52 WARN   [support.XmlWebApplicationContext] - Exception
> encountered during context initialization - cancelling refresh attempt:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'gsrDispatcher' defined in URL [
> jar:file:/home/nico/gs.bak-2.21-RC/webapps/geoserver/WEB-INF/lib/gs-gsr-2.21-SNAPSHOT.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> javax.xml.stream.FactoryConfigurationError: Provider for
> javax.xml.stream.XMLOutputFactory cannot be found
> 12 002 13:02:52 WARN   [support.DisposableBeanAdapter] - Destroy method
> 'destroy' on bean with name 'gwcMemoryBlobStore' threw an exception:
> java.util.concurrent.RejectedExecutionException: Task
> java.util.concurrent.FutureTask@f837c11 rejected from
> java.util.concurrent.ThreadPoolExecutor@1aca6dc3[Terminated, pool size =
> 0, active threads = 0, queued tasks = 0, completed tasks = 1]
> 12 002 13:02:52 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 singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> 12 002 13:02:52 ERROR  [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'gsrDispatcher' defined in URL [
> jar:file:/home/nico/gs.bak-2.21-RC/webapps/geoserver/WEB-INF/lib/gs-gsr-2.21-SNAPSHOT.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> javax.xml.stream.FactoryConfigurationError: Provider for
> javax.xml.stream.XMLOutputFactory cannot be found
>     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
>     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
>     at
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
>     at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
> ...
>
>
> So I still have to use a 2.18.x version.
> I would appreciate if anyone has an idea how to fix it.
> Thanks,
> Nico
> _______________________________________________
> 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
>
_______________________________________________
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