org.apache.catalina.LifecycleException: Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]]

Google Groups | Raja Patil | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Help needed to use MSM with CouchBase server and Tomcat 7

    Google Groups | 4 years ago | Raja Patil
    org.apache.catalina.LifecycleException: Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/examples]]
  2. 0
    samebug tip
    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.
  3. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if you didn't forget to instantiate your topic in the kafka broker.
  6. 0
    samebug tip
    NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.codehaus.jettison.json.JSONException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    5 frames
  3. net.spy.memcached
    ConfigurationProviderHTTP.<init>
    1. net.spy.memcached.vbucket.ConfigurationProviderHTTP.<init>(ConfigurationProviderHTTP.java:50)
    1 frame
  4. Spymemcached
    MemcachedClient.<init>
    1. net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:257)
    2. net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:219)
    3. net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:343)
    3 frames
  5. memcached-session-manager core
    MemcachedBackupSessionManager.startInternal
    1. de.javakaffee.web.msm.MemcachedSessionService.createMemcachedClient(MemcachedSessionService.java:484)
    2. de.javakaffee.web.msm.MemcachedSessionService.startInternal(MemcachedSessionService.java:420)
    3. de.javakaffee.web.msm.MemcachedBackupSessionManager.startInternal(MemcachedBackupSessionManager.java:509)
    3 frames
  6. Glassfish Core
    HostConfig$DeployDirectory.run
    1. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1105)
    8. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1664)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    6. java.lang.Thread.run(Thread.java:679)
    6 frames