Hello

We are trying to install geoserver-2-21-SNAPSHOT_jdbcconfig on our server with 
Geoserver  2.21.0.

The installation is going fine when using an empty geoserver data directory, 
geoserver connect to postgres and stores the workspaces in the database

when we create one.

The problem arises when we try to do an import from an existing data directory, 
initdb is not a problem just the import.

Errors in the log:

27 047 07:47:13 CONFIG [org.geoserver] - Read catalog in 2.485 s27 047 07:47:19 
WARN   [support.XmlWebApplicationContext] - Exception encountered during 
context initialization - cancelling refresh attempt: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'rawCatalog' defined in URL 
[jar:file:/var/lib/tomcat9/webapps/geoserver/WEB-INF/lib/gs-main-2.21.0.jar!/applicationContext.xml]:
 Initialization of bean failed; nested exception is java.lang.RuntimeException: 
java.lang.reflect.UndeclaredThrowableException

27 047 07:47:19 WARN   [support.DisposableBeanAdapter] - Invocation of destroy 
method failed on bean with name 'geoServerLoader': 
java.lang.NullPointerException

27 047 07:47:19 ERROR  [context.ContextLoader] - Context initialization failed



The last Caused by is:

Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect 
result size: expected 1, actual 0

Beginning GeoServer cleanup sequence



Has anyone had a similar problem and maybe found a solution, we would much 
appreciate some input.

Thanks.



BR

Fredrik Gustavsson

Systemadministratör
Geodataavdelningen

GÖTEBORGS STAD
Stadsbyggnadskontoret
Telefon: 0790-989472
E-post: 
fredrik.gustavs...@sbk.goteborg.se<mailto:fredrik.gustavs...@sbk.goteborg.se>

Postadress: Box 2554, 403 17 Göteborg
Besök: Köpmansgatan 20
www.goteborg.se<http://www.goteborg.se/>

Så här behandlar stadsbyggnadskontoret dina 
personuppgifter<https://goteborg.se/wps/portal?uri=gbglnk%3a20185816278319>

_______________________________________________
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