Invalid scope attribute in gs-restconfig applicationContext.xml

Description

The gs-restconfig applicationContext.xml declares:

yet contains:

However, the scope attribute is not defined for this DTD (Spring Beans 1.2), resulting in the following failure to start GeoServer (inexplicably for one user only):
http://osgeo-org.1560.x6.nabble.com/Could-not-access-Geoserver-admin-page-td5301339.html

The invalidity of applicationContext.xml can be confirmed by opening it in Eclipse.

The DTD should be changed to:

Environment

None

Activity

Show:
Ben Caradoc-Davies
December 28, 2016, 9:42 PM

An alternative to changing the DTD is to use singleton="false":
http://docs.spring.io/spring/docs/2.0.x/reference/beans.html#beans-factory-scopes

Ben Caradoc-Davies
January 28, 2017, 6:51 PM

Merged on master and cherry-picked on to 2.10.x.

Assignee

Ben Caradoc-Davies

Reporter

Ben Caradoc-Davies

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure