title: java servlet context listener does not start
body: <p>Under tomcat7, I used both <code>@WebListener</code> on the class and  </p>
  
  <pre><code>&lt;listener&gt;
      &lt;listener-class&gt;helpers.MyListener&lt;/listener-class&gt;
    &lt;/listener&gt; 
  </code></pre>
  
  <p>in web.xml. It starts on my localhost tomcat and runs fine, but not on tomcat7 on another server. No error message in the logs I added a static initializer to log it when it starts, but there's no logged message, so the listener is just not starting. Any tips?</p>