Script extension installation causes GeoServer failure with BeanCreationException.

Description

GeoServer fails to start after following the instructions for installing the script extension located at http://docs.geoserver.org/stable/en/user/community/scripting/installation.html.

In the log there is "WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name 'geoServerLoader': java.lang.NullPointerException" followed by " ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException"

This does not appear to be version specific. I can confirm that I have the problem with using http://ares.boundlessgeo.com/geoserver/2.7.x/community-2015-08-25/geoserver-2.7-SNAPSHOT-python-plugin.zip with
http://ares.boundlessgeo.com/geoserver/2.7.x/geoserver-2.7.x-2015-08-25-war.zip.

Environment

Debian 8 64-bit with Tomcat 8.0.14

Attachments

1
100% Done
Loading...

Activity

Andrea Aime 
January 26, 2021 at 9:12 AM

The script module has been removed

Travis Webb 
May 18, 2016 at 2:55 AM
(edited)

Running into the same issue with the GWC Distributed plugin in 2.9. Installing WPS did not help.

Martin Lacayo 
January 18, 2016 at 1:54 PM

Thank you! The Python plugin is no longer causing this error. It seems as you suggested that the WPS extension is a requirement.

Griffin Myers 
January 18, 2016 at 1:29 PM

Yes, I experienced this exact issue with the Python plugin. However, once I also installed the WPS extension (http://ares.boundlessgeo.com/geoserver/2.8.x/ext-latest/geoserver-2.8-SNAPSHOT-wps-plugin.zip), the issues with getting the Python plugin to work went away.

Martin Lacayo 
January 18, 2016 at 9:58 AM

This issue is about the community Python plugin, not the WPS plugin. I can confirm that this issue still exists with the 14-Jan-2016 nightly build of 2.8.1. Specifically I still have the error using

http://ares.boundlessgeo.com/geoserver/2.8.x/community-2016-01-14/geoserver-2.8-SNAPSHOT-python-plugin.zip

with

http://ares.boundlessgeo.com/geoserver/2.8.x/geoserver-2.8.x-2016-01-14-war.zip

Won't Fix

Details

Assignee

Reporter

Components

Priority

Created August 26, 2015 at 7:25 AM
Updated January 26, 2021 at 9:12 AM
Resolved January 26, 2021 at 9:12 AM