Hi, for the record, this one has been confirmed as a regression in Tomcat, and has been fixed, I believe the fix should be out in 8.0.25 and 7.0.63:
https://bz.apache.org/bugzilla/show_bug.cgi?id=58192 Cheers Andrea On Fri, Jul 10, 2015 at 7:31 PM, <[email protected]> wrote: > We recently upgraded to tomcat 8.0.24 and this broke our geoserver. We > are currently using geoserver 2.5.2, but I also test this on the newest > geoserver 2.7.1.1 and it is also an issue. It works in tomcat 8.0.23 but > not 24. > > You get the following error: > > SEVERE [localhost-startStop-1] > org.apache.catalina.core.StandardContext.listenerStart Exception sending > context initialized event to listener instance of class > org.geoserver.GeoserverInitStartupListener > java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi: > Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi could > not be instantiated > at java.util.ServiceLoader.fail(ServiceLoader.java:232) > at java.util.ServiceLoader.access$100(ServiceLoader.java:185) > at > java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) > at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) > at java.util.ServiceLoader$1.next(ServiceLoader.java:480) > at > javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:210) > at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138) > at > javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159) > at javax.imageio.ImageIO.<clinit>(ImageIO.java:66) > at > org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:159) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.IllegalArgumentException: vendorName == null! > at > javax.imageio.spi.IIOServiceProvider.<init>(IIOServiceProvider.java:76) > at > javax.imageio.spi.ImageReaderWriterSpi.<init>(ImageReaderWriterSpi.java:231) > at javax.imageio.spi.ImageWriterSpi.<init>(ImageWriterSpi.java:213) > at > com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi.<init>(CLibJPEGImageWriterSpi.java:84) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:422) > at java.lang.Class.newInstance(Class.java:442) > at > java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) > ... 20 more > > > I tried a couple different fixes, but what ended up working was moving all > the jai_*.jar files to the tomcat lib dir. > > Obviously this is less than ideal and was wondering if there was a more > permanent fix? I have looked through the change log for 8.0.24 to see what > would have broken it and didn’t not see anything that looked like it was the > culprit. > > Thanks, > > Josh Moore > Information Program Analyst > Flight Inspection Services > AJW-391 > > (Office) 405-954-4314 > (Cell) 405-397-9048 > [email protected] > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. -------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
