Hi,
Further to Joshua's message earlier in the month, I too ran into this issue
on Tomcat 8.0.24 with GeoServer 2.7.1.1, 2.7.0, 2.6.4 and 2.6.2. I have for
now moved to Tomcat 8.0.23.
This install is running on Windows Server 2012 R2, Oracle Java SE
7.0.800.15.
Regards,
Matt.
Date: Fri, 10 Jul 2015 17:31:54 +0000
> From: <[email protected]>
> Subject: [Geoserver-users] geoserver war broken in tomcat 8.0.24
> To: <[email protected]>
> Message-ID: <d1c5691d.f705%[email protected]>
> Content-Type: text/plain; charset="windows-1252"
>
> 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]<mailto:[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