org.apache.catalina.LifecycleException

Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]]

Samebug tips9

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web9114

  • via Google Groups by Raja Patil, 9 months ago
    Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]]
  • via Stack Overflow by ssc
    , 1 year ago
    Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]]
  • Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]
  • Stack trace

    • org.apache.catalina.LifecycleException: Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1105) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1664) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.NoClassDefFoundError: org/codehaus/jettison/json/JSONException at net.spy.memcached.vbucket.ConfigurationProviderHTTP.<init>(ConfigurationProviderHTTP.java:50) at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:257) at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:219) at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:343) at de.javakaffee.web.msm.MemcachedSessionService.createMemcachedClient(MemcachedSessionService.java:484) at de.javakaffee.web.msm.MemcachedSessionService.startInternal(MemcachedSessionService.java:420) at de.javakaffee.web.msm.MemcachedBackupSessionManager.startInternal(MemcachedBackupSessionManager.java:509) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 13 more Caused by: java.lang.ClassNotFoundException: org.codehaus.jettison.json.JSONException at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 2 days ago
    4 times, 2 days ago
    4 times, 2 days ago
    2 times, 1 week ago
    Unknown user
    Once, 1 week ago
    2376 more bugmates