Hide
Ubuntu 18, Java 11 when launchiong the localhost:8080/cms page shows the following error:
java.lang.Exception: java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:231)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1188)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1021)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5085)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5397)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731)
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.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
at org.rrd4j.core.RrdNioBackend.unmapFile(RrdNioBackend.java:72)
at org.rrd4j.core.RrdNioBackend.close(RrdNioBackend.java:136)
at org.rrd4j.core.RrdDb.close(RrdDb.java:385)
at org.ametys.runtime.plugins.admin.jvmstatus.monitoring.MonitoringExtensionPoint.initializeExtensions(MonitoringExtensionPoint.java:74)
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:453)
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:354)
at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:288)
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:211)
... 17 more
Show
Ubuntu 18, Java 11 when launchiong the localhost:8080/cms page shows the following error:
java.lang.Exception: java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:231)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1188)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1021)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5085)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5397)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731)
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.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
at org.rrd4j.core.RrdNioBackend.unmapFile(RrdNioBackend.java:72)
at org.rrd4j.core.RrdNioBackend.close(RrdNioBackend.java:136)
at org.rrd4j.core.RrdDb.close(RrdDb.java:385)
at org.ametys.runtime.plugins.admin.jvmstatus.monitoring.MonitoringExtensionPoint.initializeExtensions(MonitoringExtensionPoint.java:74)
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:453)
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:354)
at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:288)
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:211)
... 17 more