[Geoserver-devel] [JIRA] (GEOS-10424) Backup/Resoter plugin - Geoserver fails to start

Jan Egil Korsvik created an issue

GeoServer / BugGEOS-10424

Backup/Resoter plugin - Geoserver fails to start

Issue Type:

BugBug

Affects Versions:

2.20.3

Assignee:

Unassigned

Components:

Backup and Restore

Created:

16/Mar/22 3:43 PM

Environment:

Linux. Geoserver version 2.20.3

Priority:

MediumMedium

Reporter:

Jan Egil Korsvik

Today I tried to install the backup/restore community plugin. Installed it by copying all the jar files to the “lib” folder. However after restarting, geoserver will not start. Am I missing some reference or config? (If I remove the files again, then server starts normally.)

Get error message in the log saying:

2022-03-16 15:00:30,904 WARN [geoserver.backuprestore] - Could not fully configure the Backup Facade!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘backupJob’: Cannot create inner bean ‘(inner bean)#61c5f5f4’ of type [org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean] while setting bean property ‘flow’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#61c5f5f4’: Cannot create inner bean ‘(inner bean)#24540812’ of type [org.springframework.batch.core.job.flow.support.StateTransition] while setting bean property ‘stateTransitions’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#24540812’: Cannot create inner bean ‘(inner bean)#92e7cc5’ of type [org.springframework.batch.core.job.flow.support.state.SplitState] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#92e7cc5’: Cannot create inner bean ‘(inner bean)#1f78493a’ of type [org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#1f78493a’: Cannot create inner bean ‘(inner bean)#216f89cc’ of type [org.springframework.batch.core.job.flow.support.StateTransition] while setting bean property ‘stateTransitions’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#216f89cc’: Cannot create inner bean ‘(inner bean)#4654c033’ of type [org.springframework.batch.core.job.flow.support.state.StepState] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#4654c033’: Cannot resolve reference to bean ‘backupGeoServerInfos’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘backupGeoServerInfos’: Cannot resolve reference to bean ‘catalogBackupTasklet’ while setting bean property ‘tasklet’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘catalogBackupTasklet’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet] from ClassLoader [ParallelWebappClassLoader

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100197-sha1:e769b43)

Atlassian logo