# Ciphermail doesn't start on Ubuntu 16.04.

**URL:** <https://community.ciphermail.com/t/ciphermail-doesnt-start-on-ubuntu-16-04/521>\
**Category:** Gateway\
**Created:** [September 7, 2016, 10:31am UTC](https://community.ciphermail.com/t/ciphermail-doesnt-start-on-ubuntu-16-04/521 "2016-09-07T10:31:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [September 7, 2016, 10:31am UTC](https://community.ciphermail.com/t/ciphermail-doesnt-start-on-ubuntu-16-04/521/1 "2016-09-07T10:31:46Z")

</div>

Hello,

one of our clients has upgraded his Ubuntu 14.04 system to 16.0.4.

Part of this upgrade was the change from OpenJDK7 to OpenJDK8, which is according to the documentation, no supported.

But although he installed OpenJDK afterwards, Ciphermail (3.1.1) does not start, and the login windows does not appear.

Here are a couple of lines from the log files:

james.wrapper.log:

> **···**
>
> ---------------------------  
> --\> Wrapper Started as Console  
> Java Service Wrapper Community Edition 64-bit 3.5.28  
> &nbsp;&nbsp;Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.  
> &nbsp;&nbsp;&nbsp;&nbsp;[http://wrapper.tanukisoftware.com](http://wrapper.tanukisoftware.com)
> 
> Launching a JVM...  
> java version "1.7.0\_95"  
> OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)  
> OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
> 
> Error starting org.apache.avalon.phoenix.launcher.DaemonLauncher  
> java.lang.ClassNotFoundException: org.apache.avalon.phoenix.launcher.DaemonLauncher  
> &nbsp;&nbsp;at java.net.URLClassLoader$1.run(URLClassLoader.java:366)  
> &nbsp;&nbsp;at java.net.URLClassLoader$1.run(URLClassLoader.java:355)  
> &nbsp;&nbsp;at java.security.AccessController.doPrivileged(Native Method)  
> &nbsp;&nbsp;at java.net.URLClassLoader.findClass(URLClassLoader.java:354)  
> &nbsp;&nbsp;at java.lang.ClassLoader.loadClass(ClassLoader.java:425)  
> &nbsp;&nbsp;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)  
> &nbsp;&nbsp;at java.lang.ClassLoader.loadClass(ClassLoader.java:358)  
> &nbsp;&nbsp;at java.lang.Class.forName0(Native Method)  
> &nbsp;&nbsp;at java.lang.Class.forName(Class.java:195)  
> &nbsp;&nbsp;at mitm.application.djigzo.james.Bootstrap.main(Bootstrap.java:176)  
> JVM exited while loading the application.
> 
> catalina.out:  
> ------------------  
> Sep 07, 2016 11:09:39 AM org.apache.coyote.AbstractProtocol init  
> INFO: Initializing ProtocolHandler ["http-bio-8443"]  
> Sep 07, 2016 11:09:40 AM org.apache.catalina.startup.Catalina load  
> INFO: Initialization processed in 1773 ms  
> Sep 07, 2016 11:09:40 AM org.apache.catalina.core.StandardService startInternal  
> INFO: Starting service Catalina  
> Sep 07, 2016 11:09:40 AM org.apache.catalina.core.StandardEngine startInternal  
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.68 (Ubuntu)  
> Sep 07, 2016 11:09:40 AM org.apache.catalina.startup.HostConfig deployDescriptor  
> INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/ciphermail.xml  
> Sep 07, 2016 11:09:53 AM org.apache.catalina.startup.TldConfig execute  
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.  
> [07 Sep 2016 11:09:54 localhost-startStop-1] INFO Root WebApplicationContext: initialization started (org.springframework.web.context.ContextLoader)  
> [07 Sep 2016 11:09:54 localhost-startStop-1] INFO Refreshing Root WebApplicationContext: startup date [Wed Sep 07 11:09:54 GMT+01:00 2016]; root of context hierarchy (org.springframework.web.context.support.XmlWebApplicationContext)  
> [07 Sep 2016 11:09:54 localhost-startStop-1] INFO Loading XML bean definitions from ServletContext resource [/WEB-INF/spring.xml] (org.springframework.beans.factory.xml.XmlBeanDefinitionReader)  
> [07 Sep 2016 11:09:54 localhost-startStop-1] INFO You are running with Spring Security Core 3.2.5.RELEASE (org.springframework.security.core.SpringSecurityCoreVersion)  
> [07 Sep 2016 11:09:54 localhost-startStop-1] INFO Spring Security 'config' module version is 3.2.5.RELEASE (org.springframework.security.config.SecurityNamespaceHandler)  
> [07 Sep 2016 11:09:55 localhost-startStop-1] INFO Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, \<bannedAuthenticationProcessingFilter\>, order = 1100, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;  
> &nbsp;&nbsp;autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; d  
> ependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, \<org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0\>, order = 2300] (org.springframework.security.config.http.HttpSecurityBeanDefinitionParser)  
> [07 Sep 2016 11:09:55 localhost-startStop-1] ERROR Context initialization failed (org.springframework.web.context.ContextLoader)  
> java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;  
> &nbsp;&nbsp;at org.apache.catalina.core.ApplicationContext.getInitParameterNames(ApplicationContext.java:368)  
> &nbsp;&nbsp;at org.apache.catalina.core.ApplicationContextFacade.getInitParameterNames(ApplicationContextFacade.java:367)  
> &nbsp;&nbsp;at org.springframework.web.context.support.WebApplicationContextUtils.registerEnvironmentBeans(WebApplicationContextUtils.java:195)  
> &nbsp;&nbsp;at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.postProcessBeanFactory(AbstractRefreshableWebApplicationContext.java:169)  
> &nbsp;&nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:458)  
> &nbsp;&nbsp;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)  
> &nbsp;&nbsp;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)  
> &nbsp;&nbsp;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)  
> &nbsp;&nbsp;at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)  
> &nbsp;&nbsp;at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)  
> &nbsp;&nbsp;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
> &nbsp;&nbsp;at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)  
> &nbsp;&nbsp;at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)  
> &nbsp;&nbsp;at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)  
> &nbsp;&nbsp;at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)  
> &nbsp;&nbsp;at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1962)  
> &nbsp;&nbsp;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> &nbsp;&nbsp;at java.util.concurrent.FutureTask.run(FutureTask.java:262)  
> &nbsp;&nbsp;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
> &nbsp;&nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
> &nbsp;&nbsp;at java.lang.Thread.run(Thread.java:745)  
> Sep 07, 2016 11:09:55 AM org.apache.catalina.core.StandardContext startInternal  
> SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file  
> Sep 07, 2016 11:09:55 AM org.apache.catalina.core.StandardContext startInternal  
> SEVERE: Context [/ciphermail] startup failed due to previous errors
> 
> I'm not a Java expert, therefore I have no idea, what "java.lang.NoSuchMethodError" means.
> 
> Thanks for any hints,
> 
> Stefan
