Re: [Geoserver-users] GeoServer 2.19-RC Release Candidate available for testing
Hello, I installed the 2.19RC version on a macOS Catalina installation, using the Platform Independent Binary, with oracle Java 12.0.1 without any issues (13200 or so layers published successfully). When I installed the WPS plugin I got the error: FATAL: role "geotools" does not exist.Part of the log is as follows: - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wmtsCapabilitiesProvider' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'geoServer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geoServer' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wpsInitializer' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'executionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionManager' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'processStatusTracker' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processStatusTracker' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processStatusStore' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-jdbc-2.19-RC.jar!/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.wps.jdbc.JDBCStatusStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: Unable to obtain connection: Cannot create PoolableConnectionFactory (FATAL: role "geotools" does not exist) 11 Μαρ 19:59:03 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!) 11 Μαρ 19:59:03 ERROR [context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wmtsCapabilitiesProvider' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'geoServer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geoServer' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-main-2.19-RC.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wpsInitializer' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'executionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionManager' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Cannot resolve reference to bean 'processStatusTracker' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processStatusTracker' defined in URL [jar:file:/usr/local/geoserver219RC/webapps/geoserver/WEB-INF/lib/gs-wps-core-2.19-RC.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processStatusStore' defined in URL
[Geoserver-users] Maximum length of layer name
Hi, Is there a maximum limit of characters a layer name must have in Geoserver? I tried to publish a PostGIS table with a name 59 characters long (via REST with PHP and curl) and got the message: "org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.geoserver.rest.RestException 400 BAD_REQUEST: Trying to create new feature type inside the store, but no attributes were specified” When I truncated the table name in PostGIS to 57 characters the layer was published. When I use the web interface to publish the 59 character name, no such problem occurs. If the length of the name is irrelevant I should look into sth else. Thanks in advance Chris ___ 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