title: install a ServletContextListener in axis2, Tomcat 7
body: <p>I tried to integrate a servletcontextlistener in my axis2 app in Apache Tomcat 7.
  I followed all instructions, but when I start tomcat, I get the following error:</p>
  
  <p>java.lang.ClassNotFoundException: ch.pmm.cpsserver.coolarts.daemon.CoolArtsListener
  ... error.</p>
  
  <p>This is my class:</p>
  
  <pre><code>public class CoolArtsListener implements ServletContextListener {
    //protected Log logger = LogFactory.getLog(getClass());
    private ServletContext m_oApplication = null;
  
    @Override
    public void contextInitialized(ServletContextEvent oEvent)
    {
      this.m_oApplication = oEvent.getServletContext();
      System.out.println("the CA - Listener is called");        
    }
  
    @Override
    public void contextDestroyed(ServletContextEvent arg0)
    {
      System.out.println("The CA - Listener is destroyed");
    } 
  }
  </code></pre>
  
  <p>and published the class in the web.xml of the axis2 app.</p>
  
  <pre><code>&lt;listener&gt;
          &lt;listener-class&gt;ch.pmm.cpsserver.coolarts.daemon.CoolArtsListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>Is a missing lib the reason for this behaviour? 
  If so, what libs are required for this functionality? Or is there another reason?</p>