MyService (application scope) starts in its constructor a thread:


private static boolean first = true;

  public MyService() {
    if (first) {
      Thread t = new Thread(this);
      t.start();
      first = false;
    }
  }



On redeploy (drop a new MyService.aar into axis2 services dir) and on the next invocation the thread starts again!

It seems tomcat don't kill the thread started by MyService during redeploy...


Reply via email to