[Geoserver-users] GeoServer 2.5-beta released

Hello everybody,
here is the 2.5-beta release:

Please try it out and let us know how it works for you!

Cheers
The GeoServer developers

2014-01-21 11:52:37,780 WARN [org.springframework.beans.factory.support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name ‘geoServerLoader’: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘GWCLifeCycleHandler’: Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Hi Andrea,
Thanks for your (and the rest of the dev’s!) work with this.

I’ve installed this (the 2.5 beta) onto my test instance.
Some observations from my logs - these aren’t things I’ve seen before (maybe I just missed them?).

From the geoserver.log:

2014-01-21 11:52:48,017 WARN [org.springframework.beans.factory.config.CustomEditorConfigurer] - Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.geotools.util.Version; offending editor instance: org.geoserver.platform.util.VersionPropertyEditor@anonymised.com

2014-01-21 11:52:57,237 INFO [org.geoserver.gwc.layer] - GWC configuration based on GeoServer’s Catalog loaded successfuly
2014-01-21 11:52:57,296 WARN [org.geowebcache.config.XMLConfiguration] - ********************************************************************************
2014-01-21 11:52:57,296 WARN [org.geowebcache.config.XMLConfiguration] - *** GWC configuration validation error: cvc-elt.1: Cannot find the declaration of element ‘gwcConfiguration’.
2014-01-21 11:52:57,296 WARN [org.geowebcache.config.XMLConfiguration] - *** Will try to use configuration anyway. Please check the order of declared elements against the schema.
2014-01-21 11:52:57,296 WARN [org.geowebcache.config.XMLConfiguration] - ********************************************************************************

2014-01-21 11:52:59,916 WARN [class org.geoserver.map.turbojpeg.TurboJPEGMapResponse] - The turbo jpeg encoder is not available, check the native libs installation

In the catalina logfile:

When shutting down I get these “SEVERE” level events:

INFO: Cleaned up javabean caches
Jan 21, 2014 11:52:39 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/geoserver] created a ThreadLocal with key of type [org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil.CharArrayThreadLocal] (value [org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil$CharArrayThreadLocal@anonymised.com]) and a value of type [char] (value [[C@anonymised.com]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 21, 2014 11:52:39 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/geoserver] created a ThreadLocal with key of type [org.eclipse.emf.ecore.impl.EClassImpl$1] (value [org.eclipse.emf.ecore.impl.EClassImpl$1@anonymised.com]) and a value of type [java.util.HashSet] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 21, 2014 11:52:41 AM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-9030
Jan 21, 2014 11:52:41 AM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-9032

When starting I get:

Jan 21, 2014 11:52:42 AM org.apache.catalina.startup.SetAllPropertiesRule begin

WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property ‘maxQueueSize’ to ‘0’ did not find a matching property.

Jan 21, 2014 11:52:42 AM org.apache.catalina.startup.SetAllPropertiesRule begin

WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property ‘maxQueueSize’ to ‘0’ did not find a matching property.

and

Jan 21, 2014 11:52:45 AM it.geosolutions.imageio.plugins.turbojpeg.TurboJpegUtilities loadTurboJpeg
WARNING: Failed to load the TurboJpeg native libs. This is not a problem, but the TurboJpeg encoder won’t be available: java.lang.UnsatisfiedLinkError: no turbojpeg in java.library.path
Jan 21, 2014 11:52:48 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup occured, but ApplicationContext is unset.

The one I can actually parse is that it seems to be saying the turbojpeg library isn’t installing properly. I’ve re-extracted and restarted but to no avail. Does it require anything special to install? There’s no readme so I figured it was just a put-into: \geoserver\WEB-INF\lib\ job.
The rest may or may not be important (they’re all at least WARN level after all).

Cheers,
Jonathan

On 21 January 2014 09:12, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hello everybody,
here is the 2.5-beta release:

Please try it out and let us know how it works for you!

Cheers
The GeoServer developers


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Andrea,

It looks very promising, thanks.

I was having a look at the beta version and decided to run it side-by-side with the current stable version.

So I renamed the war to geoserver25.war and deployed it into my tomcat webapps folder.

That worked very well!

I then however wanted to try the DXF WFS downloading and added the needed jar files (gs-dxf-core-2.5-beta.jar and gs-dxf-wps-2.5-beta.jar) to the WEB-IFN lib folder.

Which didn’t work, geoserver 2.5 won’t start anymore.

It appears to me that libraries are searched in /geoserver instead of /geoserver25, should I make a configuration change or is this hardcoded in the beta version extension somehow?

The log file shows:

2014-02-03 11:35:35,086 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘DXFOutputFormat’ defined in URL [jar:file:/C:/Prog/Tomcat%207.0/webapps/geoserver25/WEB-INF/lib/gs-dxf-core-2.5-beta.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:/C:/Prog/Tomcat%207.0/webapps/geoserver25/WEB-INF/lib/gs-main-2.5-beta.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘catalog’ while setting bean property ‘catalog’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘localWorkspaceCatalog’ defined in URL [jar:file:/C:/Prog/Tomcat%207.0/webapps/geoserver25/WEB-INF/lib/gs-main-2.5-beta.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘advertisedCatalog’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘advertisedCatalog’ defined in URL [jar:file:/C:/Prog/Tomcat%207.0/webapps/geoserver25/WEB-INF/lib/gs-main-2.5-beta.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘secureCatalog’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘secureCatalog’ defined in URL [jar:file:/C:/Prog/Tomcat%207.0/webapps/geoserver25/WEB-INF/lib/gs-main-2.5-beta.jar!/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geoserver.security.SecureCatalogImpl]: Constructor threw exception; nested exception is java.lang.NullPointerException

This is not an urgent issue for me as I can create another test setup, but if you have any insights I would be gratefull.

Regards,

Ronald Mulder

-----Oorspronkelijk bericht-----
Van: Andrea Aime andrea.aime@anonymised.com
Verzonden: di 21-01-2014 10:17
Onderwerp: [Geoserver-users] GeoServer 2.5-beta released
Aan: GeoServer Mailing List List geoserver-users@lists.sourceforge.net;

Hello everybody,
here is the 2.5-beta release:

Please try it out and let us know how it works for you!

Cheers
The GeoServer developers

------------------------------------------------------------------------------
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments & Everything In Between.
 Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
 

Hi Ronald,

···

I then however wanted to try the DXF WFS downloading and added the needed jar files (gs-dxf-core-2.5-beta.jar and gs-dxf-wps-2.5-beta.jar) to the WEB-IFN lib folder.

Which didn’t work, geoserver 2.5 won’t start anymore.

It appears to me that libraries are searched in /geoserver instead of /geoserver25, should I make a configuration change or is this hardcoded in the beta version extension somehow?

If you want to use the dxf-wps module, you also need to install the wps extension. If you instead don’t need wps, but only wfs, just remove gs-dxf-wps-2.5-beta.jar and geoserver should start again.

Regards,
Mauro Bartolomeoli

Hi Mauro,

That was exactly it!

It works now, thanks for your very fast reply!

Btw very nice feature this DXF export.

Regards,

Ronald Mulder


Van: maurobartolomeoli@anonymised.com [mailto:maurobartolomeoli@anonymised.com] Namens Mauro Bartolomeoli
Verzonden: maandag 3 februari 2014 14:43
Aan: Ronald Mulder
CC: GeoServer Mailing List List; Andrea Aime
Onderwerp: Re: [Geoserver-users] GeoServer 2.5-beta released

Hi Ronald,

I then however wanted to try the DXF WFS downloading and added the needed jar files (gs-dxf-core-2.5-beta.jar and gs-dxf-wps-2.5-beta.jar) to the WEB-IFN lib folder.

Which didn’t work, geoserver 2.5 won’t start anymore.

It appears to me that libraries are searched in /geoserver instead of /geoserver25, should I make a configuration change or is this hardcoded in the beta version extension somehow?

If you want to use the dxf-wps module, you also need to install the wps extension. If you instead don’t need wps, but only wfs, just remove gs-dxf-wps-2.5-beta.jar and geoserver should start again.

Regards,

Mauro Bartolomeoli

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

==

Dott. Mauro Bartolomeoli

@mauro_bart

Senior Software Engineer

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it