Uploaded image for project: 'Geomajas GWT2 client'
  1. Geomajas GWT2 client
  2. GWTII-254

Conflicting JAI libs (on OSGeo Live DVD) with Print plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      This error comes on the OSGeo Live DVD and also on a normal Ubuntu installation (12.04 or 14.04)
      When removing jai files, Print plugin complains that he doesn't find the jai files anymore.

      12:09:50.498 [main] ERROR o.s.web.context.ContextLoader - Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'plugin.printing.service.PrintService': Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) ~[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) ~[spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746) [jetty-server-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238) [jetty-servlet-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) [jetty-webapp-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) [jetty-server-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) [jetty-webapp-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) [jetty-deploy-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) [jetty-server-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.server.Server.doStart(Server.java:281) [jetty-server-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.16.v20140903.jar:7.6.16.v20140903]
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) [jetty-xml-7.6.16.v20140903.jar:7.6.16.v20140903]
      at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) [jetty-xml-7.6.16.v20140903.jar:7.6.16.v20140903]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_65]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) [start.jar:7.6.16.v20140903]
      at org.eclipse.jetty.start.Main.start(Main.java:615) [start.jar:7.6.16.v20140903]
      at org.eclipse.jetty.start.Main.main(Main.java:96) [start.jar:7.6.16.v20140903]
      Caused by: java.lang.ExceptionInInitializerError: null
      at org.geomajas.plugin.printing.service.PrintServiceImpl.initJai(PrintServiceImpl.java:250) ~[geomajas-plugin-print-1.16.5.jar:1.16.5]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_65]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      ... 51 common frames omitted
      Caused by: java.lang.SecurityException: sealing violation: package com.sun.media.jai.util is sealed
      at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388) ~[na:1.7.0_65]
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:417) ~[na:1.7.0_65]
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[na:1.7.0_65]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.7.0_65]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_65]
      at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_65]
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421) ~[na:na]
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) ~[na:na]
      at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_65]
      at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[na:1.7.0_65]
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.7.0_65]
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[na:1.7.0_65]
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[na:1.7.0_65]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.7.0_65]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_65]
      at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_65]
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421) ~[na:na]
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) ~[na:na]
      at com.sun.media.jai.operator.ImageReadDescriptor.getPropertyGenerators(ImageReadDescriptor.java:897) ~[jai_imageio-1.1.jar:1.1]
      at javax.media.jai.DescriptorCache.addDescriptor(DescriptorCache.java:184) ~[jai_core.jar:1.1.3]
      at javax.media.jai.OperationRegistry.registerDescriptor(OperationRegistry.java:707) ~[jai_core.jar:1.1.3]
      at javax.media.jai.ThreadSafeOperationRegistry.registerDescriptor(ThreadSafeOperationRegistry.java:156) ~[jai_core.jar:1.1.3]
      at com.sun.media.jai.imageioimpl.ImageReadWriteSpi.updateRegistry(ImageReadWriteSpi.java:86) ~[jai_imageio-1.1.jar:1.1]
      at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2048) ~[jai_core.jar:1.1.3]
      at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:612) ~[jai_core.jar:1.1.3]
      at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:365) ~[jai_core.jar:1.1.3]
      at javax.media.jai.JAI.<clinit>(JAI.java:560) ~[jai_core.jar:1.1.3]
      ... 59 common frames omitted
      2014-12-08 12:09:50.500:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext

      {/showcase,file:/usr/lib/geomajas-2.1.2-bin/webapps/showcase/}

      ,/usr/lib/geomajas-2.1.2-bin/webapps/showcase
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'plugin.printing.service.PrintService': Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
      at org.eclipse.jetty.server.Server.doStart(Server.java:281)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
      at org.eclipse.jetty.start.Main.start(Main.java:615)
      at org.eclipse.jetty.start.Main.main(Main.java:96)
      Caused by:
      java.lang.ExceptionInInitializerError
      at org.geomajas.plugin.printing.service.PrintServiceImpl.initJai(PrintServiceImpl.java:250)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
      at org.eclipse.jetty.server.Server.doStart(Server.java:281)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
      at org.eclipse.jetty.start.Main.start(Main.java:615)
      at org.eclipse.jetty.start.Main.main(Main.java:96)
      Caused by:
      java.lang.SecurityException: sealing violation: package com.sun.media.jai.util is sealed
      at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:417)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
      at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
      at com.sun.media.jai.operator.ImageReadDescriptor.getPropertyGenerators(ImageReadDescriptor.java:897)
      at javax.media.jai.DescriptorCache.addDescriptor(DescriptorCache.java:184)
      at javax.media.jai.OperationRegistry.registerDescriptor(OperationRegistry.java:707)
      at javax.media.jai.ThreadSafeOperationRegistry.registerDescriptor(ThreadSafeOperationRegistry.java:156)
      at com.sun.media.jai.imageioimpl.ImageReadWriteSpi.updateRegistry(ImageReadWriteSpi.java:86)
      at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2048)
      at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:612)
      at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:365)
      at javax.media.jai.JAI.<clinit>(JAI.java:560)
      at org.geomajas.plugin.printing.service.PrintServiceImpl.initJai(PrintServiceImpl.java:250)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
      at org.eclipse.jetty.server.Server.doStart(Server.java:281)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
      at org.eclipse.jetty.start.Main.start(Main.java:615)
      at org.eclipse.jetty.start.Main.main(Main.java:96)

        Attachments

          Activity

            People

            • Assignee:
              jandm Jan De Moerloose
              Reporter:
              streulma Matthias Streulens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: