Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9105

Fatal error : Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.services.locks is sealed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 4.2.0
    • 4.2.0
    • Démo
    • None
    • 4.2 M1

      I installed the nightly and I get this error :

      Too bad
      An error occurred.
      Please contact the administrator of the application.

      An error occured during Ametys initialization.{{java.lang.Exception: java.lang.ExceptionInInitializerError at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:228) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5037) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5347) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:620) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.jackrabbit.core.util.db.ConnectionFactory.getDriverClass(ConnectionFactory.java:261) at org.apache.jackrabbit.core.util.db.ConnectionFactory.createDataSource(ConnectionFactory.java:234) at org.apache.jackrabbit.core.util.db.ConnectionFactory.getDataSource(ConnectionFactory.java:170) at org.apache.jackrabbit.core.data.db.DbDataStore.getDataSource(DbDataStore.java:632) at org.apache.jackrabbit.core.data.db.DbDataStore.init(DbDataStore.java:619) at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$4.getDataStore(RepositoryConfigurationParser.java:1078) at org.apache.jackrabbit.core.config.RepositoryConfig.getDataStore(RepositoryConfig.java:1072) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:282) at org.ametys.plugins.repository.provider.AmetysRepository.<init>(AmetysRepository.java:50) at org.ametys.plugins.repository.provider.JackrabbitRepository.initialize(JackrabbitRepository.java:77) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:367) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.plugins.repository.AmetysObjectResolver.service(AmetysObjectResolver.java:90) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.cms.content.RootContentHelper.service(RootContentHelper.java:42) at org.ametys.web.content.RootContentHelper.service(RootContentHelper.java:50) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.cms.contenttype.ContentTypesHelper.service(ContentTypesHelper.java:92) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.cms.contenttype.AbstractContentTypeDescriptor.service(AbstractContentTypeDescriptor.java:102) at org.ametys.cms.contenttype.DefaultContentType.service(DefaultContentType.java:162) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.cms.contenttype.ContentTypeExtensionPoint.initializeExtensions(ContentTypeExtensionPoint.java:108) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:186) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionDAO.service(SynchronizableContentsCollectionDAO.java:125) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.plugins.contentio.synchronize.impl.CollectionPopulationConsumer.service(CollectionPopulationConsumer.java:37) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:186) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.core.user.population.UserPopulationDAO.service(UserPopulationDAO.java:162) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.core.user.UserManager.service(UserManager.java:53) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.core.right.RightManager.service(RightManager.java:162) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:121) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) at org.ametys.core.ui.StaticFileImportsClientSideElement.service(StaticFileImportsClientSideElement.java:71) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.core.ui.AbstractClientSideExtensionPoint.initializeExtensions(AbstractClientSideExtensionPoint.java:216) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:186) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) at org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:420) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:49) at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:174) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.ametys.runtime.servlet.RuntimeServlet._createCocoon(RuntimeServlet.java:351) at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:285) at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:208) ... 17 more Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.services.locks is sealed at java.net.URLClassLoader.getAndVerifyPackage(Unknown Source) at java.net.URLClassLoader.definePackageInternal(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source) at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source) at org.apache.derby.iapi.jdbc.JDBCBoot$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source) at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source) ... 140 more }}

            cedric Cédric Damioli
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: